@aws-sdk/client-resiliencehubv2 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 Resiliencehubv2ServiceException = require('./models/Resiliencehubv2ServiceException');
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, defaultResiliencehubv2HttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
+ const { getRuntimeConfig } = require("./runtimeConfig");
14
+ const { CreateAssertion$, CreateInputSource$, CreatePolicy$, CreateReport$, CreateService$, CreateServiceFunction$, CreateServiceFunctionResources$, CreateSystem$, CreateUserJourney$, DeleteAssertion$, DeleteInputSource$, DeletePolicy$, DeleteService$, DeleteServiceFunction$, DeleteServiceFunctionResources$, DeleteSystem$, DeleteUserJourney$, GetFailureModeFinding$, GetPolicy$, GetService$, GetSystem$, GetUserJourney$, ImportApp$, ImportPolicy$, ListAssertions$, ListDependencies$, ListFailureModeAssessments$, ListFailureModeFindings$, ListInputSources$, ListPolicies$, ListReports$, ListResources$, ListServiceEvents$, ListServiceFunctions$, ListServices$, ListServiceTopologyEdges$, ListSystemEvents$, ListSystems$, ListTagsForResource$, ListUserJourneys$, StartFailureModeAssessment$, TagResource$, UntagResource$, UpdateAssertion$, UpdateDependency$, UpdateFailureModeFinding$, UpdatePolicy$, UpdateService$, UpdateServiceFunction$, UpdateSystem$, UpdateUserJourney$ } = require("./schemas/schemas_0");
15
+ __exportStar(require("./schemas/schemas_0"), exports);
16
+ __exportStar(require("./models/errors"), exports);
17
+ const { Resiliencehubv2ServiceException } = require("./models/Resiliencehubv2ServiceException");
18
+ exports.Resiliencehubv2ServiceException = Resiliencehubv2ServiceException;
16
19
 
