@aws-sdk/client-neptune-graph 3.1068.0 → 3.1069.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 NeptuneGraphServiceException = require('./models/NeptuneGraphServiceException');
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, defaultNeptuneGraphHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
+ const { getRuntimeConfig } = require("./runtimeConfig");
14
+ const { CancelExportTask$, CancelImportTask$, CancelQuery$, CreateGraph$, CreateGraphSnapshot$, CreateGraphUsingImportTask$, CreatePrivateGraphEndpoint$, DeleteGraph$, DeleteGraphSnapshot$, DeletePrivateGraphEndpoint$, ExecuteQuery$, GetExportTask$, GetGraph$, GetGraphSnapshot$, GetGraphSummary$, GetImportTask$, GetPrivateGraphEndpoint$, GetQuery$, ListExportTasks$, ListGraphs$, ListGraphSnapshots$, ListImportTasks$, ListPrivateGraphEndpoints$, ListQueries$, ListTagsForResource$, ResetGraph$, RestoreGraphFromSnapshot$, StartExportTask$, StartGraph$, StartImportTask$, StopGraph$, TagResource$, UntagResource$, UpdateGraph$ } = require("./schemas/schemas_0");
15
+ __exportStar(require("./schemas/schemas_0"), exports);
16
+ __exportStar(require("./models/errors"), exports);
17
+ const { NeptuneGraphServiceException } = require("./models/NeptuneGraphServiceException");
18
+ exports.NeptuneGraphServiceException = NeptuneGraphServiceException;
16
19
 
