@aws-sdk/client-service-catalog 3.181.0 → 3.183.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.
Files changed (118) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/ServiceCatalog.js +350 -357
  3. package/dist-es/ServiceCatalogClient.js +22 -28
  4. package/dist-es/commands/AcceptPortfolioShareCommand.js +21 -28
  5. package/dist-es/commands/AssociateBudgetWithResourceCommand.js +21 -28
  6. package/dist-es/commands/AssociatePrincipalWithPortfolioCommand.js +21 -28
  7. package/dist-es/commands/AssociateProductWithPortfolioCommand.js +21 -28
  8. package/dist-es/commands/AssociateServiceActionWithProvisioningArtifactCommand.js +21 -28
  9. package/dist-es/commands/AssociateTagOptionWithResourceCommand.js +21 -28
  10. package/dist-es/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.js +21 -28
  11. package/dist-es/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.js +21 -28
  12. package/dist-es/commands/CopyProductCommand.js +21 -28
  13. package/dist-es/commands/CreateConstraintCommand.js +21 -28
  14. package/dist-es/commands/CreatePortfolioCommand.js +21 -28
  15. package/dist-es/commands/CreatePortfolioShareCommand.js +21 -28
  16. package/dist-es/commands/CreateProductCommand.js +21 -28
  17. package/dist-es/commands/CreateProvisionedProductPlanCommand.js +21 -28
  18. package/dist-es/commands/CreateProvisioningArtifactCommand.js +21 -28
  19. package/dist-es/commands/CreateServiceActionCommand.js +21 -28
  20. package/dist-es/commands/CreateTagOptionCommand.js +21 -28
  21. package/dist-es/commands/DeleteConstraintCommand.js +21 -28
  22. package/dist-es/commands/DeletePortfolioCommand.js +21 -28
  23. package/dist-es/commands/DeletePortfolioShareCommand.js +21 -28
  24. package/dist-es/commands/DeleteProductCommand.js +21 -28
  25. package/dist-es/commands/DeleteProvisionedProductPlanCommand.js +21 -28
  26. package/dist-es/commands/DeleteProvisioningArtifactCommand.js +21 -28
  27. package/dist-es/commands/DeleteServiceActionCommand.js +21 -28
  28. package/dist-es/commands/DeleteTagOptionCommand.js +21 -28
  29. package/dist-es/commands/DescribeConstraintCommand.js +21 -28
  30. package/dist-es/commands/DescribeCopyProductStatusCommand.js +21 -28
  31. package/dist-es/commands/DescribePortfolioCommand.js +21 -28
  32. package/dist-es/commands/DescribePortfolioShareStatusCommand.js +21 -28
  33. package/dist-es/commands/DescribePortfolioSharesCommand.js +21 -28
  34. package/dist-es/commands/DescribeProductAsAdminCommand.js +21 -28
  35. package/dist-es/commands/DescribeProductCommand.js +21 -28
  36. package/dist-es/commands/DescribeProductViewCommand.js +21 -28
  37. package/dist-es/commands/DescribeProvisionedProductCommand.js +21 -28
  38. package/dist-es/commands/DescribeProvisionedProductPlanCommand.js +21 -28
  39. package/dist-es/commands/DescribeProvisioningArtifactCommand.js +21 -28
  40. package/dist-es/commands/DescribeProvisioningParametersCommand.js +21 -28
  41. package/dist-es/commands/DescribeRecordCommand.js +21 -28
  42. package/dist-es/commands/DescribeServiceActionCommand.js +21 -28
  43. package/dist-es/commands/DescribeServiceActionExecutionParametersCommand.js +21 -28
  44. package/dist-es/commands/DescribeTagOptionCommand.js +21 -28
  45. package/dist-es/commands/DisableAWSOrganizationsAccessCommand.js +21 -28
  46. package/dist-es/commands/DisassociateBudgetFromResourceCommand.js +21 -28
  47. package/dist-es/commands/DisassociatePrincipalFromPortfolioCommand.js +21 -28
  48. package/dist-es/commands/DisassociateProductFromPortfolioCommand.js +21 -28
  49. package/dist-es/commands/DisassociateServiceActionFromProvisioningArtifactCommand.js +21 -28
  50. package/dist-es/commands/DisassociateTagOptionFromResourceCommand.js +21 -28
  51. package/dist-es/commands/EnableAWSOrganizationsAccessCommand.js +21 -28
  52. package/dist-es/commands/ExecuteProvisionedProductPlanCommand.js +21 -28
  53. package/dist-es/commands/ExecuteProvisionedProductServiceActionCommand.js +21 -28
  54. package/dist-es/commands/GetAWSOrganizationsAccessStatusCommand.js +21 -28
  55. package/dist-es/commands/GetProvisionedProductOutputsCommand.js +21 -28
  56. package/dist-es/commands/ImportAsProvisionedProductCommand.js +21 -28
  57. package/dist-es/commands/ListAcceptedPortfolioSharesCommand.js +21 -28
  58. package/dist-es/commands/ListBudgetsForResourceCommand.js +21 -28
  59. package/dist-es/commands/ListConstraintsForPortfolioCommand.js +21 -28
  60. package/dist-es/commands/ListLaunchPathsCommand.js +21 -28
  61. package/dist-es/commands/ListOrganizationPortfolioAccessCommand.js +21 -28
  62. package/dist-es/commands/ListPortfolioAccessCommand.js +21 -28
  63. package/dist-es/commands/ListPortfoliosCommand.js +21 -28
  64. package/dist-es/commands/ListPortfoliosForProductCommand.js +21 -28
  65. package/dist-es/commands/ListPrincipalsForPortfolioCommand.js +21 -28
  66. package/dist-es/commands/ListProvisionedProductPlansCommand.js +21 -28
  67. package/dist-es/commands/ListProvisioningArtifactsCommand.js +21 -28
  68. package/dist-es/commands/ListProvisioningArtifactsForServiceActionCommand.js +21 -28
  69. package/dist-es/commands/ListRecordHistoryCommand.js +21 -28
  70. package/dist-es/commands/ListResourcesForTagOptionCommand.js +21 -28
  71. package/dist-es/commands/ListServiceActionsCommand.js +21 -28
  72. package/dist-es/commands/ListServiceActionsForProvisioningArtifactCommand.js +21 -28
  73. package/dist-es/commands/ListStackInstancesForProvisionedProductCommand.js +21 -28
  74. package/dist-es/commands/ListTagOptionsCommand.js +21 -28
  75. package/dist-es/commands/ProvisionProductCommand.js +21 -28
  76. package/dist-es/commands/RejectPortfolioShareCommand.js +21 -28
  77. package/dist-es/commands/ScanProvisionedProductsCommand.js +21 -28
  78. package/dist-es/commands/SearchProductsAsAdminCommand.js +21 -28
  79. package/dist-es/commands/SearchProductsCommand.js +21 -28
  80. package/dist-es/commands/SearchProvisionedProductsCommand.js +21 -28
  81. package/dist-es/commands/TerminateProvisionedProductCommand.js +21 -28
  82. package/dist-es/commands/UpdateConstraintCommand.js +21 -28
  83. package/dist-es/commands/UpdatePortfolioCommand.js +21 -28
  84. package/dist-es/commands/UpdatePortfolioShareCommand.js +21 -28
  85. package/dist-es/commands/UpdateProductCommand.js +21 -28
  86. package/dist-es/commands/UpdateProvisionedProductCommand.js +21 -28
  87. package/dist-es/commands/UpdateProvisionedProductPropertiesCommand.js +21 -28
  88. package/dist-es/commands/UpdateProvisioningArtifactCommand.js +21 -28
  89. package/dist-es/commands/UpdateServiceActionCommand.js +21 -28
  90. package/dist-es/commands/UpdateTagOptionCommand.js +21 -28
  91. package/dist-es/endpoints.js +8 -8
  92. package/dist-es/models/ServiceCatalogServiceException.js +5 -10
  93. package/dist-es/models/models_0.js +777 -324
  94. package/dist-es/pagination/DescribePortfolioSharesPaginator.js +25 -68
  95. package/dist-es/pagination/GetProvisionedProductOutputsPaginator.js +25 -68
  96. package/dist-es/pagination/ListAcceptedPortfolioSharesPaginator.js +25 -68
  97. package/dist-es/pagination/ListBudgetsForResourcePaginator.js +25 -68
  98. package/dist-es/pagination/ListConstraintsForPortfolioPaginator.js +25 -68
  99. package/dist-es/pagination/ListLaunchPathsPaginator.js +25 -68
  100. package/dist-es/pagination/ListOrganizationPortfolioAccessPaginator.js +25 -68
  101. package/dist-es/pagination/ListPortfolioAccessPaginator.js +25 -68
  102. package/dist-es/pagination/ListPortfoliosForProductPaginator.js +25 -68
  103. package/dist-es/pagination/ListPortfoliosPaginator.js +25 -68
  104. package/dist-es/pagination/ListPrincipalsForPortfolioPaginator.js +25 -68
  105. package/dist-es/pagination/ListProvisioningArtifactsForServiceActionPaginator.js +25 -68
  106. package/dist-es/pagination/ListResourcesForTagOptionPaginator.js +25 -68
  107. package/dist-es/pagination/ListServiceActionsForProvisioningArtifactPaginator.js +25 -68
  108. package/dist-es/pagination/ListServiceActionsPaginator.js +25 -68
  109. package/dist-es/pagination/ListTagOptionsPaginator.js +25 -68
  110. package/dist-es/pagination/SearchProductsAsAdminPaginator.js +25 -68
  111. package/dist-es/pagination/SearchProductsPaginator.js +25 -68
  112. package/dist-es/pagination/SearchProvisionedProductsPaginator.js +25 -68
  113. package/dist-es/protocols/Aws_json1_1.js +5338 -6725
  114. package/dist-es/runtimeConfig.browser.js +26 -12
  115. package/dist-es/runtimeConfig.js +30 -12
  116. package/dist-es/runtimeConfig.native.js +8 -5
  117. package/dist-es/runtimeConfig.shared.js +8 -11
  118. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { AcceptPortfolioShareCommand, } from "./commands/AcceptPortfolioShareCommand";
