@aws-sdk/client-rtbfabric 3.1068.0 → 3.1070.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/dist-cjs/index.js CHANGED
@@ -1,18 +1,21 @@
1
- 'use strict';
2
-
3
- var client$1 = require('@aws-sdk/core/client');
4
- var core = require('@smithy/core');
5
- var client = require('@smithy/core/client');
6
- var config = require('@smithy/core/config');
7
- var endpoints = require('@smithy/core/endpoints');
8
- var protocols = require('@smithy/core/protocols');
9
- var retry = require('@smithy/core/retry');
10
- var schema = require('@smithy/core/schema');
11
- var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
12
- var runtimeConfig = require('./runtimeConfig');
13
- var schemas_0 = require('./schemas/schemas_0');
14
- var errors = require('./models/errors');
15
- var RTBFabricServiceException = require('./models/RTBFabricServiceException');
1
+ var __exportStar = (m, e) => { Object.assign(e, m); };
2
+ const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
+ const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
+ const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
5
+ exports.$Command = Command;
6
+ exports.__Client = Client;
7
+ const { resolveRegionConfig } = require("@smithy/core/config");
8
+ const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
+ const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
+ const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
+ const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
+ const { resolveHttpAuthSchemeConfig, defaultRTBFabricHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
+ const { getRuntimeConfig } = require("./runtimeConfig");
14
+ const { AcceptLink$, AssociateCertificate$, CreateInboundExternalLink$, CreateLink$, CreateLinkRoutingRule$, CreateOutboundExternalLink$, CreateRequesterGateway$, CreateResponderGateway$, DeleteInboundExternalLink$, DeleteLink$, DeleteLinkRoutingRule$, DeleteOutboundExternalLink$, DeleteRequesterGateway$, DeleteResponderGateway$, DisassociateCertificate$, GetCertificateAssociation$, GetInboundExternalLink$, GetLink$, GetLinkRoutingRule$, GetOutboundExternalLink$, GetRequesterGateway$, GetResponderGateway$, ListCertificateAssociations$, ListLinkRoutingRules$, ListLinks$, ListRequesterGateways$, ListResponderGateways$, ListTagsForResource$, RejectLink$, TagResource$, UntagResource$, UpdateLink$, UpdateLinkModuleFlow$, UpdateLinkRoutingRule$, UpdateRequesterGateway$, UpdateResponderGateway$ } = require("./schemas/schemas_0");
15
+ __exportStar(require("./schemas/schemas_0"), exports);
16
+ __exportStar(require("./models/errors"), exports);
17
+ const { RTBFabricServiceException } = require("./models/RTBFabricServiceException");
18
+ exports.RTBFabricServiceException = RTBFabricServiceException;
16
19
 
17
20
  const resolveClientEndpointParameters = (options) => {
18
21
  return Object.assign(options, {
@@ -68,499 +71,499 @@ const resolveHttpAuthRuntimeConfig = (config) => {
68
71
  };
69
72
 
70
73
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
71
- const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
74
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
72
75
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
73
- return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
74
77
  };
75
78
 
76
- class RTBFabricClient extends client.Client {
79
+ class RTBFabricClient extends Client {
77
80
  config;
78
81
  constructor(...[configuration]) {
79
- const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
82
+ const _config_0 = getRuntimeConfig(configuration || {});
80
83
  super(_config_0);
81
84
  this.initConfig = _config_0;
82
85
  const _config_1 = resolveClientEndpointParameters(_config_0);
83
- const _config_2 = client$1.resolveUserAgentConfig(_config_1);
84
- const _config_3 = retry.resolveRetryConfig(_config_2);
85
- const _config_4 = config.resolveRegionConfig(_config_3);
86
- const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
87
- const _config_6 = endpoints.resolveEndpointConfig(_config_5);
88
- const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
86
+ const _config_2 = resolveUserAgentConfig(_config_1);
87
+ const _config_3 = resolveRetryConfig(_config_2);
88
+ const _config_4 = resolveRegionConfig(_config_3);
89
+ const _config_5 = resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = resolveEndpointConfig(_config_5);
91
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
89
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
90
93
  this.config = _config_8;
91
- this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
92
- this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
93
- this.middlewareStack.use(retry.getRetryPlugin(this.config));
94
- this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
95
- this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
96
- this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
97
- this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
98
- this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
99
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultRTBFabricHttpAuthSchemeParametersProvider,
100
- identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
94
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
95
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
96
+ this.middlewareStack.use(getRetryPlugin(this.config));
97
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
98
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
99
+ this.middlewareStack.use(getLoggerPlugin(this.config));
100
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
101
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
102
+ httpAuthSchemeParametersProvider: defaultRTBFabricHttpAuthSchemeParametersProvider,
103
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
101
104
  "aws.auth#sigv4": config.credentials,
102
105
  }),
103
106
  }));
104
- this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
107
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
105
108
  }
106
109
  destroy() {
107
110
  super.destroy();
108
111
  }
109
112
  }
110
113
 
111
- class AcceptLinkCommand extends client.Command
114
+ class AcceptLinkCommand extends Command
112
115
  .classBuilder()
113
116
  .ep(commonParams)
114
117
  .m(function (Command, cs, config, o) {
115
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
118
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
116
119
  })
117
120
  .s("RTBFabric", "AcceptLink", {})
118
121
  .n("RTBFabricClient", "AcceptLinkCommand")
119
- .sc(schemas_0.AcceptLink$)
122
+ .sc(AcceptLink$)
120
123
  .build() {
121
124
  }
122
125
 
123
- class AssociateCertificateCommand extends client.Command
126
+ class AssociateCertificateCommand extends Command
124
127
  .classBuilder()
125
128
  .ep(commonParams)
126
129
  .m(function (Command, cs, config, o) {
127
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
130
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
128
131
  })
129
132
  .s("RTBFabric", "AssociateCertificate", {})
130
133
  .n("RTBFabricClient", "AssociateCertificateCommand")
131
- .sc(schemas_0.AssociateCertificate$)
134
+ .sc(AssociateCertificate$)
132
135
  .build() {
133
136
  }
134
137
 
135
- class CreateInboundExternalLinkCommand extends client.Command
138
+ class CreateInboundExternalLinkCommand extends Command
136
139
  .classBuilder()
137
140
  .ep(commonParams)
138
141
  .m(function (Command, cs, config, o) {
139
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
142
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
140
143
  })
141
144
  .s("RTBFabric", "CreateInboundExternalLink", {})
142
145
  .n("RTBFabricClient", "CreateInboundExternalLinkCommand")
143
- .sc(schemas_0.CreateInboundExternalLink$)
146
+ .sc(CreateInboundExternalLink$)
144
147
  .build() {
145
148
  }
146
149
 
147
- class CreateLinkCommand extends client.Command
150
+ class CreateLinkCommand extends Command
148
151
  .classBuilder()
149
152
  .ep(commonParams)
150
153
  .m(function (Command, cs, config, o) {
151
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
154
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
152
155
  })
153
156
  .s("RTBFabric", "CreateLink", {})
154
157
  .n("RTBFabricClient", "CreateLinkCommand")
155
- .sc(schemas_0.CreateLink$)
158
+ .sc(CreateLink$)
156
159
  .build() {
157
160
  }
158
161
 
159
- class CreateLinkRoutingRuleCommand extends client.Command
162
+ class CreateLinkRoutingRuleCommand extends Command
160
163
  .classBuilder()
161
164
  .ep(commonParams)
162
165
  .m(function (Command, cs, config, o) {
163
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
166
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
164
167
  })
165
168
  .s("RTBFabric", "CreateLinkRoutingRule", {})
166
169
  .n("RTBFabricClient", "CreateLinkRoutingRuleCommand")
167
- .sc(schemas_0.CreateLinkRoutingRule$)
170
+ .sc(CreateLinkRoutingRule$)
168
171
  .build() {
169
172
  }
170
173
 
171
- class CreateOutboundExternalLinkCommand extends client.Command
174
+ class CreateOutboundExternalLinkCommand extends Command
172
175
  .classBuilder()
173
176
  .ep(commonParams)
174
177
  .m(function (Command, cs, config, o) {
175
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
178
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
176
179
  })
177
180
  .s("RTBFabric", "CreateOutboundExternalLink", {})