17
20
  const resolveClientEndpointParameters = (options) => {
18
21
  return Object.assign(options, {
@@ -68,577 +71,577 @@ 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 NeptuneGraphClient extends client.Client {
79
+ class NeptuneGraphClient 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.defaultNeptuneGraphHttpAuthSchemeParametersProvider,
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: defaultNeptuneGraphHttpAuthSchemeParametersProvider,
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 CancelExportTaskCommand extends client.Command
114
+ class CancelExportTaskCommand extends Command
112
115
  .classBuilder()
113
116
  .ep({
114
117
  ...commonParams,
115
118
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
116
119
  })
117
120
  .m(function (Command, cs, config, o) {
118
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
121
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
119
122
  })
120
123
  .s("AmazonNeptuneGraph", "CancelExportTask", {})
121
124
  .n("NeptuneGraphClient", "CancelExportTaskCommand")
122
- .sc(schemas_0.CancelExportTask$)
125
+ .sc(CancelExportTask$)
123
126
  .build() {
124
127
  }
125
128
 
126
- class CancelImportTaskCommand extends client.Command
129
+ class CancelImportTaskCommand extends Command
127
130
  .classBuilder()
128
131
  .ep({
129
132
  ...commonParams,
130
133
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
131
134
  })
132
135
  .m(function (Command, cs, config, o) {
133
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
136
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
134
137
  })
135
138
  .s("AmazonNeptuneGraph", "CancelImportTask", {})
136
139
  .n("NeptuneGraphClient", "CancelImportTaskCommand")
137
- .sc(schemas_0.CancelImportTask$)
140
+ .sc(CancelImportTask$)
138
141
  .build() {
139
142
  }
140
143
 
141
- class CancelQueryCommand extends client.Command
144
+ class CancelQueryCommand extends Command
142
145
  .classBuilder()
143
146
  .ep({
144
147
  ...commonParams,
145
148
  ApiType: { type: "staticContextParams", value: `DataPlane` },
146
149
  })
147
150
  .m(function (Command, cs, config, o) {
148
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
151
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
149
152
  })
150
153
  .s("AmazonNeptuneGraph", "CancelQuery", {})
151
154
  .n("NeptuneGraphClient", "CancelQueryCommand")
152
- .sc(schemas_0.CancelQuery$)
155
+ .sc(CancelQuery$)
153
156
  .build() {
154
157
  }
155
158
 
156
- class CreateGraphCommand extends client.Command
159
+ class CreateGraphCommand extends Command
157
160
  .classBuilder()
158
161
  .ep({
159
162
  ...commonParams,
160
163
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
161
164
  })
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("AmazonNeptuneGraph", "CreateGraph", {})
166
169
  .n("NeptuneGraphClient", "CreateGraphCommand")
167
- .sc(schemas_0.CreateGraph$)
170
+ .sc(CreateGraph$)
168
171
  .build() {
169
172
  }
170
173
 
171
- class CreateGraphSnapshotCommand extends client.Command
174
+ class CreateGraphSnapshotCommand extends Command
172
175
  .classBuilder()
173
176
  .ep({
174
177
  ...commonParams,
175
178
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
176
179
  })
177
180
  .m(function (Command, cs, config, o) {
178
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
181
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
179
182
  })
180
183
  .s("AmazonNeptuneGraph", "CreateGraphSnapshot", {})
181
184
  .n("NeptuneGraphClient", "CreateGraphSnapshotCommand")
182
- .sc(schemas_0.CreateGraphSnapshot$)
185
+ .sc(CreateGraphSnapshot$)
183
186
  .build() {
184
187
  }
185
188
 
186
- class CreateGraphUsingImportTaskCommand extends client.Command
189
+ class CreateGraphUsingImportTaskCommand extends Command
187
190
  .classBuilder()
188
191
  .ep({
189
192
  ...commonParams,
190
193
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
191
194
  })
192
195
  .m(function (Command, cs, config, o) {
193
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
196
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
194
197
  })
195
198
  .s("AmazonNeptuneGraph", "CreateGraphUsingImportTask", {})
196
199
  .n("NeptuneGraphClient", "CreateGraphUsingImportTaskCommand")
197
- .sc(schemas_0.CreateGraphUsingImportTask$)
200
+ .sc(CreateGraphUsingImportTask$)
198
201
  .build() {
199
202
  }
200
203
 
201
- class CreatePrivateGraphEndpointCommand extends client.Command
204
+ class CreatePrivateGraphEndpointCommand extends Command
202
205
  .classBuilder()
203
206
  .ep({
204
207
  ...commonParams,
205
208
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
206
209
  })
207
210
  .m(function (Command, cs, config, o) {
208
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
211
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
209
212
  })
210
213
  .s("AmazonNeptuneGraph", "CreatePrivateGraphEndpoint", {})
211
214
  .n("NeptuneGraphClient", "CreatePrivateGraphEndpointCommand")
212
- .sc(schemas_0.CreatePrivateGraphEndpoint$)
215
+ .sc(CreatePrivateGraphEndpoint$)
213
216
  .build() {
214
217
  }
215
218
 
216
- class DeleteGraphCommand extends client.Command
219
+ class DeleteGraphCommand extends Command
217
220
  .classBuilder()
218
221
  .ep({
219
222
  ...commonParams,
220
223
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
221
224
  })
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("AmazonNeptuneGraph", "DeleteGraph", {})
226
229
  .n("NeptuneGraphClient", "DeleteGraphCommand")
227
- .sc(schemas_0.DeleteGraph$)
230
+ .sc(DeleteGraph$)
228
231
  .build() {
229
232
  }
230
233
 
231
- class DeleteGraphSnapshotCommand extends client.Command
234
+ class DeleteGraphSnapshotCommand extends Command
232
235
  .classBuilder()
233
236
  .ep({
234
237
  ...commonParams,
235
238
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
236
239
  })
237
240
  .m(function (Command, cs, config, o) {
238
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
241
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
239
242
  })
240
243
  .s("AmazonNeptuneGraph", "DeleteGraphSnapshot", {})
241
244
  .n("NeptuneGraphClient", "DeleteGraphSnapshotCommand")
242
- .sc(schemas_0.DeleteGraphSnapshot$)
245
+ .sc(DeleteGraphSnapshot$)
243
246
  .build() {
244
247
  }
245
248
 
246
- class DeletePrivateGraphEndpointCommand extends client.Command
249
+ class DeletePrivateGraphEndpointCommand extends Command
247
250
  .classBuilder()
248
251
  .ep({
249
252
  ...commonParams,
250
253
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
251
254
  })
252
255
  .m(function (Command, cs, config, o) {
253
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
256
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
254
257
  })
255
258
  .s("AmazonNeptuneGraph", "DeletePrivateGraphEndpoint", {})
256
259
  .n("NeptuneGraphClient", "DeletePrivateGraphEndpointCommand")
257
- .sc(schemas_0.DeletePrivateGraphEndpoint$)
260
+ .sc(DeletePrivateGraphEndpoint$)
258
261
  .build() {
259
262
  }
260
263
 
261
- class ExecuteQueryCommand extends client.Command
264
+ class ExecuteQueryCommand extends Command
262
265
  .classBuilder()
263
266
  .ep({
264
267
  ...commonParams,
265
268
  ApiType: { type: "staticContextParams", value: `DataPlane` },
266
269
  })
267
270
  .m(function (Command, cs, config, o) {
268
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
271
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
269
272
  })
270
273
  .s("AmazonNeptuneGraph", "ExecuteQuery", {})
271
274
  .n("NeptuneGraphClient", "ExecuteQueryCommand")
272
- .sc(schemas_0.ExecuteQuery$)
275
+ .sc(ExecuteQuery$)
273
276
  .build() {
274
277
  }
275
278
 
276
- class GetExportTaskCommand extends client.Command
279
+ class GetExportTaskCommand extends Command
277
280
  .classBuilder()
278
281
  .ep({
279
282
  ...commonParams,
280
283
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
281
284
  })
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("AmazonNeptuneGraph", "GetExportTask", {})
286
289
  .n("NeptuneGraphClient", "GetExportTaskCommand")
287
- .sc(schemas_0.GetExportTask$)
290
+ .sc(GetExportTask$)
288
291
  .build() {
289
292
  }
290
293
 
291
- class GetGraphCommand extends client.Command
294
+ class GetGraphCommand extends Command
292
295
  .classBuilder()
293
296
  .ep({
294
297
  ...commonParams,
295
298
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
296
299
  })
297
300
  .m(function (Command, cs, config, o) {
298
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
301
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
299
302
  })
300
303
  .s("AmazonNeptuneGraph", "GetGraph", {})
301
304
  .n("NeptuneGraphClient", "GetGraphCommand")
302
- .sc(schemas_0.GetGraph$)
305
+ .sc(GetGraph$)
303
306
  .build() {
304
307
  }
305
308
 
306
- class GetGraphSnapshotCommand extends client.Command
309
+ class GetGraphSnapshotCommand extends Command
307
310
  .classBuilder()
308
311
  .ep({
309
312
  ...commonParams,
310
313
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
311
314
  })
312
315
  .m(function (Command, cs, config, o) {
313
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
316
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
314
317
  })
315
318
  .s("AmazonNeptuneGraph", "GetGraphSnapshot", {})
316
319
  .n("NeptuneGraphClient", "GetGraphSnapshotCommand")
317
- .sc(schemas_0.GetGraphSnapshot$)
320
+ .sc(GetGraphSnapshot$)
318
321
  .build() {
319
322
  }
320
323
 
321
- class GetGraphSummaryCommand extends client.Command
324
+ class GetGraphSummaryCommand extends Command
322
325
  .classBuilder()
323
326
  .ep({
324
327
  ...commonParams,
325
328
  ApiType: { type: "staticContextParams", value: `DataPlane` },
326
329
  })
327
330
  .m(function (Command, cs, config, o) {
328
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
331
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
329
332
  })
330
333
  .s("AmazonNeptuneGraph", "GetGraphSummary", {})
331
334
  .n("NeptuneGraphClient", "GetGraphSummaryCommand")
332
- .sc(schemas_0.GetGraphSummary$)
335
+ .sc(GetGraphSummary$)
333
336
  .build() {
334
337
  }
335
338
 
336
- class GetImportTaskCommand extends client.Command
339
+ class GetImportTaskCommand extends Command
337
340
  .classBuilder()
338
341
  .ep({
339
342
  ...commonParams,
340
343
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
341
344
  })
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("AmazonNeptuneGraph", "GetImportTask", {})
346
349
  .n("NeptuneGraphClient", "GetImportTaskCommand")
347
- .sc(schemas_0.GetImportTask$)
350
+ .sc(GetImportTask$)
348
351
  .build() {
349
352
  }
350
353
 
351
- class GetPrivateGraphEndpointCommand extends client.Command
354
+ class GetPrivateGraphEndpointCommand extends Command
352
355
  .classBuilder()
353
356
  .ep({
354
357
  ...commonParams,
355
358
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
356
359
  })
357
360
  .m(function (Command, cs, config, o) {
358
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
361
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
359
362
  })
360
363
  .s("AmazonNeptuneGraph", "GetPrivateGraphEndpoint", {})
361
364
  .n("NeptuneGraphClient", "GetPrivateGraphEndpointCommand")
362
- .sc(schemas_0.GetPrivateGraphEndpoint$)
365
+ .sc(GetPrivateGraphEndpoint$)
363
366
  .build() {
364
367
  }
365
368
 
366
- class GetQueryCommand extends client.Command
369
+ class GetQueryCommand extends Command
367
370
  .classBuilder()
368
371
  .ep({
369
372
  ...commonParams,
370
373
  ApiType: { type: "staticContextParams", value: `DataPlane` },
371
374
  })
372
375
  .m(function (Command, cs, config, o) {
373
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
376
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
374
377
  })
375
378
  .s("AmazonNeptuneGraph", "GetQuery", {})
376
379
  .n("NeptuneGraphClient", "GetQueryCommand")
377
- .sc(schemas_0.GetQuery$)
380
+ .sc(GetQuery$)
378
381
  .build() {
379
382
  }
380
383
 
381
- class ListExportTasksCommand extends client.Command
384
+ class ListExportTasksCommand extends Command
382
385
  .classBuilder()
383
386
  .ep({
384
387
  ...commonParams,
385
388
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
386
389
  })
387
390
  .m(function (Command, cs, config, o) {
388
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
391
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
389
392
  })
390
393
  .s("AmazonNeptuneGraph", "ListExportTasks", {})
391
394
  .n("NeptuneGraphClient", "ListExportTasksCommand")
392
- .sc(schemas_0.ListExportTasks$)
395
+ .sc(ListExportTasks$)
393
396
  .build() {
394
397
  }
395
398
 
396
- class ListGraphsCommand extends client.Command
399
+ class ListGraphsCommand extends Command
397
400
  .classBuilder()
398
401
  .ep({
399
402
  ...commonParams,
400
403
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
401
404
  })
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("AmazonNeptuneGraph", "ListGraphs", {})
406
409
  .n("NeptuneGraphClient", "ListGraphsCommand")
407
- .sc(schemas_0.ListGraphs$)
410
+ .sc(ListGraphs$)
408
411
  .build() {
409
412
  }
410
413
 
411
- class ListGraphSnapshotsCommand extends client.Command
414
+ class ListGraphSnapshotsCommand extends Command
412
415
  .classBuilder()
413
416
  .ep({
414
417
  ...commonParams,
415
418
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
416
419
  })
417
420
  .m(function (Command, cs, config, o) {
418
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
421
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
419
422
  })
420
423
  .s("AmazonNeptuneGraph", "ListGraphSnapshots", {})
421
424
  .n("NeptuneGraphClient", "ListGraphSnapshotsCommand")
422
- .sc(schemas_0.ListGraphSnapshots$)
425
+ .sc(ListGraphSnapshots$)
423
426
  .build() {
424
427
  }
425
428
 
426
- class ListImportTasksCommand extends client.Command
429
+ class ListImportTasksCommand extends Command
427
430
  .classBuilder()
428
431
  .ep({
429
432
  ...commonParams,
430
433
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
431
434
  })
432
435
  .m(function (Command, cs, config, o) {
433
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
436
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
434
437
  })
435
438
  .s("AmazonNeptuneGraph", "ListImportTasks", {})
436
439
  .n("NeptuneGraphClient", "ListImportTasksCommand")
437
- .sc(schemas_0.ListImportTasks$)
440
+ .sc(ListImportTasks$)
438
441
  .build() {
439
442
  }
440
443
 
441
- class ListPrivateGraphEndpointsCommand extends client.Command
444
+ class ListPrivateGraphEndpointsCommand extends Command
442
445
  .classBuilder()
443
446
  .ep({
444
447
  ...commonParams,
445
448
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
446
449
  })
447
450
  .m(function (Command, cs, config, o) {
448
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
451
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
449
452
  })
450
453
  .s("AmazonNeptuneGraph", "ListPrivateGraphEndpoints", {})
451
454
  .n("NeptuneGraphClient", "ListPrivateGraphEndpointsCommand")
452
- .sc(schemas_0.ListPrivateGraphEndpoints$)
455
+ .sc(ListPrivateGraphEndpoints$)
453
456
  .build() {
454
457
  }
455
458
 
456
- class ListQueriesCommand extends client.Command
459
+ class ListQueriesCommand extends Command
457
460
  .classBuilder()
458
461
  .ep({
459
462
  ...commonParams,
460
463
  ApiType: { type: "staticContextParams", value: `DataPlane` },
461
464
  })
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("AmazonNeptuneGraph", "ListQueries", {})
466
469
  .n("NeptuneGraphClient", "ListQueriesCommand")
467
- .sc(schemas_0.ListQueries$)
470
+ .sc(ListQueries$)
468
471
  .build() {
469
472
  }
470
473
 
471
- class ListTagsForResourceCommand extends client.Command
474
+ class ListTagsForResourceCommand extends Command
472
475
  .classBuilder()
473
476
  .ep({
474
477
  ...commonParams,
475
478
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
476
479
  })
477
480
  .m(function (Command, cs, config, o) {
478
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
481
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
479
482
  })
480
483
  .s("AmazonNeptuneGraph", "ListTagsForResource", {})
481
484
  .n("NeptuneGraphClient", "ListTagsForResourceCommand")
482
- .sc(schemas_0.ListTagsForResource$)
485
+ .sc(ListTagsForResource$)
483
486
  .build() {
484
487
  }
485
488
 
486
- class ResetGraphCommand extends client.Command
489
+ class ResetGraphCommand extends Command
487
490
  .classBuilder()
488
491
  .ep({
489
492
  ...commonParams,
490
493
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
491
494
  })
492
495
  .m(function (Command, cs, config, o) {
493
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
496
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
494
497
  })
495
498
  .s("AmazonNeptuneGraph", "ResetGraph", {})
496
499
  .n("NeptuneGraphClient", "ResetGraphCommand")
497
- .sc(schemas_0.ResetGraph$)
500
+ .sc(ResetGraph$)
498
501
  .build() {
499
502
  }
500
503
 
501
- class RestoreGraphFromSnapshotCommand extends client.Command
504
+ class RestoreGraphFromSnapshotCommand extends Command
502
505
  .classBuilder()
503
506
  .ep({
504
507
  ...commonParams,
505
508
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
506
509
  })
507
510
  .m(function (Command, cs, config, o) {
508
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
511
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
509
512
  })
510
513
  .s("AmazonNeptuneGraph", "RestoreGraphFromSnapshot", {})
511
514
  .n("NeptuneGraphClient", "RestoreGraphFromSnapshotCommand")
512
- .sc(schemas_0.RestoreGraphFromSnapshot$)
515
+ .sc(RestoreGraphFromSnapshot$)
513
516
  .build() {
514
517
  }
515
518
 
516
- class StartExportTaskCommand extends client.Command
519
+ class StartExportTaskCommand extends Command
517
520
  .classBuilder()
518
521
  .ep({
519
522
  ...commonParams,
520
523
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
521
524
  })
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("AmazonNeptuneGraph", "StartExportTask", {})
526
529
  .n("NeptuneGraphClient", "StartExportTaskCommand")
527
- .sc(schemas_0.StartExportTask$)
530
+ .sc(StartExportTask$)
528
531
  .build() {
529
532
  }
530
533
 
531
- class StartGraphCommand extends client.Command
534
+ class StartGraphCommand extends Command
532
535
  .classBuilder()
533
536
  .ep({
534
537
  ...commonParams,
535
538
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
536
539
  })
537
540
  .m(function (Command, cs, config, o) {
538
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
541
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
539
542
  })
540
543
  .s("AmazonNeptuneGraph", "StartGraph", {})
541
544
  .n("NeptuneGraphClient", "StartGraphCommand")
542
- .sc(schemas_0.StartGraph$)
545
+ .sc(StartGraph$)
543
546
  .build() {
544
547
  }
545
548
 
546
- class StartImportTaskCommand extends client.Command
549
+ class StartImportTaskCommand extends Command
547
550
  .classBuilder()
548
551
  .ep({
549
552
  ...commonParams,
550
553
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
551
554
  })
552
555
  .m(function (Command, cs, config, o) {
553
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
556
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
554
557
  })
555
558
  .s("AmazonNeptuneGraph", "StartImportTask", {})
556
559
  .n("NeptuneGraphClient", "StartImportTaskCommand")
557
- .sc(schemas_0.StartImportTask$)
560
+ .sc(StartImportTask$)
558
561
  .build() {
559
562
  }
560
563
 
561
- class StopGraphCommand extends client.Command
564
+ class StopGraphCommand extends Command
562
565
  .classBuilder()
563
566
  .ep({
564
567
  ...commonParams,
565
568
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
566
569
  })
567
570
  .m(function (Command, cs, config, o) {
568
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
571
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
569
572
  })
570
573
  .s("AmazonNeptuneGraph", "StopGraph", {})
571
574
  .n("NeptuneGraphClient", "StopGraphCommand")
572
- .sc(schemas_0.StopGraph$)
575
+ .sc(StopGraph$)
573
576
  .build() {
574
577
  }
575
578
 
576
- class TagResourceCommand extends client.Command
579
+ class TagResourceCommand extends Command
577
580
  .classBuilder()
578
581
  .ep({
579
582
  ...commonParams,
580
583
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
581
584
  })
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("AmazonNeptuneGraph", "TagResource", {})
586
589
  .n("NeptuneGraphClient", "TagResourceCommand")
587
- .sc(schemas_0.TagResource$)
590
+ .sc(TagResource$)
588
591
  .build() {
589
592
  }
590
593
 
591
- class UntagResourceCommand extends client.Command
594
+ class UntagResourceCommand extends Command
592
595
  .classBuilder()
593
596
  .ep({
594
597
  ...commonParams,
595
598
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
596
599
  })
597
600
  .m(function (Command, cs, config, o) {
598
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
601
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
599
602
  })
600
603
  .s("AmazonNeptuneGraph", "UntagResource", {})
601
604
  .n("NeptuneGraphClient", "UntagResourceCommand")
602
- .sc(schemas_0.UntagResource$)
605
+ .sc(UntagResource$)
603
606
  .build() {
604
607
  }
605
608
 
606
- class UpdateGraphCommand extends client.Command
609
+ class UpdateGraphCommand extends Command
607
610
  .classBuilder()
608
611
  .ep({
609
612
  ...commonParams,
610
613
  ApiType: { type: "staticContextParams", value: `ControlPlane` },
611
614
  })
612
615
  .m(function (Command, cs, config, o) {
613
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
616
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
614
617
  })
615
618
  .s("AmazonNeptuneGraph", "UpdateGraph", {})
616
619
  .n("NeptuneGraphClient", "UpdateGraphCommand")
617
- .sc(schemas_0.UpdateGraph$)
620
+ .sc(UpdateGraph$)
618
621
  .build() {
619
622
  }
620
623
 
621
- const paginateListExportTasks = core.createPaginator(NeptuneGraphClient, ListExportTasksCommand, "nextToken", "nextToken", "maxResults");
624
+ const paginateListExportTasks = createPaginator(NeptuneGraphClient, ListExportTasksCommand, "nextToken", "nextToken", "maxResults");
622
625
 
623
- const paginateListGraphSnapshots = core.createPaginator(NeptuneGraphClient, ListGraphSnapshotsCommand, "nextToken", "nextToken", "maxResults");
626
+ const paginateListGraphSnapshots = createPaginator(NeptuneGraphClient, ListGraphSnapshotsCommand, "nextToken", "nextToken", "maxResults");
624
627
 
625
- const paginateListGraphs = core.createPaginator(NeptuneGraphClient, ListGraphsCommand, "nextToken", "nextToken", "maxResults");
628
+ const paginateListGraphs = createPaginator(NeptuneGraphClient, ListGraphsCommand, "nextToken", "nextToken", "maxResults");
626
629
 
627
- const paginateListImportTasks = core.createPaginator(NeptuneGraphClient, ListImportTasksCommand, "nextToken", "nextToken", "maxResults");
630
+ const paginateListImportTasks = createPaginator(NeptuneGraphClient, ListImportTasksCommand, "nextToken", "nextToken", "maxResults");
628
631
 
629
- const paginateListPrivateGraphEndpoints = core.createPaginator(NeptuneGraphClient, ListPrivateGraphEndpointsCommand, "nextToken", "nextToken", "maxResults");
632
+ const paginateListPrivateGraphEndpoints = createPaginator(NeptuneGraphClient, ListPrivateGraphEndpointsCommand, "nextToken", "nextToken", "maxResults");
630
633
 
631
- const checkState$a = async (client$1, input) => {
634
+ const checkState$a = async (client, input) => {
632
635
  let reason;
633
636
  try {
634
- let result = await client$1.send(new GetExportTaskCommand(input));
637
+ let result = await client.send(new GetExportTaskCommand(input));
635
638
  reason = result;
636
639
  try {
637
640
  const returnComparator = () => {
638
641
  return ((result.status != "CANCELLING") && (result.status != "CANCELLED"));
639
642
  };
640
643
  if (returnComparator() == true) {
641
- return { state: client.WaiterState.FAILURE, reason };
644
+ return { state: WaiterState.FAILURE, reason };
642
645
  }
643
646
  }
644
647
  catch (e) { }
@@ -647,7 +650,7 @@ const checkState$a = async (client$1, input) => {
647
650
  return result.status;
648
651
  };
649
652
  if (returnComparator() === "CANCELLED") {
650
- return { state: client.WaiterState.SUCCESS, reason };
653
+ return { state: WaiterState.SUCCESS, reason };
651
654
  }
652
655
  }
653
656
  catch (e) { }
@@ -655,29 +658,29 @@ const checkState$a = async (client$1, input) => {
655
658
  catch (exception) {
656
659
  reason = exception;
657
660
  }
658
- return { state: client.WaiterState.RETRY, reason };
661
+ return { state: WaiterState.RETRY, reason };
659
662
  };
660
663
  const waitForExportTaskCancelled = async (params, input) => {
661
664
  const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
662
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$a);
665
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$a);
663
666
  };
664
667
  const waitUntilExportTaskCancelled = async (params, input) => {
665
668
  const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
666
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$a);
667
- return client.checkExceptions(result);
669
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$a);
670
+ return checkExceptions(result);
668
671
  };
669
672
 
670
- const checkState$9 = async (client$1, input) => {
673
+ const checkState$9 = async (client, input) => {
671
674
  let reason;
672
675
  try {
673
- let result = await client$1.send(new GetExportTaskCommand(input));
676
+ let result = await client.send(new GetExportTaskCommand(input));
674
677
  reason = result;
675
678
  try {
676
679
  const returnComparator = () => {
677
680
  return result.status;
678
681
  };
679
682
  if (returnComparator() === "CANCELLING") {
680
- return { state: client.WaiterState.FAILURE, reason };
683
+ return { state: WaiterState.FAILURE, reason };
681
684
  }
682
685
  }
683
686
  catch (e) { }
@@ -686,7 +689,7 @@ const checkState$9 = async (client$1, input) => {
686
689
  return result.status;
687
690
  };
688
691
  if (returnComparator() === "CANCELLED") {
689
- return { state: client.WaiterState.FAILURE, reason };
692
+ return { state: WaiterState.FAILURE, reason };
690
693
  }
691
694
  }
692
695
  catch (e) { }
@@ -695,7 +698,7 @@ const checkState$9 = async (client$1, input) => {
695
698
  return result.status;
696
699
  };
697
700
  if (returnComparator() === "FAILED") {
698
- return { state: client.WaiterState.FAILURE, reason };
701
+ return { state: WaiterState.FAILURE, reason };
699
702
  }
700
703
  }
701
704
  catch (e) { }
@@ -704,7 +707,7 @@ const checkState$9 = async (client$1, input) => {
704
707
  return result.status;
705
708
  };
706
709
  if (returnComparator() === "SUCCEEDED") {
707
- return { state: client.WaiterState.SUCCESS, reason };
710
+ return { state: WaiterState.SUCCESS, reason };
708
711
  }
709
712
  }
710
713
  catch (e) { }
@@ -712,29 +715,29 @@ const checkState$9 = async (client$1, input) => {
712
715
  catch (exception) {
713
716
  reason = exception;
714
717
  }
715
- return { state: client.WaiterState.RETRY, reason };
718
+ return { state: WaiterState.RETRY, reason };
716
719
  };
717
720
  const waitForExportTaskSuccessful = async (params, input) => {
718
721
  const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
719
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$9);
722
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$9);
720
723
  };
