@aws-sdk/client-config-service 3.54.1 → 3.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/ConfigService.js +30 -0
- package/dist-cjs/ConfigServiceClient.js +13 -13
- package/dist-cjs/commands/BatchGetAggregateResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/BatchGetResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteAggregationAuthorizationCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationAggregatorCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationRecorderCommand.js +3 -3
- package/dist-cjs/commands/DeleteConformancePackCommand.js +3 -3
- package/dist-cjs/commands/DeleteDeliveryChannelCommand.js +3 -3
- package/dist-cjs/commands/DeleteEvaluationResultsCommand.js +3 -3
- package/dist-cjs/commands/DeleteOrganizationConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteOrganizationConformancePackCommand.js +3 -3
- package/dist-cjs/commands/DeletePendingAggregationRequestCommand.js +3 -3
- package/dist-cjs/commands/DeleteRemediationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteRemediationExceptionsCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/DeleteRetentionConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteStoredQueryCommand.js +3 -3
- package/dist-cjs/commands/DeliverConfigSnapshotCommand.js +3 -3
- package/dist-cjs/commands/DescribeAggregateComplianceByConfigRulesCommand.js +3 -3
- package/dist-cjs/commands/DescribeAggregateComplianceByConformancePacksCommand.js +3 -3
- package/dist-cjs/commands/DescribeAggregationAuthorizationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeComplianceByConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/DescribeComplianceByResourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigRuleEvaluationStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigRulesCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationAggregatorSourcesStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationAggregatorsCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationRecorderStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationRecordersCommand.js +3 -3
- package/dist-cjs/commands/DescribeConformancePackComplianceCommand.js +3 -3
- package/dist-cjs/commands/DescribeConformancePackStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeConformancePacksCommand.js +3 -3
- package/dist-cjs/commands/DescribeDeliveryChannelStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeDeliveryChannelsCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConfigRuleStatusesCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConfigRulesCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConformancePackStatusesCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConformancePacksCommand.js +3 -3
- package/dist-cjs/commands/DescribePendingAggregationRequestsCommand.js +3 -3
- package/dist-cjs/commands/DescribeRemediationConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeRemediationExceptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeRemediationExecutionStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeRetentionConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/GetAggregateComplianceDetailsByConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/GetAggregateConfigRuleComplianceSummaryCommand.js +3 -3
- package/dist-cjs/commands/GetAggregateConformancePackComplianceSummaryCommand.js +3 -3
- package/dist-cjs/commands/GetAggregateDiscoveredResourceCountsCommand.js +3 -3
- package/dist-cjs/commands/GetAggregateResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/GetComplianceDetailsByConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/GetComplianceDetailsByResourceCommand.js +3 -3
- package/dist-cjs/commands/GetComplianceSummaryByConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/GetComplianceSummaryByResourceTypeCommand.js +3 -3
- package/dist-cjs/commands/GetConformancePackComplianceDetailsCommand.js +3 -3
- package/dist-cjs/commands/GetConformancePackComplianceSummaryCommand.js +3 -3
- package/dist-cjs/commands/GetCustomRulePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetDiscoveredResourceCountsCommand.js +3 -3
- package/dist-cjs/commands/GetOrganizationConfigRuleDetailedStatusCommand.js +3 -3
- package/dist-cjs/commands/GetOrganizationConformancePackDetailedStatusCommand.js +3 -3
- package/dist-cjs/commands/GetOrganizationCustomRulePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetResourceConfigHistoryCommand.js +3 -3
- package/dist-cjs/commands/GetStoredQueryCommand.js +3 -3
- package/dist-cjs/commands/ListAggregateDiscoveredResourcesCommand.js +3 -3
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +3 -3
- package/dist-cjs/commands/ListStoredQueriesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutAggregationAuthorizationCommand.js +3 -3
- package/dist-cjs/commands/PutConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationAggregatorCommand.js +3 -3
- package/dist-cjs/commands/PutConfigurationRecorderCommand.js +3 -3
- package/dist-cjs/commands/PutConformancePackCommand.js +3 -3
- package/dist-cjs/commands/PutDeliveryChannelCommand.js +3 -3
- package/dist-cjs/commands/PutEvaluationsCommand.js +3 -3
- package/dist-cjs/commands/PutExternalEvaluationCommand.js +3 -3
- package/dist-cjs/commands/PutOrganizationConfigRuleCommand.js +6 -6
- package/dist-cjs/commands/PutOrganizationConformancePackCommand.js +6 -6
- package/dist-cjs/commands/PutRemediationConfigurationsCommand.js +6 -6
- package/dist-cjs/commands/PutRemediationExceptionsCommand.js +6 -6
- package/dist-cjs/commands/PutResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/PutRetentionConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutStoredQueryCommand.js +3 -3
- package/dist-cjs/commands/SelectAggregateResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/SelectResourceConfigCommand.js +3 -3
- package/dist-cjs/commands/StartConfigRulesEvaluationCommand.js +3 -3
- package/dist-cjs/commands/StartConfigurationRecorderCommand.js +3 -3
- package/dist-cjs/commands/StartRemediationExecutionCommand.js +3 -3
- package/dist-cjs/commands/StopConfigurationRecorderCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +57 -54
- package/dist-cjs/models/models_1.js +49 -1
- package/dist-cjs/protocols/Aws_json1_1.js +779 -539
- 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/ConfigService.js +116 -86
- package/dist-es/commands/GetCustomRulePolicyCommand.js +39 -0
- package/dist-es/commands/GetOrganizationCustomRulePolicyCommand.js +39 -0
- package/dist-es/commands/PutOrganizationConfigRuleCommand.js +1 -1
- package/dist-es/commands/PutOrganizationConformancePackCommand.js +1 -1
- package/dist-es/commands/PutRemediationConfigurationsCommand.js +1 -1
- package/dist-es/commands/PutRemediationExceptionsCommand.js +1 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +37 -32
- package/dist-es/models/models_1.js +32 -0
- package/dist-es/pagination/DescribeAggregateComplianceByConfigRulesPaginator.js +4 -4
- package/dist-es/pagination/DescribeAggregateComplianceByConformancePacksPaginator.js +4 -4
- package/dist-es/pagination/DescribeAggregationAuthorizationsPaginator.js +4 -4
- package/dist-es/pagination/DescribeComplianceByConfigRulePaginator.js +4 -4
- package/dist-es/pagination/DescribeComplianceByResourcePaginator.js +4 -4
- package/dist-es/pagination/DescribeConfigRuleEvaluationStatusPaginator.js +4 -4
- package/dist-es/pagination/DescribeConfigRulesPaginator.js +4 -4
- package/dist-es/pagination/DescribeConfigurationAggregatorSourcesStatusPaginator.js +4 -4
- package/dist-es/pagination/DescribeConfigurationAggregatorsPaginator.js +4 -4
- package/dist-es/pagination/DescribeConformancePackCompliancePaginator.js +4 -4
- package/dist-es/pagination/DescribeConformancePackStatusPaginator.js +4 -4
- package/dist-es/pagination/DescribeConformancePacksPaginator.js +4 -4
- package/dist-es/pagination/DescribeOrganizationConfigRuleStatusesPaginator.js +4 -4
- package/dist-es/pagination/DescribeOrganizationConfigRulesPaginator.js +4 -4
- package/dist-es/pagination/DescribeOrganizationConformancePackStatusesPaginator.js +4 -4
- package/dist-es/pagination/DescribeOrganizationConformancePacksPaginator.js +4 -4
- package/dist-es/pagination/DescribePendingAggregationRequestsPaginator.js +4 -4
- package/dist-es/pagination/DescribeRemediationExceptionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeRemediationExecutionStatusPaginator.js +4 -4
- package/dist-es/pagination/DescribeRetentionConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/GetAggregateComplianceDetailsByConfigRulePaginator.js +4 -4
- package/dist-es/pagination/GetAggregateConfigRuleComplianceSummaryPaginator.js +4 -4
- package/dist-es/pagination/GetAggregateConformancePackComplianceSummaryPaginator.js +4 -4
- package/dist-es/pagination/GetAggregateDiscoveredResourceCountsPaginator.js +4 -4
- package/dist-es/pagination/GetComplianceDetailsByConfigRulePaginator.js +4 -4
- package/dist-es/pagination/GetComplianceDetailsByResourcePaginator.js +4 -4
- package/dist-es/pagination/GetConformancePackComplianceDetailsPaginator.js +4 -4
- package/dist-es/pagination/GetConformancePackComplianceSummaryPaginator.js +4 -4
- package/dist-es/pagination/GetDiscoveredResourceCountsPaginator.js +4 -4
- package/dist-es/pagination/GetOrganizationConfigRuleDetailedStatusPaginator.js +4 -4
- package/dist-es/pagination/GetOrganizationConformancePackDetailedStatusPaginator.js +4 -4
- package/dist-es/pagination/GetResourceConfigHistoryPaginator.js +4 -4
- package/dist-es/pagination/ListAggregateDiscoveredResourcesPaginator.js +4 -4
- package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +4 -4
- package/dist-es/pagination/ListStoredQueriesPaginator.js +4 -4
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist-es/pagination/SelectAggregateResourceConfigPaginator.js +4 -4
- package/dist-es/pagination/SelectResourceConfigPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +252 -3
- package/dist-types/ConfigService.d.ts +29 -15
- package/dist-types/ConfigServiceClient.d.ts +4 -2
- package/dist-types/commands/DeleteOrganizationConfigRuleCommand.d.ts +2 -2
- package/dist-types/commands/DeleteOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigRuleStatusesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +3 -3
- package/dist-types/commands/GetCustomRulePolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetOrganizationConfigRuleDetailedStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationCustomRulePolicyCommand.d.ts +35 -0
- package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
- package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +4 -4
- package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +342 -236
- package/dist-types/models/models_1.d.ts +162 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/ConfigService.d.ts +10 -0
- package/dist-types/ts3.4/ConfigServiceClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetCustomRulePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetOrganizationCustomRulePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutOrganizationConfigRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutRemediationExceptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +121 -90
- package/dist-types/ts3.4/models/models_1.d.ts +91 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
package/dist-es/ConfigService.js
CHANGED
|
@@ -53,9 +53,11 @@ import { GetComplianceSummaryByConfigRuleCommand, } from "./commands/GetComplian
|
|
|
53
53
|
import { GetComplianceSummaryByResourceTypeCommand, } from "./commands/GetComplianceSummaryByResourceTypeCommand";
|
|
54
54
|
import { GetConformancePackComplianceDetailsCommand, } from "./commands/GetConformancePackComplianceDetailsCommand";
|
|
55
55
|
import { GetConformancePackComplianceSummaryCommand, } from "./commands/GetConformancePackComplianceSummaryCommand";
|
|
56
|
+
import { GetCustomRulePolicyCommand, } from "./commands/GetCustomRulePolicyCommand";
|
|
56
57
|
import { GetDiscoveredResourceCountsCommand, } from "./commands/GetDiscoveredResourceCountsCommand";
|
|
57
58
|
import { GetOrganizationConfigRuleDetailedStatusCommand, } from "./commands/GetOrganizationConfigRuleDetailedStatusCommand";
|
|
58
59
|
import { GetOrganizationConformancePackDetailedStatusCommand, } from "./commands/GetOrganizationConformancePackDetailedStatusCommand";
|
|
60
|
+
import { GetOrganizationCustomRulePolicyCommand, } from "./commands/GetOrganizationCustomRulePolicyCommand";
|
|
59
61
|
import { GetResourceConfigHistoryCommand, } from "./commands/GetResourceConfigHistoryCommand";
|
|
60
62
|
import { GetStoredQueryCommand, } from "./commands/GetStoredQueryCommand";
|
|
61
63
|
import { ListAggregateDiscoveredResourcesCommand, } from "./commands/ListAggregateDiscoveredResourcesCommand";
|
|
@@ -98,7 +100,7 @@ var ConfigService = (function (_super) {
|
|
|
98
100
|
}
|
|
99
101
|
else if (typeof cb === "function") {
|
|
100
102
|
if (typeof optionsOrCb !== "object")
|
|
101
|
-
throw new Error("Expect http options but get "
|
|
103
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
102
104
|
this.send(command, optionsOrCb || {}, cb);
|
|
103
105
|
}
|
|
104
106
|
else {
|
|
@@ -112,7 +114,7 @@ var ConfigService = (function (_super) {
|
|
|
112
114
|
}
|
|
113
115
|
else if (typeof cb === "function") {
|
|
114
116
|
if (typeof optionsOrCb !== "object")
|
|
115
|
-
throw new Error("Expect http options but get "
|
|
117
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
116
118
|
this.send(command, optionsOrCb || {}, cb);
|
|
117
119
|
}
|
|
118
120
|
else {
|
|
@@ -126,7 +128,7 @@ var ConfigService = (function (_super) {
|
|
|
126
128
|
}
|
|
127
129
|
else if (typeof cb === "function") {
|
|
128
130
|
if (typeof optionsOrCb !== "object")
|
|
129
|
-
throw new Error("Expect http options but get "
|
|
131
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
130
132
|
this.send(command, optionsOrCb || {}, cb);
|
|
131
133
|
}
|
|
132
134
|
else {
|
|
@@ -140,7 +142,7 @@ var ConfigService = (function (_super) {
|
|
|
140
142
|
}
|
|
141
143
|
else if (typeof cb === "function") {
|
|
142
144
|
if (typeof optionsOrCb !== "object")
|
|
143
|
-
throw new Error("Expect http options but get "
|
|
145
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
144
146
|
this.send(command, optionsOrCb || {}, cb);
|
|
145
147
|
}
|
|
146
148
|
else {
|
|
@@ -154,7 +156,7 @@ var ConfigService = (function (_super) {
|
|
|
154
156
|
}
|
|
155
157
|
else if (typeof cb === "function") {
|
|
156
158
|
if (typeof optionsOrCb !== "object")
|
|
157
|
-
throw new Error("Expect http options but get "
|
|
159
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
158
160
|
this.send(command, optionsOrCb || {}, cb);
|
|
159
161
|
}
|
|
160
162
|
else {
|
|
@@ -168,7 +170,7 @@ var ConfigService = (function (_super) {
|
|
|
168
170
|
}
|
|
169
171
|
else if (typeof cb === "function") {
|
|
170
172
|
if (typeof optionsOrCb !== "object")
|
|
171
|
-
throw new Error("Expect http options but get "
|
|
173
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
172
174
|
this.send(command, optionsOrCb || {}, cb);
|
|
173
175
|
}
|
|
174
176
|
else {
|
|
@@ -182,7 +184,7 @@ var ConfigService = (function (_super) {
|
|
|
182
184
|
}
|
|
183
185
|
else if (typeof cb === "function") {
|
|
184
186
|
if (typeof optionsOrCb !== "object")
|
|
185
|
-
throw new Error("Expect http options but get "
|
|
187
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
186
188
|
this.send(command, optionsOrCb || {}, cb);
|
|
187
189
|
}
|
|
188
190
|
else {
|
|
@@ -196,7 +198,7 @@ var ConfigService = (function (_super) {
|
|
|
196
198
|
}
|
|
197
199
|
else if (typeof cb === "function") {
|
|
198
200
|
if (typeof optionsOrCb !== "object")
|
|
199
|
-
throw new Error("Expect http options but get "
|
|
201
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
200
202
|
this.send(command, optionsOrCb || {}, cb);
|
|
201
203
|
}
|
|
202
204
|
else {
|
|
@@ -210,7 +212,7 @@ var ConfigService = (function (_super) {
|
|
|
210
212
|
}
|
|
211
213
|
else if (typeof cb === "function") {
|
|
212
214
|
if (typeof optionsOrCb !== "object")
|
|
213
|
-
throw new Error("Expect http options but get "
|
|
215
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
214
216
|
this.send(command, optionsOrCb || {}, cb);
|
|
215
217
|
}
|
|
216
218
|
else {
|
|
@@ -224,7 +226,7 @@ var ConfigService = (function (_super) {
|
|
|
224
226
|
}
|
|
225
227
|
else if (typeof cb === "function") {
|
|
226
228
|
if (typeof optionsOrCb !== "object")
|
|
227
|
-
throw new Error("Expect http options but get "
|
|
229
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
228
230
|
this.send(command, optionsOrCb || {}, cb);
|
|
229
231
|
}
|
|
230
232
|
else {
|
|
@@ -238,7 +240,7 @@ var ConfigService = (function (_super) {
|
|
|
238
240
|
}
|
|
239
241
|
else if (typeof cb === "function") {
|
|
240
242
|
if (typeof optionsOrCb !== "object")
|
|
241
|
-
throw new Error("Expect http options but get "
|
|
243
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
242
244
|
this.send(command, optionsOrCb || {}, cb);
|
|
243
245
|
}
|
|
244
246
|
else {
|
|
@@ -252,7 +254,7 @@ var ConfigService = (function (_super) {
|
|
|
252
254
|
}
|
|
253
255
|
else if (typeof cb === "function") {
|
|
254
256
|
if (typeof optionsOrCb !== "object")
|
|
255
|
-
throw new Error("Expect http options but get "
|
|
257
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
256
258
|
this.send(command, optionsOrCb || {}, cb);
|
|
257
259
|
}
|
|
258
260
|
else {
|
|
@@ -266,7 +268,7 @@ var ConfigService = (function (_super) {
|
|
|
266
268
|
}
|
|
267
269
|
else if (typeof cb === "function") {
|
|
268
270
|
if (typeof optionsOrCb !== "object")
|
|
269
|
-
throw new Error("Expect http options but get "
|
|
271
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
270
272
|
this.send(command, optionsOrCb || {}, cb);
|
|
271
273
|
}
|
|
272
274
|
else {
|
|
@@ -280,7 +282,7 @@ var ConfigService = (function (_super) {
|
|
|
280
282
|
}
|
|
281
283
|
else if (typeof cb === "function") {
|
|
282
284
|
if (typeof optionsOrCb !== "object")
|
|
283
|
-
throw new Error("Expect http options but get "
|
|
285
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
284
286
|
this.send(command, optionsOrCb || {}, cb);
|
|
285
287
|
}
|
|
286
288
|
else {
|
|
@@ -294,7 +296,7 @@ var ConfigService = (function (_super) {
|
|
|
294
296
|
}
|
|
295
297
|
else if (typeof cb === "function") {
|
|
296
298
|
if (typeof optionsOrCb !== "object")
|
|
297
|
-
throw new Error("Expect http options but get "
|
|
299
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
298
300
|
this.send(command, optionsOrCb || {}, cb);
|
|
299
301
|
}
|
|
300
302
|
else {
|
|
@@ -308,7 +310,7 @@ var ConfigService = (function (_super) {
|
|
|
308
310
|
}
|
|
309
311
|
else if (typeof cb === "function") {
|
|
310
312
|
if (typeof optionsOrCb !== "object")
|
|
311
|
-
throw new Error("Expect http options but get "
|
|
313
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
312
314
|
this.send(command, optionsOrCb || {}, cb);
|
|
313
315
|
}
|
|
314
316
|
else {
|
|
@@ -322,7 +324,7 @@ var ConfigService = (function (_super) {
|
|
|
322
324
|
}
|
|
323
325
|
else if (typeof cb === "function") {
|
|
324
326
|
if (typeof optionsOrCb !== "object")
|
|
325
|
-
throw new Error("Expect http options but get "
|
|
327
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
326
328
|
this.send(command, optionsOrCb || {}, cb);
|
|
327
329
|
}
|
|
328
330
|
else {
|
|
@@ -336,7 +338,7 @@ var ConfigService = (function (_super) {
|
|
|
336
338
|
}
|
|
337
339
|
else if (typeof cb === "function") {
|
|
338
340
|
if (typeof optionsOrCb !== "object")
|
|
339
|
-
throw new Error("Expect http options but get "
|
|
341
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
340
342
|
this.send(command, optionsOrCb || {}, cb);
|
|
341
343
|
}
|
|
342
344
|
else {
|
|
@@ -350,7 +352,7 @@ var ConfigService = (function (_super) {
|
|
|
350
352
|
}
|
|
351
353
|
else if (typeof cb === "function") {
|
|
352
354
|
if (typeof optionsOrCb !== "object")
|
|
353
|
-
throw new Error("Expect http options but get "
|
|
355
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
354
356
|
this.send(command, optionsOrCb || {}, cb);
|
|
355
357
|
}
|
|
356
358
|
else {
|
|
@@ -364,7 +366,7 @@ var ConfigService = (function (_super) {
|
|
|
364
366
|
}
|
|
365
367
|
else if (typeof cb === "function") {
|
|
366
368
|
if (typeof optionsOrCb !== "object")
|
|
367
|
-
throw new Error("Expect http options but get "
|
|
369
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
368
370
|
this.send(command, optionsOrCb || {}, cb);
|
|
369
371
|
}
|
|
370
372
|
else {
|
|
@@ -378,7 +380,7 @@ var ConfigService = (function (_super) {
|
|
|
378
380
|
}
|
|
379
381
|
else if (typeof cb === "function") {
|
|
380
382
|
if (typeof optionsOrCb !== "object")
|
|
381
|
-
throw new Error("Expect http options but get "
|
|
383
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
382
384
|
this.send(command, optionsOrCb || {}, cb);
|
|
383
385
|
}
|
|
384
386
|
else {
|
|
@@ -392,7 +394,7 @@ var ConfigService = (function (_super) {
|
|
|
392
394
|
}
|
|
393
395
|
else if (typeof cb === "function") {
|
|
394
396
|
if (typeof optionsOrCb !== "object")
|
|
395
|
-
throw new Error("Expect http options but get "
|
|
397
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
396
398
|
this.send(command, optionsOrCb || {}, cb);
|
|
397
399
|
}
|
|
398
400
|
else {
|
|
@@ -406,7 +408,7 @@ var ConfigService = (function (_super) {
|
|
|
406
408
|
}
|
|
407
409
|
else if (typeof cb === "function") {
|
|
408
410
|
if (typeof optionsOrCb !== "object")
|
|
409
|
-
throw new Error("Expect http options but get "
|
|
411
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
410
412
|
this.send(command, optionsOrCb || {}, cb);
|
|
411
413
|
}
|
|
412
414
|
else {
|
|
@@ -420,7 +422,7 @@ var ConfigService = (function (_super) {
|
|
|
420
422
|
}
|
|
421
423
|
else if (typeof cb === "function") {
|
|
422
424
|
if (typeof optionsOrCb !== "object")
|
|
423
|
-
throw new Error("Expect http options but get "
|
|
425
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
424
426
|
this.send(command, optionsOrCb || {}, cb);
|
|
425
427
|
}
|
|
426
428
|
else {
|
|
@@ -434,7 +436,7 @@ var ConfigService = (function (_super) {
|
|
|
434
436
|
}
|
|
435
437
|
else if (typeof cb === "function") {
|
|
436
438
|
if (typeof optionsOrCb !== "object")
|
|
437
|
-
throw new Error("Expect http options but get "
|
|
439
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
438
440
|
this.send(command, optionsOrCb || {}, cb);
|
|
439
441
|
}
|
|
440
442
|
else {
|
|
@@ -448,7 +450,7 @@ var ConfigService = (function (_super) {
|
|
|
448
450
|
}
|
|
449
451
|
else if (typeof cb === "function") {
|
|
450
452
|
if (typeof optionsOrCb !== "object")
|
|
451
|
-
throw new Error("Expect http options but get "
|
|
453
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
452
454
|
this.send(command, optionsOrCb || {}, cb);
|
|
453
455
|
}
|
|
454
456
|
else {
|
|
@@ -462,7 +464,7 @@ var ConfigService = (function (_super) {
|
|
|
462
464
|
}
|
|
463
465
|
else if (typeof cb === "function") {
|
|
464
466
|
if (typeof optionsOrCb !== "object")
|
|
465
|
-
throw new Error("Expect http options but get "
|
|
467
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
466
468
|
this.send(command, optionsOrCb || {}, cb);
|
|
467
469
|
}
|
|
468
470
|
else {
|
|
@@ -476,7 +478,7 @@ var ConfigService = (function (_super) {
|
|
|
476
478
|
}
|
|
477
479
|
else if (typeof cb === "function") {
|
|
478
480
|
if (typeof optionsOrCb !== "object")
|
|
479
|
-
throw new Error("Expect http options but get "
|
|
481
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
480
482
|
this.send(command, optionsOrCb || {}, cb);
|
|
481
483
|
}
|
|
482
484
|
else {
|
|
@@ -490,7 +492,7 @@ var ConfigService = (function (_super) {
|
|
|
490
492
|
}
|
|
491
493
|
else if (typeof cb === "function") {
|
|
492
494
|
if (typeof optionsOrCb !== "object")
|
|
493
|
-
throw new Error("Expect http options but get "
|
|
495
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
494
496
|
this.send(command, optionsOrCb || {}, cb);
|
|
495
497
|
}
|
|
496
498
|
else {
|
|
@@ -504,7 +506,7 @@ var ConfigService = (function (_super) {
|
|
|
504
506
|
}
|
|
505
507
|
else if (typeof cb === "function") {
|
|
506
508
|
if (typeof optionsOrCb !== "object")
|
|
507
|
-
throw new Error("Expect http options but get "
|
|
509
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
508
510
|
this.send(command, optionsOrCb || {}, cb);
|
|
509
511
|
}
|
|
510
512
|
else {
|
|
@@ -518,7 +520,7 @@ var ConfigService = (function (_super) {
|
|
|
518
520
|
}
|
|
519
521
|
else if (typeof cb === "function") {
|
|
520
522
|
if (typeof optionsOrCb !== "object")
|
|
521
|
-
throw new Error("Expect http options but get "
|
|
523
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
522
524
|
this.send(command, optionsOrCb || {}, cb);
|
|
523
525
|
}
|
|
524
526
|
else {
|
|
@@ -532,7 +534,7 @@ var ConfigService = (function (_super) {
|
|
|
532
534
|
}
|
|
533
535
|
else if (typeof cb === "function") {
|
|
534
536
|
if (typeof optionsOrCb !== "object")
|
|
535
|
-
throw new Error("Expect http options but get "
|
|
537
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
536
538
|
this.send(command, optionsOrCb || {}, cb);
|
|
537
539
|
}
|
|
538
540
|
else {
|
|
@@ -546,7 +548,7 @@ var ConfigService = (function (_super) {
|
|
|
546
548
|
}
|
|
547
549
|
else if (typeof cb === "function") {
|
|
548
550
|
if (typeof optionsOrCb !== "object")
|
|
549
|
-
throw new Error("Expect http options but get "
|
|
551
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
550
552
|
this.send(command, optionsOrCb || {}, cb);
|
|
551
553
|
}
|
|
552
554
|
else {
|
|
@@ -560,7 +562,7 @@ var ConfigService = (function (_super) {
|
|
|
560
562
|
}
|
|
561
563
|
else if (typeof cb === "function") {
|
|
562
564
|
if (typeof optionsOrCb !== "object")
|
|
563
|
-
throw new Error("Expect http options but get "
|
|
565
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
564
566
|
this.send(command, optionsOrCb || {}, cb);
|
|
565
567
|
}
|
|
566
568
|
else {
|
|
@@ -574,7 +576,7 @@ var ConfigService = (function (_super) {
|
|
|
574
576
|
}
|
|
575
577
|
else if (typeof cb === "function") {
|
|
576
578
|
if (typeof optionsOrCb !== "object")
|
|
577
|
-
throw new Error("Expect http options but get "
|
|
579
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
578
580
|
this.send(command, optionsOrCb || {}, cb);
|
|
579
581
|
}
|
|
580
582
|
else {
|
|
@@ -588,7 +590,7 @@ var ConfigService = (function (_super) {
|
|
|
588
590
|
}
|
|
589
591
|
else if (typeof cb === "function") {
|
|
590
592
|
if (typeof optionsOrCb !== "object")
|
|
591
|
-
throw new Error("Expect http options but get "
|
|
593
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
592
594
|
this.send(command, optionsOrCb || {}, cb);
|
|
593
595
|
}
|
|
594
596
|
else {
|
|
@@ -602,7 +604,7 @@ var ConfigService = (function (_super) {
|
|
|
602
604
|
}
|
|
603
605
|
else if (typeof cb === "function") {
|
|
604
606
|
if (typeof optionsOrCb !== "object")
|
|
605
|
-
throw new Error("Expect http options but get "
|
|
607
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
606
608
|
this.send(command, optionsOrCb || {}, cb);
|
|
607
609
|
}
|
|
608
610
|
else {
|
|
@@ -616,7 +618,7 @@ var ConfigService = (function (_super) {
|
|
|
616
618
|
}
|
|
617
619
|
else if (typeof cb === "function") {
|
|
618
620
|
if (typeof optionsOrCb !== "object")
|
|
619
|
-
throw new Error("Expect http options but get "
|
|
621
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
620
622
|
this.send(command, optionsOrCb || {}, cb);
|
|
621
623
|
}
|
|
622
624
|
else {
|
|
@@ -630,7 +632,7 @@ var ConfigService = (function (_super) {
|
|
|
630
632
|
}
|
|
631
633
|
else if (typeof cb === "function") {
|
|
632
634
|
if (typeof optionsOrCb !== "object")
|
|
633
|
-
throw new Error("Expect http options but get "
|
|
635
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
634
636
|
this.send(command, optionsOrCb || {}, cb);
|
|
635
637
|
}
|
|
636
638
|
else {
|
|
@@ -644,7 +646,7 @@ var ConfigService = (function (_super) {
|
|
|
644
646
|
}
|
|
645
647
|
else if (typeof cb === "function") {
|
|
646
648
|
if (typeof optionsOrCb !== "object")
|
|
647
|
-
throw new Error("Expect http options but get "
|
|
649
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
648
650
|
this.send(command, optionsOrCb || {}, cb);
|
|
649
651
|
}
|
|
650
652
|
else {
|
|
@@ -658,7 +660,7 @@ var ConfigService = (function (_super) {
|
|
|
658
660
|
}
|
|
659
661
|
else if (typeof cb === "function") {
|
|
660
662
|
if (typeof optionsOrCb !== "object")
|
|
661
|
-
throw new Error("Expect http options but get "
|
|
663
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
662
664
|
this.send(command, optionsOrCb || {}, cb);
|
|
663
665
|
}
|
|
664
666
|
else {
|
|
@@ -672,7 +674,7 @@ var ConfigService = (function (_super) {
|
|
|
672
674
|
}
|
|
673
675
|
else if (typeof cb === "function") {
|
|
674
676
|
if (typeof optionsOrCb !== "object")
|
|
675
|
-
throw new Error("Expect http options but get "
|
|
677
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
676
678
|
this.send(command, optionsOrCb || {}, cb);
|
|
677
679
|
}
|
|
678
680
|
else {
|
|
@@ -686,7 +688,7 @@ var ConfigService = (function (_super) {
|
|
|
686
688
|
}
|
|
687
689
|
else if (typeof cb === "function") {
|
|
688
690
|
if (typeof optionsOrCb !== "object")
|
|
689
|
-
throw new Error("Expect http options but get "
|
|
691
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
690
692
|
this.send(command, optionsOrCb || {}, cb);
|
|
691
693
|
}
|
|
692
694
|
else {
|
|
@@ -700,7 +702,7 @@ var ConfigService = (function (_super) {
|
|
|
700
702
|
}
|
|
701
703
|
else if (typeof cb === "function") {
|
|
702
704
|
if (typeof optionsOrCb !== "object")
|
|
703
|
-
throw new Error("Expect http options but get "
|
|
705
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
704
706
|
this.send(command, optionsOrCb || {}, cb);
|
|
705
707
|
}
|
|
706
708
|
else {
|
|
@@ -714,7 +716,7 @@ var ConfigService = (function (_super) {
|
|
|
714
716
|
}
|
|
715
717
|
else if (typeof cb === "function") {
|
|
716
718
|
if (typeof optionsOrCb !== "object")
|
|
717
|
-
throw new Error("Expect http options but get "
|
|
719
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
718
720
|
this.send(command, optionsOrCb || {}, cb);
|
|
719
721
|
}
|
|
720
722
|
else {
|
|
@@ -728,7 +730,7 @@ var ConfigService = (function (_super) {
|
|
|
728
730
|
}
|
|
729
731
|
else if (typeof cb === "function") {
|
|
730
732
|
if (typeof optionsOrCb !== "object")
|
|
731
|
-
throw new Error("Expect http options but get "
|
|
733
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
732
734
|
this.send(command, optionsOrCb || {}, cb);
|
|
733
735
|
}
|
|
734
736
|
else {
|
|
@@ -742,7 +744,7 @@ var ConfigService = (function (_super) {
|
|
|
742
744
|
}
|
|
743
745
|
else if (typeof cb === "function") {
|
|
744
746
|
if (typeof optionsOrCb !== "object")
|
|
745
|
-
throw new Error("Expect http options but get "
|
|
747
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
746
748
|
this.send(command, optionsOrCb || {}, cb);
|
|
747
749
|
}
|
|
748
750
|
else {
|
|
@@ -756,7 +758,7 @@ var ConfigService = (function (_super) {
|
|
|
756
758
|
}
|
|
757
759
|
else if (typeof cb === "function") {
|
|
758
760
|
if (typeof optionsOrCb !== "object")
|
|
759
|
-
throw new Error("Expect http options but get "
|
|
761
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
760
762
|
this.send(command, optionsOrCb || {}, cb);
|
|
761
763
|
}
|
|
762
764
|
else {
|
|
@@ -770,7 +772,7 @@ var ConfigService = (function (_super) {
|
|
|
770
772
|
}
|
|
771
773
|
else if (typeof cb === "function") {
|
|
772
774
|
if (typeof optionsOrCb !== "object")
|
|
773
|
-
throw new Error("Expect http options but get "
|
|
775
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
774
776
|
this.send(command, optionsOrCb || {}, cb);
|
|
775
777
|
}
|
|
776
778
|
else {
|
|
@@ -784,7 +786,7 @@ var ConfigService = (function (_super) {
|
|
|
784
786
|
}
|
|
785
787
|
else if (typeof cb === "function") {
|
|
786
788
|
if (typeof optionsOrCb !== "object")
|
|
787
|
-
throw new Error("Expect http options but get "
|
|
789
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
788
790
|
this.send(command, optionsOrCb || {}, cb);
|
|
789
791
|
}
|
|
790
792
|
else {
|
|
@@ -798,7 +800,7 @@ var ConfigService = (function (_super) {
|
|
|
798
800
|
}
|
|
799
801
|
else if (typeof cb === "function") {
|
|
800
802
|
if (typeof optionsOrCb !== "object")
|
|
801
|
-
throw new Error("Expect http options but get "
|
|
803
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
802
804
|
this.send(command, optionsOrCb || {}, cb);
|
|
803
805
|
}
|
|
804
806
|
else {
|
|
@@ -812,7 +814,7 @@ var ConfigService = (function (_super) {
|
|
|
812
814
|
}
|
|
813
815
|
else if (typeof cb === "function") {
|
|
814
816
|
if (typeof optionsOrCb !== "object")
|
|
815
|
-
throw new Error("Expect http options but get "
|
|
817
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
816
818
|
this.send(command, optionsOrCb || {}, cb);
|
|
817
819
|
}
|
|
818
820
|
else {
|
|
@@ -826,7 +828,7 @@ var ConfigService = (function (_super) {
|
|
|
826
828
|
}
|
|
827
829
|
else if (typeof cb === "function") {
|
|
828
830
|
if (typeof optionsOrCb !== "object")
|
|
829
|
-
throw new Error("Expect http options but get "
|
|
831
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
830
832
|
this.send(command, optionsOrCb || {}, cb);
|
|
831
833
|
}
|
|
832
834
|
else {
|
|
@@ -840,7 +842,21 @@ var ConfigService = (function (_super) {
|
|
|
840
842
|
}
|
|
841
843
|
else if (typeof cb === "function") {
|
|
842
844
|
if (typeof optionsOrCb !== "object")
|
|
843
|
-
throw new Error("Expect http options but get "
|
|
845
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
846
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
847
|
+
}
|
|
848
|
+
else {
|
|
849
|
+
return this.send(command, optionsOrCb);
|
|
850
|
+
}
|
|
851
|
+
};
|
|
852
|
+
ConfigService.prototype.getCustomRulePolicy = function (args, optionsOrCb, cb) {
|
|
853
|
+
var command = new GetCustomRulePolicyCommand(args);
|
|
854
|
+
if (typeof optionsOrCb === "function") {
|
|
855
|
+
this.send(command, optionsOrCb);
|
|
856
|
+
}
|
|
857
|
+
else if (typeof cb === "function") {
|
|
858
|
+
if (typeof optionsOrCb !== "object")
|
|
859
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
844
860
|
this.send(command, optionsOrCb || {}, cb);
|
|
845
861
|
}
|
|
846
862
|
else {
|
|
@@ -854,7 +870,7 @@ var ConfigService = (function (_super) {
|
|
|
854
870
|
}
|
|
855
871
|
else if (typeof cb === "function") {
|
|
856
872
|
if (typeof optionsOrCb !== "object")
|
|
857
|
-
throw new Error("Expect http options but get "
|
|
873
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
858
874
|
this.send(command, optionsOrCb || {}, cb);
|
|
859
875
|
}
|
|
860
876
|
else {
|
|
@@ -868,7 +884,7 @@ var ConfigService = (function (_super) {
|
|
|
868
884
|
}
|
|
869
885
|
else if (typeof cb === "function") {
|
|
870
886
|
if (typeof optionsOrCb !== "object")
|
|
871
|
-
throw new Error("Expect http options but get "
|
|
887
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
872
888
|
this.send(command, optionsOrCb || {}, cb);
|
|
873
889
|
}
|
|
874
890
|
else {
|
|
@@ -882,7 +898,21 @@ var ConfigService = (function (_super) {
|
|
|
882
898
|
}
|
|
883
899
|
else if (typeof cb === "function") {
|
|
884
900
|
if (typeof optionsOrCb !== "object")
|
|
885
|
-
throw new Error("Expect http options but get "
|
|
901
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
902
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
903
|
+
}
|
|
904
|
+
else {
|
|
905
|
+
return this.send(command, optionsOrCb);
|
|
906
|
+
}
|
|
907
|
+
};
|
|
908
|
+
ConfigService.prototype.getOrganizationCustomRulePolicy = function (args, optionsOrCb, cb) {
|
|
909
|
+
var command = new GetOrganizationCustomRulePolicyCommand(args);
|
|
910
|
+
if (typeof optionsOrCb === "function") {
|
|
911
|
+
this.send(command, optionsOrCb);
|
|
912
|
+
}
|
|
913
|
+
else if (typeof cb === "function") {
|
|
914
|
+
if (typeof optionsOrCb !== "object")
|
|
915
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
886
916
|
this.send(command, optionsOrCb || {}, cb);
|
|
887
917
|
}
|
|
888
918
|
else {
|
|
@@ -896,7 +926,7 @@ var ConfigService = (function (_super) {
|
|
|
896
926
|
}
|
|
897
927
|
else if (typeof cb === "function") {
|
|
898
928
|
if (typeof optionsOrCb !== "object")
|
|
899
|
-
throw new Error("Expect http options but get "
|
|
929
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
900
930
|
this.send(command, optionsOrCb || {}, cb);
|
|
901
931
|
}
|
|
902
932
|
else {
|
|
@@ -910,7 +940,7 @@ var ConfigService = (function (_super) {
|
|
|
910
940
|
}
|
|
911
941
|
else if (typeof cb === "function") {
|
|
912
942
|
if (typeof optionsOrCb !== "object")
|
|
913
|
-
throw new Error("Expect http options but get "
|
|
943
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
914
944
|
this.send(command, optionsOrCb || {}, cb);
|
|
915
945
|
}
|
|
916
946
|
else {
|
|
@@ -924,7 +954,7 @@ var ConfigService = (function (_super) {
|
|
|
924
954
|
}
|
|
925
955
|
else if (typeof cb === "function") {
|
|
926
956
|
if (typeof optionsOrCb !== "object")
|
|
927
|
-
throw new Error("Expect http options but get "
|
|
957
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
928
958
|
this.send(command, optionsOrCb || {}, cb);
|
|
929
959
|
}
|
|
930
960
|
else {
|
|
@@ -938,7 +968,7 @@ var ConfigService = (function (_super) {
|
|
|
938
968
|
}
|
|
939
969
|
else if (typeof cb === "function") {
|
|
940
970
|
if (typeof optionsOrCb !== "object")
|
|
941
|
-
throw new Error("Expect http options but get "
|
|
971
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
942
972
|
this.send(command, optionsOrCb || {}, cb);
|
|
943
973
|
}
|
|
944
974
|
else {
|
|
@@ -952,7 +982,7 @@ var ConfigService = (function (_super) {
|
|
|
952
982
|
}
|
|
953
983
|
else if (typeof cb === "function") {
|
|
954
984
|
if (typeof optionsOrCb !== "object")
|
|
955
|
-
throw new Error("Expect http options but get "
|
|
985
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
956
986
|
this.send(command, optionsOrCb || {}, cb);
|
|
957
987
|
}
|
|
958
988
|
else {
|
|
@@ -966,7 +996,7 @@ var ConfigService = (function (_super) {
|
|
|
966
996
|
}
|
|
967
997
|
else if (typeof cb === "function") {
|
|
968
998
|
if (typeof optionsOrCb !== "object")
|
|
969
|
-
throw new Error("Expect http options but get "
|
|
999
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
970
1000
|
this.send(command, optionsOrCb || {}, cb);
|
|
971
1001
|
}
|
|
972
1002
|
else {
|
|
@@ -980,7 +1010,7 @@ var ConfigService = (function (_super) {
|
|
|
980
1010
|
}
|
|
981
1011
|
else if (typeof cb === "function") {
|
|
982
1012
|
if (typeof optionsOrCb !== "object")
|
|
983
|
-
throw new Error("Expect http options but get "
|
|
1013
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
984
1014
|
this.send(command, optionsOrCb || {}, cb);
|
|
985
1015
|
}
|
|
986
1016
|
else {
|
|
@@ -994,7 +1024,7 @@ var ConfigService = (function (_super) {
|
|
|
994
1024
|
}
|
|
995
1025
|
else if (typeof cb === "function") {
|
|
996
1026
|
if (typeof optionsOrCb !== "object")
|
|
997
|
-
throw new Error("Expect http options but get "
|
|
1027
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
998
1028
|
this.send(command, optionsOrCb || {}, cb);
|
|
999
1029
|
}
|
|
1000
1030
|
else {
|
|
@@ -1008,7 +1038,7 @@ var ConfigService = (function (_super) {
|
|
|
1008
1038
|
}
|
|
1009
1039
|
else if (typeof cb === "function") {
|
|
1010
1040
|
if (typeof optionsOrCb !== "object")
|
|
1011
|
-
throw new Error("Expect http options but get "
|
|
1041
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1012
1042
|
this.send(command, optionsOrCb || {}, cb);
|
|
1013
1043
|
}
|
|
1014
1044
|
else {
|
|
@@ -1022,7 +1052,7 @@ var ConfigService = (function (_super) {
|
|
|
1022
1052
|
}
|
|
1023
1053
|
else if (typeof cb === "function") {
|
|
1024
1054
|
if (typeof optionsOrCb !== "object")
|
|
1025
|
-
throw new Error("Expect http options but get "
|
|
1055
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1026
1056
|
this.send(command, optionsOrCb || {}, cb);
|
|
1027
1057
|
}
|
|
1028
1058
|
else {
|
|
@@ -1036,7 +1066,7 @@ var ConfigService = (function (_super) {
|
|
|
1036
1066
|
}
|
|
1037
1067
|
else if (typeof cb === "function") {
|
|
1038
1068
|
if (typeof optionsOrCb !== "object")
|
|
1039
|
-
throw new Error("Expect http options but get "
|
|
1069
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1040
1070
|
this.send(command, optionsOrCb || {}, cb);
|
|
1041
1071
|
}
|
|
1042
1072
|
else {
|
|
@@ -1050,7 +1080,7 @@ var ConfigService = (function (_super) {
|
|
|
1050
1080
|
}
|
|
1051
1081
|
else if (typeof cb === "function") {
|
|
1052
1082
|
if (typeof optionsOrCb !== "object")
|
|
1053
|
-
throw new Error("Expect http options but get "
|
|
1083
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1054
1084
|
this.send(command, optionsOrCb || {}, cb);
|
|
1055
1085
|
}
|
|
1056
1086
|
else {
|
|
@@ -1064,7 +1094,7 @@ var ConfigService = (function (_super) {
|
|
|
1064
1094
|
}
|
|
1065
1095
|
else if (typeof cb === "function") {
|
|
1066
1096
|
if (typeof optionsOrCb !== "object")
|
|
1067
|
-
throw new Error("Expect http options but get "
|
|
1097
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1068
1098
|
this.send(command, optionsOrCb || {}, cb);
|
|
1069
1099
|
}
|
|
1070
1100
|
else {
|
|
@@ -1078,7 +1108,7 @@ var ConfigService = (function (_super) {
|
|
|
1078
1108
|
}
|
|
1079
1109
|
else if (typeof cb === "function") {
|
|
1080
1110
|
if (typeof optionsOrCb !== "object")
|
|
1081
|
-
throw new Error("Expect http options but get "
|
|
1111
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1082
1112
|
this.send(command, optionsOrCb || {}, cb);
|
|
1083
1113
|
}
|
|
1084
1114
|
else {
|
|
@@ -1092,7 +1122,7 @@ var ConfigService = (function (_super) {
|
|
|
1092
1122
|
}
|
|
1093
1123
|
else if (typeof cb === "function") {
|
|
1094
1124
|
if (typeof optionsOrCb !== "object")
|
|
1095
|
-
throw new Error("Expect http options but get "
|
|
1125
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1096
1126
|
this.send(command, optionsOrCb || {}, cb);
|
|
1097
1127
|
}
|
|
1098
1128
|
else {
|
|
@@ -1106,7 +1136,7 @@ var ConfigService = (function (_super) {
|
|
|
1106
1136
|
}
|
|
1107
1137
|
else if (typeof cb === "function") {
|
|
1108
1138
|
if (typeof optionsOrCb !== "object")
|
|
1109
|
-
throw new Error("Expect http options but get "
|
|
1139
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1110
1140
|
this.send(command, optionsOrCb || {}, cb);
|
|
1111
1141
|
}
|
|
1112
1142
|
else {
|
|
@@ -1120,7 +1150,7 @@ var ConfigService = (function (_super) {
|
|
|
1120
1150
|
}
|
|
1121
1151
|
else if (typeof cb === "function") {
|
|
1122
1152
|
if (typeof optionsOrCb !== "object")
|
|
1123
|
-
throw new Error("Expect http options but get "
|
|
1153
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1124
1154
|
this.send(command, optionsOrCb || {}, cb);
|
|
1125
1155
|
}
|
|
1126
1156
|
else {
|
|
@@ -1134,7 +1164,7 @@ var ConfigService = (function (_super) {
|
|
|
1134
1164
|
}
|
|
1135
1165
|
else if (typeof cb === "function") {
|
|
1136
1166
|
if (typeof optionsOrCb !== "object")
|
|
1137
|
-
throw new Error("Expect http options but get "
|
|
1167
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1138
1168
|
this.send(command, optionsOrCb || {}, cb);
|
|
1139
1169
|
}
|
|
1140
1170
|
else {
|
|
@@ -1148,7 +1178,7 @@ var ConfigService = (function (_super) {
|
|
|
1148
1178
|
}
|
|
1149
1179
|
else if (typeof cb === "function") {
|
|
1150
1180
|
if (typeof optionsOrCb !== "object")
|
|
1151
|
-
throw new Error("Expect http options but get "
|
|
1181
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1152
1182
|
this.send(command, optionsOrCb || {}, cb);
|
|
1153
1183
|
}
|
|
1154
1184
|
else {
|
|
@@ -1162,7 +1192,7 @@ var ConfigService = (function (_super) {
|
|
|
1162
1192
|
}
|
|
1163
1193
|
else if (typeof cb === "function") {
|
|
1164
1194
|
if (typeof optionsOrCb !== "object")
|
|
1165
|
-
throw new Error("Expect http options but get "
|
|
1195
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1166
1196
|
this.send(command, optionsOrCb || {}, cb);
|
|
1167
1197
|
}
|
|
1168
1198
|
else {
|
|
@@ -1176,7 +1206,7 @@ var ConfigService = (function (_super) {
|
|
|
1176
1206
|
}
|
|
1177
1207
|
else if (typeof cb === "function") {
|
|
1178
1208
|
if (typeof optionsOrCb !== "object")
|
|
1179
|
-
throw new Error("Expect http options but get "
|
|
1209
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1180
1210
|
this.send(command, optionsOrCb || {}, cb);
|
|
1181
1211
|
}
|
|
1182
1212
|
else {
|
|
@@ -1190,7 +1220,7 @@ var ConfigService = (function (_super) {
|
|
|
1190
1220
|
}
|
|
1191
1221
|
else if (typeof cb === "function") {
|
|
1192
1222
|
if (typeof optionsOrCb !== "object")
|
|
1193
|
-
throw new Error("Expect http options but get "
|
|
1223
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1194
1224
|
this.send(command, optionsOrCb || {}, cb);
|
|
1195
1225
|
}
|
|
1196
1226
|
else {
|
|
@@ -1204,7 +1234,7 @@ var ConfigService = (function (_super) {
|
|
|
1204
1234
|
}
|
|
1205
1235
|
else if (typeof cb === "function") {
|
|
1206
1236
|
if (typeof optionsOrCb !== "object")
|
|
1207
|
-
throw new Error("Expect http options but get "
|
|
1237
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1208
1238
|
this.send(command, optionsOrCb || {}, cb);
|
|
1209
1239
|
}
|
|
1210
1240
|
else {
|
|
@@ -1218,7 +1248,7 @@ var ConfigService = (function (_super) {
|
|
|
1218
1248
|
}
|
|
1219
1249
|
else if (typeof cb === "function") {
|
|
1220
1250
|
if (typeof optionsOrCb !== "object")
|
|
1221
|
-
throw new Error("Expect http options but get "
|
|
1251
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1222
1252
|
this.send(command, optionsOrCb || {}, cb);
|
|
1223
1253
|
}
|
|
1224
1254
|
else {
|
|
@@ -1232,7 +1262,7 @@ var ConfigService = (function (_super) {
|
|
|
1232
1262
|
}
|
|
1233
1263
|
else if (typeof cb === "function") {
|
|
1234
1264
|
if (typeof optionsOrCb !== "object")
|
|
1235
|
-
throw new Error("Expect http options but get "
|
|
1265
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1236
1266
|
this.send(command, optionsOrCb || {}, cb);
|
|
1237
1267
|
}
|
|
1238
1268
|
else {
|
|
@@ -1246,7 +1276,7 @@ var ConfigService = (function (_super) {
|
|
|
1246
1276
|
}
|
|
1247
1277
|
else if (typeof cb === "function") {
|
|
1248
1278
|
if (typeof optionsOrCb !== "object")
|
|
1249
|
-
throw new Error("Expect http options but get "
|
|
1279
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1250
1280
|
this.send(command, optionsOrCb || {}, cb);
|
|
1251
1281
|
}
|
|
1252
1282
|
else {
|
|
@@ -1260,7 +1290,7 @@ var ConfigService = (function (_super) {
|
|
|
1260
1290
|
}
|
|
1261
1291
|
else if (typeof cb === "function") {
|
|
1262
1292
|
if (typeof optionsOrCb !== "object")
|
|
1263
|
-
throw new Error("Expect http options but get "
|
|
1293
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1264
1294
|
this.send(command, optionsOrCb || {}, cb);
|
|
1265
1295
|
}
|
|
1266
1296
|
else {
|
|
@@ -1274,7 +1304,7 @@ var ConfigService = (function (_super) {
|
|
|
1274
1304
|
}
|
|
1275
1305
|
else if (typeof cb === "function") {
|
|
1276
1306
|
if (typeof optionsOrCb !== "object")
|
|
1277
|
-
throw new Error("Expect http options but get "
|
|
1307
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1278
1308
|
this.send(command, optionsOrCb || {}, cb);
|
|
1279
1309
|
}
|
|
1280
1310
|
else {
|
|
@@ -1288,7 +1318,7 @@ var ConfigService = (function (_super) {
|
|
|
1288
1318
|
}
|
|
1289
1319
|
else if (typeof cb === "function") {
|
|
1290
1320
|
if (typeof optionsOrCb !== "object")
|
|
1291
|
-
throw new Error("Expect http options but get "
|
|
1321
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1292
1322
|
this.send(command, optionsOrCb || {}, cb);
|
|
1293
1323
|
}
|
|
1294
1324
|
else {
|