@aws-sdk/client-signer 3.54.0 → 3.56.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/SignerClient.js +13 -13
- package/dist-cjs/commands/AddProfilePermissionCommand.js +3 -3
- package/dist-cjs/commands/CancelSigningProfileCommand.js +3 -3
- package/dist-cjs/commands/DescribeSigningJobCommand.js +3 -3
- package/dist-cjs/commands/GetSigningPlatformCommand.js +3 -3
- package/dist-cjs/commands/GetSigningProfileCommand.js +3 -3
- package/dist-cjs/commands/ListProfilePermissionsCommand.js +3 -3
- package/dist-cjs/commands/ListSigningJobsCommand.js +3 -3
- package/dist-cjs/commands/ListSigningPlatformsCommand.js +3 -3
- package/dist-cjs/commands/ListSigningProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutSigningProfileCommand.js +3 -3
- package/dist-cjs/commands/RemoveProfilePermissionCommand.js +3 -3
- package/dist-cjs/commands/RevokeSignatureCommand.js +3 -3
- package/dist-cjs/commands/RevokeSigningProfileCommand.js +3 -3
- package/dist-cjs/commands/StartSigningJobCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +169 -169
- 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-cjs/waiters/waitForSuccessfulSigningJob.js +3 -3
- package/dist-es/Signer.js +17 -17
- package/dist-es/pagination/ListSigningJobsPaginator.js +4 -4
- package/dist-es/pagination/ListSigningPlatformsPaginator.js +4 -4
- package/dist-es/pagination/ListSigningProfilesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +17 -17
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +35 -35
|
@@ -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,
|
|
@@ -37,12 +37,12 @@ const checkState = async (client, input) => {
|
|
|
37
37
|
};
|
|
38
38
|
const waitForSuccessfulSigningJob = async (params, input) => {
|
|
39
39
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
40
|
-
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
40
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
41
41
|
};
|
|
42
42
|
exports.waitForSuccessfulSigningJob = waitForSuccessfulSigningJob;
|
|
43
43
|
const waitUntilSuccessfulSigningJob = async (params, input) => {
|
|
44
44
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
45
|
-
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
46
|
-
return util_waiter_1.checkExceptions(result);
|
|
45
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
46
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
47
47
|
};
|
|
48
48
|
exports.waitUntilSuccessfulSigningJob = waitUntilSuccessfulSigningJob;
|
package/dist-es/Signer.js
CHANGED
|
@@ -29,7 +29,7 @@ var Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 Signer = (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 ListSigningJobsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListSigningJobsCommand(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.listSigningJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listSigningJobs.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 paginateListSigningJobs(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Signer)) 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 SignerClient)) 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 ListSigningPlatformsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListSigningPlatformsCommand(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.listSigningPlatforms.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listSigningPlatforms.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 paginateListSigningPlatforms(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Signer)) 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 SignerClient)) 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 ListSigningProfilesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListSigningProfilesCommand(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.listSigningProfiles.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listSigningProfiles.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 paginateListSigningProfiles(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Signer)) 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 SignerClient)) 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];
|
|
@@ -14,7 +14,7 @@ export var serializeAws_restJson1AddProfilePermissionCommand = function (input,
|
|
|
14
14
|
headers = {
|
|
15
15
|
"content-type": "application/json",
|
|
16
16
|
};
|
|
17
|
-
resolvedPath = ""
|
|
17
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
18
18
|
"/signing-profiles/{profileName}/permissions";
|
|
19
19
|
if (input.profileName !== undefined) {
|
|
20
20
|
labelValue = input.profileName;
|
|
@@ -48,7 +48,7 @@ export var serializeAws_restJson1CancelSigningProfileCommand = function (input,
|
|
|
48
48
|
case 1:
|
|
49
49
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
50
50
|
headers = {};
|
|
51
|
-
resolvedPath = ""
|
|
51
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/signing-profiles/{profileName}";
|
|
52
52
|
if (input.profileName !== undefined) {
|
|
53
53
|
labelValue = input.profileName;
|
|
54
54
|
if (labelValue.length <= 0) {
|
|
@@ -79,7 +79,7 @@ export var serializeAws_restJson1DescribeSigningJobCommand = function (input, co
|
|
|
79
79
|
case 1:
|
|
80
80
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
81
81
|
headers = {};
|
|
82
|
-
resolvedPath = ""
|
|
82
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/signing-jobs/{jobId}";
|
|
83
83
|
if (input.jobId !== undefined) {
|
|
84
84
|
labelValue = input.jobId;
|
|
85
85
|
if (labelValue.length <= 0) {
|
|
@@ -110,7 +110,7 @@ export var serializeAws_restJson1GetSigningPlatformCommand = function (input, co
|
|
|
110
110
|
case 1:
|
|
111
111
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
112
112
|
headers = {};
|
|
113
|
-
resolvedPath = ""
|
|
113
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/signing-platforms/{platformId}";
|
|
114
114
|
if (input.platformId !== undefined) {
|
|
115
115
|
labelValue = input.platformId;
|
|
116
116
|
if (labelValue.length <= 0) {
|
|
@@ -141,7 +141,7 @@ export var serializeAws_restJson1GetSigningProfileCommand = function (input, con
|
|
|
141
141
|
case 1:
|
|
142
142
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
143
143
|
headers = {};
|
|
144
|
-
resolvedPath = ""
|
|
144
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/signing-profiles/{profileName}";
|
|
145
145
|
if (input.profileName !== undefined) {
|
|
146
146
|
labelValue = input.profileName;
|
|
147
147
|
if (labelValue.length <= 0) {
|
|
@@ -174,7 +174,7 @@ export var serializeAws_restJson1ListProfilePermissionsCommand = function (input
|
|
|
174
174
|
case 1:
|
|
175
175
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
176
176
|
headers = {};
|
|
177
|
-
resolvedPath = ""
|
|
177
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
178
178
|
"/signing-profiles/{profileName}/permissions";
|
|
179
179
|
if (input.profileName !== undefined) {
|
|
180
180
|
labelValue = input.profileName;
|
|
@@ -208,7 +208,7 @@ export var serializeAws_restJson1ListSigningJobsCommand = function (input, conte
|
|
|
208
208
|
case 1:
|
|
209
209
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
210
210
|
headers = {};
|
|
211
|
-
resolvedPath = ""
|
|
211
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/signing-jobs";
|
|
212
212
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.status !== undefined && { status: input.status })), (input.platformId !== undefined && { platformId: input.platformId })), (input.requestedBy !== undefined && { requestedBy: input.requestedBy })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.isRevoked !== undefined && { isRevoked: input.isRevoked.toString() })), (input.signatureExpiresBefore !== undefined && {
|
|
213
213
|
signatureExpiresBefore: (input.signatureExpiresBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
214
214
|
})), (input.signatureExpiresAfter !== undefined && {
|
|
@@ -235,7 +235,7 @@ export var serializeAws_restJson1ListSigningPlatformsCommand = function (input,
|
|
|
235
235
|
case 1:
|
|
236
236
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
237
237
|
headers = {};
|
|
238
|
-
resolvedPath = ""
|
|
238
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/signing-platforms";
|
|
239
239
|
query = __assign(__assign(__assign(__assign(__assign({}, (input.category !== undefined && { category: input.category })), (input.partner !== undefined && { partner: input.partner })), (input.target !== undefined && { target: input.target })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
240
240
|
return [2, new __HttpRequest({
|
|
241
241
|
protocol: protocol,
|
|
@@ -258,7 +258,7 @@ export var serializeAws_restJson1ListSigningProfilesCommand = function (input, c
|
|
|
258
258
|
case 1:
|
|
259
259
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
260
260
|
headers = {};
|
|
261
|
-
resolvedPath = ""
|
|
261
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/signing-profiles";
|
|
262
262
|
query = __assign(__assign(__assign(__assign(__assign({}, (input.includeCanceled !== undefined && { includeCanceled: input.includeCanceled.toString() })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.platformId !== undefined && { platformId: input.platformId })), (input.statuses !== undefined && { statuses: (input.statuses || []).map(function (_entry) { return _entry; }) }));
|
|
263
263
|
return [2, new __HttpRequest({
|
|
264
264
|
protocol: protocol,
|
|
@@ -281,7 +281,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
281
281
|
case 1:
|
|
282
282
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
283
283
|
headers = {};
|
|
284
|
-
resolvedPath = ""
|
|
284
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
285
285
|
if (input.resourceArn !== undefined) {
|
|
286
286
|
labelValue = input.resourceArn;
|
|
287
287
|
if (labelValue.length <= 0) {
|
|
@@ -314,7 +314,7 @@ export var serializeAws_restJson1PutSigningProfileCommand = function (input, con
|
|
|
314
314
|
headers = {
|
|
315
315
|
"content-type": "application/json",
|
|
316
316
|
};
|
|
317
|
-
resolvedPath = ""
|
|
317
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/signing-profiles/{profileName}";
|
|
318
318
|
if (input.profileName !== undefined) {
|
|
319
319
|
labelValue = input.profileName;
|
|
320
320
|
if (labelValue.length <= 0) {
|
|
@@ -358,7 +358,7 @@ export var serializeAws_restJson1RemoveProfilePermissionCommand = function (inpu
|
|
|
358
358
|
case 1:
|
|
359
359
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
360
360
|
headers = {};
|
|
361
|
-
resolvedPath = ""
|
|
361
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
362
362
|
"/signing-profiles/{profileName}/permissions/{statementId}";
|
|
363
363
|
if (input.profileName !== undefined) {
|
|
364
364
|
labelValue = input.profileName;
|
|
@@ -404,7 +404,7 @@ export var serializeAws_restJson1RevokeSignatureCommand = function (input, conte
|
|
|
404
404
|
headers = {
|
|
405
405
|
"content-type": "application/json",
|
|
406
406
|
};
|
|
407
|
-
resolvedPath = ""
|
|
407
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/signing-jobs/{jobId}/revoke";
|
|
408
408
|
if (input.jobId !== undefined) {
|
|
409
409
|
labelValue = input.jobId;
|
|
410
410
|
if (labelValue.length <= 0) {
|
|
@@ -438,7 +438,7 @@ export var serializeAws_restJson1RevokeSigningProfileCommand = function (input,
|
|
|
438
438
|
headers = {
|
|
439
439
|
"content-type": "application/json",
|
|
440
440
|
};
|
|
441
|
-
resolvedPath = ""
|
|
441
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/signing-profiles/{profileName}/revoke";
|
|
442
442
|
if (input.profileName !== undefined) {
|
|
443
443
|
labelValue = input.profileName;
|
|
444
444
|
if (labelValue.length <= 0) {
|
|
@@ -475,7 +475,7 @@ export var serializeAws_restJson1StartSigningJobCommand = function (input, conte
|
|
|
475
475
|
headers = {
|
|
476
476
|
"content-type": "application/json",
|
|
477
477
|
};
|
|
478
|
-
resolvedPath = ""
|
|
478
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/signing-jobs";
|
|
479
479
|
body = JSON.stringify(__assign(__assign(__assign(__assign({ clientRequestToken: (_c = input.clientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.destination !== undefined &&
|
|
480
480
|
input.destination !== null && { destination: serializeAws_restJson1Destination(input.destination, context) })), (input.profileName !== undefined && input.profileName !== null && { profileName: input.profileName })), (input.profileOwner !== undefined && input.profileOwner !== null && { profileOwner: input.profileOwner })), (input.source !== undefined &&
|
|
481
481
|
input.source !== null && { source: serializeAws_restJson1Source(input.source, context) })));
|
|
@@ -501,7 +501,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
501
501
|
headers = {
|
|
502
502
|
"content-type": "application/json",
|
|
503
503
|
};
|
|
504
|
-
resolvedPath = ""
|
|
504
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
505
505
|
if (input.resourceArn !== undefined) {
|
|
506
506
|
labelValue = input.resourceArn;
|
|
507
507
|
if (labelValue.length <= 0) {
|
|
@@ -533,7 +533,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
533
533
|
case 1:
|
|
534
534
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
535
535
|
headers = {};
|
|
536
|
-
resolvedPath = ""
|
|
536
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
537
537
|
if (input.resourceArn !== undefined) {
|
|
538
538
|
labelValue = input.resourceArn;
|
|
539
539
|
if (labelValue.length <= 0) {
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: SignerClientConfig) => {
|
|
|
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: SignerClientConfig) => {
|
|
|
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;
|