@aws-sdk/client-mediapackage-vod 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/MediaPackageVodClient.js +13 -13
- package/dist-cjs/commands/ConfigureLogsCommand.js +3 -3
- package/dist-cjs/commands/CreateAssetCommand.js +3 -3
- package/dist-cjs/commands/CreatePackagingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CreatePackagingGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssetCommand.js +3 -3
- package/dist-cjs/commands/DeletePackagingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeletePackagingGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeAssetCommand.js +3 -3
- package/dist-cjs/commands/DescribePackagingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribePackagingGroupCommand.js +3 -3
- package/dist-cjs/commands/ListAssetsCommand.js +3 -3
- package/dist-cjs/commands/ListPackagingConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/ListPackagingGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdatePackagingGroupCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +137 -137
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/MediaPackageVod.js +17 -17
- package/dist-es/pagination/ListAssetsPaginator.js +4 -4
- package/dist-es/pagination/ListPackagingConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/ListPackagingGroupsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +17 -17
- package/dist-types/MediaPackageVodClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/MediaPackageVodClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
34
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
|
@@ -29,7 +29,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
29
29
|
}
|
|
30
30
|
else if (typeof cb === "function") {
|
|
31
31
|
if (typeof optionsOrCb !== "object")
|
|
32
|
-
throw new Error("Expect http options but get "
|
|
32
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
33
33
|
this.send(command, optionsOrCb || {}, cb);
|
|
34
34
|
}
|
|
35
35
|
else {
|
|
@@ -43,7 +43,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
43
43
|
}
|
|
44
44
|
else if (typeof cb === "function") {
|
|
45
45
|
if (typeof optionsOrCb !== "object")
|
|
46
|
-
throw new Error("Expect http options but get "
|
|
46
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
47
47
|
this.send(command, optionsOrCb || {}, cb);
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
@@ -57,7 +57,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
57
57
|
}
|
|
58
58
|
else if (typeof cb === "function") {
|
|
59
59
|
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error("Expect http options but get "
|
|
60
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
61
61
|
this.send(command, optionsOrCb || {}, cb);
|
|
62
62
|
}
|
|
63
63
|
else {
|
|
@@ -71,7 +71,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
71
71
|
}
|
|
72
72
|
else if (typeof cb === "function") {
|
|
73
73
|
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error("Expect http options but get "
|
|
74
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
75
75
|
this.send(command, optionsOrCb || {}, cb);
|
|
76
76
|
}
|
|
77
77
|
else {
|
|
@@ -85,7 +85,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
85
85
|
}
|
|
86
86
|
else if (typeof cb === "function") {
|
|
87
87
|
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error("Expect http options but get "
|
|
88
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
89
89
|
this.send(command, optionsOrCb || {}, cb);
|
|
90
90
|
}
|
|
91
91
|
else {
|
|
@@ -99,7 +99,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
99
99
|
}
|
|
100
100
|
else if (typeof cb === "function") {
|
|
101
101
|
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error("Expect http options but get "
|
|
102
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
103
103
|
this.send(command, optionsOrCb || {}, cb);
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
@@ -113,7 +113,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
113
113
|
}
|
|
114
114
|
else if (typeof cb === "function") {
|
|
115
115
|
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error("Expect http options but get "
|
|
116
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
117
117
|
this.send(command, optionsOrCb || {}, cb);
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
@@ -127,7 +127,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
127
127
|
}
|
|
128
128
|
else if (typeof cb === "function") {
|
|
129
129
|
if (typeof optionsOrCb !== "object")
|
|
130
|
-
throw new Error("Expect http options but get "
|
|
130
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
131
131
|
this.send(command, optionsOrCb || {}, cb);
|
|
132
132
|
}
|
|
133
133
|
else {
|
|
@@ -141,7 +141,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
141
141
|
}
|
|
142
142
|
else if (typeof cb === "function") {
|
|
143
143
|
if (typeof optionsOrCb !== "object")
|
|
144
|
-
throw new Error("Expect http options but get "
|
|
144
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
145
145
|
this.send(command, optionsOrCb || {}, cb);
|
|
146
146
|
}
|
|
147
147
|
else {
|
|
@@ -155,7 +155,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
155
155
|
}
|
|
156
156
|
else if (typeof cb === "function") {
|
|
157
157
|
if (typeof optionsOrCb !== "object")
|
|
158
|
-
throw new Error("Expect http options but get "
|
|
158
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
159
159
|
this.send(command, optionsOrCb || {}, cb);
|
|
160
160
|
}
|
|
161
161
|
else {
|
|
@@ -169,7 +169,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
169
169
|
}
|
|
170
170
|
else if (typeof cb === "function") {
|
|
171
171
|
if (typeof optionsOrCb !== "object")
|
|
172
|
-
throw new Error("Expect http options but get "
|
|
172
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
173
173
|
this.send(command, optionsOrCb || {}, cb);
|
|
174
174
|
}
|
|
175
175
|
else {
|
|
@@ -183,7 +183,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
183
183
|
}
|
|
184
184
|
else if (typeof cb === "function") {
|
|
185
185
|
if (typeof optionsOrCb !== "object")
|
|
186
|
-
throw new Error("Expect http options but get "
|
|
186
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
187
187
|
this.send(command, optionsOrCb || {}, cb);
|
|
188
188
|
}
|
|
189
189
|
else {
|
|
@@ -197,7 +197,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
197
197
|
}
|
|
198
198
|
else if (typeof cb === "function") {
|
|
199
199
|
if (typeof optionsOrCb !== "object")
|
|
200
|
-
throw new Error("Expect http options but get "
|
|
200
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
201
201
|
this.send(command, optionsOrCb || {}, cb);
|
|
202
202
|
}
|
|
203
203
|
else {
|
|
@@ -211,7 +211,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
211
211
|
}
|
|
212
212
|
else if (typeof cb === "function") {
|
|
213
213
|
if (typeof optionsOrCb !== "object")
|
|
214
|
-
throw new Error("Expect http options but get "
|
|
214
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
215
215
|
this.send(command, optionsOrCb || {}, cb);
|
|
216
216
|
}
|
|
217
217
|
else {
|
|
@@ -225,7 +225,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
225
225
|
}
|
|
226
226
|
else if (typeof cb === "function") {
|
|
227
227
|
if (typeof optionsOrCb !== "object")
|
|
228
|
-
throw new Error("Expect http options but get "
|
|
228
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
229
229
|
this.send(command, optionsOrCb || {}, cb);
|
|
230
230
|
}
|
|
231
231
|
else {
|
|
@@ -239,7 +239,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
239
239
|
}
|
|
240
240
|
else if (typeof cb === "function") {
|
|
241
241
|
if (typeof optionsOrCb !== "object")
|
|
242
|
-
throw new Error("Expect http options but get "
|
|
242
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
243
243
|
this.send(command, optionsOrCb || {}, cb);
|
|
244
244
|
}
|
|
245
245
|
else {
|
|
@@ -253,7 +253,7 @@ var MediaPackageVod = (function (_super) {
|
|
|
253
253
|
}
|
|
254
254
|
else if (typeof cb === "function") {
|
|
255
255
|
if (typeof optionsOrCb !== "object")
|
|
256
|
-
throw new Error("Expect http options but get "
|
|
256
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
257
257
|
this.send(command, optionsOrCb || {}, cb);
|
|
258
258
|
}
|
|
259
259
|
else {
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListAssetsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAssetsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listAssets.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listAssets.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListAssets(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof MediaPackageVod)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof MediaPackageVodClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListPackagingConfigurationsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListPackagingConfigurationsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listPackagingConfigurations.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listPackagingConfigurations.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListPackagingConfigurations(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof MediaPackageVod)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof MediaPackageVodClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListPackagingGroupsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListPackagingGroupsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listPackagingGroups.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listPackagingGroups.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListPackagingGroups(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof MediaPackageVod)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof MediaPackageVodClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1ConfigureLogsCommand = function (input, context
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/packaging_groups/{Id}/configure_logs";
|
|
17
17
|
if (input.Id !== undefined) {
|
|
18
18
|
labelValue = input.Id;
|
|
19
19
|
if (labelValue.length <= 0) {
|
|
@@ -50,7 +50,7 @@ export var serializeAws_restJson1CreateAssetCommand = function (input, context)
|
|
|
50
50
|
headers = {
|
|
51
51
|
"content-type": "application/json",
|
|
52
52
|
};
|
|
53
|
-
resolvedPath = ""
|
|
53
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assets";
|
|
54
54
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Id !== undefined && input.Id !== null && { id: input.Id })), (input.PackagingGroupId !== undefined &&
|
|
55
55
|
input.PackagingGroupId !== null && { packagingGroupId: input.PackagingGroupId })), (input.ResourceId !== undefined && input.ResourceId !== null && { resourceId: input.ResourceId })), (input.SourceArn !== undefined && input.SourceArn !== null && { sourceArn: input.SourceArn })), (input.SourceRoleArn !== undefined && input.SourceRoleArn !== null && { sourceRoleArn: input.SourceRoleArn })), (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
56
56
|
return [2, new __HttpRequest({
|
|
@@ -75,7 +75,7 @@ export var serializeAws_restJson1CreatePackagingConfigurationCommand = function
|
|
|
75
75
|
headers = {
|
|
76
76
|
"content-type": "application/json",
|
|
77
77
|
};
|
|
78
|
-
resolvedPath = ""
|
|
78
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/packaging_configurations";
|
|
79
79
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CmafPackage !== undefined &&
|
|
80
80
|
input.CmafPackage !== null && { cmafPackage: serializeAws_restJson1CmafPackage(input.CmafPackage, context) })), (input.DashPackage !== undefined &&
|
|
81
81
|
input.DashPackage !== null && { dashPackage: serializeAws_restJson1DashPackage(input.DashPackage, context) })), (input.HlsPackage !== undefined &&
|
|
@@ -104,7 +104,7 @@ export var serializeAws_restJson1CreatePackagingGroupCommand = function (input,
|
|
|
104
104
|
headers = {
|
|
105
105
|
"content-type": "application/json",
|
|
106
106
|
};
|
|
107
|
-
resolvedPath = ""
|
|
107
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/packaging_groups";
|
|
108
108
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Authorization !== undefined &&
|
|
109
109
|
input.Authorization !== null && {
|
|
110
110
|
authorization: serializeAws_restJson1Authorization(input.Authorization, context),
|
|
@@ -132,7 +132,7 @@ export var serializeAws_restJson1DeleteAssetCommand = function (input, context)
|
|
|
132
132
|
case 1:
|
|
133
133
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
134
134
|
headers = {};
|
|
135
|
-
resolvedPath = ""
|
|
135
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assets/{Id}";
|
|
136
136
|
if (input.Id !== undefined) {
|
|
137
137
|
labelValue = input.Id;
|
|
138
138
|
if (labelValue.length <= 0) {
|
|
@@ -163,7 +163,7 @@ export var serializeAws_restJson1DeletePackagingConfigurationCommand = function
|
|
|
163
163
|
case 1:
|
|
164
164
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
165
165
|
headers = {};
|
|
166
|
-
resolvedPath = ""
|
|
166
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/packaging_configurations/{Id}";
|
|
167
167
|
if (input.Id !== undefined) {
|
|
168
168
|
labelValue = input.Id;
|
|
169
169
|
if (labelValue.length <= 0) {
|
|
@@ -194,7 +194,7 @@ export var serializeAws_restJson1DeletePackagingGroupCommand = function (input,
|
|
|
194
194
|
case 1:
|
|
195
195
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
196
196
|
headers = {};
|
|
197
|
-
resolvedPath = ""
|
|
197
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/packaging_groups/{Id}";
|
|
198
198
|
if (input.Id !== undefined) {
|
|
199
199
|
labelValue = input.Id;
|
|
200
200
|
if (labelValue.length <= 0) {
|
|
@@ -225,7 +225,7 @@ export var serializeAws_restJson1DescribeAssetCommand = function (input, context
|
|
|
225
225
|
case 1:
|
|
226
226
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
227
227
|
headers = {};
|
|
228
|
-
resolvedPath = ""
|
|
228
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assets/{Id}";
|
|
229
229
|
if (input.Id !== undefined) {
|
|
230
230
|
labelValue = input.Id;
|
|
231
231
|
if (labelValue.length <= 0) {
|
|
@@ -256,7 +256,7 @@ export var serializeAws_restJson1DescribePackagingConfigurationCommand = functio
|
|
|
256
256
|
case 1:
|
|
257
257
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
258
258
|
headers = {};
|
|
259
|
-
resolvedPath = ""
|
|
259
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/packaging_configurations/{Id}";
|
|
260
260
|
if (input.Id !== undefined) {
|
|
261
261
|
labelValue = input.Id;
|
|
262
262
|
if (labelValue.length <= 0) {
|
|
@@ -287,7 +287,7 @@ export var serializeAws_restJson1DescribePackagingGroupCommand = function (input
|
|
|
287
287
|
case 1:
|
|
288
288
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
289
289
|
headers = {};
|
|
290
|
-
resolvedPath = ""
|
|
290
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/packaging_groups/{Id}";
|
|
291
291
|
if (input.Id !== undefined) {
|
|
292
292
|
labelValue = input.Id;
|
|
293
293
|
if (labelValue.length <= 0) {
|
|
@@ -318,7 +318,7 @@ export var serializeAws_restJson1ListAssetsCommand = function (input, context) {
|
|
|
318
318
|
case 1:
|
|
319
319
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
320
320
|
headers = {};
|
|
321
|
-
resolvedPath = ""
|
|
321
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assets";
|
|
322
322
|
query = __assign(__assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.PackagingGroupId !== undefined && { packagingGroupId: input.PackagingGroupId }));
|
|
323
323
|
return [2, new __HttpRequest({
|
|
324
324
|
protocol: protocol,
|
|
@@ -341,7 +341,7 @@ export var serializeAws_restJson1ListPackagingConfigurationsCommand = function (
|
|
|
341
341
|
case 1:
|
|
342
342
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
343
343
|
headers = {};
|
|
344
|
-
resolvedPath = ""
|
|
344
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/packaging_configurations";
|
|
345
345
|
query = __assign(__assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.PackagingGroupId !== undefined && { packagingGroupId: input.PackagingGroupId }));
|
|
346
346
|
return [2, new __HttpRequest({
|
|
347
347
|
protocol: protocol,
|
|
@@ -364,7 +364,7 @@ export var serializeAws_restJson1ListPackagingGroupsCommand = function (input, c
|
|
|
364
364
|
case 1:
|
|
365
365
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
366
366
|
headers = {};
|
|
367
|
-
resolvedPath = ""
|
|
367
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/packaging_groups";
|
|
368
368
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
369
369
|
return [2, new __HttpRequest({
|
|
370
370
|
protocol: protocol,
|
|
@@ -387,7 +387,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
387
387
|
case 1:
|
|
388
388
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
389
389
|
headers = {};
|
|
390
|
-
resolvedPath = ""
|
|
390
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
391
391
|
if (input.ResourceArn !== undefined) {
|
|
392
392
|
labelValue = input.ResourceArn;
|
|
393
393
|
if (labelValue.length <= 0) {
|
|
@@ -420,7 +420,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
420
420
|
headers = {
|
|
421
421
|
"content-type": "application/json",
|
|
422
422
|
};
|
|
423
|
-
resolvedPath = ""
|
|
423
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
424
424
|
if (input.ResourceArn !== undefined) {
|
|
425
425
|
labelValue = input.ResourceArn;
|
|
426
426
|
if (labelValue.length <= 0) {
|
|
@@ -453,7 +453,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
453
453
|
case 1:
|
|
454
454
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
455
455
|
headers = {};
|
|
456
|
-
resolvedPath = ""
|
|
456
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
457
457
|
if (input.ResourceArn !== undefined) {
|
|
458
458
|
labelValue = input.ResourceArn;
|
|
459
459
|
if (labelValue.length <= 0) {
|
|
@@ -488,7 +488,7 @@ export var serializeAws_restJson1UpdatePackagingGroupCommand = function (input,
|
|
|
488
488
|
headers = {
|
|
489
489
|
"content-type": "application/json",
|
|
490
490
|
};
|
|
491
|
-
resolvedPath = ""
|
|
491
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/packaging_groups/{Id}";
|
|
492
492
|
if (input.Id !== undefined) {
|
|
493
493
|
labelValue = input.Id;
|
|
494
494
|
if (labelValue.length <= 0) {
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { ConfigureLogsCommandInput, ConfigureLogsCommandOutput } from "./commands/ConfigureLogsCommand";
|
|
10
10
|
import { CreateAssetCommandInput, CreateAssetCommandOutput } from "./commands/CreateAssetCommand";
|
|
11
11
|
import { CreatePackagingConfigurationCommandInput, CreatePackagingConfigurationCommandOutput } from "./commands/CreatePackagingConfigurationCommand";
|
|
@@ -45,7 +45,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
45
45
|
* A function that can calculate the length of a request body.
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
|
-
bodyLengthChecker?:
|
|
48
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
49
49
|
/**
|
|
50
50
|
* A function that converts a stream into an array of bytes.
|
|
51
51
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MediaPackageVodClientConfig) =>
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MediaPackageVodClientConfig) =>
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MediaPackageVodClientConfig) =>
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: MediaPackageVodClientConfig) =>
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { ConfigureLogsCommandInput, ConfigureLogsCommandOutput } from "./commands/ConfigureLogsCommand";
|
|
10
10
|
import { CreateAssetCommandInput, CreateAssetCommandOutput } from "./commands/CreateAssetCommand";
|
|
11
11
|
import { CreatePackagingConfigurationCommandInput, CreatePackagingConfigurationCommandOutput } from "./commands/CreatePackagingConfigurationCommand";
|
|
@@ -33,7 +33,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
33
33
|
|
|
34
34
|
urlParser?: __UrlParser;
|
|
35
35
|
|
|
36
|
-
bodyLengthChecker?:
|
|
36
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
37
37
|
|
|
38
38
|
streamCollector?: __StreamCollector;
|
|
39
39
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MediaPackageVodClientConfig) =>
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MediaPackageVodClientConfig) =>
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|