@aws-sdk/client-iotdeviceadvisor 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/IotDeviceAdvisorClient.js +13 -13
- package/dist-cjs/commands/CreateSuiteDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DeleteSuiteDefinitionCommand.js +3 -3
- package/dist-cjs/commands/GetEndpointCommand.js +3 -3
- package/dist-cjs/commands/GetSuiteDefinitionCommand.js +3 -3
- package/dist-cjs/commands/GetSuiteRunCommand.js +3 -3
- package/dist-cjs/commands/GetSuiteRunReportCommand.js +3 -3
- package/dist-cjs/commands/ListSuiteDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ListSuiteRunsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/StartSuiteRunCommand.js +3 -3
- package/dist-cjs/commands/StopSuiteRunCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateSuiteDefinitionCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +110 -110
- 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/IotDeviceAdvisor.js +14 -14
- package/dist-es/pagination/ListSuiteDefinitionsPaginator.js +4 -4
- package/dist-es/pagination/ListSuiteRunsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +14 -14
- package/dist-types/IotDeviceAdvisorClient.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/IotDeviceAdvisorClient.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,
|
|
@@ -26,7 +26,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
26
26
|
}
|
|
27
27
|
else if (typeof cb === "function") {
|
|
28
28
|
if (typeof optionsOrCb !== "object")
|
|
29
|
-
throw new Error("Expect http options but get "
|
|
29
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
30
30
|
this.send(command, optionsOrCb || {}, cb);
|
|
31
31
|
}
|
|
32
32
|
else {
|
|
@@ -40,7 +40,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
40
40
|
}
|
|
41
41
|
else if (typeof cb === "function") {
|
|
42
42
|
if (typeof optionsOrCb !== "object")
|
|
43
|
-
throw new Error("Expect http options but get "
|
|
43
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
44
44
|
this.send(command, optionsOrCb || {}, cb);
|
|
45
45
|
}
|
|
46
46
|
else {
|
|
@@ -54,7 +54,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
54
54
|
}
|
|
55
55
|
else if (typeof cb === "function") {
|
|
56
56
|
if (typeof optionsOrCb !== "object")
|
|
57
|
-
throw new Error("Expect http options but get "
|
|
57
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
58
58
|
this.send(command, optionsOrCb || {}, cb);
|
|
59
59
|
}
|
|
60
60
|
else {
|
|
@@ -68,7 +68,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
68
68
|
}
|
|
69
69
|
else if (typeof cb === "function") {
|
|
70
70
|
if (typeof optionsOrCb !== "object")
|
|
71
|
-
throw new Error("Expect http options but get "
|
|
71
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
72
72
|
this.send(command, optionsOrCb || {}, cb);
|
|
73
73
|
}
|
|
74
74
|
else {
|
|
@@ -82,7 +82,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
82
82
|
}
|
|
83
83
|
else if (typeof cb === "function") {
|
|
84
84
|
if (typeof optionsOrCb !== "object")
|
|
85
|
-
throw new Error("Expect http options but get "
|
|
85
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
86
86
|
this.send(command, optionsOrCb || {}, cb);
|
|
87
87
|
}
|
|
88
88
|
else {
|
|
@@ -96,7 +96,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
96
96
|
}
|
|
97
97
|
else if (typeof cb === "function") {
|
|
98
98
|
if (typeof optionsOrCb !== "object")
|
|
99
|
-
throw new Error("Expect http options but get "
|
|
99
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
100
100
|
this.send(command, optionsOrCb || {}, cb);
|
|
101
101
|
}
|
|
102
102
|
else {
|
|
@@ -110,7 +110,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
110
110
|
}
|
|
111
111
|
else if (typeof cb === "function") {
|
|
112
112
|
if (typeof optionsOrCb !== "object")
|
|
113
|
-
throw new Error("Expect http options but get "
|
|
113
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
114
114
|
this.send(command, optionsOrCb || {}, cb);
|
|
115
115
|
}
|
|
116
116
|
else {
|
|
@@ -124,7 +124,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
124
124
|
}
|
|
125
125
|
else if (typeof cb === "function") {
|
|
126
126
|
if (typeof optionsOrCb !== "object")
|
|
127
|
-
throw new Error("Expect http options but get "
|
|
127
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
128
128
|
this.send(command, optionsOrCb || {}, cb);
|
|
129
129
|
}
|
|
130
130
|
else {
|
|
@@ -138,7 +138,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
138
138
|
}
|
|
139
139
|
else if (typeof cb === "function") {
|
|
140
140
|
if (typeof optionsOrCb !== "object")
|
|
141
|
-
throw new Error("Expect http options but get "
|
|
141
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
142
142
|
this.send(command, optionsOrCb || {}, cb);
|
|
143
143
|
}
|
|
144
144
|
else {
|
|
@@ -152,7 +152,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
152
152
|
}
|
|
153
153
|
else if (typeof cb === "function") {
|
|
154
154
|
if (typeof optionsOrCb !== "object")
|
|
155
|
-
throw new Error("Expect http options but get "
|
|
155
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
156
156
|
this.send(command, optionsOrCb || {}, cb);
|
|
157
157
|
}
|
|
158
158
|
else {
|
|
@@ -166,7 +166,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
166
166
|
}
|
|
167
167
|
else if (typeof cb === "function") {
|
|
168
168
|
if (typeof optionsOrCb !== "object")
|
|
169
|
-
throw new Error("Expect http options but get "
|
|
169
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
170
170
|
this.send(command, optionsOrCb || {}, cb);
|
|
171
171
|
}
|
|
172
172
|
else {
|
|
@@ -180,7 +180,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
180
180
|
}
|
|
181
181
|
else if (typeof cb === "function") {
|
|
182
182
|
if (typeof optionsOrCb !== "object")
|
|
183
|
-
throw new Error("Expect http options but get "
|
|
183
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
184
184
|
this.send(command, optionsOrCb || {}, cb);
|
|
185
185
|
}
|
|
186
186
|
else {
|
|
@@ -194,7 +194,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
194
194
|
}
|
|
195
195
|
else if (typeof cb === "function") {
|
|
196
196
|
if (typeof optionsOrCb !== "object")
|
|
197
|
-
throw new Error("Expect http options but get "
|
|
197
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
198
198
|
this.send(command, optionsOrCb || {}, cb);
|
|
199
199
|
}
|
|
200
200
|
else {
|
|
@@ -208,7 +208,7 @@ var IotDeviceAdvisor = (function (_super) {
|
|
|
208
208
|
}
|
|
209
209
|
else if (typeof cb === "function") {
|
|
210
210
|
if (typeof optionsOrCb !== "object")
|
|
211
|
-
throw new Error("Expect http options but get "
|
|
211
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
212
212
|
this.send(command, optionsOrCb || {}, cb);
|
|
213
213
|
}
|
|
214
214
|
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 ListSuiteDefinitionsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListSuiteDefinitionsCommand(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.listSuiteDefinitions.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listSuiteDefinitions.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 paginateListSuiteDefinitions(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof IotDeviceAdvisor)) 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 IotDeviceAdvisorClient)) 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 ListSuiteRunsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListSuiteRunsCommand(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.listSuiteRuns.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listSuiteRuns.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 paginateListSuiteRuns(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof IotDeviceAdvisor)) 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 IotDeviceAdvisorClient)) 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_restJson1CreateSuiteDefinitionCommand = function (input,
|
|
|
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 || "") + "/suiteDefinitions";
|
|
17
17
|
body = JSON.stringify(__assign(__assign({}, (input.suiteDefinitionConfiguration !== undefined &&
|
|
18
18
|
input.suiteDefinitionConfiguration !== null && {
|
|
19
19
|
suiteDefinitionConfiguration: serializeAws_restJson1SuiteDefinitionConfiguration(input.suiteDefinitionConfiguration, context),
|
|
@@ -38,7 +38,7 @@ export var serializeAws_restJson1DeleteSuiteDefinitionCommand = function (input,
|
|
|
38
38
|
case 1:
|
|
39
39
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
40
40
|
headers = {};
|
|
41
|
-
resolvedPath = ""
|
|
41
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/suiteDefinitions/{suiteDefinitionId}";
|
|
42
42
|
if (input.suiteDefinitionId !== undefined) {
|
|
43
43
|
labelValue = input.suiteDefinitionId;
|
|
44
44
|
if (labelValue.length <= 0) {
|
|
@@ -69,7 +69,7 @@ export var serializeAws_restJson1GetEndpointCommand = function (input, context)
|
|
|
69
69
|
case 1:
|
|
70
70
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
71
71
|
headers = {};
|
|
72
|
-
resolvedPath = ""
|
|
72
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/endpoint";
|
|
73
73
|
query = __assign(__assign({}, (input.thingArn !== undefined && { thingArn: input.thingArn })), (input.certificateArn !== undefined && { certificateArn: input.certificateArn }));
|
|
74
74
|
return [2, new __HttpRequest({
|
|
75
75
|
protocol: protocol,
|
|
@@ -92,7 +92,7 @@ export var serializeAws_restJson1GetSuiteDefinitionCommand = function (input, co
|
|
|
92
92
|
case 1:
|
|
93
93
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
94
94
|
headers = {};
|
|
95
|
-
resolvedPath = ""
|
|
95
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/suiteDefinitions/{suiteDefinitionId}";
|
|
96
96
|
if (input.suiteDefinitionId !== undefined) {
|
|
97
97
|
labelValue = input.suiteDefinitionId;
|
|
98
98
|
if (labelValue.length <= 0) {
|
|
@@ -125,7 +125,7 @@ export var serializeAws_restJson1GetSuiteRunCommand = function (input, context)
|
|
|
125
125
|
case 1:
|
|
126
126
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
127
127
|
headers = {};
|
|
128
|
-
resolvedPath = ""
|
|
128
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
129
129
|
"/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}";
|
|
130
130
|
if (input.suiteDefinitionId !== undefined) {
|
|
131
131
|
labelValue = input.suiteDefinitionId;
|
|
@@ -167,7 +167,7 @@ export var serializeAws_restJson1GetSuiteRunReportCommand = function (input, con
|
|
|
167
167
|
case 1:
|
|
168
168
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
169
169
|
headers = {};
|
|
170
|
-
resolvedPath = ""
|
|
170
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
171
171
|
"/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/report";
|
|
172
172
|
if (input.suiteDefinitionId !== undefined) {
|
|
173
173
|
labelValue = input.suiteDefinitionId;
|
|
@@ -209,7 +209,7 @@ export var serializeAws_restJson1ListSuiteDefinitionsCommand = function (input,
|
|
|
209
209
|
case 1:
|
|
210
210
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
211
211
|
headers = {};
|
|
212
|
-
resolvedPath = ""
|
|
212
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/suiteDefinitions";
|
|
213
213
|
query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
214
214
|
return [2, new __HttpRequest({
|
|
215
215
|
protocol: protocol,
|
|
@@ -232,7 +232,7 @@ export var serializeAws_restJson1ListSuiteRunsCommand = function (input, context
|
|
|
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 || "") + "/suiteRuns";
|
|
236
236
|
query = __assign(__assign(__assign(__assign({}, (input.suiteDefinitionId !== undefined && { suiteDefinitionId: input.suiteDefinitionId })), (input.suiteDefinitionVersion !== undefined && { suiteDefinitionVersion: input.suiteDefinitionVersion })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
237
237
|
return [2, new __HttpRequest({
|
|
238
238
|
protocol: protocol,
|
|
@@ -255,7 +255,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
255
255
|
case 1:
|
|
256
256
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
257
257
|
headers = {};
|
|
258
|
-
resolvedPath = ""
|
|
258
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
259
259
|
if (input.resourceArn !== undefined) {
|
|
260
260
|
labelValue = input.resourceArn;
|
|
261
261
|
if (labelValue.length <= 0) {
|
|
@@ -288,7 +288,7 @@ export var serializeAws_restJson1StartSuiteRunCommand = function (input, context
|
|
|
288
288
|
headers = {
|
|
289
289
|
"content-type": "application/json",
|
|
290
290
|
};
|
|
291
|
-
resolvedPath = ""
|
|
291
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
292
292
|
"/suiteDefinitions/{suiteDefinitionId}/suiteRuns";
|
|
293
293
|
if (input.suiteDefinitionId !== undefined) {
|
|
294
294
|
labelValue = input.suiteDefinitionId;
|
|
@@ -325,7 +325,7 @@ export var serializeAws_restJson1StopSuiteRunCommand = function (input, context)
|
|
|
325
325
|
case 1:
|
|
326
326
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
327
327
|
headers = {};
|
|
328
|
-
resolvedPath = ""
|
|
328
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
329
329
|
"/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/stop";
|
|
330
330
|
if (input.suiteDefinitionId !== undefined) {
|
|
331
331
|
labelValue = input.suiteDefinitionId;
|
|
@@ -369,7 +369,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
369
369
|
headers = {
|
|
370
370
|
"content-type": "application/json",
|
|
371
371
|
};
|
|
372
|
-
resolvedPath = ""
|
|
372
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
373
373
|
if (input.resourceArn !== undefined) {
|
|
374
374
|
labelValue = input.resourceArn;
|
|
375
375
|
if (labelValue.length <= 0) {
|
|
@@ -401,7 +401,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
401
401
|
case 1:
|
|
402
402
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
403
403
|
headers = {};
|
|
404
|
-
resolvedPath = ""
|
|
404
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
405
405
|
if (input.resourceArn !== undefined) {
|
|
406
406
|
labelValue = input.resourceArn;
|
|
407
407
|
if (labelValue.length <= 0) {
|
|
@@ -436,7 +436,7 @@ export var serializeAws_restJson1UpdateSuiteDefinitionCommand = function (input,
|
|
|
436
436
|
headers = {
|
|
437
437
|
"content-type": "application/json",
|
|
438
438
|
};
|
|
439
|
-
resolvedPath = ""
|
|
439
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/suiteDefinitions/{suiteDefinitionId}";
|
|
440
440
|
if (input.suiteDefinitionId !== undefined) {
|
|
441
441
|
labelValue = input.suiteDefinitionId;
|
|
442
442
|
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 { CreateSuiteDefinitionCommandInput, CreateSuiteDefinitionCommandOutput } from "./commands/CreateSuiteDefinitionCommand";
|
|
10
10
|
import { DeleteSuiteDefinitionCommandInput, DeleteSuiteDefinitionCommandOutput } from "./commands/DeleteSuiteDefinitionCommand";
|
|
11
11
|
import { GetEndpointCommandInput, GetEndpointCommandOutput } from "./commands/GetEndpointCommand";
|
|
@@ -42,7 +42,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
42
42
|
* A function that can calculate the length of a request body.
|
|
43
43
|
* @internal
|
|
44
44
|
*/
|
|
45
|
-
bodyLengthChecker?:
|
|
45
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
46
46
|
/**
|
|
47
47
|
* A function that converts a stream into an array of bytes.
|
|
48
48
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IotDeviceAdvisorClientConfig) =>
|
|
|
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: IotDeviceAdvisorClientConfig) =>
|
|
|
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: IotDeviceAdvisorClientConfig) =>
|
|
|
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: IotDeviceAdvisorClientConfig) =>
|
|
|
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 { CreateSuiteDefinitionCommandInput, CreateSuiteDefinitionCommandOutput } from "./commands/CreateSuiteDefinitionCommand";
|
|
10
10
|
import { DeleteSuiteDefinitionCommandInput, DeleteSuiteDefinitionCommandOutput } from "./commands/DeleteSuiteDefinitionCommand";
|
|
11
11
|
import { GetEndpointCommandInput, GetEndpointCommandOutput } from "./commands/GetEndpointCommand";
|
|
@@ -30,7 +30,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
30
30
|
|
|
31
31
|
urlParser?: __UrlParser;
|
|
32
32
|
|
|
33
|
-
bodyLengthChecker?:
|
|
33
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
34
34
|
|
|
35
35
|
streamCollector?: __StreamCollector;
|
|
36
36
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IotDeviceAdvisorClientConfig) =>
|
|
|
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: IotDeviceAdvisorClientConfig) =>
|
|
|
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: IotDeviceAdvisorClientConfig) =>
|
|
|
6
6
|
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;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: IotDeviceAdvisorClientConfig) =>
|
|
|
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;
|