178
181
  .n("RTBFabricClient", "CreateOutboundExternalLinkCommand")
179
- .sc(schemas_0.CreateOutboundExternalLink$)
182
+ .sc(CreateOutboundExternalLink$)
180
183
  .build() {
181
184
  }
182
185
 
183
- class CreateRequesterGatewayCommand extends client.Command
186
+ class CreateRequesterGatewayCommand extends Command
184
187
  .classBuilder()
185
188
  .ep(commonParams)
186
189
  .m(function (Command, cs, config, o) {
187
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
190
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
188
191
  })
189
192
  .s("RTBFabric", "CreateRequesterGateway", {})
190
193
  .n("RTBFabricClient", "CreateRequesterGatewayCommand")
191
- .sc(schemas_0.CreateRequesterGateway$)
194
+ .sc(CreateRequesterGateway$)
192
195
  .build() {
193
196
  }
194
197
 
195
- class CreateResponderGatewayCommand extends client.Command
198
+ class CreateResponderGatewayCommand extends Command
196
199
  .classBuilder()
197
200
  .ep(commonParams)
198
201
  .m(function (Command, cs, config, o) {
199
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
202
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
200
203
  })
201
204
  .s("RTBFabric", "CreateResponderGateway", {})
202
205
  .n("RTBFabricClient", "CreateResponderGatewayCommand")
203
- .sc(schemas_0.CreateResponderGateway$)
206
+ .sc(CreateResponderGateway$)
204
207
  .build() {
205
208
  }
206
209
 
207
- class DeleteInboundExternalLinkCommand extends client.Command
210
+ class DeleteInboundExternalLinkCommand extends Command
208
211
  .classBuilder()
209
212
  .ep(commonParams)
210
213
  .m(function (Command, cs, config, o) {
211
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
214
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
212
215
  })
213
216
  .s("RTBFabric", "DeleteInboundExternalLink", {})
214
217
  .n("RTBFabricClient", "DeleteInboundExternalLinkCommand")
215
- .sc(schemas_0.DeleteInboundExternalLink$)
218
+ .sc(DeleteInboundExternalLink$)
216
219
  .build() {
217
220
  }
218
221
 
219
- class DeleteLinkCommand extends client.Command
222
+ class DeleteLinkCommand extends Command
220
223
  .classBuilder()
221
224
  .ep(commonParams)
222
225
  .m(function (Command, cs, config, o) {
223
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
226
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
224
227
  })
225
228
  .s("RTBFabric", "DeleteLink", {})
226
229
  .n("RTBFabricClient", "DeleteLinkCommand")
227
- .sc(schemas_0.DeleteLink$)
230
+ .sc(DeleteLink$)
228
231
  .build() {
229
232
  }
230
233
 
231
- class DeleteLinkRoutingRuleCommand extends client.Command
234
+ class DeleteLinkRoutingRuleCommand extends Command
232
235
  .classBuilder()
233
236
  .ep(commonParams)
234
237
  .m(function (Command, cs, config, o) {
235
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
238
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
236
239
  })
237
240
  .s("RTBFabric", "DeleteLinkRoutingRule", {})
238
241
  .n("RTBFabricClient", "DeleteLinkRoutingRuleCommand")
239
- .sc(schemas_0.DeleteLinkRoutingRule$)
242
+ .sc(DeleteLinkRoutingRule$)
240
243
  .build() {
241
244
  }
242
245
 
243
- class DeleteOutboundExternalLinkCommand extends client.Command
246
+ class DeleteOutboundExternalLinkCommand extends Command
244
247
  .classBuilder()
245
248
  .ep(commonParams)
246
249
  .m(function (Command, cs, config, o) {
247
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
250
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
248
251
  })
249
252
  .s("RTBFabric", "DeleteOutboundExternalLink", {})
250
253
  .n("RTBFabricClient", "DeleteOutboundExternalLinkCommand")
251
- .sc(schemas_0.DeleteOutboundExternalLink$)
254
+ .sc(DeleteOutboundExternalLink$)
252
255
  .build() {
253
256
  }
254
257
 
255
- class DeleteRequesterGatewayCommand extends client.Command
258
+ class DeleteRequesterGatewayCommand extends Command
256
259
  .classBuilder()
257
260
  .ep(commonParams)
258
261
  .m(function (Command, cs, config, o) {
259
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
262
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
260
263
  })
261
264
  .s("RTBFabric", "DeleteRequesterGateway", {})
262
265
  .n("RTBFabricClient", "DeleteRequesterGatewayCommand")
263
- .sc(schemas_0.DeleteRequesterGateway$)
266
+ .sc(DeleteRequesterGateway$)
264
267
  .build() {
265
268
  }
266
269
 
267
- class DeleteResponderGatewayCommand extends client.Command
270
+ class DeleteResponderGatewayCommand extends Command
268
271
  .classBuilder()
269
272
  .ep(commonParams)
270
273
  .m(function (Command, cs, config, o) {
271
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
274
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
272
275
  })
273
276
  .s("RTBFabric", "DeleteResponderGateway", {})
274
277
  .n("RTBFabricClient", "DeleteResponderGatewayCommand")
275
- .sc(schemas_0.DeleteResponderGateway$)
278
+ .sc(DeleteResponderGateway$)
276
279
  .build() {
277
280
  }
278
281
 
279
- class DisassociateCertificateCommand extends client.Command
282
+ class DisassociateCertificateCommand extends Command
280
283
  .classBuilder()
281
284
  .ep(commonParams)
282
285
  .m(function (Command, cs, config, o) {
283
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
286
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
284
287
  })
285
288
  .s("RTBFabric", "DisassociateCertificate", {})
286
289
  .n("RTBFabricClient", "DisassociateCertificateCommand")
287
- .sc(schemas_0.DisassociateCertificate$)
290
+ .sc(DisassociateCertificate$)
288
291
  .build() {
289
292
  }
290
293
 
291
- class GetCertificateAssociationCommand extends client.Command
294
+ class GetCertificateAssociationCommand extends Command
292
295
  .classBuilder()
293
296
  .ep(commonParams)
294
297
  .m(function (Command, cs, config, o) {
295
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
298
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
296
299
  })
297
300
  .s("RTBFabric", "GetCertificateAssociation", {})
298
301
  .n("RTBFabricClient", "GetCertificateAssociationCommand")
299
- .sc(schemas_0.GetCertificateAssociation$)
302
+ .sc(GetCertificateAssociation$)
300
303
  .build() {
301
304
  }
302
305
 
303
- class GetInboundExternalLinkCommand extends client.Command
306
+ class GetInboundExternalLinkCommand extends Command
304
307
  .classBuilder()
305
308
  .ep(commonParams)
306
309
  .m(function (Command, cs, config, o) {
307
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
310
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
308
311
  })
309
312
  .s("RTBFabric", "GetInboundExternalLink", {})
310
313
  .n("RTBFabricClient", "GetInboundExternalLinkCommand")
311
- .sc(schemas_0.GetInboundExternalLink$)
314
+ .sc(GetInboundExternalLink$)
312
315
  .build() {
313
316
  }
314
317
 
315
- class GetLinkCommand extends client.Command
318
+ class GetLinkCommand extends Command
316
319
  .classBuilder()
317
320
  .ep(commonParams)
318
321
  .m(function (Command, cs, config, o) {
319
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
322
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
320
323
  })
321
324
  .s("RTBFabric", "GetLink", {})
322
325
  .n("RTBFabricClient", "GetLinkCommand")
323
- .sc(schemas_0.GetLink$)
326
+ .sc(GetLink$)
324
327
  .build() {
325
328
  }
326
329
 
327
- class GetLinkRoutingRuleCommand extends client.Command
330
+ class GetLinkRoutingRuleCommand extends Command
328
331
  .classBuilder()
329
332
  .ep(commonParams)
330
333
  .m(function (Command, cs, config, o) {
331
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
334
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
332
335
  })
333
336
  .s("RTBFabric", "GetLinkRoutingRule", {})
334
337
  .n("RTBFabricClient", "GetLinkRoutingRuleCommand")
335
- .sc(schemas_0.GetLinkRoutingRule$)
338
+ .sc(GetLinkRoutingRule$)
336
339
  .build() {
337
340
  }
338
341
 
