@aws-sdk/client-mq 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/MqClient.js +13 -13
- package/dist-cjs/commands/CreateBrokerCommand.js +3 -3
- package/dist-cjs/commands/CreateConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CreateTagsCommand.js +3 -3
- package/dist-cjs/commands/CreateUserCommand.js +3 -3
- package/dist-cjs/commands/DeleteBrokerCommand.js +3 -3
- package/dist-cjs/commands/DeleteTagsCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserCommand.js +3 -3
- package/dist-cjs/commands/DescribeBrokerCommand.js +3 -3
- package/dist-cjs/commands/DescribeBrokerEngineTypesCommand.js +3 -3
- package/dist-cjs/commands/DescribeBrokerInstanceOptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +3 -3
- package/dist-cjs/commands/DescribeUserCommand.js +3 -3
- package/dist-cjs/commands/ListBrokersCommand.js +3 -3
- package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +3 -3
- package/dist-cjs/commands/ListConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsCommand.js +3 -3
- package/dist-cjs/commands/ListUsersCommand.js +3 -3
- package/dist-cjs/commands/RebootBrokerCommand.js +3 -3
- package/dist-cjs/commands/UpdateBrokerCommand.js +3 -3
- package/dist-cjs/commands/UpdateConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +200 -200
- 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/Mq.js +22 -22
- package/dist-es/pagination/ListBrokersPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +22 -22
- package/dist-types/MqClient.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/MqClient.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,
|
package/dist-es/Mq.js
CHANGED
|
@@ -34,7 +34,7 @@ var Mq = (function (_super) {
|
|
|
34
34
|
}
|
|
35
35
|
else if (typeof cb === "function") {
|
|
36
36
|
if (typeof optionsOrCb !== "object")
|
|
37
|
-
throw new Error("Expect http options but get "
|
|
37
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
38
38
|
this.send(command, optionsOrCb || {}, cb);
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
@@ -48,7 +48,7 @@ var Mq = (function (_super) {
|
|
|
48
48
|
}
|
|
49
49
|
else if (typeof cb === "function") {
|
|
50
50
|
if (typeof optionsOrCb !== "object")
|
|
51
|
-
throw new Error("Expect http options but get "
|
|
51
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
52
52
|
this.send(command, optionsOrCb || {}, cb);
|
|
53
53
|
}
|
|
54
54
|
else {
|
|
@@ -62,7 +62,7 @@ var Mq = (function (_super) {
|
|
|
62
62
|
}
|
|
63
63
|
else if (typeof cb === "function") {
|
|
64
64
|
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error("Expect http options but get "
|
|
65
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
66
66
|
this.send(command, optionsOrCb || {}, cb);
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
@@ -76,7 +76,7 @@ var Mq = (function (_super) {
|
|
|
76
76
|
}
|
|
77
77
|
else if (typeof cb === "function") {
|
|
78
78
|
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error("Expect http options but get "
|
|
79
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
80
80
|
this.send(command, optionsOrCb || {}, cb);
|
|
81
81
|
}
|
|
82
82
|
else {
|
|
@@ -90,7 +90,7 @@ var Mq = (function (_super) {
|
|
|
90
90
|
}
|
|
91
91
|
else if (typeof cb === "function") {
|
|
92
92
|
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error("Expect http options but get "
|
|
93
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
94
94
|
this.send(command, optionsOrCb || {}, cb);
|
|
95
95
|
}
|
|
96
96
|
else {
|
|
@@ -104,7 +104,7 @@ var Mq = (function (_super) {
|
|
|
104
104
|
}
|
|
105
105
|
else if (typeof cb === "function") {
|
|
106
106
|
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error("Expect http options but get "
|
|
107
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
108
108
|
this.send(command, optionsOrCb || {}, cb);
|
|
109
109
|
}
|
|
110
110
|
else {
|
|
@@ -118,7 +118,7 @@ var Mq = (function (_super) {
|
|
|
118
118
|
}
|
|
119
119
|
else if (typeof cb === "function") {
|
|
120
120
|
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error("Expect http options but get "
|
|
121
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
122
122
|
this.send(command, optionsOrCb || {}, cb);
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
@@ -132,7 +132,7 @@ var Mq = (function (_super) {
|
|
|
132
132
|
}
|
|
133
133
|
else if (typeof cb === "function") {
|
|
134
134
|
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error("Expect http options but get "
|
|
135
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
136
136
|
this.send(command, optionsOrCb || {}, cb);
|
|
137
137
|
}
|
|
138
138
|
else {
|
|
@@ -146,7 +146,7 @@ var Mq = (function (_super) {
|
|
|
146
146
|
}
|
|
147
147
|
else if (typeof cb === "function") {
|
|
148
148
|
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error("Expect http options but get "
|
|
149
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
150
150
|
this.send(command, optionsOrCb || {}, cb);
|
|
151
151
|
}
|
|
152
152
|
else {
|
|
@@ -160,7 +160,7 @@ var Mq = (function (_super) {
|
|
|
160
160
|
}
|
|
161
161
|
else if (typeof cb === "function") {
|
|
162
162
|
if (typeof optionsOrCb !== "object")
|
|
163
|
-
throw new Error("Expect http options but get "
|
|
163
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
164
164
|
this.send(command, optionsOrCb || {}, cb);
|
|
165
165
|
}
|
|
166
166
|
else {
|
|
@@ -174,7 +174,7 @@ var Mq = (function (_super) {
|
|
|
174
174
|
}
|
|
175
175
|
else if (typeof cb === "function") {
|
|
176
176
|
if (typeof optionsOrCb !== "object")
|
|
177
|
-
throw new Error("Expect http options but get "
|
|
177
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
178
178
|
this.send(command, optionsOrCb || {}, cb);
|
|
179
179
|
}
|
|
180
180
|
else {
|
|
@@ -188,7 +188,7 @@ var Mq = (function (_super) {
|
|
|
188
188
|
}
|
|
189
189
|
else if (typeof cb === "function") {
|
|
190
190
|
if (typeof optionsOrCb !== "object")
|
|
191
|
-
throw new Error("Expect http options but get "
|
|
191
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
192
192
|
this.send(command, optionsOrCb || {}, cb);
|
|
193
193
|
}
|
|
194
194
|
else {
|
|
@@ -202,7 +202,7 @@ var Mq = (function (_super) {
|
|
|
202
202
|
}
|
|
203
203
|
else if (typeof cb === "function") {
|
|
204
204
|
if (typeof optionsOrCb !== "object")
|
|
205
|
-
throw new Error("Expect http options but get "
|
|
205
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
206
206
|
this.send(command, optionsOrCb || {}, cb);
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
@@ -216,7 +216,7 @@ var Mq = (function (_super) {
|
|
|
216
216
|
}
|
|
217
217
|
else if (typeof cb === "function") {
|
|
218
218
|
if (typeof optionsOrCb !== "object")
|
|
219
|
-
throw new Error("Expect http options but get "
|
|
219
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
220
220
|
this.send(command, optionsOrCb || {}, cb);
|
|
221
221
|
}
|
|
222
222
|
else {
|
|
@@ -230,7 +230,7 @@ var Mq = (function (_super) {
|
|
|
230
230
|
}
|
|
231
231
|
else if (typeof cb === "function") {
|
|
232
232
|
if (typeof optionsOrCb !== "object")
|
|
233
|
-
throw new Error("Expect http options but get "
|
|
233
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
234
234
|
this.send(command, optionsOrCb || {}, cb);
|
|
235
235
|
}
|
|
236
236
|
else {
|
|
@@ -244,7 +244,7 @@ var Mq = (function (_super) {
|
|
|
244
244
|
}
|
|
245
245
|
else if (typeof cb === "function") {
|
|
246
246
|
if (typeof optionsOrCb !== "object")
|
|
247
|
-
throw new Error("Expect http options but get "
|
|
247
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
248
248
|
this.send(command, optionsOrCb || {}, cb);
|
|
249
249
|
}
|
|
250
250
|
else {
|
|
@@ -258,7 +258,7 @@ var Mq = (function (_super) {
|
|
|
258
258
|
}
|
|
259
259
|
else if (typeof cb === "function") {
|
|
260
260
|
if (typeof optionsOrCb !== "object")
|
|
261
|
-
throw new Error("Expect http options but get "
|
|
261
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
262
262
|
this.send(command, optionsOrCb || {}, cb);
|
|
263
263
|
}
|
|
264
264
|
else {
|
|
@@ -272,7 +272,7 @@ var Mq = (function (_super) {
|
|
|
272
272
|
}
|
|
273
273
|
else if (typeof cb === "function") {
|
|
274
274
|
if (typeof optionsOrCb !== "object")
|
|
275
|
-
throw new Error("Expect http options but get "
|
|
275
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
276
276
|
this.send(command, optionsOrCb || {}, cb);
|
|
277
277
|
}
|
|
278
278
|
else {
|
|
@@ -286,7 +286,7 @@ var Mq = (function (_super) {
|
|
|
286
286
|
}
|
|
287
287
|
else if (typeof cb === "function") {
|
|
288
288
|
if (typeof optionsOrCb !== "object")
|
|
289
|
-
throw new Error("Expect http options but get "
|
|
289
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
290
290
|
this.send(command, optionsOrCb || {}, cb);
|
|
291
291
|
}
|
|
292
292
|
else {
|
|
@@ -300,7 +300,7 @@ var Mq = (function (_super) {
|
|
|
300
300
|
}
|
|
301
301
|
else if (typeof cb === "function") {
|
|
302
302
|
if (typeof optionsOrCb !== "object")
|
|
303
|
-
throw new Error("Expect http options but get "
|
|
303
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
304
304
|
this.send(command, optionsOrCb || {}, cb);
|
|
305
305
|
}
|
|
306
306
|
else {
|
|
@@ -314,7 +314,7 @@ var Mq = (function (_super) {
|
|
|
314
314
|
}
|
|
315
315
|
else if (typeof cb === "function") {
|
|
316
316
|
if (typeof optionsOrCb !== "object")
|
|
317
|
-
throw new Error("Expect http options but get "
|
|
317
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
318
318
|
this.send(command, optionsOrCb || {}, cb);
|
|
319
319
|
}
|
|
320
320
|
else {
|
|
@@ -328,7 +328,7 @@ var Mq = (function (_super) {
|
|
|
328
328
|
}
|
|
329
329
|
else if (typeof cb === "function") {
|
|
330
330
|
if (typeof optionsOrCb !== "object")
|
|
331
|
-
throw new Error("Expect http options but get "
|
|
331
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
332
332
|
this.send(command, optionsOrCb || {}, cb);
|
|
333
333
|
}
|
|
334
334
|
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 ListBrokersCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListBrokersCommand(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.listBrokers.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listBrokers.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 paginateListBrokers(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Mq)) 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 MqClient)) 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];
|
|
@@ -15,7 +15,7 @@ export var serializeAws_restJson1CreateBrokerCommand = function (input, context)
|
|
|
15
15
|
headers = {
|
|
16
16
|
"content-type": "application/json",
|
|
17
17
|
};
|
|
18
|
-
resolvedPath = ""
|
|
18
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/brokers";
|
|
19
19
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationStrategy !== undefined &&
|
|
20
20
|
input.AuthenticationStrategy !== null && { authenticationStrategy: input.AuthenticationStrategy })), (input.AutoMinorVersionUpgrade !== undefined &&
|
|
21
21
|
input.AutoMinorVersionUpgrade !== null && { autoMinorVersionUpgrade: input.AutoMinorVersionUpgrade })), (input.BrokerName !== undefined && input.BrokerName !== null && { brokerName: input.BrokerName })), (input.Configuration !== undefined &&
|
|
@@ -62,7 +62,7 @@ export var serializeAws_restJson1CreateConfigurationCommand = function (input, c
|
|
|
62
62
|
headers = {
|
|
63
63
|
"content-type": "application/json",
|
|
64
64
|
};
|
|
65
|
-
resolvedPath = ""
|
|
65
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/configurations";
|
|
66
66
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AuthenticationStrategy !== undefined &&
|
|
67
67
|
input.AuthenticationStrategy !== null && { authenticationStrategy: input.AuthenticationStrategy })), (input.EngineType !== undefined && input.EngineType !== null && { engineType: input.EngineType })), (input.EngineVersion !== undefined && input.EngineVersion !== null && { engineVersion: input.EngineVersion })), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.Tags !== undefined &&
|
|
68
68
|
input.Tags !== null && { tags: serializeAws_restJson1__mapOf__string(input.Tags, context) })));
|
|
@@ -88,7 +88,7 @@ export var serializeAws_restJson1CreateTagsCommand = function (input, context) {
|
|
|
88
88
|
headers = {
|
|
89
89
|
"content-type": "application/json",
|
|
90
90
|
};
|
|
91
|
-
resolvedPath = ""
|
|
91
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/tags/{ResourceArn}";
|
|
92
92
|
if (input.ResourceArn !== undefined) {
|
|
93
93
|
labelValue = input.ResourceArn;
|
|
94
94
|
if (labelValue.length <= 0) {
|
|
@@ -123,7 +123,7 @@ export var serializeAws_restJson1CreateUserCommand = function (input, context) {
|
|
|
123
123
|
headers = {
|
|
124
124
|
"content-type": "application/json",
|
|
125
125
|
};
|
|
126
|
-
resolvedPath = ""
|
|
126
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/brokers/{BrokerId}/users/{Username}";
|
|
127
127
|
if (input.BrokerId !== undefined) {
|
|
128
128
|
labelValue = input.BrokerId;
|
|
129
129
|
if (labelValue.length <= 0) {
|
|
@@ -166,7 +166,7 @@ export var serializeAws_restJson1DeleteBrokerCommand = function (input, context)
|
|
|
166
166
|
case 1:
|
|
167
167
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
168
168
|
headers = {};
|
|
169
|
-
resolvedPath = ""
|
|
169
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/brokers/{BrokerId}";
|
|
170
170
|
if (input.BrokerId !== undefined) {
|
|
171
171
|
labelValue = input.BrokerId;
|
|
172
172
|
if (labelValue.length <= 0) {
|
|
@@ -197,7 +197,7 @@ export var serializeAws_restJson1DeleteTagsCommand = function (input, context) {
|
|
|
197
197
|
case 1:
|
|
198
198
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
199
199
|
headers = {};
|
|
200
|
-
resolvedPath = ""
|
|
200
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/tags/{ResourceArn}";
|
|
201
201
|
if (input.ResourceArn !== undefined) {
|
|
202
202
|
labelValue = input.ResourceArn;
|
|
203
203
|
if (labelValue.length <= 0) {
|
|
@@ -230,7 +230,7 @@ export var serializeAws_restJson1DeleteUserCommand = function (input, context) {
|
|
|
230
230
|
case 1:
|
|
231
231
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
232
232
|
headers = {};
|
|
233
|
-
resolvedPath = ""
|
|
233
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/brokers/{BrokerId}/users/{Username}";
|
|
234
234
|
if (input.BrokerId !== undefined) {
|
|
235
235
|
labelValue = input.BrokerId;
|
|
236
236
|
if (labelValue.length <= 0) {
|
|
@@ -271,7 +271,7 @@ export var serializeAws_restJson1DescribeBrokerCommand = function (input, contex
|
|
|
271
271
|
case 1:
|
|
272
272
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
273
273
|
headers = {};
|
|
274
|
-
resolvedPath = ""
|
|
274
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/brokers/{BrokerId}";
|
|
275
275
|
if (input.BrokerId !== undefined) {
|
|
276
276
|
labelValue = input.BrokerId;
|
|
277
277
|
if (labelValue.length <= 0) {
|
|
@@ -302,7 +302,7 @@ export var serializeAws_restJson1DescribeBrokerEngineTypesCommand = function (in
|
|
|
302
302
|
case 1:
|
|
303
303
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
304
304
|
headers = {};
|
|
305
|
-
resolvedPath = ""
|
|
305
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/broker-engine-types";
|
|
306
306
|
query = __assign(__assign(__assign({}, (input.EngineType !== undefined && { engineType: input.EngineType })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
307
307
|
return [2, new __HttpRequest({
|
|
308
308
|
protocol: protocol,
|
|
@@ -325,7 +325,7 @@ export var serializeAws_restJson1DescribeBrokerInstanceOptionsCommand = function
|
|
|
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 || "") + "/v1/broker-instance-options";
|
|
329
329
|
query = __assign(__assign(__assign(__assign(__assign({}, (input.EngineType !== undefined && { engineType: input.EngineType })), (input.HostInstanceType !== undefined && { hostInstanceType: input.HostInstanceType })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.StorageType !== undefined && { storageType: input.StorageType }));
|
|
330
330
|
return [2, new __HttpRequest({
|
|
331
331
|
protocol: protocol,
|
|
@@ -348,7 +348,7 @@ export var serializeAws_restJson1DescribeConfigurationCommand = function (input,
|
|
|
348
348
|
case 1:
|
|
349
349
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
350
350
|
headers = {};
|
|
351
|
-
resolvedPath = ""
|
|
351
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/configurations/{ConfigurationId}";
|
|
352
352
|
if (input.ConfigurationId !== undefined) {
|
|
353
353
|
labelValue = input.ConfigurationId;
|
|
354
354
|
if (labelValue.length <= 0) {
|
|
@@ -379,7 +379,7 @@ export var serializeAws_restJson1DescribeConfigurationRevisionCommand = function
|
|
|
379
379
|
case 1:
|
|
380
380
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
381
381
|
headers = {};
|
|
382
|
-
resolvedPath = ""
|
|
382
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
383
383
|
"/v1/configurations/{ConfigurationId}/revisions/{ConfigurationRevision}";
|
|
384
384
|
if (input.ConfigurationId !== undefined) {
|
|
385
385
|
labelValue = input.ConfigurationId;
|
|
@@ -421,7 +421,7 @@ export var serializeAws_restJson1DescribeUserCommand = function (input, context)
|
|
|
421
421
|
case 1:
|
|
422
422
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
423
423
|
headers = {};
|
|
424
|
-
resolvedPath = ""
|
|
424
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/brokers/{BrokerId}/users/{Username}";
|
|
425
425
|
if (input.BrokerId !== undefined) {
|
|
426
426
|
labelValue = input.BrokerId;
|
|
427
427
|
if (labelValue.length <= 0) {
|
|
@@ -462,7 +462,7 @@ export var serializeAws_restJson1ListBrokersCommand = function (input, context)
|
|
|
462
462
|
case 1:
|
|
463
463
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
464
464
|
headers = {};
|
|
465
|
-
resolvedPath = ""
|
|
465
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/brokers";
|
|
466
466
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
467
467
|
return [2, new __HttpRequest({
|
|
468
468
|
protocol: protocol,
|
|
@@ -485,7 +485,7 @@ export var serializeAws_restJson1ListConfigurationRevisionsCommand = function (i
|
|
|
485
485
|
case 1:
|
|
486
486
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
487
487
|
headers = {};
|
|
488
|
-
resolvedPath = ""
|
|
488
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
489
489
|
"/v1/configurations/{ConfigurationId}/revisions";
|
|
490
490
|
if (input.ConfigurationId !== undefined) {
|
|
491
491
|
labelValue = input.ConfigurationId;
|
|
@@ -519,7 +519,7 @@ export var serializeAws_restJson1ListConfigurationsCommand = function (input, co
|
|
|
519
519
|
case 1:
|
|
520
520
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
521
521
|
headers = {};
|
|
522
|
-
resolvedPath = ""
|
|
522
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/configurations";
|
|
523
523
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
524
524
|
return [2, new __HttpRequest({
|
|
525
525
|
protocol: protocol,
|
|
@@ -542,7 +542,7 @@ export var serializeAws_restJson1ListTagsCommand = function (input, context) { r
|
|
|
542
542
|
case 1:
|
|
543
543
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
544
544
|
headers = {};
|
|
545
|
-
resolvedPath = ""
|
|
545
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/tags/{ResourceArn}";
|
|
546
546
|
if (input.ResourceArn !== undefined) {
|
|
547
547
|
labelValue = input.ResourceArn;
|
|
548
548
|
if (labelValue.length <= 0) {
|
|
@@ -573,7 +573,7 @@ export var serializeAws_restJson1ListUsersCommand = function (input, context) {
|
|
|
573
573
|
case 1:
|
|
574
574
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
575
575
|
headers = {};
|
|
576
|
-
resolvedPath = ""
|
|
576
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/brokers/{BrokerId}/users";
|
|
577
577
|
if (input.BrokerId !== undefined) {
|
|
578
578
|
labelValue = input.BrokerId;
|
|
579
579
|
if (labelValue.length <= 0) {
|
|
@@ -606,7 +606,7 @@ export var serializeAws_restJson1RebootBrokerCommand = function (input, context)
|
|
|
606
606
|
case 1:
|
|
607
607
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
608
608
|
headers = {};
|
|
609
|
-
resolvedPath = ""
|
|
609
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/brokers/{BrokerId}/reboot";
|
|
610
610
|
if (input.BrokerId !== undefined) {
|
|
611
611
|
labelValue = input.BrokerId;
|
|
612
612
|
if (labelValue.length <= 0) {
|
|
@@ -639,7 +639,7 @@ export var serializeAws_restJson1UpdateBrokerCommand = function (input, context)
|
|
|
639
639
|
headers = {
|
|
640
640
|
"content-type": "application/json",
|
|
641
641
|
};
|
|
642
|
-
resolvedPath = ""
|
|
642
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/brokers/{BrokerId}";
|
|
643
643
|
if (input.BrokerId !== undefined) {
|
|
644
644
|
labelValue = input.BrokerId;
|
|
645
645
|
if (labelValue.length <= 0) {
|
|
@@ -688,7 +688,7 @@ export var serializeAws_restJson1UpdateConfigurationCommand = function (input, c
|
|
|
688
688
|
headers = {
|
|
689
689
|
"content-type": "application/json",
|
|
690
690
|
};
|
|
691
|
-
resolvedPath = ""
|
|
691
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/configurations/{ConfigurationId}";
|
|
692
692
|
if (input.ConfigurationId !== undefined) {
|
|
693
693
|
labelValue = input.ConfigurationId;
|
|
694
694
|
if (labelValue.length <= 0) {
|
|
@@ -722,7 +722,7 @@ export var serializeAws_restJson1UpdateUserCommand = function (input, context) {
|
|
|
722
722
|
headers = {
|
|
723
723
|
"content-type": "application/json",
|
|
724
724
|
};
|
|
725
|
-
resolvedPath = ""
|
|
725
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/brokers/{BrokerId}/users/{Username}";
|
|
726
726
|
if (input.BrokerId !== undefined) {
|
|
727
727
|
labelValue = input.BrokerId;
|
|
728
728
|
if (labelValue.length <= 0) {
|
package/dist-types/MqClient.d.ts
CHANGED
|
@@ -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 { CreateBrokerCommandInput, CreateBrokerCommandOutput } from "./commands/CreateBrokerCommand";
|
|
10
10
|
import { CreateConfigurationCommandInput, CreateConfigurationCommandOutput } from "./commands/CreateConfigurationCommand";
|
|
11
11
|
import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
@@ -50,7 +50,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
50
50
|
* A function that can calculate the length of a request body.
|
|
51
51
|
* @internal
|
|
52
52
|
*/
|
|
53
|
-
bodyLengthChecker?:
|
|
53
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
54
54
|
/**
|
|
55
55
|
* A function that converts a stream into an array of bytes.
|
|
56
56
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MqClientConfig) => {
|
|
|
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: MqClientConfig) => {
|
|
|
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: MqClientConfig) => {
|
|
|
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: MqClientConfig) => {
|
|
|
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 { CreateBrokerCommandInput, CreateBrokerCommandOutput } from "./commands/CreateBrokerCommand";
|
|
10
10
|
import { CreateConfigurationCommandInput, CreateConfigurationCommandOutput } from "./commands/CreateConfigurationCommand";
|
|
11
11
|
import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
@@ -38,7 +38,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
38
38
|
|
|
39
39
|
urlParser?: __UrlParser;
|
|
40
40
|
|
|
41
|
-
bodyLengthChecker?:
|
|
41
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
42
42
|
|
|
43
43
|
streamCollector?: __StreamCollector;
|
|
44
44
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MqClientConfig) => {
|
|
|
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: MqClientConfig) => {
|
|
|
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>;
|