721
724
  const waitUntilExportTaskSuccessful = async (params, input) => {
722
725
  const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
723
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$9);
724
- return client.checkExceptions(result);
726
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$9);
727
+ return checkExceptions(result);
725
728
  };
726
729
 
727
- const checkState$8 = async (client$1, input) => {
730
+ const checkState$8 = async (client, input) => {
728
731
  let reason;
729
732
  try {
730
- let result = await client$1.send(new GetGraphCommand(input));
733
+ let result = await client.send(new GetGraphCommand(input));
731
734
  reason = result;
732
735
  try {
733
736
  const returnComparator = () => {
734
737
  return result.status;
735
738
  };
736
739
  if (returnComparator() === "DELETING") {
737
- return { state: client.WaiterState.FAILURE, reason };
740
+ return { state: WaiterState.FAILURE, reason };
738
741
  }
739
742
  }
740
743
  catch (e) { }
@@ -743,7 +746,7 @@ const checkState$8 = async (client$1, input) => {
743
746
  return result.status;
744
747
  };
745
748
  if (returnComparator() === "FAILED") {
746
- return { state: client.WaiterState.FAILURE, reason };
749
+ return { state: WaiterState.FAILURE, reason };
747
750
  }
748
751
  }
749
752
  catch (e) { }
@@ -752,7 +755,7 @@ const checkState$8 = async (client$1, input) => {
752
755
  return result.status;
753
756
  };
754
757
  if (returnComparator() === "AVAILABLE") {
755
- return { state: client.WaiterState.SUCCESS, reason };
758
+ return { state: WaiterState.SUCCESS, reason };
756
759
  }
757
760
  }
758
761
  catch (e) { }
@@ -760,29 +763,29 @@ const checkState$8 = async (client$1, input) => {
760
763
  catch (exception) {
761
764
  reason = exception;
762
765
  }
763
- return { state: client.WaiterState.RETRY, reason };
766
+ return { state: WaiterState.RETRY, reason };
764
767
  };
765
768
  const waitForGraphAvailable = async (params, input) => {
766
769
  const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
767
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
770
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
768
771
  };
769
772
  const waitUntilGraphAvailable = async (params, input) => {
770
773
  const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
771
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
772
- return client.checkExceptions(result);
774
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$8);
775
+ return checkExceptions(result);
773
776
  };
