@aws-sdk/client-route53resolver 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/Route53ResolverClient.js +13 -13
- package/dist-cjs/commands/AssociateFirewallRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/AssociateResolverEndpointIpAddressCommand.js +3 -3
- package/dist-cjs/commands/AssociateResolverQueryLogConfigCommand.js +3 -3
- package/dist-cjs/commands/AssociateResolverRuleCommand.js +3 -3
- package/dist-cjs/commands/CreateFirewallDomainListCommand.js +3 -3
- package/dist-cjs/commands/CreateFirewallRuleCommand.js +3 -3
- package/dist-cjs/commands/CreateFirewallRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateResolverEndpointCommand.js +3 -3
- package/dist-cjs/commands/CreateResolverQueryLogConfigCommand.js +3 -3
- package/dist-cjs/commands/CreateResolverRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteFirewallDomainListCommand.js +3 -3
- package/dist-cjs/commands/DeleteFirewallRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteFirewallRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteResolverEndpointCommand.js +3 -3
- package/dist-cjs/commands/DeleteResolverQueryLogConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteResolverRuleCommand.js +3 -3
- package/dist-cjs/commands/DisassociateFirewallRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/DisassociateResolverEndpointIpAddressCommand.js +3 -3
- package/dist-cjs/commands/DisassociateResolverQueryLogConfigCommand.js +3 -3
- package/dist-cjs/commands/DisassociateResolverRuleCommand.js +3 -3
- package/dist-cjs/commands/GetFirewallConfigCommand.js +3 -3
- package/dist-cjs/commands/GetFirewallDomainListCommand.js +3 -3
- package/dist-cjs/commands/GetFirewallRuleGroupAssociationCommand.js +3 -3
- package/dist-cjs/commands/GetFirewallRuleGroupCommand.js +3 -3
- package/dist-cjs/commands/GetFirewallRuleGroupPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetResolverConfigCommand.js +3 -3
- package/dist-cjs/commands/GetResolverDnssecConfigCommand.js +3 -3
- package/dist-cjs/commands/GetResolverEndpointCommand.js +3 -3
- package/dist-cjs/commands/GetResolverQueryLogConfigAssociationCommand.js +3 -3
- package/dist-cjs/commands/GetResolverQueryLogConfigCommand.js +3 -3
- package/dist-cjs/commands/GetResolverQueryLogConfigPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetResolverRuleAssociationCommand.js +3 -3
- package/dist-cjs/commands/GetResolverRuleCommand.js +3 -3
- package/dist-cjs/commands/GetResolverRulePolicyCommand.js +3 -3
- package/dist-cjs/commands/ImportFirewallDomainsCommand.js +3 -3
- package/dist-cjs/commands/ListFirewallConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListFirewallDomainListsCommand.js +3 -3
- package/dist-cjs/commands/ListFirewallDomainsCommand.js +3 -3
- package/dist-cjs/commands/ListFirewallRuleGroupAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListFirewallRuleGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListFirewallRulesCommand.js +3 -3
- package/dist-cjs/commands/ListResolverConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListResolverDnssecConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListResolverEndpointIpAddressesCommand.js +3 -3
- package/dist-cjs/commands/ListResolverEndpointsCommand.js +3 -3
- package/dist-cjs/commands/ListResolverQueryLogConfigAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListResolverQueryLogConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListResolverRuleAssociationsCommand.js +3 -3
- package/dist-cjs/commands/ListResolverRulesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutFirewallRuleGroupPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutResolverQueryLogConfigPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutResolverRulePolicyCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateFirewallConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateFirewallDomainsCommand.js +3 -3
- package/dist-cjs/commands/UpdateFirewallRuleCommand.js +3 -3
- package/dist-cjs/commands/UpdateFirewallRuleGroupAssociationCommand.js +3 -3
- package/dist-cjs/commands/UpdateResolverConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateResolverDnssecConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateResolverEndpointCommand.js +3 -3
- package/dist-cjs/commands/UpdateResolverRuleCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +272 -272
- 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/Route53Resolver.js +63 -63
- package/dist-es/pagination/ListFirewallConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListFirewallDomainListsPaginator.js +4 -4
- package/dist-es/pagination/ListFirewallDomainsPaginator.js +4 -4
- package/dist-es/pagination/ListFirewallRuleGroupAssociationsPaginator.js +4 -4
- package/dist-es/pagination/ListFirewallRuleGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListFirewallRulesPaginator.js +4 -4
- package/dist-es/pagination/ListResolverConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListResolverDnssecConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListResolverEndpointIpAddressesPaginator.js +4 -4
- package/dist-es/pagination/ListResolverEndpointsPaginator.js +4 -4
- package/dist-es/pagination/ListResolverQueryLogConfigAssociationsPaginator.js +4 -4
- package/dist-es/pagination/ListResolverQueryLogConfigsPaginator.js +4 -4
- package/dist-es/pagination/ListResolverRuleAssociationsPaginator.js +4 -4
- package/dist-es/pagination/ListResolverRulesPaginator.js +4 -4
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist-types/Route53ResolverClient.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/Route53ResolverClient.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,
|
|
@@ -75,7 +75,7 @@ var Route53Resolver = (function (_super) {
|
|
|
75
75
|
}
|
|
76
76
|
else if (typeof cb === "function") {
|
|
77
77
|
if (typeof optionsOrCb !== "object")
|
|
78
|
-
throw new Error("Expect http options but get "
|
|
78
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
79
79
|
this.send(command, optionsOrCb || {}, cb);
|
|
80
80
|
}
|
|
81
81
|
else {
|
|
@@ -89,7 +89,7 @@ var Route53Resolver = (function (_super) {
|
|
|
89
89
|
}
|
|
90
90
|
else if (typeof cb === "function") {
|
|
91
91
|
if (typeof optionsOrCb !== "object")
|
|
92
|
-
throw new Error("Expect http options but get "
|
|
92
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
93
93
|
this.send(command, optionsOrCb || {}, cb);
|
|
94
94
|
}
|
|
95
95
|
else {
|
|
@@ -103,7 +103,7 @@ var Route53Resolver = (function (_super) {
|
|
|
103
103
|
}
|
|
104
104
|
else if (typeof cb === "function") {
|
|
105
105
|
if (typeof optionsOrCb !== "object")
|
|
106
|
-
throw new Error("Expect http options but get "
|
|
106
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
107
107
|
this.send(command, optionsOrCb || {}, cb);
|
|
108
108
|
}
|
|
109
109
|
else {
|
|
@@ -117,7 +117,7 @@ var Route53Resolver = (function (_super) {
|
|
|
117
117
|
}
|
|
118
118
|
else if (typeof cb === "function") {
|
|
119
119
|
if (typeof optionsOrCb !== "object")
|
|
120
|
-
throw new Error("Expect http options but get "
|
|
120
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
121
121
|
this.send(command, optionsOrCb || {}, cb);
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
@@ -131,7 +131,7 @@ var Route53Resolver = (function (_super) {
|
|
|
131
131
|
}
|
|
132
132
|
else if (typeof cb === "function") {
|
|
133
133
|
if (typeof optionsOrCb !== "object")
|
|
134
|
-
throw new Error("Expect http options but get "
|
|
134
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
135
135
|
this.send(command, optionsOrCb || {}, cb);
|
|
136
136
|
}
|
|
137
137
|
else {
|
|
@@ -145,7 +145,7 @@ var Route53Resolver = (function (_super) {
|
|
|
145
145
|
}
|
|
146
146
|
else if (typeof cb === "function") {
|
|
147
147
|
if (typeof optionsOrCb !== "object")
|
|
148
|
-
throw new Error("Expect http options but get "
|
|
148
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
149
149
|
this.send(command, optionsOrCb || {}, cb);
|
|
150
150
|
}
|
|
151
151
|
else {
|
|
@@ -159,7 +159,7 @@ var Route53Resolver = (function (_super) {
|
|
|
159
159
|
}
|
|
160
160
|
else if (typeof cb === "function") {
|
|
161
161
|
if (typeof optionsOrCb !== "object")
|
|
162
|
-
throw new Error("Expect http options but get "
|
|
162
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
163
163
|
this.send(command, optionsOrCb || {}, cb);
|
|
164
164
|
}
|
|
165
165
|
else {
|
|
@@ -173,7 +173,7 @@ var Route53Resolver = (function (_super) {
|
|
|
173
173
|
}
|
|
174
174
|
else if (typeof cb === "function") {
|
|
175
175
|
if (typeof optionsOrCb !== "object")
|
|
176
|
-
throw new Error("Expect http options but get "
|
|
176
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
177
177
|
this.send(command, optionsOrCb || {}, cb);
|
|
178
178
|
}
|
|
179
179
|
else {
|
|
@@ -187,7 +187,7 @@ var Route53Resolver = (function (_super) {
|
|
|
187
187
|
}
|
|
188
188
|
else if (typeof cb === "function") {
|
|
189
189
|
if (typeof optionsOrCb !== "object")
|
|
190
|
-
throw new Error("Expect http options but get "
|
|
190
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
191
191
|
this.send(command, optionsOrCb || {}, cb);
|
|
192
192
|
}
|
|
193
193
|
else {
|
|
@@ -201,7 +201,7 @@ var Route53Resolver = (function (_super) {
|
|
|
201
201
|
}
|
|
202
202
|
else if (typeof cb === "function") {
|
|
203
203
|
if (typeof optionsOrCb !== "object")
|
|
204
|
-
throw new Error("Expect http options but get "
|
|
204
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
205
205
|
this.send(command, optionsOrCb || {}, cb);
|
|
206
206
|
}
|
|
207
207
|
else {
|
|
@@ -215,7 +215,7 @@ var Route53Resolver = (function (_super) {
|
|
|
215
215
|
}
|
|
216
216
|
else if (typeof cb === "function") {
|
|
217
217
|
if (typeof optionsOrCb !== "object")
|
|
218
|
-
throw new Error("Expect http options but get "
|
|
218
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
219
219
|
this.send(command, optionsOrCb || {}, cb);
|
|
220
220
|
}
|
|
221
221
|
else {
|
|
@@ -229,7 +229,7 @@ var Route53Resolver = (function (_super) {
|
|
|
229
229
|
}
|
|
230
230
|
else if (typeof cb === "function") {
|
|
231
231
|
if (typeof optionsOrCb !== "object")
|
|
232
|
-
throw new Error("Expect http options but get "
|
|
232
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
233
233
|
this.send(command, optionsOrCb || {}, cb);
|
|
234
234
|
}
|
|
235
235
|
else {
|
|
@@ -243,7 +243,7 @@ var Route53Resolver = (function (_super) {
|
|
|
243
243
|
}
|
|
244
244
|
else if (typeof cb === "function") {
|
|
245
245
|
if (typeof optionsOrCb !== "object")
|
|
246
|
-
throw new Error("Expect http options but get "
|
|
246
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
247
247
|
this.send(command, optionsOrCb || {}, cb);
|
|
248
248
|
}
|
|
249
249
|
else {
|
|
@@ -257,7 +257,7 @@ var Route53Resolver = (function (_super) {
|
|
|
257
257
|
}
|
|
258
258
|
else if (typeof cb === "function") {
|
|
259
259
|
if (typeof optionsOrCb !== "object")
|
|
260
|
-
throw new Error("Expect http options but get "
|
|
260
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
261
261
|
this.send(command, optionsOrCb || {}, cb);
|
|
262
262
|
}
|
|
263
263
|
else {
|
|
@@ -271,7 +271,7 @@ var Route53Resolver = (function (_super) {
|
|
|
271
271
|
}
|
|
272
272
|
else if (typeof cb === "function") {
|
|
273
273
|
if (typeof optionsOrCb !== "object")
|
|
274
|
-
throw new Error("Expect http options but get "
|
|
274
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
275
275
|
this.send(command, optionsOrCb || {}, cb);
|
|
276
276
|
}
|
|
277
277
|
else {
|
|
@@ -285,7 +285,7 @@ var Route53Resolver = (function (_super) {
|
|
|
285
285
|
}
|
|
286
286
|
else if (typeof cb === "function") {
|
|
287
287
|
if (typeof optionsOrCb !== "object")
|
|
288
|
-
throw new Error("Expect http options but get "
|
|
288
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
289
289
|
this.send(command, optionsOrCb || {}, cb);
|
|
290
290
|
}
|
|
291
291
|
else {
|
|
@@ -299,7 +299,7 @@ var Route53Resolver = (function (_super) {
|
|
|
299
299
|
}
|
|
300
300
|
else if (typeof cb === "function") {
|
|
301
301
|
if (typeof optionsOrCb !== "object")
|
|
302
|
-
throw new Error("Expect http options but get "
|
|
302
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
303
303
|
this.send(command, optionsOrCb || {}, cb);
|
|
304
304
|
}
|
|
305
305
|
else {
|
|
@@ -313,7 +313,7 @@ var Route53Resolver = (function (_super) {
|
|
|
313
313
|
}
|
|
314
314
|
else if (typeof cb === "function") {
|
|
315
315
|
if (typeof optionsOrCb !== "object")
|
|
316
|
-
throw new Error("Expect http options but get "
|
|
316
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
317
317
|
this.send(command, optionsOrCb || {}, cb);
|
|
318
318
|
}
|
|
319
319
|
else {
|
|
@@ -327,7 +327,7 @@ var Route53Resolver = (function (_super) {
|
|
|
327
327
|
}
|
|
328
328
|
else if (typeof cb === "function") {
|
|
329
329
|
if (typeof optionsOrCb !== "object")
|
|
330
|
-
throw new Error("Expect http options but get "
|
|
330
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
331
331
|
this.send(command, optionsOrCb || {}, cb);
|
|
332
332
|
}
|
|
333
333
|
else {
|
|
@@ -341,7 +341,7 @@ var Route53Resolver = (function (_super) {
|
|
|
341
341
|
}
|
|
342
342
|
else if (typeof cb === "function") {
|
|
343
343
|
if (typeof optionsOrCb !== "object")
|
|
344
|
-
throw new Error("Expect http options but get "
|
|
344
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
345
345
|
this.send(command, optionsOrCb || {}, cb);
|
|
346
346
|
}
|
|
347
347
|
else {
|
|
@@ -355,7 +355,7 @@ var Route53Resolver = (function (_super) {
|
|
|
355
355
|
}
|
|
356
356
|
else if (typeof cb === "function") {
|
|
357
357
|
if (typeof optionsOrCb !== "object")
|
|
358
|
-
throw new Error("Expect http options but get "
|
|
358
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
359
359
|
this.send(command, optionsOrCb || {}, cb);
|
|
360
360
|
}
|
|
361
361
|
else {
|
|
@@ -369,7 +369,7 @@ var Route53Resolver = (function (_super) {
|
|
|
369
369
|
}
|
|
370
370
|
else if (typeof cb === "function") {
|
|
371
371
|
if (typeof optionsOrCb !== "object")
|
|
372
|
-
throw new Error("Expect http options but get "
|
|
372
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
373
373
|
this.send(command, optionsOrCb || {}, cb);
|
|
374
374
|
}
|
|
375
375
|
else {
|
|
@@ -383,7 +383,7 @@ var Route53Resolver = (function (_super) {
|
|
|
383
383
|
}
|
|
384
384
|
else if (typeof cb === "function") {
|
|
385
385
|
if (typeof optionsOrCb !== "object")
|
|
386
|
-
throw new Error("Expect http options but get "
|
|
386
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
387
387
|
this.send(command, optionsOrCb || {}, cb);
|
|
388
388
|
}
|
|
389
389
|
else {
|
|
@@ -397,7 +397,7 @@ var Route53Resolver = (function (_super) {
|
|
|
397
397
|
}
|
|
398
398
|
else if (typeof cb === "function") {
|
|
399
399
|
if (typeof optionsOrCb !== "object")
|
|
400
|
-
throw new Error("Expect http options but get "
|
|
400
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
401
401
|
this.send(command, optionsOrCb || {}, cb);
|
|
402
402
|
}
|
|
403
403
|
else {
|
|
@@ -411,7 +411,7 @@ var Route53Resolver = (function (_super) {
|
|
|
411
411
|
}
|
|
412
412
|
else if (typeof cb === "function") {
|
|
413
413
|
if (typeof optionsOrCb !== "object")
|
|
414
|
-
throw new Error("Expect http options but get "
|
|
414
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
415
415
|
this.send(command, optionsOrCb || {}, cb);
|
|
416
416
|
}
|
|
417
417
|
else {
|
|
@@ -425,7 +425,7 @@ var Route53Resolver = (function (_super) {
|
|
|
425
425
|
}
|
|
426
426
|
else if (typeof cb === "function") {
|
|
427
427
|
if (typeof optionsOrCb !== "object")
|
|
428
|
-
throw new Error("Expect http options but get "
|
|
428
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
429
429
|
this.send(command, optionsOrCb || {}, cb);
|
|
430
430
|
}
|
|
431
431
|
else {
|
|
@@ -439,7 +439,7 @@ var Route53Resolver = (function (_super) {
|
|
|
439
439
|
}
|
|
440
440
|
else if (typeof cb === "function") {
|
|
441
441
|
if (typeof optionsOrCb !== "object")
|
|
442
|
-
throw new Error("Expect http options but get "
|
|
442
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
443
443
|
this.send(command, optionsOrCb || {}, cb);
|
|
444
444
|
}
|
|
445
445
|
else {
|
|
@@ -453,7 +453,7 @@ var Route53Resolver = (function (_super) {
|
|
|
453
453
|
}
|
|
454
454
|
else if (typeof cb === "function") {
|
|
455
455
|
if (typeof optionsOrCb !== "object")
|
|
456
|
-
throw new Error("Expect http options but get "
|
|
456
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
457
457
|
this.send(command, optionsOrCb || {}, cb);
|
|
458
458
|
}
|
|
459
459
|
else {
|
|
@@ -467,7 +467,7 @@ var Route53Resolver = (function (_super) {
|
|
|
467
467
|
}
|
|
468
468
|
else if (typeof cb === "function") {
|
|
469
469
|
if (typeof optionsOrCb !== "object")
|
|
470
|
-
throw new Error("Expect http options but get "
|
|
470
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
471
471
|
this.send(command, optionsOrCb || {}, cb);
|
|
472
472
|
}
|
|
473
473
|
else {
|
|
@@ -481,7 +481,7 @@ var Route53Resolver = (function (_super) {
|
|
|
481
481
|
}
|
|
482
482
|
else if (typeof cb === "function") {
|
|
483
483
|
if (typeof optionsOrCb !== "object")
|
|
484
|
-
throw new Error("Expect http options but get "
|
|
484
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
485
485
|
this.send(command, optionsOrCb || {}, cb);
|
|
486
486
|
}
|
|
487
487
|
else {
|
|
@@ -495,7 +495,7 @@ var Route53Resolver = (function (_super) {
|
|
|
495
495
|
}
|
|
496
496
|
else if (typeof cb === "function") {
|
|
497
497
|
if (typeof optionsOrCb !== "object")
|
|
498
|
-
throw new Error("Expect http options but get "
|
|
498
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
499
499
|
this.send(command, optionsOrCb || {}, cb);
|
|
500
500
|
}
|
|
501
501
|
else {
|
|
@@ -509,7 +509,7 @@ var Route53Resolver = (function (_super) {
|
|
|
509
509
|
}
|
|
510
510
|
else if (typeof cb === "function") {
|
|
511
511
|
if (typeof optionsOrCb !== "object")
|
|
512
|
-
throw new Error("Expect http options but get "
|
|
512
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
513
513
|
this.send(command, optionsOrCb || {}, cb);
|
|
514
514
|
}
|
|
515
515
|
else {
|
|
@@ -523,7 +523,7 @@ var Route53Resolver = (function (_super) {
|
|
|
523
523
|
}
|
|
524
524
|
else if (typeof cb === "function") {
|
|
525
525
|
if (typeof optionsOrCb !== "object")
|
|
526
|
-
throw new Error("Expect http options but get "
|
|
526
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
527
527
|
this.send(command, optionsOrCb || {}, cb);
|
|
528
528
|
}
|
|
529
529
|
else {
|
|
@@ -537,7 +537,7 @@ var Route53Resolver = (function (_super) {
|
|
|
537
537
|
}
|
|
538
538
|
else if (typeof cb === "function") {
|
|
539
539
|
if (typeof optionsOrCb !== "object")
|
|
540
|
-
throw new Error("Expect http options but get "
|
|
540
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
541
541
|
this.send(command, optionsOrCb || {}, cb);
|
|
542
542
|
}
|
|
543
543
|
else {
|
|
@@ -551,7 +551,7 @@ var Route53Resolver = (function (_super) {
|
|
|
551
551
|
}
|
|
552
552
|
else if (typeof cb === "function") {
|
|
553
553
|
if (typeof optionsOrCb !== "object")
|
|
554
|
-
throw new Error("Expect http options but get "
|
|
554
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
555
555
|
this.send(command, optionsOrCb || {}, cb);
|
|
556
556
|
}
|
|
557
557
|
else {
|
|
@@ -565,7 +565,7 @@ var Route53Resolver = (function (_super) {
|
|
|
565
565
|
}
|
|
566
566
|
else if (typeof cb === "function") {
|
|
567
567
|
if (typeof optionsOrCb !== "object")
|
|
568
|
-
throw new Error("Expect http options but get "
|
|
568
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
569
569
|
this.send(command, optionsOrCb || {}, cb);
|
|
570
570
|
}
|
|
571
571
|
else {
|
|
@@ -579,7 +579,7 @@ var Route53Resolver = (function (_super) {
|
|
|
579
579
|
}
|
|
580
580
|
else if (typeof cb === "function") {
|
|
581
581
|
if (typeof optionsOrCb !== "object")
|
|
582
|
-
throw new Error("Expect http options but get "
|
|
582
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
583
583
|
this.send(command, optionsOrCb || {}, cb);
|
|
584
584
|
}
|
|
585
585
|
else {
|
|
@@ -593,7 +593,7 @@ var Route53Resolver = (function (_super) {
|
|
|
593
593
|
}
|
|
594
594
|
else if (typeof cb === "function") {
|
|
595
595
|
if (typeof optionsOrCb !== "object")
|
|
596
|
-
throw new Error("Expect http options but get "
|
|
596
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
597
597
|
this.send(command, optionsOrCb || {}, cb);
|
|
598
598
|
}
|
|
599
599
|
else {
|
|
@@ -607,7 +607,7 @@ var Route53Resolver = (function (_super) {
|
|
|
607
607
|
}
|
|
608
608
|
else if (typeof cb === "function") {
|
|
609
609
|
if (typeof optionsOrCb !== "object")
|
|
610
|
-
throw new Error("Expect http options but get "
|
|
610
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
611
611
|
this.send(command, optionsOrCb || {}, cb);
|
|
612
612
|
}
|
|
613
613
|
else {
|
|
@@ -621,7 +621,7 @@ var Route53Resolver = (function (_super) {
|
|
|
621
621
|
}
|
|
622
622
|
else if (typeof cb === "function") {
|
|
623
623
|
if (typeof optionsOrCb !== "object")
|
|
624
|
-
throw new Error("Expect http options but get "
|
|
624
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
625
625
|
this.send(command, optionsOrCb || {}, cb);
|
|
626
626
|
}
|
|
627
627
|
else {
|
|
@@ -635,7 +635,7 @@ var Route53Resolver = (function (_super) {
|
|
|
635
635
|
}
|
|
636
636
|
else if (typeof cb === "function") {
|
|
637
637
|
if (typeof optionsOrCb !== "object")
|
|
638
|
-
throw new Error("Expect http options but get "
|
|
638
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
639
639
|
this.send(command, optionsOrCb || {}, cb);
|
|
640
640
|
}
|
|
641
641
|
else {
|
|
@@ -649,7 +649,7 @@ var Route53Resolver = (function (_super) {
|
|
|
649
649
|
}
|
|
650
650
|
else if (typeof cb === "function") {
|
|
651
651
|
if (typeof optionsOrCb !== "object")
|
|
652
|
-
throw new Error("Expect http options but get "
|
|
652
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
653
653
|
this.send(command, optionsOrCb || {}, cb);
|
|
654
654
|
}
|
|
655
655
|
else {
|
|
@@ -663,7 +663,7 @@ var Route53Resolver = (function (_super) {
|
|
|
663
663
|
}
|
|
664
664
|
else if (typeof cb === "function") {
|
|
665
665
|
if (typeof optionsOrCb !== "object")
|
|
666
|
-
throw new Error("Expect http options but get "
|
|
666
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
667
667
|
this.send(command, optionsOrCb || {}, cb);
|
|
668
668
|
}
|
|
669
669
|
else {
|
|
@@ -677,7 +677,7 @@ var Route53Resolver = (function (_super) {
|
|
|
677
677
|
}
|
|
678
678
|
else if (typeof cb === "function") {
|
|
679
679
|
if (typeof optionsOrCb !== "object")
|
|
680
|
-
throw new Error("Expect http options but get "
|
|
680
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
681
681
|
this.send(command, optionsOrCb || {}, cb);
|
|
682
682
|
}
|
|
683
683
|
else {
|
|
@@ -691,7 +691,7 @@ var Route53Resolver = (function (_super) {
|
|
|
691
691
|
}
|
|
692
692
|
else if (typeof cb === "function") {
|
|
693
693
|
if (typeof optionsOrCb !== "object")
|
|
694
|
-
throw new Error("Expect http options but get "
|
|
694
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
695
695
|
this.send(command, optionsOrCb || {}, cb);
|
|
696
696
|
}
|
|
697
697
|
else {
|
|
@@ -705,7 +705,7 @@ var Route53Resolver = (function (_super) {
|
|
|
705
705
|
}
|
|
706
706
|
else if (typeof cb === "function") {
|
|
707
707
|
if (typeof optionsOrCb !== "object")
|
|
708
|
-
throw new Error("Expect http options but get "
|
|
708
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
709
709
|
this.send(command, optionsOrCb || {}, cb);
|
|
710
710
|
}
|
|
711
711
|
else {
|
|
@@ -719,7 +719,7 @@ var Route53Resolver = (function (_super) {
|
|
|
719
719
|
}
|
|
720
720
|
else if (typeof cb === "function") {
|
|
721
721
|
if (typeof optionsOrCb !== "object")
|
|
722
|
-
throw new Error("Expect http options but get "
|
|
722
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
723
723
|
this.send(command, optionsOrCb || {}, cb);
|
|
724
724
|
}
|
|
725
725
|
else {
|
|
@@ -733,7 +733,7 @@ var Route53Resolver = (function (_super) {
|
|
|
733
733
|
}
|
|
734
734
|
else if (typeof cb === "function") {
|
|
735
735
|
if (typeof optionsOrCb !== "object")
|
|
736
|
-
throw new Error("Expect http options but get "
|
|
736
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
737
737
|
this.send(command, optionsOrCb || {}, cb);
|
|
738
738
|
}
|
|
739
739
|
else {
|
|
@@ -747,7 +747,7 @@ var Route53Resolver = (function (_super) {
|
|
|
747
747
|
}
|
|
748
748
|
else if (typeof cb === "function") {
|
|
749
749
|
if (typeof optionsOrCb !== "object")
|
|
750
|
-
throw new Error("Expect http options but get "
|
|
750
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
751
751
|
this.send(command, optionsOrCb || {}, cb);
|
|
752
752
|
}
|
|
753
753
|
else {
|
|
@@ -761,7 +761,7 @@ var Route53Resolver = (function (_super) {
|
|
|
761
761
|
}
|
|
762
762
|
else if (typeof cb === "function") {
|
|
763
763
|
if (typeof optionsOrCb !== "object")
|
|
764
|
-
throw new Error("Expect http options but get "
|
|
764
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
765
765
|
this.send(command, optionsOrCb || {}, cb);
|
|
766
766
|
}
|
|
767
767
|
else {
|
|
@@ -775,7 +775,7 @@ var Route53Resolver = (function (_super) {
|
|
|
775
775
|
}
|
|
776
776
|
else if (typeof cb === "function") {
|
|
777
777
|
if (typeof optionsOrCb !== "object")
|
|
778
|
-
throw new Error("Expect http options but get "
|
|
778
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
779
779
|
this.send(command, optionsOrCb || {}, cb);
|
|
780
780
|
}
|
|
781
781
|
else {
|
|
@@ -789,7 +789,7 @@ var Route53Resolver = (function (_super) {
|
|
|
789
789
|
}
|
|
790
790
|
else if (typeof cb === "function") {
|
|
791
791
|
if (typeof optionsOrCb !== "object")
|
|
792
|
-
throw new Error("Expect http options but get "
|
|
792
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
793
793
|
this.send(command, optionsOrCb || {}, cb);
|
|
794
794
|
}
|
|
795
795
|
else {
|
|
@@ -803,7 +803,7 @@ var Route53Resolver = (function (_super) {
|
|
|
803
803
|
}
|
|
804
804
|
else if (typeof cb === "function") {
|
|
805
805
|
if (typeof optionsOrCb !== "object")
|
|
806
|
-
throw new Error("Expect http options but get "
|
|
806
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
807
807
|
this.send(command, optionsOrCb || {}, cb);
|
|
808
808
|
}
|
|
809
809
|
else {
|
|
@@ -817,7 +817,7 @@ var Route53Resolver = (function (_super) {
|
|
|
817
817
|
}
|
|
818
818
|
else if (typeof cb === "function") {
|
|
819
819
|
if (typeof optionsOrCb !== "object")
|
|
820
|
-
throw new Error("Expect http options but get "
|
|
820
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
821
821
|
this.send(command, optionsOrCb || {}, cb);
|
|
822
822
|
}
|
|
823
823
|
else {
|
|
@@ -831,7 +831,7 @@ var Route53Resolver = (function (_super) {
|
|
|
831
831
|
}
|
|
832
832
|
else if (typeof cb === "function") {
|
|
833
833
|
if (typeof optionsOrCb !== "object")
|
|
834
|
-
throw new Error("Expect http options but get "
|
|
834
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
835
835
|
this.send(command, optionsOrCb || {}, cb);
|
|
836
836
|
}
|
|
837
837
|
else {
|
|
@@ -845,7 +845,7 @@ var Route53Resolver = (function (_super) {
|
|
|
845
845
|
}
|
|
846
846
|
else if (typeof cb === "function") {
|
|
847
847
|
if (typeof optionsOrCb !== "object")
|
|
848
|
-
throw new Error("Expect http options but get "
|
|
848
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
849
849
|
this.send(command, optionsOrCb || {}, cb);
|
|
850
850
|
}
|
|
851
851
|
else {
|
|
@@ -859,7 +859,7 @@ var Route53Resolver = (function (_super) {
|
|
|
859
859
|
}
|
|
860
860
|
else if (typeof cb === "function") {
|
|
861
861
|
if (typeof optionsOrCb !== "object")
|
|
862
|
-
throw new Error("Expect http options but get "
|
|
862
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
863
863
|
this.send(command, optionsOrCb || {}, cb);
|
|
864
864
|
}
|
|
865
865
|
else {
|
|
@@ -873,7 +873,7 @@ var Route53Resolver = (function (_super) {
|
|
|
873
873
|
}
|
|
874
874
|
else if (typeof cb === "function") {
|
|
875
875
|
if (typeof optionsOrCb !== "object")
|
|
876
|
-
throw new Error("Expect http options but get "
|
|
876
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
877
877
|
this.send(command, optionsOrCb || {}, cb);
|
|
878
878
|
}
|
|
879
879
|
else {
|
|
@@ -887,7 +887,7 @@ var Route53Resolver = (function (_super) {
|
|
|
887
887
|
}
|
|
888
888
|
else if (typeof cb === "function") {
|
|
889
889
|
if (typeof optionsOrCb !== "object")
|
|
890
|
-
throw new Error("Expect http options but get "
|
|
890
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
891
891
|
this.send(command, optionsOrCb || {}, cb);
|
|
892
892
|
}
|
|
893
893
|
else {
|
|
@@ -901,7 +901,7 @@ var Route53Resolver = (function (_super) {
|
|
|
901
901
|
}
|
|
902
902
|
else if (typeof cb === "function") {
|
|
903
903
|
if (typeof optionsOrCb !== "object")
|
|
904
|
-
throw new Error("Expect http options but get "
|
|
904
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
905
905
|
this.send(command, optionsOrCb || {}, cb);
|
|
906
906
|
}
|
|
907
907
|
else {
|
|
@@ -915,7 +915,7 @@ var Route53Resolver = (function (_super) {
|
|
|
915
915
|
}
|
|
916
916
|
else if (typeof cb === "function") {
|
|
917
917
|
if (typeof optionsOrCb !== "object")
|
|
918
|
-
throw new Error("Expect http options but get "
|
|
918
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
919
919
|
this.send(command, optionsOrCb || {}, cb);
|
|
920
920
|
}
|
|
921
921
|
else {
|
|
@@ -929,7 +929,7 @@ var Route53Resolver = (function (_super) {
|
|
|
929
929
|
}
|
|
930
930
|
else if (typeof cb === "function") {
|
|
931
931
|
if (typeof optionsOrCb !== "object")
|
|
932
|
-
throw new Error("Expect http options but get "
|
|
932
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
933
933
|
this.send(command, optionsOrCb || {}, cb);
|
|
934
934
|
}
|
|
935
935
|
else {
|
|
@@ -943,7 +943,7 @@ var Route53Resolver = (function (_super) {
|
|
|
943
943
|
}
|
|
944
944
|
else if (typeof cb === "function") {
|
|
945
945
|
if (typeof optionsOrCb !== "object")
|
|
946
|
-
throw new Error("Expect http options but get "
|
|
946
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
947
947
|
this.send(command, optionsOrCb || {}, cb);
|
|
948
948
|
}
|
|
949
949
|
else {
|