339
- class GetOutboundExternalLinkCommand extends client.Command
342
+ class GetOutboundExternalLinkCommand extends Command
340
343
  .classBuilder()
341
344
  .ep(commonParams)
342
345
  .m(function (Command, cs, config, o) {
343
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
346
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
344
347
  })
345
348
  .s("RTBFabric", "GetOutboundExternalLink", {})
346
349
  .n("RTBFabricClient", "GetOutboundExternalLinkCommand")
347
- .sc(schemas_0.GetOutboundExternalLink$)
350
+ .sc(GetOutboundExternalLink$)
348
351
  .build() {
349
352
  }
350
353
 
351
- class GetRequesterGatewayCommand extends client.Command
354
+ class GetRequesterGatewayCommand extends Command
352
355
  .classBuilder()
353
356
  .ep(commonParams)
354
357
  .m(function (Command, cs, config, o) {
355
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
358
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
356
359
  })
357
360
  .s("RTBFabric", "GetRequesterGateway", {})
358
361
  .n("RTBFabricClient", "GetRequesterGatewayCommand")
359
- .sc(schemas_0.GetRequesterGateway$)
362
+ .sc(GetRequesterGateway$)
360
363
  .build() {
361
364
  }
362
365
 
363
- class GetResponderGatewayCommand extends client.Command
366
+ class GetResponderGatewayCommand extends Command
364
367
  .classBuilder()
365
368
  .ep(commonParams)
366
369
  .m(function (Command, cs, config, o) {
367
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
370
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
368
371
  })
369
372
  .s("RTBFabric", "GetResponderGateway", {})
370
373
  .n("RTBFabricClient", "GetResponderGatewayCommand")
371
- .sc(schemas_0.GetResponderGateway$)
374
+ .sc(GetResponderGateway$)
372
375
  .build() {
373
376
  }
374
377
 
375
- class ListCertificateAssociationsCommand extends client.Command
378
+ class ListCertificateAssociationsCommand extends Command
376
379
  .classBuilder()
377
380
  .ep(commonParams)
378
381
  .m(function (Command, cs, config, o) {
379
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
382
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
380
383
  })
381
384
  .s("RTBFabric", "ListCertificateAssociations", {})
382
385
  .n("RTBFabricClient", "ListCertificateAssociationsCommand")
383
- .sc(schemas_0.ListCertificateAssociations$)
386
+ .sc(ListCertificateAssociations$)
384
387
  .build() {
385
388
  }
386
389
 
387
- class ListLinkRoutingRulesCommand extends client.Command
390
+ class ListLinkRoutingRulesCommand extends Command
388
391
  .classBuilder()
389
392
  .ep(commonParams)
390
393
  .m(function (Command, cs, config, o) {
391
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
394
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
392
395
  })
393
396
  .s("RTBFabric", "ListLinkRoutingRules", {})
394
397
  .n("RTBFabricClient", "ListLinkRoutingRulesCommand")
395
- .sc(schemas_0.ListLinkRoutingRules$)
398
+ .sc(ListLinkRoutingRules$)
396
399
  .build() {
397
400
  }
398
401
 
399
- class ListLinksCommand extends client.Command
402
+ class ListLinksCommand extends Command
400
403
  .classBuilder()
401
404
  .ep(commonParams)
402
405
  .m(function (Command, cs, config, o) {
403
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
406
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
404
407
  })
405
408
  .s("RTBFabric", "ListLinks", {})
406
409
  .n("RTBFabricClient", "ListLinksCommand")
407
- .sc(schemas_0.ListLinks$)
410
+ .sc(ListLinks$)
408
411
  .build() {
409
412
  }
410
413
 
411
- class ListRequesterGatewaysCommand extends client.Command
414
+ class ListRequesterGatewaysCommand extends Command
412
415
  .classBuilder()
413
416
  .ep(commonParams)
414
417
  .m(function (Command, cs, config, o) {
415
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
418
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
416
419
  })
417
420
  .s("RTBFabric", "ListRequesterGateways", {})
418
421
  .n("RTBFabricClient", "ListRequesterGatewaysCommand")
419
- .sc(schemas_0.ListRequesterGateways$)
422
+ .sc(ListRequesterGateways$)
420
423
  .build() {
421
424
  }
422
425
 
423
- class ListResponderGatewaysCommand extends client.Command
426
+ class ListResponderGatewaysCommand extends Command
424
427
  .classBuilder()
425
428
  .ep(commonParams)
426
429
  .m(function (Command, cs, config, o) {
427
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
430
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
428
431
  })
429
432
  .s("RTBFabric", "ListResponderGateways", {})
430
433
  .n("RTBFabricClient", "ListResponderGatewaysCommand")
431
- .sc(schemas_0.ListResponderGateways$)
434
+ .sc(ListResponderGateways$)
432
435
  .build() {
433
436
  }
434
437
 
435
- class ListTagsForResourceCommand extends client.Command
438
+ class ListTagsForResourceCommand extends Command
436
439
  .classBuilder()
437
440
  .ep(commonParams)
438
441
  .m(function (Command, cs, config, o) {
439
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
442
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
440
443
  })
441
444
  .s("RTBFabric", "ListTagsForResource", {})
442
445
  .n("RTBFabricClient", "ListTagsForResourceCommand")
443
- .sc(schemas_0.ListTagsForResource$)
446
+ .sc(ListTagsForResource$)
444
447
  .build() {
445
448
  }
446
449
 
447
- class RejectLinkCommand extends client.Command
450
+ class RejectLinkCommand extends Command
448
451
  .classBuilder()
449
452
  .ep(commonParams)
450
453
  .m(function (Command, cs, config, o) {
451
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
454
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
452
455
  })
453
456
  .s("RTBFabric", "RejectLink", {})
454
457
  .n("RTBFabricClient", "RejectLinkCommand")
455
- .sc(schemas_0.RejectLink$)
458
+ .sc(RejectLink$)
456
459
  .build() {
457
460
  }
458
461
 
459
- class TagResourceCommand extends client.Command
462
+ class TagResourceCommand extends Command
460
463
  .classBuilder()
461
464
  .ep(commonParams)
462
465
  .m(function (Command, cs, config, o) {
463
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
466
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
464
467
  })
465
468
  .s("RTBFabric", "TagResource", {})
466
469
  .n("RTBFabricClient", "TagResourceCommand")
467
- .sc(schemas_0.TagResource$)
470
+ .sc(TagResource$)
468
471
  .build() {
469
472
  }
470
473
 
471
- class UntagResourceCommand extends client.Command
474
+ class UntagResourceCommand extends Command
472
475
  .classBuilder()
473
476
  .ep(commonParams)
474
477
  .m(function (Command, cs, config, o) {
475
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
478
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
476
479
  })
477
480
  .s("RTBFabric", "UntagResource", {})
478
481
  .n("RTBFabricClient", "UntagResourceCommand")
479
- .sc(schemas_0.UntagResource$)
482
+ .sc(UntagResource$)
480
483
  .build() {
481
484
  }
482
485
 
483
- class UpdateLinkCommand extends client.Command
486
+ class UpdateLinkCommand extends Command
484
487
  .classBuilder()
485
488
  .ep(commonParams)
486
489
  .m(function (Command, cs, config, o) {
487
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
490
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
488
491
  })
489
492
  .s("RTBFabric", "UpdateLink", {})
490
493
  .n("RTBFabricClient", "UpdateLinkCommand")
491
- .sc(schemas_0.UpdateLink$)
494
+ .sc(UpdateLink$)
492
495
  .build() {
493
496
  }
494
497
 
495
- class UpdateLinkModuleFlowCommand extends client.Command
498
+ class UpdateLinkModuleFlowCommand extends Command
496
499
  .classBuilder()
497
500
  .ep(commonParams)
498
501
  .m(function (Command, cs, config, o) {
499
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
502
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
500
503
  })
501
504
  .s("RTBFabric", "UpdateLinkModuleFlow", {})
502
505
  .n("RTBFabricClient", "UpdateLinkModuleFlowCommand")
503
- .sc(schemas_0.UpdateLinkModuleFlow$)
506
+ .sc(UpdateLinkModuleFlow$)
504
507
  .build() {
505
508
  }
506
509
 