17
20
  const resolveClientEndpointParameters = (options) => {
18
21
  return Object.assign(options, {
@@ -68,692 +71,692 @@ 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 Resiliencehubv2Client extends client.Client {
79
+ class Resiliencehubv2Client 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.defaultResiliencehubv2HttpAuthSchemeParametersProvider,
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: defaultResiliencehubv2HttpAuthSchemeParametersProvider,
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 CreateAssertionCommand extends client.Command
114
+ class CreateAssertionCommand 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("NGRHServiceCore", "CreateAssertion", {})
118
121
  .n("Resiliencehubv2Client", "CreateAssertionCommand")
119
- .sc(schemas_0.CreateAssertion$)
122
+ .sc(CreateAssertion$)
120
123
  .build() {
121
124
  }
122
125
 
123
- class CreateInputSourceCommand extends client.Command
126
+ class CreateInputSourceCommand 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("NGRHServiceCore", "CreateInputSource", {})
130
133
  .n("Resiliencehubv2Client", "CreateInputSourceCommand")
131
- .sc(schemas_0.CreateInputSource$)
134
+ .sc(CreateInputSource$)
132
135
  .build() {
133
136
  }
134
137
 
135
- class CreatePolicyCommand extends client.Command
138
+ class CreatePolicyCommand 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("NGRHServiceCore", "CreatePolicy", {})
142
145
  .n("Resiliencehubv2Client", "CreatePolicyCommand")
143
- .sc(schemas_0.CreatePolicy$)
146
+ .sc(CreatePolicy$)
144
147
  .build() {
145
148
  }
146
149
 
147
- class CreateReportCommand extends client.Command
150
+ class CreateReportCommand 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("NGRHServiceCore", "CreateReport", {})
154
157
  .n("Resiliencehubv2Client", "CreateReportCommand")
155
- .sc(schemas_0.CreateReport$)
158
+ .sc(CreateReport$)
156
159
  .build() {
157
160
  }
158
161
 
159
- class CreateServiceCommand extends client.Command
162
+ class CreateServiceCommand 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("NGRHServiceCore", "CreateService", {})
166
169
  .n("Resiliencehubv2Client", "CreateServiceCommand")
167
- .sc(schemas_0.CreateService$)
170
+ .sc(CreateService$)
168
171
  .build() {
169
172
  }
170
173
 
171
- class CreateServiceFunctionCommand extends client.Command
174
+ class CreateServiceFunctionCommand 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("NGRHServiceCore", "CreateServiceFunction", {})
178
181
  .n("Resiliencehubv2Client", "CreateServiceFunctionCommand")
179
- .sc(schemas_0.CreateServiceFunction$)
182
+ .sc(CreateServiceFunction$)
180
183
  .build() {
181
184
  }
182
185
 
183
- class CreateServiceFunctionResourcesCommand extends client.Command
186
+ class CreateServiceFunctionResourcesCommand 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("NGRHServiceCore", "CreateServiceFunctionResources", {})
190
193
  .n("Resiliencehubv2Client", "CreateServiceFunctionResourcesCommand")
191
- .sc(schemas_0.CreateServiceFunctionResources$)
194
+ .sc(CreateServiceFunctionResources$)
192
195
  .build() {
193
196
  }
194
197
 
195
- class CreateSystemCommand extends client.Command
198
+ class CreateSystemCommand 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("NGRHServiceCore", "CreateSystem", {})
202
205
  .n("Resiliencehubv2Client", "CreateSystemCommand")
203
- .sc(schemas_0.CreateSystem$)
206
+ .sc(CreateSystem$)
204
207
  .build() {
205
208
  }
206
209
 
207
- class CreateUserJourneyCommand extends client.Command
210
+ class CreateUserJourneyCommand 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("NGRHServiceCore", "CreateUserJourney", {})
214
217
  .n("Resiliencehubv2Client", "CreateUserJourneyCommand")
215
- .sc(schemas_0.CreateUserJourney$)
218
+ .sc(CreateUserJourney$)
216
219
  .build() {
217
220
  }
218
221
 
219
- class DeleteAssertionCommand extends client.Command
222
+ class DeleteAssertionCommand 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("NGRHServiceCore", "DeleteAssertion", {})
226
229
  .n("Resiliencehubv2Client", "DeleteAssertionCommand")
227
- .sc(schemas_0.DeleteAssertion$)
230
+ .sc(DeleteAssertion$)
228
231
  .build() {
229
232
  }
230
233
 
231
- class DeleteInputSourceCommand extends client.Command
234
+ class DeleteInputSourceCommand 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("NGRHServiceCore", "DeleteInputSource", {})
238
241
  .n("Resiliencehubv2Client", "DeleteInputSourceCommand")
239
- .sc(schemas_0.DeleteInputSource$)
242
+ .sc(DeleteInputSource$)
240
243
  .build() {
241
244
  }
242
245
 
243
- class DeletePolicyCommand extends client.Command
246
+ class DeletePolicyCommand 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("NGRHServiceCore", "DeletePolicy", {})
250
253
  .n("Resiliencehubv2Client", "DeletePolicyCommand")
251
- .sc(schemas_0.DeletePolicy$)
254
+ .sc(DeletePolicy$)
252
255
  .build() {
253
256
  }
254
257
 
255
- class DeleteServiceCommand extends client.Command
258
+ class DeleteServiceCommand 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("NGRHServiceCore", "DeleteService", {})
262
265
  .n("Resiliencehubv2Client", "DeleteServiceCommand")
263
- .sc(schemas_0.DeleteService$)
266
+ .sc(DeleteService$)
264
267
  .build() {
265
268
  }
266
269
 
267
- class DeleteServiceFunctionCommand extends client.Command
270
+ class DeleteServiceFunctionCommand 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("NGRHServiceCore", "DeleteServiceFunction", {})
274
277
  .n("Resiliencehubv2Client", "DeleteServiceFunctionCommand")
275
- .sc(schemas_0.DeleteServiceFunction$)
278
+ .sc(DeleteServiceFunction$)
276
279
  .build() {
277
280
  }
278
281
 
279
- class DeleteServiceFunctionResourcesCommand extends client.Command
282
+ class DeleteServiceFunctionResourcesCommand 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("NGRHServiceCore", "DeleteServiceFunctionResources", {})
286
289
  .n("Resiliencehubv2Client", "DeleteServiceFunctionResourcesCommand")
287
- .sc(schemas_0.DeleteServiceFunctionResources$)
290
+ .sc(DeleteServiceFunctionResources$)
288
291
  .build() {
289
292
  }
290
293
 
291
- class DeleteSystemCommand extends client.Command
294
+ class DeleteSystemCommand 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("NGRHServiceCore", "DeleteSystem", {})
298
301
  .n("Resiliencehubv2Client", "DeleteSystemCommand")
299
- .sc(schemas_0.DeleteSystem$)
302
+ .sc(DeleteSystem$)
300
303
  .build() {
301
304
  }
302
305
 
303
- class DeleteUserJourneyCommand extends client.Command
306
+ class DeleteUserJourneyCommand 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("NGRHServiceCore", "DeleteUserJourney", {})
310
313
  .n("Resiliencehubv2Client", "DeleteUserJourneyCommand")
311
- .sc(schemas_0.DeleteUserJourney$)
314
+ .sc(DeleteUserJourney$)
312
315
  .build() {
313
316
  }
314
317
 
315
- class GetFailureModeFindingCommand extends client.Command
318
+ class GetFailureModeFindingCommand 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("NGRHServiceCore", "GetFailureModeFinding", {})
322
325
  .n("Resiliencehubv2Client", "GetFailureModeFindingCommand")
323
- .sc(schemas_0.GetFailureModeFinding$)
326
+ .sc(GetFailureModeFinding$)
324
327
  .build() {
325
328
  }
326
329
 
327
- class GetPolicyCommand extends client.Command
330
+ class GetPolicyCommand 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("NGRHServiceCore", "GetPolicy", {})
334
337
  .n("Resiliencehubv2Client", "GetPolicyCommand")
335
- .sc(schemas_0.GetPolicy$)
338
+ .sc(GetPolicy$)
336
339
  .build() {
337
340
  }
338
341
 
339
- class GetServiceCommand extends client.Command
342
+ class GetServiceCommand 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("NGRHServiceCore", "GetService", {})
346
349
  .n("Resiliencehubv2Client", "GetServiceCommand")
347
- .sc(schemas_0.GetService$)
350
+ .sc(GetService$)
348
351
  .build() {
349
352
  }
350
353
 
351
- class GetSystemCommand extends client.Command
354
+ class GetSystemCommand 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("NGRHServiceCore", "GetSystem", {})
358
361
  .n("Resiliencehubv2Client", "GetSystemCommand")
359
- .sc(schemas_0.GetSystem$)
362
+ .sc(GetSystem$)
360
363
  .build() {
361
364
  }
362
365
 
363
- class GetUserJourneyCommand extends client.Command
366
+ class GetUserJourneyCommand 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("NGRHServiceCore", "GetUserJourney", {})
370
373
  .n("Resiliencehubv2Client", "GetUserJourneyCommand")
371
- .sc(schemas_0.GetUserJourney$)
374
+ .sc(GetUserJourney$)
372
375
  .build() {
373
376
  }
374
377
 
375
- class ImportAppCommand extends client.Command
378
+ class ImportAppCommand 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("NGRHServiceCore", "ImportApp", {})
382
385
  .n("Resiliencehubv2Client", "ImportAppCommand")
383
- .sc(schemas_0.ImportApp$)
386
+ .sc(ImportApp$)
384
387
  .build() {
385
388
  }
386
389
 
387
- class ImportPolicyCommand extends client.Command
390
+ class ImportPolicyCommand 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("NGRHServiceCore", "ImportPolicy", {})
394
397
  .n("Resiliencehubv2Client", "ImportPolicyCommand")
395
- .sc(schemas_0.ImportPolicy$)
398
+ .sc(ImportPolicy$)
396
399
  .build() {
397
400
  }
398
401
 
399
- class ListAssertionsCommand extends client.Command
402
+ class ListAssertionsCommand 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("NGRHServiceCore", "ListAssertions", {})
406
409
  .n("Resiliencehubv2Client", "ListAssertionsCommand")
407
- .sc(schemas_0.ListAssertions$)
410
+ .sc(ListAssertions$)
408
411
  .build() {
409
412
  }
410
413
 
411
- class ListDependenciesCommand extends client.Command
414
+ class ListDependenciesCommand 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("NGRHServiceCore", "ListDependencies", {})
418
421
  .n("Resiliencehubv2Client", "ListDependenciesCommand")
419
- .sc(schemas_0.ListDependencies$)
422
+ .sc(ListDependencies$)
420
423
  .build() {
421
424
  }
422
425
 
423
- class ListFailureModeAssessmentsCommand extends client.Command
426
+ class ListFailureModeAssessmentsCommand 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("NGRHServiceCore", "ListFailureModeAssessments", {})
430
433
  .n("Resiliencehubv2Client", "ListFailureModeAssessmentsCommand")
431
- .sc(schemas_0.ListFailureModeAssessments$)
434
+ .sc(ListFailureModeAssessments$)
432
435
  .build() {
433
436
  }
434
437
 
435
- class ListFailureModeFindingsCommand extends client.Command
438
+ class ListFailureModeFindingsCommand 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("NGRHServiceCore", "ListFailureModeFindings", {})
442
445
  .n("Resiliencehubv2Client", "ListFailureModeFindingsCommand")
443
- .sc(schemas_0.ListFailureModeFindings$)
446
+ .sc(ListFailureModeFindings$)
444
447
  .build() {
445
448
  }
446
449
 
447
- class ListInputSourcesCommand extends client.Command
450
+ class ListInputSourcesCommand 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("NGRHServiceCore", "ListInputSources", {})
454
457
  .n("Resiliencehubv2Client", "ListInputSourcesCommand")
455
- .sc(schemas_0.ListInputSources$)
458
+ .sc(ListInputSources$)
456
459
  .build() {
457
460
  }
458
461
 
459
- class ListPoliciesCommand extends client.Command
462
+ class ListPoliciesCommand 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("NGRHServiceCore", "ListPolicies", {})
466
469
  .n("Resiliencehubv2Client", "ListPoliciesCommand")
467
- .sc(schemas_0.ListPolicies$)
470
+ .sc(ListPolicies$)
468
471
  .build() {
469
472
  }
470
473
 
471
- class ListReportsCommand extends client.Command
474
+ class ListReportsCommand 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("NGRHServiceCore", "ListReports", {})
478
481
  .n("Resiliencehubv2Client", "ListReportsCommand")
479
- .sc(schemas_0.ListReports$)
482
+ .sc(ListReports$)
480
483
  .build() {
481
484
  }
482
485
 
483
- class ListResourcesCommand extends client.Command
486
+ class ListResourcesCommand 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("NGRHServiceCore", "ListResources", {})
490
493
  .n("Resiliencehubv2Client", "ListResourcesCommand")
491
- .sc(schemas_0.ListResources$)
494
+ .sc(ListResources$)
492
495
  .build() {
493
496
  }
494
497
 
495
- class ListServiceEventsCommand extends client.Command
498
+ class ListServiceEventsCommand 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("NGRHServiceCore", "ListServiceEvents", {})
502
505
  .n("Resiliencehubv2Client", "ListServiceEventsCommand")
503
- .sc(schemas_0.ListServiceEvents$)
506
+ .sc(ListServiceEvents$)
504
507
  .build() {
505
508
  }
506
509
 
507
- class ListServiceFunctionsCommand extends client.Command
510
+ class ListServiceFunctionsCommand 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("NGRHServiceCore", "ListServiceFunctions", {})
514
517
  .n("Resiliencehubv2Client", "ListServiceFunctionsCommand")
515
- .sc(schemas_0.ListServiceFunctions$)
518
+ .sc(ListServiceFunctions$)
516
519
  .build() {
517
520
  }
518
521
 
519
- class ListServicesCommand extends client.Command
522
+ class ListServicesCommand 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("NGRHServiceCore", "ListServices", {})
526
529
  .n("Resiliencehubv2Client", "ListServicesCommand")
527
- .sc(schemas_0.ListServices$)
530
+ .sc(ListServices$)
528
531
  .build() {
529
532
  }
530
533
 
531
- class ListServiceTopologyEdgesCommand extends client.Command
534
+ class ListServiceTopologyEdgesCommand 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("NGRHServiceCore", "ListServiceTopologyEdges", {})
538
541
  .n("Resiliencehubv2Client", "ListServiceTopologyEdgesCommand")
539
- .sc(schemas_0.ListServiceTopologyEdges$)
542
+ .sc(ListServiceTopologyEdges$)
540
543
  .build() {
541
544
  }
542
545
 
543
- class ListSystemEventsCommand extends client.Command
546
+ class ListSystemEventsCommand extends Command
544
547
  .classBuilder()
545
548
  .ep(commonParams)
546
549
  .m(function (Command, cs, config, o) {
547
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
550
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
548
551
  })
549
552
  .s("NGRHServiceCore", "ListSystemEvents", {})
550
553
  .n("Resiliencehubv2Client", "ListSystemEventsCommand")
551
- .sc(schemas_0.ListSystemEvents$)
554
+ .sc(ListSystemEvents$)
552
555
  .build() {
553
556
  }
554
557
 
555
- class ListSystemsCommand extends client.Command
558
+ class ListSystemsCommand extends Command
556
559
  .classBuilder()
557
560
  .ep(commonParams)
558
561
  .m(function (Command, cs, config, o) {
559
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
562
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
560
563
  })
561
564
  .s("NGRHServiceCore", "ListSystems", {})
562
565
  .n("Resiliencehubv2Client", "ListSystemsCommand")
563
- .sc(schemas_0.ListSystems$)
566
+ .sc(ListSystems$)
564
567
  .build() {
565
568
  }
566
569
 
567
- class ListTagsForResourceCommand extends client.Command
570
+ class ListTagsForResourceCommand extends Command
568
571
  .classBuilder()
569
572
  .ep(commonParams)
570
573
  .m(function (Command, cs, config, o) {
571
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
574
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
572
575
  })
573
576
  .s("NGRHServiceCore", "ListTagsForResource", {})
574
577
  .n("Resiliencehubv2Client", "ListTagsForResourceCommand")
575
- .sc(schemas_0.ListTagsForResource$)
578
+ .sc(ListTagsForResource$)
576
579
  .build() {
577
580
  }
578
581
 
579
- class ListUserJourneysCommand extends client.Command
582
+ class ListUserJourneysCommand extends Command
580
583
  .classBuilder()
581
584
  .ep(commonParams)
582
585
  .m(function (Command, cs, config, o) {
583
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
586
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
584
587
  })
585
588
  .s("NGRHServiceCore", "ListUserJourneys", {})
586
589
  .n("Resiliencehubv2Client", "ListUserJourneysCommand")
587
- .sc(schemas_0.ListUserJourneys$)
590
+ .sc(ListUserJourneys$)
588
591
  .build() {
589
592
  }
590
593
 
591
- class StartFailureModeAssessmentCommand extends client.Command
594
+ class StartFailureModeAssessmentCommand extends Command
592
595
  .classBuilder()
593
596
  .ep(commonParams)
594
597
  .m(function (Command, cs, config, o) {
595
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
598
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
596
599
  })
597
600
  .s("NGRHServiceCore", "StartFailureModeAssessment", {})
598
601
  .n("Resiliencehubv2Client", "StartFailureModeAssessmentCommand")
599
- .sc(schemas_0.StartFailureModeAssessment$)
602
+ .sc(StartFailureModeAssessment$)
600
603
  .build() {
601
604
  }
602
605
 
603
- class TagResourceCommand extends client.Command
606
+ class TagResourceCommand extends Command
604
607
  .classBuilder()
605
608
  .ep(commonParams)
606
609
  .m(function (Command, cs, config, o) {
607
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
610
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
608
611
  })
609
612
  .s("NGRHServiceCore", "TagResource", {})
610
613
  .n("Resiliencehubv2Client", "TagResourceCommand")
611
- .sc(schemas_0.TagResource$)
614
+ .sc(TagResource$)
612
615
  .build() {
613
616
  }
614
617
 
615
- class UntagResourceCommand extends client.Command
618
+ class UntagResourceCommand extends Command
616
619
  .classBuilder()
617
620
  .ep(commonParams)
618
621
  .m(function (Command, cs, config, o) {
619
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
622
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
620
623
  })
621
624
  .s("NGRHServiceCore", "UntagResource", {})
622
625
  .n("Resiliencehubv2Client", "UntagResourceCommand")
623
- .sc(schemas_0.UntagResource$)
626
+ .sc(UntagResource$)
624
627
  .build() {
625
628
  }
626
629
 
627
- class UpdateAssertionCommand extends client.Command
630
+ class UpdateAssertionCommand extends Command
628
631
  .classBuilder()
629
632
  .ep(commonParams)
630
633
  .m(function (Command, cs, config, o) {
631
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
634
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
632
635
  })
633
636
  .s("NGRHServiceCore", "UpdateAssertion", {})
634
637
  .n("Resiliencehubv2Client", "UpdateAssertionCommand")
635
- .sc(schemas_0.UpdateAssertion$)
638
+ .sc(UpdateAssertion$)
636
639
  .build() {
637
640
  }
638
641
 
639
- class UpdateDependencyCommand extends client.Command
642
+ class UpdateDependencyCommand extends Command
640
643
  .classBuilder()
641
644
  .ep(commonParams)
642
645
  .m(function (Command, cs, config, o) {
643
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
646
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
644
647
  })
645
648
  .s("NGRHServiceCore", "UpdateDependency", {})
646
649
  .n("Resiliencehubv2Client", "UpdateDependencyCommand")
647
- .sc(schemas_0.UpdateDependency$)
650
+ .sc(UpdateDependency$)
648
651
  .build() {
649
652
  }
650
653
 
651
- class UpdateFailureModeFindingCommand extends client.Command
654
+ class UpdateFailureModeFindingCommand extends Command
652
655
  .classBuilder()
653
656
  .ep(commonParams)
654
657
  .m(function (Command, cs, config, o) {
655
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
658
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
656
659
  })
657
660
  .s("NGRHServiceCore", "UpdateFailureModeFinding", {})
658
661
  .n("Resiliencehubv2Client", "UpdateFailureModeFindingCommand")
659
- .sc(schemas_0.UpdateFailureModeFinding$)
662
+ .sc(UpdateFailureModeFinding$)
660
663
  .build() {
661
664
  }
662
665
 
663
- class UpdatePolicyCommand extends client.Command
666
+ class UpdatePolicyCommand extends Command
664
667
  .classBuilder()
665
668
  .ep(commonParams)
666
669
  .m(function (Command, cs, config, o) {
667
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
670
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
668
671
  })
669
672
  .s("NGRHServiceCore", "UpdatePolicy", {})
670
673
  .n("Resiliencehubv2Client", "UpdatePolicyCommand")
671
- .sc(schemas_0.UpdatePolicy$)
674
+ .sc(UpdatePolicy$)
672
675
  .build() {
673
676
  }
674
677
 
675
- class UpdateServiceCommand extends client.Command
678
+ class UpdateServiceCommand extends Command
676
679
  .classBuilder()
677
680
  .ep(commonParams)
678
681
  .m(function (Command, cs, config, o) {
679
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
682
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
680
683
  })
681
684
  .s("NGRHServiceCore", "UpdateService", {})
682
685
  .n("Resiliencehubv2Client", "UpdateServiceCommand")
683
- .sc(schemas_0.UpdateService$)
686
+ .sc(UpdateService$)
684
687
  .build() {
685
688
  }
686
689
 
687
- class UpdateServiceFunctionCommand extends client.Command
690
+ class UpdateServiceFunctionCommand extends Command
688
691
  .classBuilder()
689
692
  .ep(commonParams)
690
693
  .m(function (Command, cs, config, o) {
691
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
694
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
692
695
  })
693
696
  .s("NGRHServiceCore", "UpdateServiceFunction", {})
694
697
  .n("Resiliencehubv2Client", "UpdateServiceFunctionCommand")
695
- .sc(schemas_0.UpdateServiceFunction$)
698
+ .sc(UpdateServiceFunction$)
696
699
  .build() {
697
700
  }
698
701
 
699
- class UpdateSystemCommand extends client.Command
702
+ class UpdateSystemCommand extends Command
700
703
  .classBuilder()
701
704
  .ep(commonParams)
702
705
  .m(function (Command, cs, config, o) {
703
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
706
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
704
707
  })
705
708
  .s("NGRHServiceCore", "UpdateSystem", {})
706
709
  .n("Resiliencehubv2Client", "UpdateSystemCommand")
707
- .sc(schemas_0.UpdateSystem$)
710
+ .sc(UpdateSystem$)
708
711
  .build() {
709
712
  }
710
713
 
711
- class UpdateUserJourneyCommand extends client.Command
714
+ class UpdateUserJourneyCommand extends Command
712
715
  .classBuilder()
713
716
  .ep(commonParams)
714
717
  .m(function (Command, cs, config, o) {
715
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
718
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
716
719
  })
717
720
  .s("NGRHServiceCore", "UpdateUserJourney", {})
718
721
  .n("Resiliencehubv2Client", "UpdateUserJourneyCommand")
719
- .sc(schemas_0.UpdateUserJourney$)
722
+ .sc(UpdateUserJourney$)
720
723
  .build() {
721
724
  }
722
725
 
723
- const paginateListAssertions = core.createPaginator(Resiliencehubv2Client, ListAssertionsCommand, "nextToken", "nextToken", "maxResults");
726
+ const paginateListAssertions = createPaginator(Resiliencehubv2Client, ListAssertionsCommand, "nextToken", "nextToken", "maxResults");
724
727
 
725
- const paginateListDependencies = core.createPaginator(Resiliencehubv2Client, ListDependenciesCommand, "nextToken", "nextToken", "maxResults");
728
+ const paginateListDependencies = createPaginator(Resiliencehubv2Client, ListDependenciesCommand, "nextToken", "nextToken", "maxResults");
726
729
 
727
- const paginateListFailureModeAssessments = core.createPaginator(Resiliencehubv2Client, ListFailureModeAssessmentsCommand, "nextToken", "nextToken", "maxResults");
730
+ const paginateListFailureModeAssessments = createPaginator(Resiliencehubv2Client, ListFailureModeAssessmentsCommand, "nextToken", "nextToken", "maxResults");
728
731
 
729
- const paginateListFailureModeFindings = core.createPaginator(Resiliencehubv2Client, ListFailureModeFindingsCommand, "nextToken", "nextToken", "maxResults");
732
+ const paginateListFailureModeFindings = createPaginator(Resiliencehubv2Client, ListFailureModeFindingsCommand, "nextToken", "nextToken", "maxResults");
730
733
 
731
- const paginateListInputSources = core.createPaginator(Resiliencehubv2Client, ListInputSourcesCommand, "nextToken", "nextToken", "maxResults");
734
+ const paginateListInputSources = createPaginator(Resiliencehubv2Client, ListInputSourcesCommand, "nextToken", "nextToken", "maxResults");
732
735
 
733
- const paginateListPolicies = core.createPaginator(Resiliencehubv2Client, ListPoliciesCommand, "nextToken", "nextToken", "maxResults");
736
+ const paginateListPolicies = createPaginator(Resiliencehubv2Client, ListPoliciesCommand, "nextToken", "nextToken", "maxResults");
734
737
 
735
- const paginateListReports = core.createPaginator(Resiliencehubv2Client, ListReportsCommand, "nextToken", "nextToken", "maxResults");
738
+ const paginateListReports = createPaginator(Resiliencehubv2Client, ListReportsCommand, "nextToken", "nextToken", "maxResults");
736
739
 
737
- const paginateListResources = core.createPaginator(Resiliencehubv2Client, ListResourcesCommand, "nextToken", "nextToken", "maxResults");
740
+ const paginateListResources = createPaginator(Resiliencehubv2Client, ListResourcesCommand, "nextToken", "nextToken", "maxResults");
738
741
 
739
- const paginateListServiceEvents = core.createPaginator(Resiliencehubv2Client, ListServiceEventsCommand, "nextToken", "nextToken", "maxResults");
742
+ const paginateListServiceEvents = createPaginator(Resiliencehubv2Client, ListServiceEventsCommand, "nextToken", "nextToken", "maxResults");
740
743
 
741
- const paginateListServiceFunctions = core.createPaginator(Resiliencehubv2Client, ListServiceFunctionsCommand, "nextToken", "nextToken", "maxResults");
744
+ const paginateListServiceFunctions = createPaginator(Resiliencehubv2Client, ListServiceFunctionsCommand, "nextToken", "nextToken", "maxResults");
742
745
 
743
- const paginateListServices = core.createPaginator(Resiliencehubv2Client, ListServicesCommand, "nextToken", "nextToken", "maxResults");
746
+ const paginateListServices = createPaginator(Resiliencehubv2Client, ListServicesCommand, "nextToken", "nextToken", "maxResults");
744
747
 
745
- const paginateListServiceTopologyEdges = core.createPaginator(Resiliencehubv2Client, ListServiceTopologyEdgesCommand, "nextToken", "nextToken", "maxResults");
748
+ const paginateListServiceTopologyEdges = createPaginator(Resiliencehubv2Client, ListServiceTopologyEdgesCommand, "nextToken", "nextToken", "maxResults");
746
749
 
747
- const paginateListSystemEvents = core.createPaginator(Resiliencehubv2Client, ListSystemEventsCommand, "nextToken", "nextToken", "maxResults");
750
+ const paginateListSystemEvents = createPaginator(Resiliencehubv2Client, ListSystemEventsCommand, "nextToken", "nextToken", "maxResults");
748
751
 
749
- const paginateListSystems = core.createPaginator(Resiliencehubv2Client, ListSystemsCommand, "nextToken", "nextToken", "maxResults");
752
+ const paginateListSystems = createPaginator(Resiliencehubv2Client, ListSystemsCommand, "nextToken", "nextToken", "maxResults");
750
753
 
751
- const paginateListUserJourneys = core.createPaginator(Resiliencehubv2Client, ListUserJourneysCommand, "nextToken", "nextToken", "maxResults");
754
+ const paginateListUserJourneys = createPaginator(Resiliencehubv2Client, ListUserJourneysCommand, "nextToken", "nextToken", "maxResults");
752
755
 
753
- const checkState$3 = async (client$1, input) => {
756
+ const checkState$3 = async (client, input) => {
754
757
  let reason;
755
758
  try {
756
- let result = await client$1.send(new ListFailureModeAssessmentsCommand(input));
759
+ let result = await client.send(new ListFailureModeAssessmentsCommand(input));
757
760
  reason = result;
758
761
  try {
759
762
  const returnComparator = () => {
@@ -761,7 +764,7 @@ const checkState$3 = async (client$1, input) => {
761
764
  return (flat_1.length == 0);
762
765
  };
763
766
  if (returnComparator() == true) {
764
- return { state: client.WaiterState.RETRY, reason };
767
+ return { state: WaiterState.RETRY, reason };
765
768
  }
766
769
  }
767
770
  catch (e) { }
@@ -778,7 +781,7 @@ const checkState$3 = async (client$1, input) => {
778
781
  allStringEq_5 = allStringEq_5 && (element_4 == "SUCCESS");
779
782
  }
780
783
  if (allStringEq_5) {
781
- return { state: client.WaiterState.SUCCESS, reason };
784
+ return { state: WaiterState.SUCCESS, reason };
782
785
  }
783
786
  }
784
787
  catch (e) { }
@@ -792,7 +795,7 @@ const checkState$3 = async (client$1, input) => {
792
795
  };
793
796
  for (let anyStringEq_4 of returnComparator()) {
794
797
  if (anyStringEq_4 == "FAILED") {
795
- return { state: client.WaiterState.FAILURE, reason };
798
+ return { state: WaiterState.FAILURE, reason };
796
799
  }
797
800
  }
798
801
  }
@@ -801,22 +804,22 @@ const checkState$3 = async (client$1, input) => {
801
804
  catch (exception) {
802
805
  reason = exception;
803
806
  }
804
- return { state: client.WaiterState.RETRY, reason };
807
+ return { state: WaiterState.RETRY, reason };
805
808
  };
806
809
  const waitForFailureModeAssessmentSuccess = async (params, input) => {
807
810
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
808
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
811
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
809
812
  };
810
813
  const waitUntilFailureModeAssessmentSuccess = async (params, input) => {
811
814
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
812
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
813
- return client.checkExceptions(result);
815
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
816
+ return checkExceptions(result);
814
817
  };
815
818
 
816
- const checkState$2 = async (client$1, input) => {
819
+ const checkState$2 = async (client, input) => {
817
820
  let reason;
818
821
  try {
819
- let result = await client$1.send(new ListReportsCommand(input));
822
+ let result = await client.send(new ListReportsCommand(input));
820
823
  reason = result;
821
824
  try {
822
825
  const returnComparator = () => {
@@ -824,7 +827,7 @@ const checkState$2 = async (client$1, input) => {
824
827
  return (flat_1.length == 0);
825
828
  };
826
829
  if (returnComparator() == true) {
827
- return { state: client.WaiterState.RETRY, reason };
830
+ return { state: WaiterState.RETRY, reason };
828
831
  }
829
832
  }
830
833
  catch (e) { }
@@ -841,7 +844,7 @@ const checkState$2 = async (client$1, input) => {
841
844
  allStringEq_5 = allStringEq_5 && (element_4 == "SUCCEEDED");
842
845
  }
843
846
  if (allStringEq_5) {
844
- return { state: client.WaiterState.SUCCESS, reason };
847
+ return { state: WaiterState.SUCCESS, reason };
845
848
  }
846
849
  }
847
850
  catch (e) { }
@@ -855,7 +858,7 @@ const checkState$2 = async (client$1, input) => {
855
858
  };
856
859
  for (let anyStringEq_4 of returnComparator()) {
857
860
  if (anyStringEq_4 == "FAILED") {
858
- return { state: client.WaiterState.FAILURE, reason };
861
+ return { state: WaiterState.FAILURE, reason };
859
862
  }
860
863
  }
861
864
  }
@@ -864,29 +867,29 @@ const checkState$2 = async (client$1, input) => {
864
867
  catch (exception) {
865
868
  reason = exception;
866
869
  }
867
- return { state: client.WaiterState.RETRY, reason };
870
+ return { state: WaiterState.RETRY, reason };
868
871
  };
869
872
  const waitForReportSucceeded = async (params, input) => {
870
873
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
871
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
874
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
872
875
  };
873
876
  const waitUntilReportSucceeded = async (params, input) => {
874
877
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
875
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
876
- return client.checkExceptions(result);
878
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
879
+ return checkExceptions(result);
877
880
  };
878
881
 
879
- const checkState$1 = async (client$1, input) => {
882
+ const checkState$1 = async (client, input) => {
880
883
  let reason;
881
884
  try {
882
- let result = await client$1.send(new GetServiceCommand(input));
885
+ let result = await client.send(new GetServiceCommand(input));
883
886
  reason = result;
884
887
  try {
885
888
  const returnComparator = () => {
886
889
  return result.service.assessmentStatus;
887
890
  };
888
891
  if (returnComparator() === "SUCCESS") {
889
- return { state: client.WaiterState.SUCCESS, reason };
892
+ return { state: WaiterState.SUCCESS, reason };
890
893
  }
891
894
  }
892
895
  catch (e) { }
@@ -895,7 +898,7 @@ const checkState$1 = async (client$1, input) => {
895
898
  return result.service.assessmentStatus;
896
899
  };
897
900
  if (returnComparator() === "FAILED") {
898
- return { state: client.WaiterState.FAILURE, reason };
901
+ return { state: WaiterState.FAILURE, reason };
899
902
  }
900
903
  }
901
904
  catch (e) { }
@@ -903,29 +906,29 @@ const checkState$1 = async (client$1, input) => {
903
906
  catch (exception) {
904
907
  reason = exception;
905
908
  }
906
- return { state: client.WaiterState.RETRY, reason };
909
+ return { state: WaiterState.RETRY, reason };
907
910
  };
908
911
  const waitForServiceAssessmentCompleted = async (params, input) => {
909
912
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
910
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
913
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
911
914
  };
912
915
  const waitUntilServiceAssessmentCompleted = async (params, input) => {
913
916
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
914
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
915
- return client.checkExceptions(result);
917
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
918
+ return checkExceptions(result);
916
919
  };
917
920
 
918
- const checkState = async (client$1, input) => {
921
+ const checkState = async (client, input) => {
919
922
  let reason;
920
923
  try {
921
- let result = await client$1.send(new GetServiceCommand(input));
924
+ let result = await client.send(new GetServiceCommand(input));
922
925
  reason = result;
923
926
  try {
924
927
  const returnComparator = () => {
925
928
  return result.service.resourceDiscovery.status;
926
929
  };
927
930
  if (returnComparator() === "SUCCEEDED") {
928
- return { state: client.WaiterState.SUCCESS, reason };
931
+ return { state: WaiterState.SUCCESS, reason };
929
932
  }
930
933
  }
931
934
  catch (e) { }
@@ -934,7 +937,7 @@ const checkState = async (client$1, input) => {
934
937
  return result.service.resourceDiscovery.status;
935
938
  };
936
939
  if (returnComparator() === "COMPLETED_WITH_FAILURES") {
937
- return { state: client.WaiterState.SUCCESS, reason };
940
+ return { state: WaiterState.SUCCESS, reason };
938
941
  }
939
942
  }
940
943
  catch (e) { }
@@ -943,7 +946,7 @@ const checkState = async (client$1, input) => {
943
946
  return result.service.resourceDiscovery.status;
944
947
  };
945
948
  if (returnComparator() === "FAILED") {
946
- return { state: client.WaiterState.FAILURE, reason };
949
+ return { state: WaiterState.FAILURE, reason };
947
950
  }
948
951
  }
949
952
  catch (e) { }
@@ -951,16 +954,16 @@ const checkState = async (client$1, input) => {
951
954
  catch (exception) {
952
955
  reason = exception;
953
956
  }
954
- return { state: client.WaiterState.RETRY, reason };
957
+ return { state: WaiterState.RETRY, reason };
955
958
  };
956
959
  const waitForServiceResourceDiscoveryCompleted = async (params, input) => {
957
960
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
958
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
961
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
959
962
  };
960
963
  const waitUntilServiceResourceDiscoveryCompleted = async (params, input) => {
961
964
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
962
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
963
- return client.checkExceptions(result);
965
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
966
+ return checkExceptions(result);
964
967
  };
965
968
 
966
969
  const commands = {
@@ -1041,7 +1044,7 @@ const waiters = {
1041
1044
  };
1042
1045
  class Resiliencehubv2 extends Resiliencehubv2Client {
1043
1046
  }
1044
- client.createAggregatedClient(commands, Resiliencehubv2, { paginators, waiters });
1047
+ createAggregatedClient(commands, Resiliencehubv2, { paginators, waiters });
1045
1048
 
1046
1049
  const AchievabilityStatus = {
1047
1050
  ACHIEVABLE: "ACHIEVABLE",
@@ -1226,9 +1229,6 @@ const SystemEventType = {
1226
1229
  SYSTEM_USER_JOURNEY_UPDATED: "SYSTEM_USER_JOURNEY_UPDATED",
1227
1230
  };
1228
1231
 
1229
- exports.$Command = client.Command;
1230
- exports.__Client = client.Client;
1231
- exports.Resiliencehubv2ServiceException = Resiliencehubv2ServiceException.Resiliencehubv2ServiceException;
1232
1232
  exports.AchievabilityStatus = AchievabilityStatus;
1233
1233
  exports.ActorType = ActorType;
1234
1234
  exports.AssertionSource = AssertionSource;
@@ -1335,23 +1335,3 @@ exports.waitUntilFailureModeAssessmentSuccess = waitUntilFailureModeAssessmentSu
1335
1335
  exports.waitUntilReportSucceeded = waitUntilReportSucceeded;
1336
1336
  exports.waitUntilServiceAssessmentCompleted = waitUntilServiceAssessmentCompleted;
1337
1337
  exports.waitUntilServiceResourceDiscoveryCompleted = waitUntilServiceResourceDiscoveryCompleted;
1338
- Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
1339
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1340
- Object.defineProperty(exports, '__proto__', {
1341
- enumerable: true,
1342
- value: schemas_0['__proto__']
1343
- });
1344
-
1345
- Object.keys(schemas_0).forEach(function (k) {
1346
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
1347
- });
1348
- Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
1349
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1350
- Object.defineProperty(exports, '__proto__', {
1351
- enumerable: true,
1352
- value: errors['__proto__']
1353
- });
1354
-
1355
- Object.keys(errors).forEach(function (k) {
1356
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
1357
- });