3
2
  import { AssociateBudgetWithResourceCommand, } from "./commands/AssociateBudgetWithResourceCommand";
4
3
  import { AssociatePrincipalWithPortfolioCommand, } from "./commands/AssociatePrincipalWithPortfolioCommand";
@@ -87,1229 +86,1223 @@ import { UpdateProvisioningArtifactCommand, } from "./commands/UpdateProvisionin
87
86
  import { UpdateServiceActionCommand, } from "./commands/UpdateServiceActionCommand";
88
87
  import { UpdateTagOptionCommand, } from "./commands/UpdateTagOptionCommand";
89
88
  import { ServiceCatalogClient } from "./ServiceCatalogClient";
90
- var ServiceCatalog = (function (_super) {
91
- __extends(ServiceCatalog, _super);
92
- function ServiceCatalog() {
93
- return _super !== null && _super.apply(this, arguments) || this;
94
- }
95
- ServiceCatalog.prototype.acceptPortfolioShare = function (args, optionsOrCb, cb) {
96
- var command = new AcceptPortfolioShareCommand(args);
89
+ export class ServiceCatalog extends ServiceCatalogClient {
90
+ acceptPortfolioShare(args, optionsOrCb, cb) {
91
+ const command = new AcceptPortfolioShareCommand(args);
97
92
  if (typeof optionsOrCb === "function") {
98
93
  this.send(command, optionsOrCb);
99
94
  }
100
95
  else if (typeof cb === "function") {
101
96
  if (typeof optionsOrCb !== "object")
102
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
97
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
103
98
  this.send(command, optionsOrCb || {}, cb);
104
99
  }
105
100
  else {
106
101
  return this.send(command, optionsOrCb);
107
102
  }
108
- };
109
- ServiceCatalog.prototype.associateBudgetWithResource = function (args, optionsOrCb, cb) {
110
- var command = new AssociateBudgetWithResourceCommand(args);
103
+ }
104
+ associateBudgetWithResource(args, optionsOrCb, cb) {
105
+ const command = new AssociateBudgetWithResourceCommand(args);
111
106
  if (typeof optionsOrCb === "function") {
112
107
  this.send(command, optionsOrCb);
113
108
  }
114
109
  else if (typeof cb === "function") {
115
110
  if (typeof optionsOrCb !== "object")
116
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
111
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
117
112
  this.send(command, optionsOrCb || {}, cb);
118
113
  }
119
114
  else {
120
115
  return this.send(command, optionsOrCb);
121
116
  }
122
- };
123
- ServiceCatalog.prototype.associatePrincipalWithPortfolio = function (args, optionsOrCb, cb) {
124
- var command = new AssociatePrincipalWithPortfolioCommand(args);
117
+ }
118
+ associatePrincipalWithPortfolio(args, optionsOrCb, cb) {
119
+ const command = new AssociatePrincipalWithPortfolioCommand(args);
125
120
  if (typeof optionsOrCb === "function") {
126
121
  this.send(command, optionsOrCb);
127
122
  }
128
123
  else if (typeof cb === "function") {
129
124
  if (typeof optionsOrCb !== "object")
130
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
125
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
131
126
  this.send(command, optionsOrCb || {}, cb);
132
127
  }
133
128
  else {
134
129
  return this.send(command, optionsOrCb);
135
130
  }
136
- };
137
- ServiceCatalog.prototype.associateProductWithPortfolio = function (args, optionsOrCb, cb) {
138
- var command = new AssociateProductWithPortfolioCommand(args);
131
+ }
132
+ associateProductWithPortfolio(args, optionsOrCb, cb) {
133
+ const command = new AssociateProductWithPortfolioCommand(args);
139
134
  if (typeof optionsOrCb === "function") {
140
135
  this.send(command, optionsOrCb);
141
136
  }
142
137
  else if (typeof cb === "function") {
143
138
  if (typeof optionsOrCb !== "object")
144
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
139
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
145
140
  this.send(command, optionsOrCb || {}, cb);
146
141
  }
147
142
  else {
148
143
  return this.send(command, optionsOrCb);
149
144
  }
150
- };
151
- ServiceCatalog.prototype.associateServiceActionWithProvisioningArtifact = function (args, optionsOrCb, cb) {
152
- var command = new AssociateServiceActionWithProvisioningArtifactCommand(args);
145
+ }
146
+ associateServiceActionWithProvisioningArtifact(args, optionsOrCb, cb) {
147
+ const command = new AssociateServiceActionWithProvisioningArtifactCommand(args);
153
148
  if (typeof optionsOrCb === "function") {
154
149
  this.send(command, optionsOrCb);
155
150
  }
156
151
  else if (typeof cb === "function") {
157
152
  if (typeof optionsOrCb !== "object")
158
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
153
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
159
154
  this.send(command, optionsOrCb || {}, cb);
160
155
  }
161
156
  else {
162
157
  return this.send(command, optionsOrCb);
163
158
  }
164
- };
165
- ServiceCatalog.prototype.associateTagOptionWithResource = function (args, optionsOrCb, cb) {
166
- var command = new AssociateTagOptionWithResourceCommand(args);
159
+ }
160
+ associateTagOptionWithResource(args, optionsOrCb, cb) {
161
+ const command = new AssociateTagOptionWithResourceCommand(args);
167
162
  if (typeof optionsOrCb === "function") {
168
163
  this.send(command, optionsOrCb);
169
164
  }
170
165
  else if (typeof cb === "function") {
171
166
  if (typeof optionsOrCb !== "object")
172
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
167
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
173
168
  this.send(command, optionsOrCb || {}, cb);
174
169
  }
175
170
  else {
176
171
  return this.send(command, optionsOrCb);
177
172
  }
178
- };
179
- ServiceCatalog.prototype.batchAssociateServiceActionWithProvisioningArtifact = function (args, optionsOrCb, cb) {
180
- var command = new BatchAssociateServiceActionWithProvisioningArtifactCommand(args);
173
+ }
174
+ batchAssociateServiceActionWithProvisioningArtifact(args, optionsOrCb, cb) {
175
+ const command = new BatchAssociateServiceActionWithProvisioningArtifactCommand(args);
181
176
  if (typeof optionsOrCb === "function") {
182
177
  this.send(command, optionsOrCb);
183
178
  }
184
179
  else if (typeof cb === "function") {
185
180
  if (typeof optionsOrCb !== "object")
186
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
181
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
187
182
  this.send(command, optionsOrCb || {}, cb);
188
183
  }
189
184
  else {
190
185
  return this.send(command, optionsOrCb);
191
186
  }
192
- };
193
- ServiceCatalog.prototype.batchDisassociateServiceActionFromProvisioningArtifact = function (args, optionsOrCb, cb) {
194
- var command = new BatchDisassociateServiceActionFromProvisioningArtifactCommand(args);
187
+ }
188
+ batchDisassociateServiceActionFromProvisioningArtifact(args, optionsOrCb, cb) {
189
+ const command = new BatchDisassociateServiceActionFromProvisioningArtifactCommand(args);
195
190
  if (typeof optionsOrCb === "function") {
196
191
  this.send(command, optionsOrCb);
197
192
  }
198
193
  else if (typeof cb === "function") {
199
194
  if (typeof optionsOrCb !== "object")
200
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
195
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
201
196
  this.send(command, optionsOrCb || {}, cb);
202
197
  }
203
198
  else {
204
199
  return this.send(command, optionsOrCb);
205
200
  }
206
- };
207
- ServiceCatalog.prototype.copyProduct = function (args, optionsOrCb, cb) {
208
- var command = new CopyProductCommand(args);
201
+ }
202
+ copyProduct(args, optionsOrCb, cb) {
203
+ const command = new CopyProductCommand(args);
209
204
  if (typeof optionsOrCb === "function") {
210
205
  this.send(command, optionsOrCb);
211
206
  }
212
207
  else if (typeof cb === "function") {
213
208
  if (typeof optionsOrCb !== "object")
214
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
209
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
215
210
  this.send(command, optionsOrCb || {}, cb);
216
211
  }
217
212
  else {
218
213
  return this.send(command, optionsOrCb);
219
214
  }
220
- };
221
- ServiceCatalog.prototype.createConstraint = function (args, optionsOrCb, cb) {
222
- var command = new CreateConstraintCommand(args);
215
+ }
216
+ createConstraint(args, optionsOrCb, cb) {
217
+ const command = new CreateConstraintCommand(args);
223
218
  if (typeof optionsOrCb === "function") {
224
219
  this.send(command, optionsOrCb);
225
220
  }
226
221
  else if (typeof cb === "function") {
227
222
  if (typeof optionsOrCb !== "object")
228
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
223
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
229
224
  this.send(command, optionsOrCb || {}, cb);
230
225
  }
231
226
  else {
232
227
  return this.send(command, optionsOrCb);
233
228
  }
234
- };
235
- ServiceCatalog.prototype.createPortfolio = function (args, optionsOrCb, cb) {
236
- var command = new CreatePortfolioCommand(args);
229
+ }
230
+ createPortfolio(args, optionsOrCb, cb) {
231
+ const command = new CreatePortfolioCommand(args);
237
232
  if (typeof optionsOrCb === "function") {
238
233
  this.send(command, optionsOrCb);
239
234
  }
240
235
  else if (typeof cb === "function") {
241
236
  if (typeof optionsOrCb !== "object")
242
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
237
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
243
238
  this.send(command, optionsOrCb || {}, cb);
244
239
  }
245
240
  else {
246
241
  return this.send(command, optionsOrCb);
247
242
  }
248
- };
249
- ServiceCatalog.prototype.createPortfolioShare = function (args, optionsOrCb, cb) {
250
- var command = new CreatePortfolioShareCommand(args);
243
+ }
244
+ createPortfolioShare(args, optionsOrCb, cb) {
245
+ const command = new CreatePortfolioShareCommand(args);
251
246
  if (typeof optionsOrCb === "function") {
252
247
  this.send(command, optionsOrCb);
253
248
  }
254
249
  else if (typeof cb === "function") {
255
250
  if (typeof optionsOrCb !== "object")
256
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
251
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
257
252
  this.send(command, optionsOrCb || {}, cb);
258
253
  }
259
254
  else {
260
255
  return this.send(command, optionsOrCb);
261
256
  }
262
- };
263
- ServiceCatalog.prototype.createProduct = function (args, optionsOrCb, cb) {
264
- var command = new CreateProductCommand(args);
257
+ }
258
+ createProduct(args, optionsOrCb, cb) {
259
+ const command = new CreateProductCommand(args);
265
260
  if (typeof optionsOrCb === "function") {
266
261
  this.send(command, optionsOrCb);
267
262
  }
268
263
  else if (typeof cb === "function") {
269
264
  if (typeof optionsOrCb !== "object")
270
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
265
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
271
266
  this.send(command, optionsOrCb || {}, cb);
272
267
  }
273
268
  else {
274
269
  return this.send(command, optionsOrCb);
275
270
  }
276
- };
277
- ServiceCatalog.prototype.createProvisionedProductPlan = function (args, optionsOrCb, cb) {
278
- var command = new CreateProvisionedProductPlanCommand(args);
271
+ }
272
+ createProvisionedProductPlan(args, optionsOrCb, cb) {
273
+ const command = new CreateProvisionedProductPlanCommand(args);
279
274
  if (typeof optionsOrCb === "function") {
280
275
  this.send(command, optionsOrCb);
281
276
  }
282
277
  else if (typeof cb === "function") {
283
278
  if (typeof optionsOrCb !== "object")
284
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
279
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
285
280
  this.send(command, optionsOrCb || {}, cb);
286
281
  }
287
282
  else {
288
283
  return this.send(command, optionsOrCb);
289
284
  }
290
- };
291
- ServiceCatalog.prototype.createProvisioningArtifact = function (args, optionsOrCb, cb) {
292
- var command = new CreateProvisioningArtifactCommand(args);
285
+ }
286
+ createProvisioningArtifact(args, optionsOrCb, cb) {
287
+ const command = new CreateProvisioningArtifactCommand(args);
293
288
  if (typeof optionsOrCb === "function") {
294
289
  this.send(command, optionsOrCb);
295
290
  }
296
291
  else if (typeof cb === "function") {
297
292
  if (typeof optionsOrCb !== "object")
298
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
293
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
299
294
  this.send(command, optionsOrCb || {}, cb);
300
295
  }
301
296
  else {
302
297
  return this.send(command, optionsOrCb);
303
298
  }
304
- };
305
- ServiceCatalog.prototype.createServiceAction = function (args, optionsOrCb, cb) {
306
- var command = new CreateServiceActionCommand(args);
299
+ }
300
+ createServiceAction(args, optionsOrCb, cb) {
301
+ const command = new CreateServiceActionCommand(args);
307
302
  if (typeof optionsOrCb === "function") {
308
303
  this.send(command, optionsOrCb);
309
304
  }
310
305
  else if (typeof cb === "function") {
311
306
  if (typeof optionsOrCb !== "object")
312
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
307
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
313
308
  this.send(command, optionsOrCb || {}, cb);
314
309
  }
315
310
  else {
316
311
  return this.send(command, optionsOrCb);
317
312
  }
318
- };
319
- ServiceCatalog.prototype.createTagOption = function (args, optionsOrCb, cb) {
320
- var command = new CreateTagOptionCommand(args);
313
+ }
314
+ createTagOption(args, optionsOrCb, cb) {
315
+ const command = new CreateTagOptionCommand(args);
321
316
  if (typeof optionsOrCb === "function") {
322
317
  this.send(command, optionsOrCb);
323
318
  }
324
319
  else if (typeof cb === "function") {
325
320
  if (typeof optionsOrCb !== "object")
326
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
321
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
327
322
  this.send(command, optionsOrCb || {}, cb);
328
323
  }
329
324
  else {
330
325
  return this.send(command, optionsOrCb);
331
326
  }
332
- };
333
- ServiceCatalog.prototype.deleteConstraint = function (args, optionsOrCb, cb) {
334
- var command = new DeleteConstraintCommand(args);
327
+ }
328
+ deleteConstraint(args, optionsOrCb, cb) {
329
+ const command = new DeleteConstraintCommand(args);
335
330
  if (typeof optionsOrCb === "function") {
336
331
  this.send(command, optionsOrCb);
337
332
  }
338
333
  else if (typeof cb === "function") {
339
334
  if (typeof optionsOrCb !== "object")
340
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
335
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
341
336
  this.send(command, optionsOrCb || {}, cb);
342
337
  }
343
338
  else {
344
339
  return this.send(command, optionsOrCb);
345
340
  }
346
- };
347
- ServiceCatalog.prototype.deletePortfolio = function (args, optionsOrCb, cb) {
348
- var command = new DeletePortfolioCommand(args);
341
+ }
342
+ deletePortfolio(args, optionsOrCb, cb) {
343
+ const command = new DeletePortfolioCommand(args);
349
344
  if (typeof optionsOrCb === "function") {
350
345
  this.send(command, optionsOrCb);
351
346
  }
352
347
  else if (typeof cb === "function") {
353
348
  if (typeof optionsOrCb !== "object")
354
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
349
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
355
350
  this.send(command, optionsOrCb || {}, cb);
356
351
  }
357
352
  else {
358
353
  return this.send(command, optionsOrCb);
359
354
  }
360
- };
361
- ServiceCatalog.prototype.deletePortfolioShare = function (args, optionsOrCb, cb) {
362
- var command = new DeletePortfolioShareCommand(args);
355
+ }
356
+ deletePortfolioShare(args, optionsOrCb, cb) {
357
+ const command = new DeletePortfolioShareCommand(args);
363
358
  if (typeof optionsOrCb === "function") {
364
359
  this.send(command, optionsOrCb);
365
360
  }
366
361
  else if (typeof cb === "function") {
367
362
  if (typeof optionsOrCb !== "object")
368
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
363
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
369
364
  this.send(command, optionsOrCb || {}, cb);
370
365
  }
371
366
  else {
372
367
  return this.send(command, optionsOrCb);
373
368
  }
374
- };
375
- ServiceCatalog.prototype.deleteProduct = function (args, optionsOrCb, cb) {
376
- var command = new DeleteProductCommand(args);
369
+ }
370
+ deleteProduct(args, optionsOrCb, cb) {
371
+ const command = new DeleteProductCommand(args);
377
372
  if (typeof optionsOrCb === "function") {
378
373
  this.send(command, optionsOrCb);
379
374
  }
380
375
  else if (typeof cb === "function") {
381
376
  if (typeof optionsOrCb !== "object")
382
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
377
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
383
378
  this.send(command, optionsOrCb || {}, cb);
384
379
  }
385
380
  else {
386
381
  return this.send(command, optionsOrCb);
387
382
  }
388
- };
389
- ServiceCatalog.prototype.deleteProvisionedProductPlan = function (args, optionsOrCb, cb) {
390
- var command = new DeleteProvisionedProductPlanCommand(args);
383
+ }
384
+ deleteProvisionedProductPlan(args, optionsOrCb, cb) {
385
+ const command = new DeleteProvisionedProductPlanCommand(args);
391
386
  if (typeof optionsOrCb === "function") {
392
387
  this.send(command, optionsOrCb);
393
388
  }
394
389
  else if (typeof cb === "function") {
395
390
  if (typeof optionsOrCb !== "object")
396
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
391
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
397
392
  this.send(command, optionsOrCb || {}, cb);
398
393
  }
399
394
  else {
400
395
  return this.send(command, optionsOrCb);
401
396
  }
402
- };
403
- ServiceCatalog.prototype.deleteProvisioningArtifact = function (args, optionsOrCb, cb) {
404
- var command = new DeleteProvisioningArtifactCommand(args);
397
+ }
398
+ deleteProvisioningArtifact(args, optionsOrCb, cb) {
399
+ const command = new DeleteProvisioningArtifactCommand(args);
405
400
  if (typeof optionsOrCb === "function") {
406
401
  this.send(command, optionsOrCb);
407
402
  }
408
403
  else if (typeof cb === "function") {
409
404
  if (typeof optionsOrCb !== "object")
410
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
405
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
411
406
  this.send(command, optionsOrCb || {}, cb);
412
407
  }
413
408
  else {
414
409
  return this.send(command, optionsOrCb);
415
410
  }
416
- };
417
- ServiceCatalog.prototype.deleteServiceAction = function (args, optionsOrCb, cb) {
418
- var command = new DeleteServiceActionCommand(args);
411
+ }
412
+ deleteServiceAction(args, optionsOrCb, cb) {
413
+ const command = new DeleteServiceActionCommand(args);
419
414
  if (typeof optionsOrCb === "function") {
420
415
  this.send(command, optionsOrCb);
421
416
  }
422
417
  else if (typeof cb === "function") {
423
418
  if (typeof optionsOrCb !== "object")
424
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
419
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
425
420
  this.send(command, optionsOrCb || {}, cb);
426
421
  }
427
422
  else {
428
423
  return this.send(command, optionsOrCb);
429
424
  }
430
- };
431
- ServiceCatalog.prototype.deleteTagOption = function (args, optionsOrCb, cb) {
432
- var command = new DeleteTagOptionCommand(args);
425
+ }
426
+ deleteTagOption(args, optionsOrCb, cb) {
427
+ const command = new DeleteTagOptionCommand(args);
433
428
  if (typeof optionsOrCb === "function") {
434
429
  this.send(command, optionsOrCb);
435
430
  }
436
431
  else if (typeof cb === "function") {
437
432
  if (typeof optionsOrCb !== "object")
438
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
433
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
439
434
  this.send(command, optionsOrCb || {}, cb);
440
435
  }
441
436
  else {
442
437
  return this.send(command, optionsOrCb);
443
438
  }
444
- };
445
- ServiceCatalog.prototype.describeConstraint = function (args, optionsOrCb, cb) {
446
- var command = new DescribeConstraintCommand(args);
439
+ }
440
+ describeConstraint(args, optionsOrCb, cb) {
441
+ const command = new DescribeConstraintCommand(args);
447
442
  if (typeof optionsOrCb === "function") {
448
443
  this.send(command, optionsOrCb);
449
444
  }
450
445
  else if (typeof cb === "function") {
451
446
  if (typeof optionsOrCb !== "object")
452
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
447
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
453
448
  this.send(command, optionsOrCb || {}, cb);
454
449
  }
455
450
  else {
456
451
  return this.send(command, optionsOrCb);
457
452
  }
458
- };
459
- ServiceCatalog.prototype.describeCopyProductStatus = function (args, optionsOrCb, cb) {
460
- var command = new DescribeCopyProductStatusCommand(args);
453
+ }
454
+ describeCopyProductStatus(args, optionsOrCb, cb) {
455
+ const command = new DescribeCopyProductStatusCommand(args);
461
456
  if (typeof optionsOrCb === "function") {
462
457
  this.send(command, optionsOrCb);
463
458
  }
464
459
  else if (typeof cb === "function") {
465
460
  if (typeof optionsOrCb !== "object")
466
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
461
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
467
462
  this.send(command, optionsOrCb || {}, cb);
468
463
  }
469
464
  else {
470
465
  return this.send(command, optionsOrCb);
471
466
  }
472
- };
473
- ServiceCatalog.prototype.describePortfolio = function (args, optionsOrCb, cb) {
474
- var command = new DescribePortfolioCommand(args);
467
+ }
468
+ describePortfolio(args, optionsOrCb, cb) {
469
+ const command = new DescribePortfolioCommand(args);
475
470
  if (typeof optionsOrCb === "function") {
476
471
  this.send(command, optionsOrCb);
477
472
  }
478
473
  else if (typeof cb === "function") {
479
474
  if (typeof optionsOrCb !== "object")
480
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
475
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
481
476
  this.send(command, optionsOrCb || {}, cb);
482
477
  }
483
478
  else {
484
479
  return this.send(command, optionsOrCb);
485
480
  }
486
- };
487
- ServiceCatalog.prototype.describePortfolioShares = function (args, optionsOrCb, cb) {
488
- var command = new DescribePortfolioSharesCommand(args);
481
+ }
482
+ describePortfolioShares(args, optionsOrCb, cb) {
483
+ const command = new DescribePortfolioSharesCommand(args);
489
484
  if (typeof optionsOrCb === "function") {
490
485
  this.send(command, optionsOrCb);
491
486
  }
492
487
  else if (typeof cb === "function") {
493
488
  if (typeof optionsOrCb !== "object")
494
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
489
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
495
490
  this.send(command, optionsOrCb || {}, cb);
496
491
  }
497
492
  else {
498
493
  return this.send(command, optionsOrCb);
499
494
  }
500
- };
501
- ServiceCatalog.prototype.describePortfolioShareStatus = function (args, optionsOrCb, cb) {
502
- var command = new DescribePortfolioShareStatusCommand(args);
495
+ }
496
+ describePortfolioShareStatus(args, optionsOrCb, cb) {
497
+ const command = new DescribePortfolioShareStatusCommand(args);
503
498
  if (typeof optionsOrCb === "function") {
504
499
  this.send(command, optionsOrCb);
505
500
  }
506
501
  else if (typeof cb === "function") {
507
502
  if (typeof optionsOrCb !== "object")
508
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
503
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
509
504
  this.send(command, optionsOrCb || {}, cb);
510
505
  }
511
506
  else {
512
507
  return this.send(command, optionsOrCb);
513
508
  }
514
- };
515
- ServiceCatalog.prototype.describeProduct = function (args, optionsOrCb, cb) {
516
- var command = new DescribeProductCommand(args);
509
+ }
510
+ describeProduct(args, optionsOrCb, cb) {
511
+ const command = new DescribeProductCommand(args);
517
512
  if (typeof optionsOrCb === "function") {
518
513
  this.send(command, optionsOrCb);
519
514
  }
520
515
  else if (typeof cb === "function") {
521
516
  if (typeof optionsOrCb !== "object")
522
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
517
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
523
518
  this.send(command, optionsOrCb || {}, cb);
524
519
  }
525
520
  else {
526
521
  return this.send(command, optionsOrCb);
527
522
  }
528
- };
529
- ServiceCatalog.prototype.describeProductAsAdmin = function (args, optionsOrCb, cb) {
530
- var command = new DescribeProductAsAdminCommand(args);
523
+ }
524
+ describeProductAsAdmin(args, optionsOrCb, cb) {
525
+ const command = new DescribeProductAsAdminCommand(args);
531
526
  if (typeof optionsOrCb === "function") {
532
527
  this.send(command, optionsOrCb);
533
528
  }
534
529
  else if (typeof cb === "function") {
535
530
  if (typeof optionsOrCb !== "object")
536
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
531
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
537
532
  this.send(command, optionsOrCb || {}, cb);
538
533
  }
539
534
  else {
540
535
  return this.send(command, optionsOrCb);
541
536
  }
542
- };
543
- ServiceCatalog.prototype.describeProductView = function (args, optionsOrCb, cb) {
544
- var command = new DescribeProductViewCommand(args);
537
+ }
538
+ describeProductView(args, optionsOrCb, cb) {
539
+ const command = new DescribeProductViewCommand(args);
545
540
  if (typeof optionsOrCb === "function") {
546
541
  this.send(command, optionsOrCb);
547
542
  }
548
543
  else if (typeof cb === "function") {
549
544
  if (typeof optionsOrCb !== "object")
550
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
545
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
551
546
  this.send(command, optionsOrCb || {}, cb);
552
547
  }
553
548
  else {
554
549
  return this.send(command, optionsOrCb);
555
550
  }
556
- };
557
- ServiceCatalog.prototype.describeProvisionedProduct = function (args, optionsOrCb, cb) {
558
- var command = new DescribeProvisionedProductCommand(args);
551
+ }
552
+ describeProvisionedProduct(args, optionsOrCb, cb) {
553
+ const command = new DescribeProvisionedProductCommand(args);
559
554
  if (typeof optionsOrCb === "function") {
560
555
  this.send(command, optionsOrCb);
561
556
  }
562
557
  else if (typeof cb === "function") {
563
558
  if (typeof optionsOrCb !== "object")
564
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
559
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
565
560
  this.send(command, optionsOrCb || {}, cb);
566
561
  }
567
562
  else {
568
563
  return this.send(command, optionsOrCb);
569
564
  }
570
- };
571
- ServiceCatalog.prototype.describeProvisionedProductPlan = function (args, optionsOrCb, cb) {
572
- var command = new DescribeProvisionedProductPlanCommand(args);
565
+ }
566
+ describeProvisionedProductPlan(args, optionsOrCb, cb) {
567
+ const command = new DescribeProvisionedProductPlanCommand(args);
573
568
  if (typeof optionsOrCb === "function") {
574
569
  this.send(command, optionsOrCb);
575
570
  }
576
571
  else if (typeof cb === "function") {
577
572
  if (typeof optionsOrCb !== "object")
578
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
573
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
579
574
  this.send(command, optionsOrCb || {}, cb);
580
575
  }
581
576
  else {
582
577
  return this.send(command, optionsOrCb);
583
578
  }
584
- };
585
- ServiceCatalog.prototype.describeProvisioningArtifact = function (args, optionsOrCb, cb) {
586
- var command = new DescribeProvisioningArtifactCommand(args);
579
+ }
580
+ describeProvisioningArtifact(args, optionsOrCb, cb) {
581
+ const command = new DescribeProvisioningArtifactCommand(args);
587
582
  if (typeof optionsOrCb === "function") {
588
583
  this.send(command, optionsOrCb);
589
584
  }
590
585
  else if (typeof cb === "function") {
591
586
  if (typeof optionsOrCb !== "object")
592
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
587
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
593
588
  this.send(command, optionsOrCb || {}, cb);
594
589
  }
595
590
  else {
596
591
  return this.send(command, optionsOrCb);
597
592
  }
598
- };
599
- ServiceCatalog.prototype.describeProvisioningParameters = function (args, optionsOrCb, cb) {
600
- var command = new DescribeProvisioningParametersCommand(args);
593
+ }
594
+ describeProvisioningParameters(args, optionsOrCb, cb) {
595
+ const command = new DescribeProvisioningParametersCommand(args);
601
596
  if (typeof optionsOrCb === "function") {
602
597
  this.send(command, optionsOrCb);
603
598
  }
604
599
  else if (typeof cb === "function") {
605
600
  if (typeof optionsOrCb !== "object")
606
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
601
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
607
602
  this.send(command, optionsOrCb || {}, cb);
608
603
  }
609
604
  else {
610
605
  return this.send(command, optionsOrCb);
611
606
  }
612
- };
613
- ServiceCatalog.prototype.describeRecord = function (args, optionsOrCb, cb) {
614
- var command = new DescribeRecordCommand(args);
607
+ }
608
+ describeRecord(args, optionsOrCb, cb) {
609
+ const command = new DescribeRecordCommand(args);
615
610
  if (typeof optionsOrCb === "function") {
616
611
  this.send(command, optionsOrCb);
617
612
  }
618
613
  else if (typeof cb === "function") {
619
614
  if (typeof optionsOrCb !== "object")
620
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
615
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
621
616
  this.send(command, optionsOrCb || {}, cb);
622
617
  }
623
618
  else {
624
619
  return this.send(command, optionsOrCb);
625
620
  }
626
- };
627
- ServiceCatalog.prototype.describeServiceAction = function (args, optionsOrCb, cb) {
628
- var command = new DescribeServiceActionCommand(args);
621
+ }
622
+ describeServiceAction(args, optionsOrCb, cb) {
623
+ const command = new DescribeServiceActionCommand(args);
629
624
  if (typeof optionsOrCb === "function") {
630
625
  this.send(command, optionsOrCb);
631
626
  }
632
627
  else if (typeof cb === "function") {
633
628
  if (typeof optionsOrCb !== "object")
634
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
629
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
635
630
  this.send(command, optionsOrCb || {}, cb);
636
631
  }
637
632
  else {
638
633
  return this.send(command, optionsOrCb);
639
634
  }
640
- };
641
- ServiceCatalog.prototype.describeServiceActionExecutionParameters = function (args, optionsOrCb, cb) {
642
- var command = new DescribeServiceActionExecutionParametersCommand(args);
635
+ }
636
+ describeServiceActionExecutionParameters(args, optionsOrCb, cb) {
637
+ const command = new DescribeServiceActionExecutionParametersCommand(args);
643
638
  if (typeof optionsOrCb === "function") {
644
639
  this.send(command, optionsOrCb);
645
640
  }
646
641
  else if (typeof cb === "function") {
647
642
  if (typeof optionsOrCb !== "object")
648
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
643
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
649
644
  this.send(command, optionsOrCb || {}, cb);
650
645
  }
651
646
  else {
652
647
  return this.send(command, optionsOrCb);
653
648
  }
654
- };
655
- ServiceCatalog.prototype.describeTagOption = function (args, optionsOrCb, cb) {
656
- var command = new DescribeTagOptionCommand(args);
649
+ }
650
+ describeTagOption(args, optionsOrCb, cb) {
651
+ const command = new DescribeTagOptionCommand(args);
657
652
  if (typeof optionsOrCb === "function") {
658
653
  this.send(command, optionsOrCb);
659
654
  }
660
655
  else if (typeof cb === "function") {
661
656
  if (typeof optionsOrCb !== "object")
662
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
657
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
663
658
  this.send(command, optionsOrCb || {}, cb);
664
659
  }
665
660
  else {
666
661
  return this.send(command, optionsOrCb);
667
662
  }
668
- };
669
- ServiceCatalog.prototype.disableAWSOrganizationsAccess = function (args, optionsOrCb, cb) {
670
- var command = new DisableAWSOrganizationsAccessCommand(args);
663
+ }
664
+ disableAWSOrganizationsAccess(args, optionsOrCb, cb) {
665
+ const command = new DisableAWSOrganizationsAccessCommand(args);
671
666
  if (typeof optionsOrCb === "function") {
672
667
  this.send(command, optionsOrCb);
673
668
  }
674
669
  else if (typeof cb === "function") {
675
670
  if (typeof optionsOrCb !== "object")
676
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
671
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
677
672
  this.send(command, optionsOrCb || {}, cb);
678
673
  }
679
674
  else {
680
675
  return this.send(command, optionsOrCb);
681
676
  }
682
- };
683
- ServiceCatalog.prototype.disassociateBudgetFromResource = function (args, optionsOrCb, cb) {
684
- var command = new DisassociateBudgetFromResourceCommand(args);
677
+ }
678
+ disassociateBudgetFromResource(args, optionsOrCb, cb) {
679
+ const command = new DisassociateBudgetFromResourceCommand(args);
685
680
  if (typeof optionsOrCb === "function") {
686
681
  this.send(command, optionsOrCb);
687
682
  }
688
683
  else if (typeof cb === "function") {
689
684
  if (typeof optionsOrCb !== "object")
690
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
685
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
691
686
  this.send(command, optionsOrCb || {}, cb);
692
687
  }
693
688
  else {
694
689
  return this.send(command, optionsOrCb);
695
690
  }
696
- };
697
- ServiceCatalog.prototype.disassociatePrincipalFromPortfolio = function (args, optionsOrCb, cb) {
698
- var command = new DisassociatePrincipalFromPortfolioCommand(args);
691
+ }
692
+ disassociatePrincipalFromPortfolio(args, optionsOrCb, cb) {
693
+ const command = new DisassociatePrincipalFromPortfolioCommand(args);
699
694
  if (typeof optionsOrCb === "function") {
700
695
  this.send(command, optionsOrCb);
701
696
  }
702
697
  else if (typeof cb === "function") {
703
698
  if (typeof optionsOrCb !== "object")
704
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
699
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
705
700
  this.send(command, optionsOrCb || {}, cb);
706
701
  }
707
702
  else {
708
703
  return this.send(command, optionsOrCb);
709
704
  }
710
- };
711
- ServiceCatalog.prototype.disassociateProductFromPortfolio = function (args, optionsOrCb, cb) {
712
- var command = new DisassociateProductFromPortfolioCommand(args);
705
+ }
706
+ disassociateProductFromPortfolio(args, optionsOrCb, cb) {
707
+ const command = new DisassociateProductFromPortfolioCommand(args);
713
708
  if (typeof optionsOrCb === "function") {
714
709
  this.send(command, optionsOrCb);
715
710
  }
716
711
  else if (typeof cb === "function") {
717
712
  if (typeof optionsOrCb !== "object")
718
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
713
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
719
714
  this.send(command, optionsOrCb || {}, cb);
720
715
  }
721
716
  else {
722
717
  return this.send(command, optionsOrCb);
723
718
  }
724
- };
725
- ServiceCatalog.prototype.disassociateServiceActionFromProvisioningArtifact = function (args, optionsOrCb, cb) {
726
- var command = new DisassociateServiceActionFromProvisioningArtifactCommand(args);
719
+ }
720
+ disassociateServiceActionFromProvisioningArtifact(args, optionsOrCb, cb) {
721
+ const command = new DisassociateServiceActionFromProvisioningArtifactCommand(args);
727
722
  if (typeof optionsOrCb === "function") {
728
723
  this.send(command, optionsOrCb);
729
724
  }
730
725
  else if (typeof cb === "function") {
731
726
  if (typeof optionsOrCb !== "object")
732
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
727
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
733
728
  this.send(command, optionsOrCb || {}, cb);
734
729
  }
735
730
  else {
736
731
  return this.send(command, optionsOrCb);
737
732
  }
738
- };
739
- ServiceCatalog.prototype.disassociateTagOptionFromResource = function (args, optionsOrCb, cb) {
740
- var command = new DisassociateTagOptionFromResourceCommand(args);
733
+ }
734
+ disassociateTagOptionFromResource(args, optionsOrCb, cb) {
735
+ const command = new DisassociateTagOptionFromResourceCommand(args);
741
736
  if (typeof optionsOrCb === "function") {
742
737
  this.send(command, optionsOrCb);
743
738
  }
744
739
  else if (typeof cb === "function") {
745
740
  if (typeof optionsOrCb !== "object")
746
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
741
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
747
742
  this.send(command, optionsOrCb || {}, cb);
748
743
  }
749
744
  else {
750
745
  return this.send(command, optionsOrCb);
751
746
  }
752
- };
753
- ServiceCatalog.prototype.enableAWSOrganizationsAccess = function (args, optionsOrCb, cb) {
754
- var command = new EnableAWSOrganizationsAccessCommand(args);
747
+ }
748
+ enableAWSOrganizationsAccess(args, optionsOrCb, cb) {
749
+ const command = new EnableAWSOrganizationsAccessCommand(args);
755
750
  if (typeof optionsOrCb === "function") {
756
751
  this.send(command, optionsOrCb);
757
752
  }
758
753
  else if (typeof cb === "function") {
759
754
  if (typeof optionsOrCb !== "object")
760
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
755
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
761
756
  this.send(command, optionsOrCb || {}, cb);
762
757
  }
763
758
  else {
764
759
  return this.send(command, optionsOrCb);
765
760
  }
766
- };
767
- ServiceCatalog.prototype.executeProvisionedProductPlan = function (args, optionsOrCb, cb) {
768
- var command = new ExecuteProvisionedProductPlanCommand(args);
761
+ }
762
+ executeProvisionedProductPlan(args, optionsOrCb, cb) {
763
+ const command = new ExecuteProvisionedProductPlanCommand(args);
769
764
  if (typeof optionsOrCb === "function") {
770
765
  this.send(command, optionsOrCb);
771
766
  }
772
767
  else if (typeof cb === "function") {
773
768
  if (typeof optionsOrCb !== "object")
774
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
769
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
775
770
  this.send(command, optionsOrCb || {}, cb);
776
771
  }
777
772
  else {
778
773
  return this.send(command, optionsOrCb);
779
774
  }
780
- };
781
- ServiceCatalog.prototype.executeProvisionedProductServiceAction = function (args, optionsOrCb, cb) {
782
- var command = new ExecuteProvisionedProductServiceActionCommand(args);
775
+ }
776
+ executeProvisionedProductServiceAction(args, optionsOrCb, cb) {
777
+ const command = new ExecuteProvisionedProductServiceActionCommand(args);
783
778
  if (typeof optionsOrCb === "function") {
784
779
  this.send(command, optionsOrCb);
785
780
  }
786
781
  else if (typeof cb === "function") {
787
782
  if (typeof optionsOrCb !== "object")
788
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
783
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
789
784
  this.send(command, optionsOrCb || {}, cb);
790
785
  }
791
786
  else {
792
787
  return this.send(command, optionsOrCb);
793
788
  }
794
- };
795
- ServiceCatalog.prototype.getAWSOrganizationsAccessStatus = function (args, optionsOrCb, cb) {
796
- var command = new GetAWSOrganizationsAccessStatusCommand(args);
789
+ }
790
+ getAWSOrganizationsAccessStatus(args, optionsOrCb, cb) {
791
+ const command = new GetAWSOrganizationsAccessStatusCommand(args);
797
792
  if (typeof optionsOrCb === "function") {
798
793
  this.send(command, optionsOrCb);
799
794
  }
800
795
  else if (typeof cb === "function") {
801
796
  if (typeof optionsOrCb !== "object")
802
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
797
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
803
798
  this.send(command, optionsOrCb || {}, cb);
804
799
  }
805
800
  else {
806
801
  return this.send(command, optionsOrCb);
807
802
  }
808
- };
809
- ServiceCatalog.prototype.getProvisionedProductOutputs = function (args, optionsOrCb, cb) {
810
- var command = new GetProvisionedProductOutputsCommand(args);
803
+ }
804
+ getProvisionedProductOutputs(args, optionsOrCb, cb) {
805
+ const command = new GetProvisionedProductOutputsCommand(args);
811
806
  if (typeof optionsOrCb === "function") {
812
807
  this.send(command, optionsOrCb);
813
808
  }
814
809
  else if (typeof cb === "function") {
815
810
  if (typeof optionsOrCb !== "object")
816
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
811
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
817
812
  this.send(command, optionsOrCb || {}, cb);
818
813
  }
819
814
  else {
820
815
  return this.send(command, optionsOrCb);
821
816
  }
822
- };
823
- ServiceCatalog.prototype.importAsProvisionedProduct = function (args, optionsOrCb, cb) {
824
- var command = new ImportAsProvisionedProductCommand(args);
817
+ }
818
+ importAsProvisionedProduct(args, optionsOrCb, cb) {
819
+ const command = new ImportAsProvisionedProductCommand(args);
825
820
  if (typeof optionsOrCb === "function") {
826
821
  this.send(command, optionsOrCb);
827
822
  }
828
823
  else if (typeof cb === "function") {
829
824
  if (typeof optionsOrCb !== "object")
830
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
825
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
831
826
  this.send(command, optionsOrCb || {}, cb);
832
827
  }
833
828
  else {
834
829
  return this.send(command, optionsOrCb);
835
830
  }
836
- };
837
- ServiceCatalog.prototype.listAcceptedPortfolioShares = function (args, optionsOrCb, cb) {
838
- var command = new ListAcceptedPortfolioSharesCommand(args);
831
+ }
832
+ listAcceptedPortfolioShares(args, optionsOrCb, cb) {
833
+ const command = new ListAcceptedPortfolioSharesCommand(args);
839
834
  if (typeof optionsOrCb === "function") {
840
835
  this.send(command, optionsOrCb);
841
836
  }
842
837
  else if (typeof cb === "function") {
843
838
  if (typeof optionsOrCb !== "object")
844
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
839
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
845
840
  this.send(command, optionsOrCb || {}, cb);
846
841
  }
847
842
  else {
848
843
  return this.send(command, optionsOrCb);
849
844
  }
850
- };
851
- ServiceCatalog.prototype.listBudgetsForResource = function (args, optionsOrCb, cb) {
852
- var command = new ListBudgetsForResourceCommand(args);
845
+ }
846
+ listBudgetsForResource(args, optionsOrCb, cb) {
847
+ const command = new ListBudgetsForResourceCommand(args);
853
848
  if (typeof optionsOrCb === "function") {
854
849
  this.send(command, optionsOrCb);
855
850
  }
856
851
  else if (typeof cb === "function") {
857
852
  if (typeof optionsOrCb !== "object")
858
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
853
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
859
854
  this.send(command, optionsOrCb || {}, cb);
860
855
  }
861
856
  else {
862
857
  return this.send(command, optionsOrCb);
863
858
  }
864
- };
865
- ServiceCatalog.prototype.listConstraintsForPortfolio = function (args, optionsOrCb, cb) {
866
- var command = new ListConstraintsForPortfolioCommand(args);
859
+ }
860
+ listConstraintsForPortfolio(args, optionsOrCb, cb) {
861
+ const command = new ListConstraintsForPortfolioCommand(args);
867
862
  if (typeof optionsOrCb === "function") {
868
863
  this.send(command, optionsOrCb);
869
864
  }
870
865
  else if (typeof cb === "function") {
871
866
  if (typeof optionsOrCb !== "object")
872
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
867
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
873
868
  this.send(command, optionsOrCb || {}, cb);
874
869
  }
875
870
  else {
876
871
  return this.send(command, optionsOrCb);
877
872
  }
878
- };
879
- ServiceCatalog.prototype.listLaunchPaths = function (args, optionsOrCb, cb) {
880
- var command = new ListLaunchPathsCommand(args);
873
+ }
874
+ listLaunchPaths(args, optionsOrCb, cb) {
875
+ const command = new ListLaunchPathsCommand(args);
881
876
  if (typeof optionsOrCb === "function") {
882
877
  this.send(command, optionsOrCb);
883
878
  }
884
879
  else if (typeof cb === "function") {
885
880
  if (typeof optionsOrCb !== "object")
886
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
881
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
887
882
  this.send(command, optionsOrCb || {}, cb);
888
883
  }
889
884
  else {
890
885
  return this.send(command, optionsOrCb);
891
886
  }
892
- };
893
- ServiceCatalog.prototype.listOrganizationPortfolioAccess = function (args, optionsOrCb, cb) {
894
- var command = new ListOrganizationPortfolioAccessCommand(args);
887
+ }
888
+ listOrganizationPortfolioAccess(args, optionsOrCb, cb) {
889
+ const command = new ListOrganizationPortfolioAccessCommand(args);
895
890
  if (typeof optionsOrCb === "function") {
896
891
  this.send(command, optionsOrCb);
897
892
  }
898
893
  else if (typeof cb === "function") {
899
894
  if (typeof optionsOrCb !== "object")
900
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
895
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
901
896
  this.send(command, optionsOrCb || {}, cb);
902
897
  }
903
898
  else {
904
899
  return this.send(command, optionsOrCb);
905
900
  }
906
- };
907
- ServiceCatalog.prototype.listPortfolioAccess = function (args, optionsOrCb, cb) {
908
- var command = new ListPortfolioAccessCommand(args);
901
+ }
902
+ listPortfolioAccess(args, optionsOrCb, cb) {
903
+ const command = new ListPortfolioAccessCommand(args);
909
904
  if (typeof optionsOrCb === "function") {
910
905
  this.send(command, optionsOrCb);
911
906
  }
912
907
  else if (typeof cb === "function") {
913
908
  if (typeof optionsOrCb !== "object")
914
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
909
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
915
910
  this.send(command, optionsOrCb || {}, cb);
916
911
  }
917
912
  else {
918
913
  return this.send(command, optionsOrCb);
919
914
  }
920
- };
921
- ServiceCatalog.prototype.listPortfolios = function (args, optionsOrCb, cb) {
922
- var command = new ListPortfoliosCommand(args);
915
+ }
916
+ listPortfolios(args, optionsOrCb, cb) {
917
+ const command = new ListPortfoliosCommand(args);
923
918
  if (typeof optionsOrCb === "function") {
924
919
  this.send(command, optionsOrCb);
925
920
  }
926
921
  else if (typeof cb === "function") {
927
922
  if (typeof optionsOrCb !== "object")
928
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
923
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
929
924
  this.send(command, optionsOrCb || {}, cb);
930
925
  }
931
926
  else {
932
927
  return this.send(command, optionsOrCb);
933
928
  }
934
- };
935
- ServiceCatalog.prototype.listPortfoliosForProduct = function (args, optionsOrCb, cb) {
936
- var command = new ListPortfoliosForProductCommand(args);
929
+ }
930
+ listPortfoliosForProduct(args, optionsOrCb, cb) {
931
+ const command = new ListPortfoliosForProductCommand(args);
937
932
  if (typeof optionsOrCb === "function") {
938
933
  this.send(command, optionsOrCb);
939
934
  }
940
935
  else if (typeof cb === "function") {
941
936
  if (typeof optionsOrCb !== "object")
942
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
937
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
943
938
  this.send(command, optionsOrCb || {}, cb);
944
939
  }
945
940
  else {
946
941
  return this.send(command, optionsOrCb);
947
942
  }
948
- };
949
- ServiceCatalog.prototype.listPrincipalsForPortfolio = function (args, optionsOrCb, cb) {
950
- var command = new ListPrincipalsForPortfolioCommand(args);
943
+ }
944
+ listPrincipalsForPortfolio(args, optionsOrCb, cb) {
945
+ const command = new ListPrincipalsForPortfolioCommand(args);
951
946
  if (typeof optionsOrCb === "function") {
952
947
  this.send(command, optionsOrCb);
953
948
  }
954
949
  else if (typeof cb === "function") {
955
950
  if (typeof optionsOrCb !== "object")
956
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
951
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
957
952
  this.send(command, optionsOrCb || {}, cb);
958
953
  }
959
954
  else {
960
955
  return this.send(command, optionsOrCb);
961
956
  }
962
- };
963
- ServiceCatalog.prototype.listProvisionedProductPlans = function (args, optionsOrCb, cb) {
964
- var command = new ListProvisionedProductPlansCommand(args);
957
+ }
958
+ listProvisionedProductPlans(args, optionsOrCb, cb) {
959
+ const command = new ListProvisionedProductPlansCommand(args);
965
960
  if (typeof optionsOrCb === "function") {
966
961
  this.send(command, optionsOrCb);
967
962
  }
968
963
  else if (typeof cb === "function") {
969
964
  if (typeof optionsOrCb !== "object")
970
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
965
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
971
966
  this.send(command, optionsOrCb || {}, cb);
972
967
  }
973
968
  else {
974
969
  return this.send(command, optionsOrCb);
975
970
  }
976
- };
977
- ServiceCatalog.prototype.listProvisioningArtifacts = function (args, optionsOrCb, cb) {
978
- var command = new ListProvisioningArtifactsCommand(args);
971
+ }
972
+ listProvisioningArtifacts(args, optionsOrCb, cb) {
973
+ const command = new ListProvisioningArtifactsCommand(args);
979
974
  if (typeof optionsOrCb === "function") {
980
975
  this.send(command, optionsOrCb);
981
976
  }
982
977
  else if (typeof cb === "function") {
983
978
  if (typeof optionsOrCb !== "object")
984
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
979
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
985
980
  this.send(command, optionsOrCb || {}, cb);
986
981
  }
987
982
  else {
988
983
  return this.send(command, optionsOrCb);
989
984
  }
990
- };
991
- ServiceCatalog.prototype.listProvisioningArtifactsForServiceAction = function (args, optionsOrCb, cb) {
992
- var command = new ListProvisioningArtifactsForServiceActionCommand(args);
985
+ }
986
+ listProvisioningArtifactsForServiceAction(args, optionsOrCb, cb) {
987
+ const command = new ListProvisioningArtifactsForServiceActionCommand(args);
993
988
  if (typeof optionsOrCb === "function") {
994
989
  this.send(command, optionsOrCb);
995
990
  }
996
991
  else if (typeof cb === "function") {
997
992
  if (typeof optionsOrCb !== "object")
998
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
993
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
999
994
  this.send(command, optionsOrCb || {}, cb);
1000
995
  }
1001
996
  else {
1002
997
  return this.send(command, optionsOrCb);
1003
998
  }
1004
- };
1005
- ServiceCatalog.prototype.listRecordHistory = function (args, optionsOrCb, cb) {
1006
- var command = new ListRecordHistoryCommand(args);
999
+ }
1000
+ listRecordHistory(args, optionsOrCb, cb) {
1001
+ const command = new ListRecordHistoryCommand(args);
1007
1002
  if (typeof optionsOrCb === "function") {
1008
1003
  this.send(command, optionsOrCb);
1009
1004
  }
1010
1005
  else if (typeof cb === "function") {
1011
1006
  if (typeof optionsOrCb !== "object")
1012
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1007
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1013
1008
  this.send(command, optionsOrCb || {}, cb);
1014
1009
  }
1015
1010
  else {
1016
1011
  return this.send(command, optionsOrCb);
1017
1012
  }
1018
- };
1019
- ServiceCatalog.prototype.listResourcesForTagOption = function (args, optionsOrCb, cb) {
1020
- var command = new ListResourcesForTagOptionCommand(args);
1013
+ }
1014
+ listResourcesForTagOption(args, optionsOrCb, cb) {
1015
+ const command = new ListResourcesForTagOptionCommand(args);
1021
1016
  if (typeof optionsOrCb === "function") {
1022
1017
  this.send(command, optionsOrCb);
1023
1018
  }
1024
1019
  else if (typeof cb === "function") {
1025
1020
  if (typeof optionsOrCb !== "object")
1026
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1021
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1027
1022
  this.send(command, optionsOrCb || {}, cb);
1028
1023
  }
1029
1024
  else {
1030
1025
  return this.send(command, optionsOrCb);
1031
1026
  }
1032
- };
1033
- ServiceCatalog.prototype.listServiceActions = function (args, optionsOrCb, cb) {
1034
- var command = new ListServiceActionsCommand(args);
1027
+ }
1028
+ listServiceActions(args, optionsOrCb, cb) {
1029
+ const command = new ListServiceActionsCommand(args);
1035
1030
  if (typeof optionsOrCb === "function") {
1036
1031
  this.send(command, optionsOrCb);
1037
1032
  }
1038
1033
  else if (typeof cb === "function") {
1039
1034
  if (typeof optionsOrCb !== "object")
1040
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1035
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1041
1036
  this.send(command, optionsOrCb || {}, cb);
1042
1037
  }
1043
1038
  else {
1044
1039
  return this.send(command, optionsOrCb);
1045
1040
  }
1046
- };
1047
- ServiceCatalog.prototype.listServiceActionsForProvisioningArtifact = function (args, optionsOrCb, cb) {
1048
- var command = new ListServiceActionsForProvisioningArtifactCommand(args);
1041
+ }
1042
+ listServiceActionsForProvisioningArtifact(args, optionsOrCb, cb) {
1043
+ const command = new ListServiceActionsForProvisioningArtifactCommand(args);
1049
1044
  if (typeof optionsOrCb === "function") {
1050
1045
  this.send(command, optionsOrCb);
1051
1046
  }
1052
1047
  else if (typeof cb === "function") {
1053
1048
  if (typeof optionsOrCb !== "object")
1054
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1049
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1055
1050
  this.send(command, optionsOrCb || {}, cb);
1056
1051
  }
1057
1052
  else {
1058
1053
  return this.send(command, optionsOrCb);
1059
1054
  }
1060
- };
1061
- ServiceCatalog.prototype.listStackInstancesForProvisionedProduct = function (args, optionsOrCb, cb) {
1062
- var command = new ListStackInstancesForProvisionedProductCommand(args);
1055
+ }
1056
+ listStackInstancesForProvisionedProduct(args, optionsOrCb, cb) {
1057
+ const command = new ListStackInstancesForProvisionedProductCommand(args);
1063
1058
  if (typeof optionsOrCb === "function") {
1064
1059
  this.send(command, optionsOrCb);
1065
1060
  }
1066
1061
  else if (typeof cb === "function") {
1067
1062
  if (typeof optionsOrCb !== "object")
1068
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1063
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1069
1064
  this.send(command, optionsOrCb || {}, cb);
1070
1065
  }
1071
1066
  else {
1072
1067
  return this.send(command, optionsOrCb);
1073
1068
  }
1074
- };
1075
- ServiceCatalog.prototype.listTagOptions = function (args, optionsOrCb, cb) {
1076
- var command = new ListTagOptionsCommand(args);
1069
+ }
1070
+ listTagOptions(args, optionsOrCb, cb) {
1071
+ const command = new ListTagOptionsCommand(args);
1077
1072
  if (typeof optionsOrCb === "function") {
1078
1073
  this.send(command, optionsOrCb);
1079
1074
  }
1080
1075
  else if (typeof cb === "function") {
1081
1076
  if (typeof optionsOrCb !== "object")
1082
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1077
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1083
1078
  this.send(command, optionsOrCb || {}, cb);
1084
1079
  }
1085
1080
  else {
1086
1081
  return this.send(command, optionsOrCb);
1087
1082
  }
1088
- };
1089
- ServiceCatalog.prototype.provisionProduct = function (args, optionsOrCb, cb) {
1090
- var command = new ProvisionProductCommand(args);
1083
+ }
1084
+ provisionProduct(args, optionsOrCb, cb) {
1085
+ const command = new ProvisionProductCommand(args);
1091
1086
  if (typeof optionsOrCb === "function") {
1092
1087
  this.send(command, optionsOrCb);
1093
1088
  }
1094
1089
  else if (typeof cb === "function") {
1095
1090
  if (typeof optionsOrCb !== "object")
1096
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1091
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1097
1092
  this.send(command, optionsOrCb || {}, cb);
1098
1093
  }
1099
1094
  else {
1100
1095
  return this.send(command, optionsOrCb);
1101
1096
  }
1102
- };
1103
- ServiceCatalog.prototype.rejectPortfolioShare = function (args, optionsOrCb, cb) {
1104
- var command = new RejectPortfolioShareCommand(args);
1097
+ }
1098
+ rejectPortfolioShare(args, optionsOrCb, cb) {
1099
+ const command = new RejectPortfolioShareCommand(args);
1105
1100
  if (typeof optionsOrCb === "function") {
1106
1101
  this.send(command, optionsOrCb);
1107
1102
  }
1108
1103
  else if (typeof cb === "function") {
1109
1104
  if (typeof optionsOrCb !== "object")
1110
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1105
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1111
1106
  this.send(command, optionsOrCb || {}, cb);
1112
1107
  }
1113
1108
  else {
1114
1109
  return this.send(command, optionsOrCb);
1115
1110
  }
1116
- };
1117
- ServiceCatalog.prototype.scanProvisionedProducts = function (args, optionsOrCb, cb) {
1118
- var command = new ScanProvisionedProductsCommand(args);
1111
+ }
1112
+ scanProvisionedProducts(args, optionsOrCb, cb) {
1113
+ const command = new ScanProvisionedProductsCommand(args);
1119
1114
  if (typeof optionsOrCb === "function") {
1120
1115
  this.send(command, optionsOrCb);
1121
1116
  }
1122
1117
  else if (typeof cb === "function") {
1123
1118
  if (typeof optionsOrCb !== "object")
1124
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1119
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1125
1120
  this.send(command, optionsOrCb || {}, cb);
1126
1121
  }
1127
1122
  else {
1128
1123
  return this.send(command, optionsOrCb);
1129
1124
  }
1130
- };
1131
- ServiceCatalog.prototype.searchProducts = function (args, optionsOrCb, cb) {
1132
- var command = new SearchProductsCommand(args);
1125
+ }
1126
+ searchProducts(args, optionsOrCb, cb) {
1127
+ const command = new SearchProductsCommand(args);
1133
1128
  if (typeof optionsOrCb === "function") {
1134
1129
  this.send(command, optionsOrCb);
1135
1130
  }
1136
1131
  else if (typeof cb === "function") {
1137
1132
  if (typeof optionsOrCb !== "object")
1138
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1133
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1139
1134
  this.send(command, optionsOrCb || {}, cb);
1140
1135
  }
1141
1136
  else {
1142
1137
  return this.send(command, optionsOrCb);
1143
1138
  }
1144
- };
1145
- ServiceCatalog.prototype.searchProductsAsAdmin = function (args, optionsOrCb, cb) {
1146
- var command = new SearchProductsAsAdminCommand(args);
1139
+ }
1140
+ searchProductsAsAdmin(args, optionsOrCb, cb) {
1141
+ const command = new SearchProductsAsAdminCommand(args);
1147
1142
  if (typeof optionsOrCb === "function") {
1148
1143
  this.send(command, optionsOrCb);
1149
1144
  }
1150
1145
  else if (typeof cb === "function") {
1151
1146
  if (typeof optionsOrCb !== "object")
1152
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1147
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1153
1148
  this.send(command, optionsOrCb || {}, cb);
1154
1149
  }
1155
1150
  else {
1156
1151
  return this.send(command, optionsOrCb);
1157
1152
  }
1158
- };
1159
- ServiceCatalog.prototype.searchProvisionedProducts = function (args, optionsOrCb, cb) {
1160
- var command = new SearchProvisionedProductsCommand(args);
1153
+ }
1154
+ searchProvisionedProducts(args, optionsOrCb, cb) {
1155
+ const command = new SearchProvisionedProductsCommand(args);
1161
1156
  if (typeof optionsOrCb === "function") {
1162
1157
  this.send(command, optionsOrCb);
1163
1158
  }
1164
1159
  else if (typeof cb === "function") {
1165
1160
  if (typeof optionsOrCb !== "object")
1166
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1161
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1167
1162
  this.send(command, optionsOrCb || {}, cb);
1168
1163
  }
1169
1164
  else {
1170
1165
  return this.send(command, optionsOrCb);
1171
1166
  }
1172
- };
1173
- ServiceCatalog.prototype.terminateProvisionedProduct = function (args, optionsOrCb, cb) {
1174
- var command = new TerminateProvisionedProductCommand(args);
1167
+ }
1168
+ terminateProvisionedProduct(args, optionsOrCb, cb) {
1169
+ const command = new TerminateProvisionedProductCommand(args);
1175
1170
  if (typeof optionsOrCb === "function") {
1176
1171
  this.send(command, optionsOrCb);
1177
1172
  }
1178
1173
  else if (typeof cb === "function") {
1179
1174
  if (typeof optionsOrCb !== "object")
1180
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1175
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1181
1176
  this.send(command, optionsOrCb || {}, cb);
1182
1177
  }
1183
1178
  else {
1184
1179
  return this.send(command, optionsOrCb);
1185
1180
  }
1186
- };
1187
- ServiceCatalog.prototype.updateConstraint = function (args, optionsOrCb, cb) {
1188
- var command = new UpdateConstraintCommand(args);
1181
+ }
1182
+ updateConstraint(args, optionsOrCb, cb) {
1183
+ const command = new UpdateConstraintCommand(args);
1189
1184
  if (typeof optionsOrCb === "function") {
1190
1185
  this.send(command, optionsOrCb);
1191
1186
  }
1192
1187
  else if (typeof cb === "function") {
1193
1188
  if (typeof optionsOrCb !== "object")
1194
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1189
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1195
1190
  this.send(command, optionsOrCb || {}, cb);
1196
1191
  }
1197
1192
  else {
1198
1193
  return this.send(command, optionsOrCb);
1199
1194
  }
1200
- };
1201
- ServiceCatalog.prototype.updatePortfolio = function (args, optionsOrCb, cb) {
1202
- var command = new UpdatePortfolioCommand(args);
1195
+ }
1196
+ updatePortfolio(args, optionsOrCb, cb) {
1197
+ const command = new UpdatePortfolioCommand(args);
1203
1198
  if (typeof optionsOrCb === "function") {
1204
1199
  this.send(command, optionsOrCb);
1205
1200
  }
1206
1201
  else if (typeof cb === "function") {
1207
1202
  if (typeof optionsOrCb !== "object")
1208
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1203
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1209
1204
  this.send(command, optionsOrCb || {}, cb);
1210
1205
  }
1211
1206
  else {
1212
1207
  return this.send(command, optionsOrCb);
1213
1208
  }
1214
- };
1215
- ServiceCatalog.prototype.updatePortfolioShare = function (args, optionsOrCb, cb) {
1216
- var command = new UpdatePortfolioShareCommand(args);
1209
+ }
1210
+ updatePortfolioShare(args, optionsOrCb, cb) {
1211
+ const command = new UpdatePortfolioShareCommand(args);
1217
1212
  if (typeof optionsOrCb === "function") {
1218
1213
  this.send(command, optionsOrCb);
1219
1214
  }
1220
1215
  else if (typeof cb === "function") {
1221
1216
  if (typeof optionsOrCb !== "object")
1222
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1217
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1223
1218
  this.send(command, optionsOrCb || {}, cb);
1224
1219
  }
1225
1220
  else {
1226
1221
  return this.send(command, optionsOrCb);
1227
1222
  }
1228
- };
1229
- ServiceCatalog.prototype.updateProduct = function (args, optionsOrCb, cb) {
1230
- var command = new UpdateProductCommand(args);
1223
+ }
1224
+ updateProduct(args, optionsOrCb, cb) {
1225
+ const command = new UpdateProductCommand(args);
1231
1226
  if (typeof optionsOrCb === "function") {
1232
1227
  this.send(command, optionsOrCb);
1233
1228
  }
1234
1229
  else if (typeof cb === "function") {
1235
1230
  if (typeof optionsOrCb !== "object")
1236
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1231
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1237
1232
  this.send(command, optionsOrCb || {}, cb);
1238
1233
  }
1239
1234
  else {
1240
1235
  return this.send(command, optionsOrCb);
1241
1236
  }
1242
- };
1243
- ServiceCatalog.prototype.updateProvisionedProduct = function (args, optionsOrCb, cb) {
1244
- var command = new UpdateProvisionedProductCommand(args);
1237
+ }
1238
+ updateProvisionedProduct(args, optionsOrCb, cb) {
1239
+ const command = new UpdateProvisionedProductCommand(args);
1245
1240
  if (typeof optionsOrCb === "function") {
1246
1241
  this.send(command, optionsOrCb);
1247
1242
  }
1248
1243
  else if (typeof cb === "function") {
1249
1244
  if (typeof optionsOrCb !== "object")
1250
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1245
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1251
1246
  this.send(command, optionsOrCb || {}, cb);
1252
1247
  }
1253
1248
  else {
1254
1249
  return this.send(command, optionsOrCb);
1255
1250
  }
1256
- };
1257
- ServiceCatalog.prototype.updateProvisionedProductProperties = function (args, optionsOrCb, cb) {
1258
- var command = new UpdateProvisionedProductPropertiesCommand(args);
1251
+ }
1252
+ updateProvisionedProductProperties(args, optionsOrCb, cb) {
1253
+ const command = new UpdateProvisionedProductPropertiesCommand(args);
1259
1254
  if (typeof optionsOrCb === "function") {
1260
1255
  this.send(command, optionsOrCb);
1261
1256
  }
1262
1257
  else if (typeof cb === "function") {
1263
1258
  if (typeof optionsOrCb !== "object")
1264
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1259
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1265
1260
  this.send(command, optionsOrCb || {}, cb);
1266
1261
  }
1267
1262
  else {
1268
1263
  return this.send(command, optionsOrCb);
1269
1264
  }
1270
- };
1271
- ServiceCatalog.prototype.updateProvisioningArtifact = function (args, optionsOrCb, cb) {
1272
- var command = new UpdateProvisioningArtifactCommand(args);
1265
+ }
1266
+ updateProvisioningArtifact(args, optionsOrCb, cb) {
1267
+ const command = new UpdateProvisioningArtifactCommand(args);
1273
1268
  if (typeof optionsOrCb === "function") {
1274
1269
  this.send(command, optionsOrCb);
1275
1270
  }
1276
1271
  else if (typeof cb === "function") {
1277
1272
  if (typeof optionsOrCb !== "object")
1278
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1273
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1279
1274
  this.send(command, optionsOrCb || {}, cb);
1280
1275
  }
1281
1276
  else {
1282
1277
  return this.send(command, optionsOrCb);
1283
1278
  }
1284
- };
1285
- ServiceCatalog.prototype.updateServiceAction = function (args, optionsOrCb, cb) {
1286
- var command = new UpdateServiceActionCommand(args);
1279
+ }
1280
+ updateServiceAction(args, optionsOrCb, cb) {
1281
+ const command = new UpdateServiceActionCommand(args);
1287
1282
  if (typeof optionsOrCb === "function") {
1288
1283
  this.send(command, optionsOrCb);
1289
1284
  }
1290
1285
  else if (typeof cb === "function") {
1291
1286
  if (typeof optionsOrCb !== "object")
1292
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1287
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1293
1288
  this.send(command, optionsOrCb || {}, cb);
1294
1289
  }
1295
1290
  else {
1296
1291
  return this.send(command, optionsOrCb);
1297
1292
  }
1298
- };
1299
- ServiceCatalog.prototype.updateTagOption = function (args, optionsOrCb, cb) {
1300
- var command = new UpdateTagOptionCommand(args);
1293
+ }
1294
+ updateTagOption(args, optionsOrCb, cb) {
1295
+ const command = new UpdateTagOptionCommand(args);
1301
1296
  if (typeof optionsOrCb === "function") {
1302
1297
  this.send(command, optionsOrCb);
1303
1298
  }
1304
1299
  else if (typeof cb === "function") {
1305
1300
  if (typeof optionsOrCb !== "object")
1306
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1301
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1307
1302
  this.send(command, optionsOrCb || {}, cb);
1308
1303
  }
1309
1304
  else {
1310
1305
  return this.send(command, optionsOrCb);
1311
1306
  }
1312
- };
1313
- return ServiceCatalog;
1314
- }(ServiceCatalogClient));
1315
- export { ServiceCatalog };
1307
+ }
1308
+ }