507
- class UpdateLinkRoutingRuleCommand extends client.Command
510
+ class UpdateLinkRoutingRuleCommand extends Command
508
511
  .classBuilder()
509
512
  .ep(commonParams)
510
513
  .m(function (Command, cs, config, o) {
511
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
514
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
512
515
  })
513
516
  .s("RTBFabric", "UpdateLinkRoutingRule", {})
514
517
  .n("RTBFabricClient", "UpdateLinkRoutingRuleCommand")
515
- .sc(schemas_0.UpdateLinkRoutingRule$)
518
+ .sc(UpdateLinkRoutingRule$)
516
519
  .build() {
517
520
  }
518
521
 
519
- class UpdateRequesterGatewayCommand extends client.Command
522
+ class UpdateRequesterGatewayCommand extends Command
520
523
  .classBuilder()
521
524
  .ep(commonParams)
522
525
  .m(function (Command, cs, config, o) {
523
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
526
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
524
527
  })
525
528
  .s("RTBFabric", "UpdateRequesterGateway", {})
526
529
  .n("RTBFabricClient", "UpdateRequesterGatewayCommand")
527
- .sc(schemas_0.UpdateRequesterGateway$)
530
+ .sc(UpdateRequesterGateway$)
528
531
  .build() {
529
532
  }
530
533
 
531
- class UpdateResponderGatewayCommand extends client.Command
534
+ class UpdateResponderGatewayCommand extends Command
532
535
  .classBuilder()
533
536
  .ep(commonParams)
534
537
  .m(function (Command, cs, config, o) {
535
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
538
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
536
539
  })
537
540
  .s("RTBFabric", "UpdateResponderGateway", {})
538
541
  .n("RTBFabricClient", "UpdateResponderGatewayCommand")
539
- .sc(schemas_0.UpdateResponderGateway$)
542
+ .sc(UpdateResponderGateway$)
540
543
  .build() {
541
544
  }
542
545
 
543
- const paginateListCertificateAssociations = core.createPaginator(RTBFabricClient, ListCertificateAssociationsCommand, "nextToken", "nextToken", "maxResults");
546
+ const paginateListCertificateAssociations = createPaginator(RTBFabricClient, ListCertificateAssociationsCommand, "nextToken", "nextToken", "maxResults");
544
547
 
545
- const paginateListLinkRoutingRules = core.createPaginator(RTBFabricClient, ListLinkRoutingRulesCommand, "nextToken", "nextToken", "maxResults");
548
+ const paginateListLinkRoutingRules = createPaginator(RTBFabricClient, ListLinkRoutingRulesCommand, "nextToken", "nextToken", "maxResults");
546
549
 
547
- const paginateListLinks = core.createPaginator(RTBFabricClient, ListLinksCommand, "nextToken", "nextToken", "maxResults");
550
+ const paginateListLinks = createPaginator(RTBFabricClient, ListLinksCommand, "nextToken", "nextToken", "maxResults");
548
551
 
549
- const paginateListRequesterGateways = core.createPaginator(RTBFabricClient, ListRequesterGatewaysCommand, "nextToken", "nextToken", "maxResults");
552
+ const paginateListRequesterGateways = createPaginator(RTBFabricClient, ListRequesterGatewaysCommand, "nextToken", "nextToken", "maxResults");
550
553
 
551
- const paginateListResponderGateways = core.createPaginator(RTBFabricClient, ListResponderGatewaysCommand, "nextToken", "nextToken", "maxResults");
554
+ const paginateListResponderGateways = createPaginator(RTBFabricClient, ListResponderGatewaysCommand, "nextToken", "nextToken", "maxResults");
552
555
 
553
- const checkState$e = async (client$1, input) => {
556
+ const checkState$e = async (client, input) => {
554
557
  let reason;
555
558
  try {
556
- let result = await client$1.send(new GetCertificateAssociationCommand(input));
559
+ let result = await client.send(new GetCertificateAssociationCommand(input));
557
560
  reason = result;
558
561
  try {
559
562
  const returnComparator = () => {
560
563
  return result.status;
561
564
  };
562
565
  if (returnComparator() === "ASSOCIATED") {
563
- return { state: client.WaiterState.SUCCESS, reason };
566
+ return { state: WaiterState.SUCCESS, reason };
564
567
  }
565
568
  }
566
569
  catch (e) { }
@@ -569,7 +572,7 @@ const checkState$e = async (client$1, input) => {
569
572
  return result.status;
570
573
  };
571
574
  if (returnComparator() === "FAILED") {
572
- return { state: client.WaiterState.FAILURE, reason };
575
+ return { state: WaiterState.FAILURE, reason };
573
576
  }
574
577
  }
575
578
  catch (e) { }
@@ -578,7 +581,7 @@ const checkState$e = async (client$1, input) => {
578
581
  return result.status;
579
582
  };
580
583
  if (returnComparator() === "DISASSOCIATED") {
581
- return { state: client.WaiterState.FAILURE, reason };
584
+ return { state: WaiterState.FAILURE, reason };
582
585
  }
583
586
  }
584
587
  catch (e) { }
@@ -587,7 +590,7 @@ const checkState$e = async (client$1, input) => {
587
590
  return result.status;
588
591
  };
589
592
  if (returnComparator() === "PENDING_DISASSOCIATION") {
590
- return { state: client.WaiterState.FAILURE, reason };
593
+ return { state: WaiterState.FAILURE, reason };
591
594
  }
592
595
  }
593
596
  catch (e) { }
@@ -595,32 +598,32 @@ const checkState$e = async (client$1, input) => {
595
598
  catch (exception) {
596
599
  reason = exception;
597
600
  if (exception.name === "ResourceNotFoundException") {
598
- return { state: client.WaiterState.FAILURE, reason };
601
+ return { state: WaiterState.FAILURE, reason };
599
602
  }
600
603
  }
601
- return { state: client.WaiterState.RETRY, reason };
604
+ return { state: WaiterState.RETRY, reason };
602
605
  };
603
606
  const waitForCertificateAssociated = async (params, input) => {
604
607
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
605
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$e);
608
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$e);
606
609
  };
607
610
  const waitUntilCertificateAssociated = async (params, input) => {
608
611
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
609
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$e);
610
- return client.checkExceptions(result);
612
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$e);
613
+ return checkExceptions(result);
611
614
  };
612
615
 
613
- const checkState$d = async (client$1, input) => {
616
+ const checkState$d = async (client, input) => {
614
617
  let reason;
615
618
  try {
616
- let result = await client$1.send(new GetCertificateAssociationCommand(input));
619
+ let result = await client.send(new GetCertificateAssociationCommand(input));
617
620
  reason = result;
618
621
  try {
619
622
  const returnComparator = () => {
620
623
  return result.status;
621
624
  };
622
625
  if (returnComparator() === "DISASSOCIATED") {
623
- return { state: client.WaiterState.SUCCESS, reason };
626
+ return { state: WaiterState.SUCCESS, reason };
624
627
  }
625
628
  }
626
629
  catch (e) { }
@@ -629,7 +632,7 @@ const checkState$d = async (client$1, input) => {
629
632
  return result.status;
630
633
  };
631
634
  if (returnComparator() === "FAILED") {
632
- return { state: client.WaiterState.FAILURE, reason };
635
+ return { state: WaiterState.FAILURE, reason };
633
636
  }
634
637
  }
635
638
  catch (e) { }
@@ -638,7 +641,7 @@ const checkState$d = async (client$1, input) => {
638
641
  return result.status;
639
642
  };
640
643
  if (returnComparator() === "PENDING_ASSOCIATION") {
641
- return { state: client.WaiterState.FAILURE, reason };
644
+ return { state: WaiterState.FAILURE, reason };
642
645
  }
643
646
  }
644
647
  catch (e) { }
@@ -646,32 +649,32 @@ const checkState$d = async (client$1, input) => {
646
649
  catch (exception) {
647
650
  reason = exception;
648
651
  if (exception.name === "ResourceNotFoundException") {
649
- return { state: client.WaiterState.SUCCESS, reason };
652
+ return { state: WaiterState.SUCCESS, reason };
650
653
  }
651
654
  }
652
- return { state: client.WaiterState.RETRY, reason };
655
+ return { state: WaiterState.RETRY, reason };
653
656
  };
654
657
  const waitForCertificateDisassociated = async (params, input) => {
655
658
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
656
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$d);
659
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$d);
657
660
  };