774
777
 
775
- const checkState$7 = async (client$1, input) => {
778
+ const checkState$7 = async (client, input) => {
776
779
  let reason;
777
780
  try {
778
- let result = await client$1.send(new GetGraphCommand(input));
781
+ let result = await client.send(new GetGraphCommand(input));
779
782
  reason = result;
780
783
  try {
781
784
  const returnComparator = () => {
782
785
  return (result.status != "DELETING");
783
786
  };
784
787
  if (returnComparator() == true) {
785
- return { state: client.WaiterState.FAILURE, reason };
788
+ return { state: WaiterState.FAILURE, reason };
786
789
  }
787
790
  }
788
791
  catch (e) { }
@@ -790,32 +793,32 @@ const checkState$7 = async (client$1, input) => {
790
793
  catch (exception) {
791
794
  reason = exception;
792
795
  if (exception.name === "ResourceNotFoundException") {
793
- return { state: client.WaiterState.SUCCESS, reason };
796
+ return { state: WaiterState.SUCCESS, reason };
794
797
  }
795
798
  }
796
- return { state: client.WaiterState.RETRY, reason };
799
+ return { state: WaiterState.RETRY, reason };
797
800
  };
798
801
  const waitForGraphDeleted = async (params, input) => {
799
802
  const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
800
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
803
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
801
804
  };
802
805
  const waitUntilGraphDeleted = async (params, input) => {
803
806
  const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
804
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
805
- return client.checkExceptions(result);
807
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$7);
808
+ return checkExceptions(result);
806
809
  };
807
810
 
808
- const checkState$6 = async (client$1, input) => {
811
+ const checkState$6 = async (client, input) => {
809
812
  let reason;
810
813
  try {
811
- let result = await client$1.send(new GetGraphSnapshotCommand(input));
814
+ let result = await client.send(new GetGraphSnapshotCommand(input));
812
815
  reason = result;
813
816
  try {
814
817
  const returnComparator = () => {
815
818
  return result.status;
816
819
  };
817
820
  if (returnComparator() === "DELETING") {
818
- return { state: client.WaiterState.FAILURE, reason };
821
+ return { state: WaiterState.FAILURE, reason };
819
822
  }
820
823
  }
821
824
  catch (e) { }
@@ -824,7 +827,7 @@ const checkState$6 = async (client$1, input) => {
824
827
  return result.status;
825
828
  };
826
829
  if (returnComparator() === "FAILED") {
827
- return { state: client.WaiterState.FAILURE, reason };
830
+ return { state: WaiterState.FAILURE, reason };
828
831
  }
829
832
  }
830
833
  catch (e) { }
@@ -833,7 +836,7 @@ const checkState$6 = async (client$1, input) => {
833
836
  return result.status;
834
837
  };
835
838
  if (returnComparator() === "AVAILABLE") {
836
- return { state: client.WaiterState.SUCCESS, reason };
839
+ return { state: WaiterState.SUCCESS, reason };
837
840
  }
838
841
  }
839
842
  catch (e) { }
@@ -841,29 +844,29 @@ const checkState$6 = async (client$1, input) => {
841
844
  catch (exception) {
842
845
  reason = exception;
843
846
  }
844
- return { state: client.WaiterState.RETRY, reason };
847
+ return { state: WaiterState.RETRY, reason };
845
848
  };
846
849
  const waitForGraphSnapshotAvailable = async (params, input) => {
847
850
  const serviceDefaults = { minDelay: 60, maxDelay: 7200 };
848
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
851
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
849
852
  };
850
853
  const waitUntilGraphSnapshotAvailable = async (params, input) => {
851
854
  const serviceDefaults = { minDelay: 60, maxDelay: 7200 };
852
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
853
- return client.checkExceptions(result);
855
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
856
+ return checkExceptions(result);
854
857
  };
855
858
 
856
- const checkState$5 = async (client$1, input) => {
859
+ const checkState$5 = async (client, input) => {
857
860
  let reason;
858
861
  try {
859
- let result = await client$1.send(new GetGraphSnapshotCommand(input));
862
+ let result = await client.send(new GetGraphSnapshotCommand(input));
860
863
  reason = result;
861
864
  try {
862
865
  const returnComparator = () => {
863
866
  return (result.status != "DELETING");
864
867
  };
865
868
  if (returnComparator() == true) {
866
- return { state: client.WaiterState.FAILURE, reason };
869
+ return { state: WaiterState.FAILURE, reason };
867
870
  }
868
871
  }
869
872
  catch (e) { }
@@ -871,32 +874,32 @@ const checkState$5 = async (client$1, input) => {
871
874
  catch (exception) {
872
875
  reason = exception;
873
876
  if (exception.name === "ResourceNotFoundException") {
874
- return { state: client.WaiterState.SUCCESS, reason };
877
+ return { state: WaiterState.SUCCESS, reason };
875
878
  }
876
879
  }
877
- return { state: client.WaiterState.RETRY, reason };
880
+ return { state: WaiterState.RETRY, reason };
878
881
  };
879
882
  const waitForGraphSnapshotDeleted = async (params, input) => {
880
883
  const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
881
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
884
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
882
885
  };
883
886
  const waitUntilGraphSnapshotDeleted = async (params, input) => {
884
887
  const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
885
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
886
- return client.checkExceptions(result);
888
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
889
+ return checkExceptions(result);
887
890
  };
888
891
 
889
- const checkState$4 = async (client$1, input) => {
892
+ const checkState$4 = async (client, input) => {
890
893
  let reason;
891
894
  try {
892
- let result = await client$1.send(new GetGraphCommand(input));
895
+ let result = await client.send(new GetGraphCommand(input));
893
896
  reason = result;
894
897
  try {
895
898
  const returnComparator = () => {
896
899
  return result.status;
897
900
  };
898
901
  if (returnComparator() === "STOPPED") {
899
- return { state: client.WaiterState.SUCCESS, reason };
902
+ return { state: WaiterState.SUCCESS, reason };
900
903
  }
901
904
  }
902
905
  catch (e) { }
@@ -905,7 +908,7 @@ const checkState$4 = async (client$1, input) => {
905
908
  return (result.status != "STOPPING");
906
909
  };
907
910
  if (returnComparator() == true) {
908
- return { state: client.WaiterState.FAILURE, reason };
911
+ return { state: WaiterState.FAILURE, reason };
909
912
  }
910
913
  }
911
914
  catch (e) { }
@@ -913,29 +916,29 @@ const checkState$4 = async (client$1, input) => {
913
916
  catch (exception) {
914
917
  reason = exception;
915
918
  }
916
- return { state: client.WaiterState.RETRY, reason };
919
+ return { state: WaiterState.RETRY, reason };
917
920
  };
918
921
  const waitForGraphStopped = async (params, input) => {
919
922
  const serviceDefaults = { minDelay: 20, maxDelay: 1800 };
920
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
923
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
921
924
  };
922
925
  const waitUntilGraphStopped = async (params, input) => {
923
926
  const serviceDefaults = { minDelay: 20, maxDelay: 1800 };
924
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
925
- return client.checkExceptions(result);
927
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
928
+ return checkExceptions(result);
926
929
  };
927
930
 
928
- const checkState$3 = async (client$1, input) => {
931
+ const checkState$3 = async (client, input) => {
929
932
  let reason;
930
933
  try {
931
- let result = await client$1.send(new GetImportTaskCommand(input));
934
+ let result = await client.send(new GetImportTaskCommand(input));
932
935
  reason = result;
933
936
  try {
934
937
  const returnComparator = () => {
935
938
  return ((result.status != "CANCELLING") && (result.status != "CANCELLED"));
936
939
  };
937
940
  if (returnComparator() == true) {
938
- return { state: client.WaiterState.FAILURE, reason };
941
+ return { state: WaiterState.FAILURE, reason };
939
942
  }
940
943
  }
941
944
  catch (e) { }
@@ -944,7 +947,7 @@ const checkState$3 = async (client$1, input) => {
944
947
  return result.status;
945
948
  };
946
949
  if (returnComparator() === "CANCELLED") {
947
- return { state: client.WaiterState.SUCCESS, reason };
950
+ return { state: WaiterState.SUCCESS, reason };
948
951
  }
949
952
  }
950
953
  catch (e) { }
@@ -952,29 +955,29 @@ const checkState$3 = async (client$1, input) => {
952
955
  catch (exception) {
953
956
  reason = exception;
954
957
  }
955
- return { state: client.WaiterState.RETRY, reason };
958
+ return { state: WaiterState.RETRY, reason };
956
959
  };
957
960
  const waitForImportTaskCancelled = async (params, input) => {
958
961
  const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
959
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
962
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
960
963
  };
961
964
  const waitUntilImportTaskCancelled = async (params, input) => {
962
965
  const serviceDefaults = { minDelay: 60, maxDelay: 3600 };
963
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
964
- return client.checkExceptions(result);
966
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
967
+ return checkExceptions(result);
965
968
  };
966
969
 
967
- const checkState$2 = async (client$1, input) => {
970
+ const checkState$2 = async (client, input) => {
968
971
  let reason;
969
972
  try {
970
- let result = await client$1.send(new GetImportTaskCommand(input));
973
+ let result = await client.send(new GetImportTaskCommand(input));
971
974
  reason = result;
972
975
  try {
973
976
  const returnComparator = () => {
974
977
  return result.status;
975
978
  };
976
979
  if (returnComparator() === "CANCELLING") {
977
- return { state: client.WaiterState.FAILURE, reason };
980
+ return { state: WaiterState.FAILURE, reason };
978
981
  }
979
982
  }
980
983
  catch (e) { }
@@ -983,7 +986,7 @@ const checkState$2 = async (client$1, input) => {
983
986
  return result.status;
984
987
  };
985
988
  if (returnComparator() === "CANCELLED") {
986
- return { state: client.WaiterState.FAILURE, reason };
989
+ return { state: WaiterState.FAILURE, reason };
987
990
  }
988
991
  }
989
992
  catch (e) { }
@@ -992,7 +995,7 @@ const checkState$2 = async (client$1, input) => {
992
995
  return result.status;
993
996
  };
994
997
  if (returnComparator() === "ROLLING_BACK") {
995
- return { state: client.WaiterState.FAILURE, reason };
998
+ return { state: WaiterState.FAILURE, reason };
996
999
  }
997
1000
  }
998
1001
  catch (e) { }
@@ -1001,7 +1004,7 @@ const checkState$2 = async (client$1, input) => {
1001
1004
  return result.status;
1002
1005
  };
1003
1006
  if (returnComparator() === "FAILED") {
1004
- return { state: client.WaiterState.FAILURE, reason };
1007
+ return { state: WaiterState.FAILURE, reason };
1005
1008
  }
1006
1009
  }
1007
1010
  catch (e) { }
@@ -1010,7 +1013,7 @@ const checkState$2 = async (client$1, input) => {
1010
1013
  return result.status;
1011
1014
  };
1012
1015
  if (returnComparator() === "SUCCEEDED") {
1013
- return { state: client.WaiterState.SUCCESS, reason };
1016
+ return { state: WaiterState.SUCCESS, reason };
1014
1017
  }
1015
1018
  }
1016
1019
  catch (e) { }
@@ -1018,29 +1021,29 @@ const checkState$2 = async (client$1, input) => {
1018
1021
  catch (exception) {
1019
1022
  reason = exception;
1020
1023
  }
1021
- return { state: client.WaiterState.RETRY, reason };
1024
+ return { state: WaiterState.RETRY, reason };
1022
1025
  };
1023
1026
  const waitForImportTaskSuccessful = async (params, input) => {
1024
1027
  const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
1025
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1028
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1026
1029
  };
1027
1030
  const waitUntilImportTaskSuccessful = async (params, input) => {
1028
1031
  const serviceDefaults = { minDelay: 60, maxDelay: 28800 };
1029
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1030
- return client.checkExceptions(result);
1032
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1033
+ return checkExceptions(result);
1031
1034
  };
1032
1035
 
1033
- const checkState$1 = async (client$1, input) => {
1036
+ const checkState$1 = async (client, input) => {
1034
1037
  let reason;
1035
1038
  try {
1036
- let result = await client$1.send(new GetPrivateGraphEndpointCommand(input));
1039
+ let result = await client.send(new GetPrivateGraphEndpointCommand(input));
1037
1040
  reason = result;
1038
1041
  try {
1039
1042
  const returnComparator = () => {
1040
1043
  return result.status;
1041
1044
  };
1042
1045
  if (returnComparator() === "DELETING") {
1043
- return { state: client.WaiterState.FAILURE, reason };
1046
+ return { state: WaiterState.FAILURE, reason };
1044
1047
  }
1045
1048
  }
1046
1049
  catch (e) { }
@@ -1049,7 +1052,7 @@ const checkState$1 = async (client$1, input) => {
1049
1052
  return result.status;
1050
1053
  };
1051
1054
  if (returnComparator() === "FAILED") {
1052
- return { state: client.WaiterState.FAILURE, reason };
1055
+ return { state: WaiterState.FAILURE, reason };
1053
1056
  }
1054
1057
  }
1055
1058
  catch (e) { }
@@ -1058,7 +1061,7 @@ const checkState$1 = async (client$1, input) => {
1058
1061
  return result.status;
1059
1062
  };
1060
1063
  if (returnComparator() === "AVAILABLE") {
1061
- return { state: client.WaiterState.SUCCESS, reason };
1064
+ return { state: WaiterState.SUCCESS, reason };
1062
1065
  }
1063
1066
  }
1064
1067
  catch (e) { }
@@ -1066,29 +1069,29 @@ const checkState$1 = async (client$1, input) => {
1066
1069
  catch (exception) {
1067
1070
  reason = exception;
1068
1071
  }
1069
- return { state: client.WaiterState.RETRY, reason };
1072
+ return { state: WaiterState.RETRY, reason };
1070
1073
  };
1071
1074
  const waitForPrivateGraphEndpointAvailable = async (params, input) => {
1072
1075
  const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
1073
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1076
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1074
1077
  };
1075
1078
  const waitUntilPrivateGraphEndpointAvailable = async (params, input) => {
1076
1079
  const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
1077
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1078
- return client.checkExceptions(result);
1080
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1081
+ return checkExceptions(result);
1079
1082
  };
1080
1083
 
1081
- const checkState = async (client$1, input) => {
1084
+ const checkState = async (client, input) => {
1082
1085
  let reason;
1083
1086
  try {
1084
- let result = await client$1.send(new GetPrivateGraphEndpointCommand(input));
1087
+ let result = await client.send(new GetPrivateGraphEndpointCommand(input));
1085
1088
  reason = result;
1086
1089
  try {
1087
1090
  const returnComparator = () => {
1088
1091
  return (result.status != "DELETING");
1089
1092
  };
1090
1093
  if (returnComparator() == true) {
1091
- return { state: client.WaiterState.FAILURE, reason };
1094
+ return { state: WaiterState.FAILURE, reason };
1092
1095
  }
1093
1096
  }
1094
1097
  catch (e) { }
@@ -1096,19 +1099,19 @@ const checkState = async (client$1, input) => {
1096
1099
  catch (exception) {
1097
1100
  reason = exception;
1098
1101
  if (exception.name === "ResourceNotFoundException") {
1099
- return { state: client.WaiterState.SUCCESS, reason };
1102
+ return { state: WaiterState.SUCCESS, reason };
1100
1103
  }
1101
1104
  }
1102
- return { state: client.WaiterState.RETRY, reason };
1105
+ return { state: WaiterState.RETRY, reason };
1103
1106
  };
1104
1107
  const waitForPrivateGraphEndpointDeleted = async (params, input) => {
1105
1108
  const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
1106
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1109
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1107
1110
  };
1108
1111
  const waitUntilPrivateGraphEndpointDeleted = async (params, input) => {
1109
1112
  const serviceDefaults = { minDelay: 10, maxDelay: 1800 };
1110
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1111
- return client.checkExceptions(result);
1113
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1114
+ return checkExceptions(result);
1112
1115
  };
1113
1116
 
1114
1117
  const commands = {
@@ -1169,7 +1172,7 @@ const waiters = {
1169
1172
  };
1170
1173
  class NeptuneGraph extends NeptuneGraphClient {
1171
1174
  }
1172
- client.createAggregatedClient(commands, NeptuneGraph, { paginators, waiters });
1175
+ createAggregatedClient(commands, NeptuneGraph, { paginators, waiters });
1173
1176
 
1174
1177
  const ValidationExceptionReason = {
1175
1178
  BAD_REQUEST: "BAD_REQUEST",
@@ -1285,9 +1288,6 @@ const MultiValueHandlingType = {
1285
1288
  TO_LIST: "TO_LIST",
1286
1289
  };
1287
1290
 
1288
- exports.$Command = client.Command;
1289
- exports.__Client = client.Client;
1290
- exports.NeptuneGraphServiceException = NeptuneGraphServiceException.NeptuneGraphServiceException;
1291
1291
  exports.BlankNodeHandling = BlankNodeHandling;
1292
1292
  exports.CancelExportTaskCommand = CancelExportTaskCommand;
1293
1293
  exports.CancelImportTaskCommand = CancelImportTaskCommand;
@@ -1370,23 +1370,3 @@ exports.waitUntilImportTaskCancelled = waitUntilImportTaskCancelled;
1370
1370
  exports.waitUntilImportTaskSuccessful = waitUntilImportTaskSuccessful;
1371
1371
  exports.waitUntilPrivateGraphEndpointAvailable = waitUntilPrivateGraphEndpointAvailable;
1372
1372
  exports.waitUntilPrivateGraphEndpointDeleted = waitUntilPrivateGraphEndpointDeleted;
1373
- Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
1374
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1375
- Object.defineProperty(exports, '__proto__', {
1376
- enumerable: true,
1377
- value: schemas_0['__proto__']
1378
- });
1379
-
1380
- Object.keys(schemas_0).forEach(function (k) {
1381
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
1382
- });
1383
- Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
1384
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1385
- Object.defineProperty(exports, '__proto__', {
1386
- enumerable: true,
1387
- value: errors['__proto__']
1388
- });
1389
-
1390
- Object.keys(errors).forEach(function (k) {
1391
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
1392
- });