@aws-sdk/client-mediapackage 3.54.1 → 3.58.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/MediaPackageClient.js +13 -13
- package/dist-cjs/commands/ConfigureLogsCommand.js +3 -3
- package/dist-cjs/commands/CreateChannelCommand.js +3 -3
- package/dist-cjs/commands/CreateHarvestJobCommand.js +3 -3
- package/dist-cjs/commands/CreateOriginEndpointCommand.js +3 -3
- package/dist-cjs/commands/DeleteChannelCommand.js +3 -3
- package/dist-cjs/commands/DeleteOriginEndpointCommand.js +3 -3
- package/dist-cjs/commands/DescribeChannelCommand.js +3 -3
- package/dist-cjs/commands/DescribeHarvestJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeOriginEndpointCommand.js +3 -3
- package/dist-cjs/commands/ListChannelsCommand.js +3 -3
- package/dist-cjs/commands/ListHarvestJobsCommand.js +3 -3
- package/dist-cjs/commands/ListOriginEndpointsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RotateChannelCredentialsCommand.js +3 -3
- package/dist-cjs/commands/RotateIngestEndpointCredentialsCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateChannelCommand.js +3 -3
- package/dist-cjs/commands/UpdateOriginEndpointCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +208 -208
- 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/MediaPackage.js +19 -19
- package/dist-es/pagination/ListChannelsPaginator.js +4 -4
- package/dist-es/pagination/ListHarvestJobsPaginator.js +4 -4
- package/dist-es/pagination/ListOriginEndpointsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +19 -19
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- 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,
|
package/dist-es/MediaPackage.js
CHANGED
|
@@ -31,7 +31,7 @@ var MediaPackage = (function (_super) {
|
|
|
31
31
|
}
|
|
32
32
|
else if (typeof cb === "function") {
|
|
33
33
|
if (typeof optionsOrCb !== "object")
|
|
34
|
-
throw new Error("Expect http options but get "
|
|
34
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
35
35
|
this.send(command, optionsOrCb || {}, cb);
|
|
36
36
|
}
|
|
37
37
|
else {
|
|
@@ -45,7 +45,7 @@ var MediaPackage = (function (_super) {
|
|
|
45
45
|
}
|
|
46
46
|
else if (typeof cb === "function") {
|
|
47
47
|
if (typeof optionsOrCb !== "object")
|
|
48
|
-
throw new Error("Expect http options but get "
|
|
48
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
49
49
|
this.send(command, optionsOrCb || {}, cb);
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
@@ -59,7 +59,7 @@ var MediaPackage = (function (_super) {
|
|
|
59
59
|
}
|
|
60
60
|
else if (typeof cb === "function") {
|
|
61
61
|
if (typeof optionsOrCb !== "object")
|
|
62
|
-
throw new Error("Expect http options but get "
|
|
62
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
63
63
|
this.send(command, optionsOrCb || {}, cb);
|
|
64
64
|
}
|
|
65
65
|
else {
|
|
@@ -73,7 +73,7 @@ var MediaPackage = (function (_super) {
|
|
|
73
73
|
}
|
|
74
74
|
else if (typeof cb === "function") {
|
|
75
75
|
if (typeof optionsOrCb !== "object")
|
|
76
|
-
throw new Error("Expect http options but get "
|
|
76
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
77
77
|
this.send(command, optionsOrCb || {}, cb);
|
|
78
78
|
}
|
|
79
79
|
else {
|
|
@@ -87,7 +87,7 @@ var MediaPackage = (function (_super) {
|
|
|
87
87
|
}
|
|
88
88
|
else if (typeof cb === "function") {
|
|
89
89
|
if (typeof optionsOrCb !== "object")
|
|
90
|
-
throw new Error("Expect http options but get "
|
|
90
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
91
91
|
this.send(command, optionsOrCb || {}, cb);
|
|
92
92
|
}
|
|
93
93
|
else {
|
|
@@ -101,7 +101,7 @@ var MediaPackage = (function (_super) {
|
|
|
101
101
|
}
|
|
102
102
|
else if (typeof cb === "function") {
|
|
103
103
|
if (typeof optionsOrCb !== "object")
|
|
104
|
-
throw new Error("Expect http options but get "
|
|
104
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
105
105
|
this.send(command, optionsOrCb || {}, cb);
|
|
106
106
|
}
|
|
107
107
|
else {
|
|
@@ -115,7 +115,7 @@ var MediaPackage = (function (_super) {
|
|
|
115
115
|
}
|
|
116
116
|
else if (typeof cb === "function") {
|
|
117
117
|
if (typeof optionsOrCb !== "object")
|
|
118
|
-
throw new Error("Expect http options but get "
|
|
118
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
119
119
|
this.send(command, optionsOrCb || {}, cb);
|
|
120
120
|
}
|
|
121
121
|
else {
|
|
@@ -129,7 +129,7 @@ var MediaPackage = (function (_super) {
|
|
|
129
129
|
}
|
|
130
130
|
else if (typeof cb === "function") {
|
|
131
131
|
if (typeof optionsOrCb !== "object")
|
|
132
|
-
throw new Error("Expect http options but get "
|
|
132
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
133
133
|
this.send(command, optionsOrCb || {}, cb);
|
|
134
134
|
}
|
|
135
135
|
else {
|
|
@@ -143,7 +143,7 @@ var MediaPackage = (function (_super) {
|
|
|
143
143
|
}
|
|
144
144
|
else if (typeof cb === "function") {
|
|
145
145
|
if (typeof optionsOrCb !== "object")
|
|
146
|
-
throw new Error("Expect http options but get "
|
|
146
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
147
147
|
this.send(command, optionsOrCb || {}, cb);
|
|
148
148
|
}
|
|
149
149
|
else {
|
|
@@ -157,7 +157,7 @@ var MediaPackage = (function (_super) {
|
|
|
157
157
|
}
|
|
158
158
|
else if (typeof cb === "function") {
|
|
159
159
|
if (typeof optionsOrCb !== "object")
|
|
160
|
-
throw new Error("Expect http options but get "
|
|
160
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
161
161
|
this.send(command, optionsOrCb || {}, cb);
|
|
162
162
|
}
|
|
163
163
|
else {
|
|
@@ -171,7 +171,7 @@ var MediaPackage = (function (_super) {
|
|
|
171
171
|
}
|
|
172
172
|
else if (typeof cb === "function") {
|
|
173
173
|
if (typeof optionsOrCb !== "object")
|
|
174
|
-
throw new Error("Expect http options but get "
|
|
174
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
175
175
|
this.send(command, optionsOrCb || {}, cb);
|
|
176
176
|
}
|
|
177
177
|
else {
|
|
@@ -185,7 +185,7 @@ var MediaPackage = (function (_super) {
|
|
|
185
185
|
}
|
|
186
186
|
else if (typeof cb === "function") {
|
|
187
187
|
if (typeof optionsOrCb !== "object")
|
|
188
|
-
throw new Error("Expect http options but get "
|
|
188
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
189
189
|
this.send(command, optionsOrCb || {}, cb);
|
|
190
190
|
}
|
|
191
191
|
else {
|
|
@@ -199,7 +199,7 @@ var MediaPackage = (function (_super) {
|
|
|
199
199
|
}
|
|
200
200
|
else if (typeof cb === "function") {
|
|
201
201
|
if (typeof optionsOrCb !== "object")
|
|
202
|
-
throw new Error("Expect http options but get "
|
|
202
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
203
203
|
this.send(command, optionsOrCb || {}, cb);
|
|
204
204
|
}
|
|
205
205
|
else {
|
|
@@ -213,7 +213,7 @@ var MediaPackage = (function (_super) {
|
|
|
213
213
|
}
|
|
214
214
|
else if (typeof cb === "function") {
|
|
215
215
|
if (typeof optionsOrCb !== "object")
|
|
216
|
-
throw new Error("Expect http options but get "
|
|
216
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
217
217
|
this.send(command, optionsOrCb || {}, cb);
|
|
218
218
|
}
|
|
219
219
|
else {
|
|
@@ -227,7 +227,7 @@ var MediaPackage = (function (_super) {
|
|
|
227
227
|
}
|
|
228
228
|
else if (typeof cb === "function") {
|
|
229
229
|
if (typeof optionsOrCb !== "object")
|
|
230
|
-
throw new Error("Expect http options but get "
|
|
230
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
231
231
|
this.send(command, optionsOrCb || {}, cb);
|
|
232
232
|
}
|
|
233
233
|
else {
|
|
@@ -241,7 +241,7 @@ var MediaPackage = (function (_super) {
|
|
|
241
241
|
}
|
|
242
242
|
else if (typeof cb === "function") {
|
|
243
243
|
if (typeof optionsOrCb !== "object")
|
|
244
|
-
throw new Error("Expect http options but get "
|
|
244
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
245
245
|
this.send(command, optionsOrCb || {}, cb);
|
|
246
246
|
}
|
|
247
247
|
else {
|
|
@@ -255,7 +255,7 @@ var MediaPackage = (function (_super) {
|
|
|
255
255
|
}
|
|
256
256
|
else if (typeof cb === "function") {
|
|
257
257
|
if (typeof optionsOrCb !== "object")
|
|
258
|
-
throw new Error("Expect http options but get "
|
|
258
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
259
259
|
this.send(command, optionsOrCb || {}, cb);
|
|
260
260
|
}
|
|
261
261
|
else {
|
|
@@ -269,7 +269,7 @@ var MediaPackage = (function (_super) {
|
|
|
269
269
|
}
|
|
270
270
|
else if (typeof cb === "function") {
|
|
271
271
|
if (typeof optionsOrCb !== "object")
|
|
272
|
-
throw new Error("Expect http options but get "
|
|
272
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
273
273
|
this.send(command, optionsOrCb || {}, cb);
|
|
274
274
|
}
|
|
275
275
|
else {
|
|
@@ -283,7 +283,7 @@ var MediaPackage = (function (_super) {
|
|
|
283
283
|
}
|
|
284
284
|
else if (typeof cb === "function") {
|
|
285
285
|
if (typeof optionsOrCb !== "object")
|
|
286
|
-
throw new Error("Expect http options but get "
|
|
286
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
287
287
|
this.send(command, optionsOrCb || {}, cb);
|
|
288
288
|
}
|
|
289
289
|
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 ListChannelsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListChannelsCommand(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.listChannels.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listChannels.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 paginateListChannels(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof MediaPackage)) 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 MediaPackageClient)) 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 ListHarvestJobsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListHarvestJobsCommand(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.listHarvestJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listHarvestJobs.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 paginateListHarvestJobs(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof MediaPackage)) 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 MediaPackageClient)) 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 ListOriginEndpointsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListOriginEndpointsCommand(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.listOriginEndpoints.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listOriginEndpoints.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 paginateListOriginEndpoints(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof MediaPackage)) 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 MediaPackageClient)) 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 || "") + "/channels/{Id}/configure_logs";
|
|
17
17
|
if (input.Id !== undefined) {
|
|
18
18
|
labelValue = input.Id;
|
|
19
19
|
if (labelValue.length <= 0) {
|
|
@@ -53,7 +53,7 @@ export var serializeAws_restJson1CreateChannelCommand = function (input, context
|
|
|
53
53
|
headers = {
|
|
54
54
|
"content-type": "application/json",
|
|
55
55
|
};
|
|
56
|
-
resolvedPath = ""
|
|
56
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
|
|
57
57
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { description: input.Description })), (input.Id !== undefined && input.Id !== null && { id: input.Id })), (input.Tags !== undefined && input.Tags !== null && { tags: serializeAws_restJson1Tags(input.Tags, context) })));
|
|
58
58
|
return [2, new __HttpRequest({
|
|
59
59
|
protocol: protocol,
|
|
@@ -77,7 +77,7 @@ export var serializeAws_restJson1CreateHarvestJobCommand = function (input, cont
|
|
|
77
77
|
headers = {
|
|
78
78
|
"content-type": "application/json",
|
|
79
79
|
};
|
|
80
|
-
resolvedPath = ""
|
|
80
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/harvest_jobs";
|
|
81
81
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.EndTime !== undefined && input.EndTime !== null && { endTime: input.EndTime })), (input.Id !== undefined && input.Id !== null && { id: input.Id })), (input.OriginEndpointId !== undefined &&
|
|
82
82
|
input.OriginEndpointId !== null && { originEndpointId: input.OriginEndpointId })), (input.S3Destination !== undefined &&
|
|
83
83
|
input.S3Destination !== null && {
|
|
@@ -105,7 +105,7 @@ export var serializeAws_restJson1CreateOriginEndpointCommand = function (input,
|
|
|
105
105
|
headers = {
|
|
106
106
|
"content-type": "application/json",
|
|
107
107
|
};
|
|
108
|
-
resolvedPath = ""
|
|
108
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/origin_endpoints";
|
|
109
109
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Authorization !== undefined &&
|
|
110
110
|
input.Authorization !== null && {
|
|
111
111
|
authorization: serializeAws_restJson1Authorization(input.Authorization, context),
|
|
@@ -139,7 +139,7 @@ export var serializeAws_restJson1DeleteChannelCommand = function (input, context
|
|
|
139
139
|
case 1:
|
|
140
140
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
141
141
|
headers = {};
|
|
142
|
-
resolvedPath = ""
|
|
142
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{Id}";
|
|
143
143
|
if (input.Id !== undefined) {
|
|
144
144
|
labelValue = input.Id;
|
|
145
145
|
if (labelValue.length <= 0) {
|
|
@@ -170,7 +170,7 @@ export var serializeAws_restJson1DeleteOriginEndpointCommand = function (input,
|
|
|
170
170
|
case 1:
|
|
171
171
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
172
172
|
headers = {};
|
|
173
|
-
resolvedPath = ""
|
|
173
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/origin_endpoints/{Id}";
|
|
174
174
|
if (input.Id !== undefined) {
|
|
175
175
|
labelValue = input.Id;
|
|
176
176
|
if (labelValue.length <= 0) {
|
|
@@ -201,7 +201,7 @@ export var serializeAws_restJson1DescribeChannelCommand = function (input, conte
|
|
|
201
201
|
case 1:
|
|
202
202
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
203
203
|
headers = {};
|
|
204
|
-
resolvedPath = ""
|
|
204
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{Id}";
|
|
205
205
|
if (input.Id !== undefined) {
|
|
206
206
|
labelValue = input.Id;
|
|
207
207
|
if (labelValue.length <= 0) {
|
|
@@ -232,7 +232,7 @@ export var serializeAws_restJson1DescribeHarvestJobCommand = function (input, co
|
|
|
232
232
|
case 1:
|
|
233
233
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
234
234
|
headers = {};
|
|
235
|
-
resolvedPath = ""
|
|
235
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/harvest_jobs/{Id}";
|
|
236
236
|
if (input.Id !== undefined) {
|
|
237
237
|
labelValue = input.Id;
|
|
238
238
|
if (labelValue.length <= 0) {
|
|
@@ -263,7 +263,7 @@ export var serializeAws_restJson1DescribeOriginEndpointCommand = function (input
|
|
|
263
263
|
case 1:
|
|
264
264
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
265
265
|
headers = {};
|
|
266
|
-
resolvedPath = ""
|
|
266
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/origin_endpoints/{Id}";
|
|
267
267
|
if (input.Id !== undefined) {
|
|
268
268
|
labelValue = input.Id;
|
|
269
269
|
if (labelValue.length <= 0) {
|
|
@@ -294,7 +294,7 @@ export var serializeAws_restJson1ListChannelsCommand = function (input, context)
|
|
|
294
294
|
case 1:
|
|
295
295
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
296
296
|
headers = {};
|
|
297
|
-
resolvedPath = ""
|
|
297
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
|
|
298
298
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
299
299
|
return [2, new __HttpRequest({
|
|
300
300
|
protocol: protocol,
|
|
@@ -317,7 +317,7 @@ export var serializeAws_restJson1ListHarvestJobsCommand = function (input, conte
|
|
|
317
317
|
case 1:
|
|
318
318
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
319
319
|
headers = {};
|
|
320
|
-
resolvedPath = ""
|
|
320
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/harvest_jobs";
|
|
321
321
|
query = __assign(__assign(__assign(__assign({}, (input.IncludeChannelId !== undefined && { includeChannelId: input.IncludeChannelId })), (input.IncludeStatus !== undefined && { includeStatus: input.IncludeStatus })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
322
322
|
return [2, new __HttpRequest({
|
|
323
323
|
protocol: protocol,
|
|
@@ -340,7 +340,7 @@ export var serializeAws_restJson1ListOriginEndpointsCommand = function (input, c
|
|
|
340
340
|
case 1:
|
|
341
341
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
342
342
|
headers = {};
|
|
343
|
-
resolvedPath = ""
|
|
343
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/origin_endpoints";
|
|
344
344
|
query = __assign(__assign(__assign({}, (input.ChannelId !== undefined && { channelId: input.ChannelId })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
345
345
|
return [2, new __HttpRequest({
|
|
346
346
|
protocol: protocol,
|
|
@@ -363,7 +363,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
363
363
|
case 1:
|
|
364
364
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
365
365
|
headers = {};
|
|
366
|
-
resolvedPath = ""
|
|
366
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
367
367
|
if (input.ResourceArn !== undefined) {
|
|
368
368
|
labelValue = input.ResourceArn;
|
|
369
369
|
if (labelValue.length <= 0) {
|
|
@@ -394,7 +394,7 @@ export var serializeAws_restJson1RotateChannelCredentialsCommand = function (inp
|
|
|
394
394
|
case 1:
|
|
395
395
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
396
396
|
headers = {};
|
|
397
|
-
resolvedPath = ""
|
|
397
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{Id}/credentials";
|
|
398
398
|
if (input.Id !== undefined) {
|
|
399
399
|
labelValue = input.Id;
|
|
400
400
|
if (labelValue.length <= 0) {
|
|
@@ -425,7 +425,7 @@ export var serializeAws_restJson1RotateIngestEndpointCredentialsCommand = functi
|
|
|
425
425
|
case 1:
|
|
426
426
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
427
427
|
headers = {};
|
|
428
|
-
resolvedPath = ""
|
|
428
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
429
429
|
"/channels/{Id}/ingest_endpoints/{IngestEndpointId}/credentials";
|
|
430
430
|
if (input.Id !== undefined) {
|
|
431
431
|
labelValue = input.Id;
|
|
@@ -469,7 +469,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
469
469
|
headers = {
|
|
470
470
|
"content-type": "application/json",
|
|
471
471
|
};
|
|
472
|
-
resolvedPath = ""
|
|
472
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
473
473
|
if (input.ResourceArn !== undefined) {
|
|
474
474
|
labelValue = input.ResourceArn;
|
|
475
475
|
if (labelValue.length <= 0) {
|
|
@@ -502,7 +502,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
502
502
|
case 1:
|
|
503
503
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
504
504
|
headers = {};
|
|
505
|
-
resolvedPath = ""
|
|
505
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
506
506
|
if (input.ResourceArn !== undefined) {
|
|
507
507
|
labelValue = input.ResourceArn;
|
|
508
508
|
if (labelValue.length <= 0) {
|
|
@@ -537,7 +537,7 @@ export var serializeAws_restJson1UpdateChannelCommand = function (input, context
|
|
|
537
537
|
headers = {
|
|
538
538
|
"content-type": "application/json",
|
|
539
539
|
};
|
|
540
|
-
resolvedPath = ""
|
|
540
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{Id}";
|
|
541
541
|
if (input.Id !== undefined) {
|
|
542
542
|
labelValue = input.Id;
|
|
543
543
|
if (labelValue.length <= 0) {
|
|
@@ -571,7 +571,7 @@ export var serializeAws_restJson1UpdateOriginEndpointCommand = function (input,
|
|
|
571
571
|
headers = {
|
|
572
572
|
"content-type": "application/json",
|
|
573
573
|
};
|
|
574
|
-
resolvedPath = ""
|
|
574
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/origin_endpoints/{Id}";
|
|
575
575
|
if (input.Id !== undefined) {
|
|
576
576
|
labelValue = input.Id;
|
|
577
577
|
if (labelValue.length <= 0) {
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: MediaPackageClientConfig) => {
|
|
|
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;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: MediaPackageClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|