658
661
  const waitUntilCertificateDisassociated = async (params, input) => {
659
662
  const serviceDefaults = { minDelay: 15, maxDelay: 120 };
660
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$d);
661
- return client.checkExceptions(result);
663
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$d);
664
+ return checkExceptions(result);
662
665
  };
663
666
 
664
- const checkState$c = async (client$1, input) => {
667
+ const checkState$c = async (client, input) => {
665
668
  let reason;
666
669
  try {
667
- let result = await client$1.send(new GetInboundExternalLinkCommand(input));
670
+ let result = await client.send(new GetInboundExternalLinkCommand(input));
668
671
  reason = result;
669
672
  try {
670
673
  const returnComparator = () => {
671
674
  return result.status;
672
675
  };
673
676
  if (returnComparator() === "ACTIVE") {
674
- return { state: client.WaiterState.SUCCESS, reason };
677
+ return { state: WaiterState.SUCCESS, reason };
675
678
  }
676
679
  }
677
680
  catch (e) { }
@@ -680,7 +683,7 @@ const checkState$c = async (client$1, input) => {
680
683
  return result.status;
681
684
  };
682
685
  if (returnComparator() === "REJECTED") {
683
- return { state: client.WaiterState.FAILURE, reason };
686
+ return { state: WaiterState.FAILURE, reason };
684
687
  }
685
688
  }
686
689
  catch (e) { }
@@ -689,7 +692,7 @@ const checkState$c = async (client$1, input) => {
689
692
  return result.status;
690
693
  };
691
694
  if (returnComparator() === "FAILED") {
692
- return { state: client.WaiterState.FAILURE, reason };
695
+ return { state: WaiterState.FAILURE, reason };
693
696
  }
694
697
  }
695
698
  catch (e) { }
@@ -698,7 +701,7 @@ const checkState$c = async (client$1, input) => {
698
701
  return result.status;
699
702
  };
700
703
  if (returnComparator() === "DELETED") {
701
- return { state: client.WaiterState.FAILURE, reason };
704
+ return { state: WaiterState.FAILURE, reason };
702
705
  }
703
706
  }
704
707
  catch (e) { }
@@ -707,7 +710,7 @@ const checkState$c = async (client$1, input) => {
707
710
  return result.status;
708
711
  };
709
712
  if (returnComparator() === "ISOLATED") {
710
- return { state: client.WaiterState.FAILURE, reason };
713
+ return { state: WaiterState.FAILURE, reason };
711
714
  }
712
715
  }
713
716
  catch (e) { }
@@ -715,29 +718,29 @@ const checkState$c = async (client$1, input) => {
715
718
  catch (exception) {
716
719
  reason = exception;
717
720
  }
718
- return { state: client.WaiterState.RETRY, reason };
721
+ return { state: WaiterState.RETRY, reason };
719
722
  };
720
723
  const waitForInboundExternalLinkActive = async (params, input) => {
721
724
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
722
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$c);
725
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$c);
723
726
  };
724
727
  const waitUntilInboundExternalLinkActive = async (params, input) => {
725
728
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
726
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$c);
727
- return client.checkExceptions(result);
729
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$c);
730
+ return checkExceptions(result);
728
731
  };
729
732
 
730
- const checkState$b = async (client$1, input) => {
733
+ const checkState$b = async (client, input) => {
731
734
  let reason;
732
735
  try {
733
- let result = await client$1.send(new GetInboundExternalLinkCommand(input));
736
+ let result = await client.send(new GetInboundExternalLinkCommand(input));
734
737
  reason = result;
735
738
  try {
736
739
  const returnComparator = () => {
737
740
  return result.status;
738
741
  };
739
742
  if (returnComparator() === "DELETED") {
740
- return { state: client.WaiterState.SUCCESS, reason };
743
+ return { state: WaiterState.SUCCESS, reason };
741
744
  }
742
745
  }
743
746
  catch (e) { }
@@ -746,7 +749,7 @@ const checkState$b = async (client$1, input) => {
746
749
  return result.status;
747
750
  };
748
751
  if (returnComparator() === "FAILED") {
749
- return { state: client.WaiterState.FAILURE, reason };
752
+ return { state: WaiterState.FAILURE, reason };
750
753
  }
751
754
  }
752
755
  catch (e) { }
@@ -755,7 +758,7 @@ const checkState$b = async (client$1, input) => {
755
758
  return result.status;
756
759
  };
757
760
  if (returnComparator() === "REJECTED") {
758
- return { state: client.WaiterState.FAILURE, reason };
761
+ return { state: WaiterState.FAILURE, reason };
759
762
  }
760
763
  }
761
764
  catch (e) { }
@@ -763,29 +766,29 @@ const checkState$b = async (client$1, input) => {
763
766
  catch (exception) {
764
767
  reason = exception;
765
768
  }
766
- return { state: client.WaiterState.RETRY, reason };
769
+ return { state: WaiterState.RETRY, reason };
767
770
  };
768
771
  const waitForInboundExternalLinkDeleted = async (params, input) => {
769
772
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
770
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$b);
773
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$b);
771
774
  };
772
775
  const waitUntilInboundExternalLinkDeleted = async (params, input) => {
773
776
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
774
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$b);
775
- return client.checkExceptions(result);
777
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$b);
778
+ return checkExceptions(result);
776
779
  };
777
780
 
778
- const checkState$a = async (client$1, input) => {
781
+ const checkState$a = async (client, input) => {
779
782
  let reason;
780
783
  try {
781
- let result = await client$1.send(new GetLinkCommand(input));
784
+ let result = await client.send(new GetLinkCommand(input));
782
785
  reason = result;
783
786
  try {
784
787
  const returnComparator = () => {
785
788
  return result.status;
786
789
  };
787
790
  if (returnComparator() === "ACCEPTED") {
788
- return { state: client.WaiterState.SUCCESS, reason };
791
+ return { state: WaiterState.SUCCESS, reason };
789
792
  }
790
793
  }
791
794
  catch (e) { }
@@ -794,7 +797,7 @@ const checkState$a = async (client$1, input) => {
794
797
  return result.status;
795
798
  };
796
799
  if (returnComparator() === "REJECTED") {
797
- return { state: client.WaiterState.FAILURE, reason };
800
+ return { state: WaiterState.FAILURE, reason };
798
801
  }
799
802
  }
800
803
  catch (e) { }
@@ -803,7 +806,7 @@ const checkState$a = async (client$1, input) => {
803
806
  return result.status;
804
807
  };
805
808
  if (returnComparator() === "FAILED") {
806
- return { state: client.WaiterState.FAILURE, reason };
809
+ return { state: WaiterState.FAILURE, reason };
807
810
  }
808
811
  }
809
812
  catch (e) { }
@@ -812,7 +815,7 @@ const checkState$a = async (client$1, input) => {
812
815
  return result.status;
813
816
  };
814
817
  if (returnComparator() === "DELETED") {
815
- return { state: client.WaiterState.FAILURE, reason };
818
+ return { state: WaiterState.FAILURE, reason };
816
819
  }
817
820
  }
818
821
  catch (e) { }
@@ -820,29 +823,29 @@ const checkState$a = async (client$1, input) => {
820
823
  catch (exception) {
821
824
  reason = exception;
822
825
  }
823
- return { state: client.WaiterState.RETRY, reason };
826
+ return { state: WaiterState.RETRY, reason };
824
827
  };
825
828
  const waitForLinkAccepted = async (params, input) => {
826
829
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
827
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$a);
830
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$a);
828
831
  };
829
832
  const waitUntilLinkAccepted = async (params, input) => {
830
833
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
831
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$a);
832
- return client.checkExceptions(result);
834
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$a);
835
+ return checkExceptions(result);
833
836
  };
834
837
 
