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