835
- const checkState$9 = async (client$1, input) => {
838
+ const checkState$9 = async (client, input) => {
836
839
  let reason;
837
840
  try {
838
- let result = await client$1.send(new GetLinkCommand(input));
841
+ let result = await client.send(new GetLinkCommand(input));
839
842
  reason = result;
840
843
  try {
841
844
  const returnComparator = () => {
842
845
  return result.status;
843
846
  };
844
847
  if (returnComparator() === "ACTIVE") {
845
- return { state: client.WaiterState.SUCCESS, reason };
848
+ return { state: WaiterState.SUCCESS, reason };
846
849
  }
847
850
  }
848
851
  catch (e) { }
@@ -851,7 +854,7 @@ const checkState$9 = async (client$1, input) => {
851
854
  return result.status;
852
855
  };
853
856
  if (returnComparator() === "REJECTED") {
854
- return { state: client.WaiterState.FAILURE, reason };
857
+ return { state: WaiterState.FAILURE, reason };
855
858
  }
856
859
  }
857
860
  catch (e) { }
@@ -860,7 +863,7 @@ const checkState$9 = async (client$1, input) => {
860
863
  return result.status;
861
864
  };
862
865
  if (returnComparator() === "FAILED") {
863
- return { state: client.WaiterState.FAILURE, reason };
866
+ return { state: WaiterState.FAILURE, reason };
864
867
  }
865
868
  }
866
869
  catch (e) { }
@@ -869,7 +872,7 @@ const checkState$9 = async (client$1, input) => {
869
872
  return result.status;
870
873
  };
871
874
  if (returnComparator() === "DELETED") {
872
- return { state: client.WaiterState.FAILURE, reason };
875
+ return { state: WaiterState.FAILURE, reason };
873
876
  }
874
877
  }
875
878
  catch (e) { }
@@ -877,29 +880,29 @@ const checkState$9 = async (client$1, input) => {
877
880
  catch (exception) {
878
881
  reason = exception;
879
882
  }
880
- return { state: client.WaiterState.RETRY, reason };
883
+ return { state: WaiterState.RETRY, reason };
881
884
  };
882
885
  const waitForLinkActive = async (params, input) => {
883
886
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
884
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$9);
887
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$9);
885
888
  };
886
889
  const waitUntilLinkActive = async (params, input) => {
887
890
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
888
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$9);
889
- return client.checkExceptions(result);
891
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$9);
892
+ return checkExceptions(result);
890
893
  };
891
894
 
892
- const checkState$8 = async (client$1, input) => {
895
+ const checkState$8 = async (client, input) => {
893
896
  let reason;
894
897
  try {
895
- let result = await client$1.send(new GetLinkCommand(input));
898
+ let result = await client.send(new GetLinkCommand(input));
896
899
  reason = result;
897
900
  try {
898
901
  const returnComparator = () => {
899
902
  return result.status;
900
903
  };
901
904
  if (returnComparator() === "DELETED") {
902
- return { state: client.WaiterState.SUCCESS, reason };
905
+ return { state: WaiterState.SUCCESS, reason };
903
906
  }
904
907
  }
905
908
  catch (e) { }
@@ -908,7 +911,7 @@ const checkState$8 = async (client$1, input) => {
908
911
  return result.status;
909
912
  };
910
913
  if (returnComparator() === "FAILED") {
911
- return { state: client.WaiterState.FAILURE, reason };
914
+ return { state: WaiterState.FAILURE, reason };
912
915
  }
913
916
  }
914
917
  catch (e) { }
@@ -917,7 +920,7 @@ const checkState$8 = async (client$1, input) => {
917
920
  return result.status;
918
921
  };
919
922
  if (returnComparator() === "REJECTED") {
920
- return { state: client.WaiterState.FAILURE, reason };
923
+ return { state: WaiterState.FAILURE, reason };
921
924
  }
922
925
  }
923
926
  catch (e) { }
@@ -925,29 +928,29 @@ const checkState$8 = async (client$1, input) => {
925
928
  catch (exception) {
926
929
  reason = exception;
927
930
  }
928
- return { state: client.WaiterState.RETRY, reason };
931
+ return { state: WaiterState.RETRY, reason };
929
932
  };
930
933
  const waitForLinkDeleted = async (params, input) => {
931
934
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
932
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
935
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
933
936
  };
934
937
  const waitUntilLinkDeleted = async (params, input) => {
935
938
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
936
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
937
- return client.checkExceptions(result);
939
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
940
+ return checkExceptions(result);
938
941
  };
939
942
 
940
- const checkState$7 = async (client$1, input) => {
943
+ const checkState$7 = async (client, input) => {
941
944
  let reason;
942
945
  try {
943
- let result = await client$1.send(new GetLinkRoutingRuleCommand(input));
946
+ let result = await client.send(new GetLinkRoutingRuleCommand(input));
944
947
  reason = result;
945
948
  try {
946
949
  const returnComparator = () => {
947
950
  return result.status;
948
951
  };
949
952
  if (returnComparator() === "ACTIVE") {
950
- return { state: client.WaiterState.SUCCESS, reason };
953
+ return { state: WaiterState.SUCCESS, reason };
951
954
  }
952
955
  }
953
956
  catch (e) { }
@@ -956,7 +959,7 @@ const checkState$7 = async (client$1, input) => {
956
959
  return result.status;
957
960
  };
958
961
  if (returnComparator() === "FAILED") {
959
- return { state: client.WaiterState.FAILURE, reason };
962
+ return { state: WaiterState.FAILURE, reason };
960
963
  }
961
964
  }
962
965
  catch (e) { }
@@ -965,7 +968,7 @@ const checkState$7 = async (client$1, input) => {
965
968
  return result.status;
966
969
  };
967
970
  if (returnComparator() === "DELETED") {
968
- return { state: client.WaiterState.FAILURE, reason };
971
+ return { state: WaiterState.FAILURE, reason };
969
972
  }
970
973
  }
971
974
  catch (e) { }
@@ -973,29 +976,29 @@ const checkState$7 = async (client$1, input) => {
973
976
  catch (exception) {
974
977
  reason = exception;
975
978
  }
976
- return { state: client.WaiterState.RETRY, reason };
979
+ return { state: WaiterState.RETRY, reason };
977
980
  };
978
981
  const waitForLinkRoutingRuleActive = async (params, input) => {
979
982
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
980
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
983
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
981
984
  };
982
985
  const waitUntilLinkRoutingRuleActive = async (params, input) => {
983
986
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
984
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
985
- return client.checkExceptions(result);
987
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
988
+ return checkExceptions(result);
986
989
  };
987
990
 
988
- const checkState$6 = async (client$1, input) => {
991
+ const checkState$6 = async (client, input) => {
989
992
  let reason;
990
993
  try {
991
- let result = await client$1.send(new GetLinkRoutingRuleCommand(input));
994
+ let result = await client.send(new GetLinkRoutingRuleCommand(input));
992
995
  reason = result;
993
996
  try {
994
997
  const returnComparator = () => {
995
998
  return result.status;
996
999
  };
997
1000
  if (returnComparator() === "DELETED") {
998
- return { state: client.WaiterState.SUCCESS, reason };
1001
+ return { state: WaiterState.SUCCESS, reason };
999
1002
  }
1000
1003
  }
1001
1004
  catch (e) { }
@@ -1004,7 +1007,7 @@ const checkState$6 = async (client$1, input) => {
1004
1007
  return result.status;
1005
1008
  };
1006
1009
  if (returnComparator() === "FAILED") {
1007
- return { state: client.WaiterState.FAILURE, reason };
1010
+ return { state: WaiterState.FAILURE, reason };
1008
1011
  }
1009
1012
  }
1010
1013
  catch (e) { }
@@ -1012,32 +1015,32 @@ const checkState$6 = async (client$1, input) => {
1012
1015
  catch (exception) {
1013
1016
  reason = exception;
1014
1017
  if (exception.name === "ResourceNotFoundException") {
1015
- return { state: client.WaiterState.SUCCESS, reason };
1018
+ return { state: WaiterState.SUCCESS, reason };
1016
1019
  }
1017
1020
  }
1018
- return { state: client.WaiterState.RETRY, reason };
1021
+ return { state: WaiterState.RETRY, reason };
1019
1022
  };
1020
1023
  const waitForLinkRoutingRuleDeleted = async (params, input) => {
1021
1024
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
1022
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
1025
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
1023
1026
  };
1024
1027
  const waitUntilLinkRoutingRuleDeleted = async (params, input) => {
1025
1028
  const serviceDefaults = { minDelay: 5, maxDelay: 120 };
1026
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
1027
- return client.checkExceptions(result);
1029
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
1030
+ return checkExceptions(result);
1028
1031
  };
1029
1032
 
1030
- const checkState$5 = async (client$1, input) => {
1033
+ const checkState$5 = async (client, input) => {
1031
1034
  let reason;
1032
1035
  try {
1033
- let result = await client$1.send(new GetOutboundExternalLinkCommand(input));
1036
+ let result = await client.send(new GetOutboundExternalLinkCommand(input));
1034
1037
  reason = result;
1035
1038
  try {
1036
1039
  const returnComparator = () => {
1037
1040
  return result.status;
1038
1041
  };
1039
1042
  if (returnComparator() === "ACTIVE") {
1040
- return { state: client.WaiterState.SUCCESS, reason };
1043
+ return { state: WaiterState.SUCCESS, reason };
1041
1044
  }
1042
1045
  }
1043
1046
  catch (e) { }
@@ -1046,7 +1049,7 @@ const checkState$5 = async (client$1, input) => {
1046
1049
  return result.status;
1047
1050
  };
1048
1051
  if (returnComparator() === "REJECTED") {
1049
- return { state: client.WaiterState.FAILURE, reason };
1052
+ return { state: WaiterState.FAILURE, reason };
1050
1053
  }
1051
1054
  }
1052
1055
  catch (e) { }
@@ -1055,7 +1058,7 @@ const checkState$5 = async (client$1, input) => {
1055
1058
  return result.status;
1056
1059
  };
1057
1060
  if (returnComparator() === "FAILED") {
1058
- return { state: client.WaiterState.FAILURE, reason };
1061
+ return { state: WaiterState.FAILURE, reason };
1059
1062
  }
1060
1063
  }
1061
1064
  catch (e) { }
@@ -1064,7 +1067,7 @@ const checkState$5 = async (client$1, input) => {
1064
1067
  return result.status;
1065
1068
  };
1066
1069
  if (returnComparator() === "DELETED") {
1067
- return { state: client.WaiterState.FAILURE, reason };
1070
+ return { state: WaiterState.FAILURE, reason };
1068
1071
  }
1069
1072
  }
1070
1073
  catch (e) { }
@@ -1073,7 +1076,7 @@ const checkState$5 = async (client$1, input) => {
1073
1076
  return result.status;
1074
1077
  };
1075
1078
  if (returnComparator() === "ISOLATED") {
1076
- return { state: client.WaiterState.FAILURE, reason };
1079
+ return { state: WaiterState.FAILURE, reason };
1077
1080
  }
1078
1081
  }
1079
1082
  catch (e) { }
@@ -1081,29 +1084,29 @@ const checkState$5 = async (client$1, input) => {
1081
1084
  catch (exception) {
1082
1085
  reason = exception;
1083
1086
  }
1084
- return { state: client.WaiterState.RETRY, reason };
1087
+ return { state: WaiterState.RETRY, reason };
1085
1088
  };
1086
1089
  const waitForOutboundExternalLinkActive = async (params, input) => {
1087
1090
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1088
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
1091
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
1089
1092
  };
1090
1093
  const waitUntilOutboundExternalLinkActive = async (params, input) => {
1091
1094
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1092
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
1093
- return client.checkExceptions(result);
1095
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
1096
+ return checkExceptions(result);
1094
1097
  };
1095
1098
 
1096
- const checkState$4 = async (client$1, input) => {
1099
+ const checkState$4 = async (client, input) => {
1097
1100
  let reason;
1098
1101
  try {
1099
- let result = await client$1.send(new GetOutboundExternalLinkCommand(input));
1102
+ let result = await client.send(new GetOutboundExternalLinkCommand(input));
1100
1103
  reason = result;
1101
1104
  try {
1102
1105
  const returnComparator = () => {
1103
1106
  return result.status;
1104
1107
  };
1105
1108
  if (returnComparator() === "DELETED") {
1106
- return { state: client.WaiterState.SUCCESS, reason };
1109
+ return { state: WaiterState.SUCCESS, reason };
1107
1110
  }
1108
1111
  }
1109
1112
  catch (e) { }
@@ -1112,7 +1115,7 @@ const checkState$4 = async (client$1, input) => {
1112
1115
  return result.status;
1113
1116
  };
1114
1117
  if (returnComparator() === "FAILED") {
1115
- return { state: client.WaiterState.FAILURE, reason };
1118
+ return { state: WaiterState.FAILURE, reason };
1116
1119
  }
1117
1120
  }
1118
1121
  catch (e) { }
@@ -1121,7 +1124,7 @@ const checkState$4 = async (client$1, input) => {
1121
1124
  return result.status;
1122
1125
  };
1123
1126
  if (returnComparator() === "REJECTED") {
1124
- return { state: client.WaiterState.FAILURE, reason };
1127
+ return { state: WaiterState.FAILURE, reason };
1125
1128
  }
1126
1129
  }
1127
1130
  catch (e) { }
@@ -1129,29 +1132,29 @@ const checkState$4 = async (client$1, input) => {
1129
1132
  catch (exception) {
1130
1133
  reason = exception;
1131
1134
  }
1132
- return { state: client.WaiterState.RETRY, reason };
1135
+ return { state: WaiterState.RETRY, reason };
1133
1136
  };
1134
1137
  const waitForOutboundExternalLinkDeleted = async (params, input) => {
1135
1138
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1136
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
1139
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
1137
1140
  };
1138
1141
  const waitUntilOutboundExternalLinkDeleted = async (params, input) => {
1139
1142
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1140
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
1141
- return client.checkExceptions(result);
1143
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
1144
+ return checkExceptions(result);
1142
1145
  };
1143
1146
 
1144
- const checkState$3 = async (client$1, input) => {
1147
+ const checkState$3 = async (client, input) => {
1145
1148
  let reason;
1146
1149
  try {
1147
- let result = await client$1.send(new GetRequesterGatewayCommand(input));
1150
+ let result = await client.send(new GetRequesterGatewayCommand(input));
1148
1151
  reason = result;
1149
1152
  try {
1150
1153
  const returnComparator = () => {
1151
1154
  return result.status;
1152
1155
  };
1153
1156
  if (returnComparator() === "ACTIVE") {
1154
- return { state: client.WaiterState.SUCCESS, reason };
1157
+ return { state: WaiterState.SUCCESS, reason };
1155
1158
  }
1156
1159
  }
1157
1160
  catch (e) { }
@@ -1160,7 +1163,7 @@ const checkState$3 = async (client$1, input) => {
1160
1163
  return result.status;
1161
1164
  };
1162
1165
  if (returnComparator() === "DELETED") {
1163
- return { state: client.WaiterState.FAILURE, reason };
1166
+ return { state: WaiterState.FAILURE, reason };
1164
1167
  }
1165
1168
  }
1166
1169
  catch (e) { }
@@ -1169,7 +1172,7 @@ const checkState$3 = async (client$1, input) => {
1169
1172
  return result.status;
1170
1173
  };
1171
1174
  if (returnComparator() === "ERROR") {
1172
- return { state: client.WaiterState.FAILURE, reason };
1175
+ return { state: WaiterState.FAILURE, reason };
1173
1176
  }
1174
1177
  }
1175
1178
  catch (e) { }
@@ -1177,29 +1180,29 @@ const checkState$3 = async (client$1, input) => {
1177
1180
  catch (exception) {
1178
1181
  reason = exception;
1179
1182
  }
1180
- return { state: client.WaiterState.RETRY, reason };
1183
+ return { state: WaiterState.RETRY, reason };
1181
1184
  };
1182
1185
  const waitForRequesterGatewayActive = async (params, input) => {
1183
1186
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1184
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
1187
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
1185
1188
  };
1186
1189
  const waitUntilRequesterGatewayActive = async (params, input) => {
1187
1190
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1188
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
1189
- return client.checkExceptions(result);
1191
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
1192
+ return checkExceptions(result);
1190
1193
  };
1191
1194
 
1192
- const checkState$2 = async (client$1, input) => {
1195
+ const checkState$2 = async (client, input) => {
1193
1196
  let reason;
1194
1197
  try {
1195
- let result = await client$1.send(new GetRequesterGatewayCommand(input));
1198
+ let result = await client.send(new GetRequesterGatewayCommand(input));
1196
1199
  reason = result;
1197
1200
  try {
1198
1201
  const returnComparator = () => {
1199
1202
  return result.status;
1200
1203
  };
1201
1204
  if (returnComparator() === "DELETED") {
1202
- return { state: client.WaiterState.SUCCESS, reason };
1205
+ return { state: WaiterState.SUCCESS, reason };
1203
1206
  }
1204
1207
  }
1205
1208
  catch (e) { }
@@ -1208,7 +1211,7 @@ const checkState$2 = async (client$1, input) => {
1208
1211
  return result.status;
1209
1212
  };
1210
1213
  if (returnComparator() === "ERROR") {
1211
- return { state: client.WaiterState.FAILURE, reason };
1214
+ return { state: WaiterState.FAILURE, reason };
1212
1215
  }
1213
1216
  }
1214
1217
  catch (e) { }
@@ -1216,32 +1219,32 @@ const checkState$2 = async (client$1, input) => {
1216
1219
  catch (exception) {
1217
1220
  reason = exception;
1218
1221
  if (exception.name === "ResourceNotFoundException") {
1219
- return { state: client.WaiterState.SUCCESS, reason };
1222
+ return { state: WaiterState.SUCCESS, reason };
1220
1223
  }
1221
1224
  }
1222
- return { state: client.WaiterState.RETRY, reason };
1225
+ return { state: WaiterState.RETRY, reason };
1223
1226
  };
1224
1227
  const waitForRequesterGatewayDeleted = async (params, input) => {
1225
1228
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1226
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1229
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1227
1230
  };
1228
1231
  const waitUntilRequesterGatewayDeleted = async (params, input) => {
1229
1232
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1230
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1231
- return client.checkExceptions(result);
1233
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1234
+ return checkExceptions(result);
1232
1235
  };
1233
1236
 
1234
- const checkState$1 = async (client$1, input) => {
1237
+ const checkState$1 = async (client, input) => {
1235
1238
  let reason;
1236
1239
  try {
1237
- let result = await client$1.send(new GetResponderGatewayCommand(input));
1240
+ let result = await client.send(new GetResponderGatewayCommand(input));
1238
1241
  reason = result;
1239
1242
  try {
1240
1243
  const returnComparator = () => {
1241
1244
  return result.status;
1242
1245
  };
1243
1246
  if (returnComparator() === "ACTIVE") {
1244
- return { state: client.WaiterState.SUCCESS, reason };
1247
+ return { state: WaiterState.SUCCESS, reason };
1245
1248
  }
1246
1249
  }
1247
1250
  catch (e) { }
@@ -1250,7 +1253,7 @@ const checkState$1 = async (client$1, input) => {
1250
1253
  return result.status;
1251
1254
  };
1252
1255
  if (returnComparator() === "DELETED") {
1253
- return { state: client.WaiterState.FAILURE, reason };
1256
+ return { state: WaiterState.FAILURE, reason };
1254
1257
  }
1255
1258
  }
1256
1259
  catch (e) { }
@@ -1259,7 +1262,7 @@ const checkState$1 = async (client$1, input) => {
1259
1262
  return result.status;
1260
1263
  };
1261
1264
  if (returnComparator() === "ERROR") {
1262
- return { state: client.WaiterState.FAILURE, reason };
1265
+ return { state: WaiterState.FAILURE, reason };
1263
1266
  }
1264
1267
  }
1265
1268
  catch (e) { }
@@ -1267,29 +1270,29 @@ const checkState$1 = async (client$1, input) => {
1267
1270
  catch (exception) {
1268
1271
  reason = exception;
1269
1272
  }
1270
- return { state: client.WaiterState.RETRY, reason };
1273
+ return { state: WaiterState.RETRY, reason };
1271
1274
  };
1272
1275
  const waitForResponderGatewayActive = async (params, input) => {
1273
1276
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1274
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1277
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1275
1278
  };
1276
1279
  const waitUntilResponderGatewayActive = async (params, input) => {
1277
1280
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1278
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1279
- return client.checkExceptions(result);
1281
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1282
+ return checkExceptions(result);
1280
1283
  };
1281
1284
 
1282
- const checkState = async (client$1, input) => {
1285
+ const checkState = async (client, input) => {
1283
1286
  let reason;
1284
1287
  try {
1285
- let result = await client$1.send(new GetResponderGatewayCommand(input));
1288
+ let result = await client.send(new GetResponderGatewayCommand(input));
1286
1289
  reason = result;
1287
1290
  try {
1288
1291
  const returnComparator = () => {
1289
1292
  return result.status;
1290
1293
  };
1291
1294
  if (returnComparator() === "DELETED") {
1292
- return { state: client.WaiterState.SUCCESS, reason };
1295
+ return { state: WaiterState.SUCCESS, reason };
1293
1296
  }
1294
1297
  }
1295
1298
  catch (e) { }
@@ -1298,7 +1301,7 @@ const checkState = async (client$1, input) => {
1298
1301
  return result.status;
1299
1302
  };
1300
1303
  if (returnComparator() === "ERROR") {
1301
- return { state: client.WaiterState.FAILURE, reason };
1304
+ return { state: WaiterState.FAILURE, reason };
1302
1305
  }
1303
1306
  }
1304
1307
  catch (e) { }
@@ -1306,19 +1309,19 @@ const checkState = async (client$1, input) => {
1306
1309
  catch (exception) {
1307
1310
  reason = exception;
1308
1311
  if (exception.name === "ResourceNotFoundException") {
1309
- return { state: client.WaiterState.SUCCESS, reason };
1312
+ return { state: WaiterState.SUCCESS, reason };
1310
1313
  }
1311
1314
  }
1312
- return { state: client.WaiterState.RETRY, reason };
1315
+ return { state: WaiterState.RETRY, reason };
1313
1316
  };
1314
1317
  const waitForResponderGatewayDeleted = async (params, input) => {
1315
1318
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1316
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1319
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1317
1320
  };
1318
1321
  const waitUntilResponderGatewayDeleted = async (params, input) => {
1319
1322
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
1320
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1321
- return client.checkExceptions(result);
1323
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1324
+ return checkExceptions(result);
1322
1325
  };
1323
1326
 
1324
1327
  const commands = {
@@ -1385,7 +1388,7 @@ const waiters = {
1385
1388
  };
1386
1389
  class RTBFabric extends RTBFabricClient {
1387
1390
  }
1388
- client.createAggregatedClient(commands, RTBFabric, { paginators, waiters });
1391
+ createAggregatedClient(commands, RTBFabric, { paginators, waiters });
1389
1392
 
1390
1393
  const ResponderErrorMaskingAction = {
1391
1394
  NO_BID: "NO_BID",
@@ -1471,9 +1474,6 @@ const ResponderGatewayStatus = {
1471
1474
  PENDING_UPDATE: "PENDING_UPDATE",
1472
1475
  };
1473
1476
 
1474
- exports.$Command = client.Command;
1475
- exports.__Client = client.Client;
1476
- exports.RTBFabricServiceException = RTBFabricServiceException.RTBFabricServiceException;
1477
1477
  exports.AcceptLinkCommand = AcceptLinkCommand;
1478
1478
  exports.AssociateCertificateCommand = AssociateCertificateCommand;
1479
1479
  exports.CertificateAssociationStatus = CertificateAssociationStatus;
@@ -1559,23 +1559,3 @@ exports.waitUntilRequesterGatewayActive = waitUntilRequesterGatewayActive;
1559
1559
  exports.waitUntilRequesterGatewayDeleted = waitUntilRequesterGatewayDeleted;
1560
1560
  exports.waitUntilResponderGatewayActive = waitUntilResponderGatewayActive;
1561
1561
  exports.waitUntilResponderGatewayDeleted = waitUntilResponderGatewayDeleted;
1562
- Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
1563
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1564
- Object.defineProperty(exports, '__proto__', {
1565
- enumerable: true,
1566
- value: schemas_0['__proto__']
1567
- });
1568
-
1569
- Object.keys(schemas_0).forEach(function (k) {
1570
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
1571
- });
1572
- Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
1573
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1574
- Object.defineProperty(exports, '__proto__', {
1575
- enumerable: true,
1576
- value: errors['__proto__']
1577
- });
1578
-
1579
- Object.keys(errors).forEach(function (k) {
1580
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
1581
- });