diff --git a/clients/client-neptunedata/.gitignore b/clients/client-neptunedata/.gitignore
new file mode 100644
index 0000000000000..54f14c9aef253
--- /dev/null
+++ b/clients/client-neptunedata/.gitignore
@@ -0,0 +1,9 @@
+/node_modules/
+/build/
+/coverage/
+/docs/
+/dist-*
+*.tsbuildinfo
+*.tgz
+*.log
+package-lock.json
diff --git a/clients/client-neptunedata/LICENSE b/clients/client-neptunedata/LICENSE
new file mode 100644
index 0000000000000..5001cd317c44a
--- /dev/null
+++ b/clients/client-neptunedata/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/clients/client-neptunedata/README.md b/clients/client-neptunedata/README.md
new file mode 100644
index 0000000000000..87b4147d6a3d0
--- /dev/null
+++ b/clients/client-neptunedata/README.md
@@ -0,0 +1,555 @@
+
+
+# @aws-sdk/client-neptunedata
+
+## Description
+
+AWS SDK for JavaScript Neptunedata Client for Node.js, Browser and React Native.
+
+Neptune Data API
+
+
The Amazon Neptune data API provides SDK support for more than 40 of Neptune's data
+operations, including data loading, query execution, data inquiry, and machine learning.
+It supports all three Neptune query languages (Gremlin, openCypher and SPARQL), and is
+available in all SDK languages. It automatically signs API requests and greatly simplifies
+integrating Neptune into your applications.
+
+## Installing
+
+To install the this package, simply type add or install @aws-sdk/client-neptunedata
+using your favorite package manager:
+
+- `npm install @aws-sdk/client-neptunedata`
+- `yarn add @aws-sdk/client-neptunedata`
+- `pnpm add @aws-sdk/client-neptunedata`
+
+## Getting Started
+
+### Import
+
+The AWS SDK is modulized by clients and commands.
+To send a request, you only need to import the `NeptunedataClient` and
+the commands you need, for example `CancelGremlinQueryCommand`:
+
+```js
+// ES5 example
+const { NeptunedataClient, CancelGremlinQueryCommand } = require("@aws-sdk/client-neptunedata");
+```
+
+```ts
+// ES6+ example
+import { NeptunedataClient, CancelGremlinQueryCommand } from "@aws-sdk/client-neptunedata";
+```
+
+### Usage
+
+To send a request, you:
+
+- Initiate client with configuration (e.g. credentials, region).
+- Initiate command with input parameters.
+- Call `send` operation on client with command object as input.
+- If you are using a custom http handler, you may call `destroy()` to close open connections.
+
+```js
+// a client can be shared by different commands.
+const client = new NeptunedataClient({ region: "REGION" });
+
+const params = {
+ /** input parameters */
+};
+const command = new CancelGremlinQueryCommand(params);
+```
+
+#### Async/await
+
+We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
+operator to wait for the promise returned by send operation as follows:
+
+```js
+// async/await.
+try {
+ const data = await client.send(command);
+ // process data.
+} catch (error) {
+ // error handling.
+} finally {
+ // finally.
+}
+```
+
+Async-await is clean, concise, intuitive, easy to debug and has better error handling
+as compared to using Promise chains or callbacks.
+
+#### Promises
+
+You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
+to execute send operation.
+
+```js
+client.send(command).then(
+ (data) => {
+ // process data.
+ },
+ (error) => {
+ // error handling.
+ }
+);
+```
+
+Promises can also be called using `.catch()` and `.finally()` as follows:
+
+```js
+client
+ .send(command)
+ .then((data) => {
+ // process data.
+ })
+ .catch((error) => {
+ // error handling.
+ })
+ .finally(() => {
+ // finally.
+ });
+```
+
+#### Callbacks
+
+We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
+but they are supported by the send operation.
+
+```js
+// callbacks.
+client.send(command, (err, data) => {
+ // process err and data.
+});
+```
+
+#### v2 compatible style
+
+The client can also send requests using v2 compatible style.
+However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post
+on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)
+
+```ts
+import * as AWS from "@aws-sdk/client-neptunedata";
+const client = new AWS.Neptunedata({ region: "REGION" });
+
+// async/await.
+try {
+ const data = await client.cancelGremlinQuery(params);
+ // process data.
+} catch (error) {
+ // error handling.
+}
+
+// Promises.
+client
+ .cancelGremlinQuery(params)
+ .then((data) => {
+ // process data.
+ })
+ .catch((error) => {
+ // error handling.
+ });
+
+// callbacks.
+client.cancelGremlinQuery(params, (err, data) => {
+ // process err and data.
+});
+```
+
+### Troubleshooting
+
+When the service returns an exception, the error will include the exception information,
+as well as response metadata (e.g. request id).
+
+```js
+try {
+ const data = await client.send(command);
+ // process data.
+} catch (error) {
+ const { requestId, cfId, extendedRequestId } = error.$$metadata;
+ console.log({ requestId, cfId, extendedRequestId });
+ /**
+ * The keys within exceptions are also parsed.
+ * You can access them by specifying exception names:
+ * if (error.name === 'SomeServiceException') {
+ * const value = error.specialKeyInException;
+ * }
+ */
+}
+```
+
+## Getting Help
+
+Please use these community resources for getting help.
+We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
+
+- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
+ or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
+- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
+ on AWS Developer Blog.
+- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`.
+- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3).
+- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose).
+
+To test your universal JavaScript code in Node.js, browser and react-native environments,
+visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests).
+
+## Contributing
+
+This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-neptunedata` package is updated.
+To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients).
+
+## License
+
+This SDK is distributed under the
+[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
+see LICENSE for more information.
+
+## Client Commands (Operations List)
+
+
+
+CancelGremlinQuery
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/cancelgremlinquerycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelgremlinquerycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelgremlinquerycommandoutput.html)
+
+
+
+
+CancelLoaderJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/cancelloaderjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelloaderjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelloaderjobcommandoutput.html)
+
+
+
+
+CancelMLDataProcessingJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/cancelmldataprocessingjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelmldataprocessingjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelmldataprocessingjobcommandoutput.html)
+
+
+
+
+CancelMLModelTrainingJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/cancelmlmodeltrainingjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelmlmodeltrainingjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelmlmodeltrainingjobcommandoutput.html)
+
+
+
+
+CancelMLModelTransformJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/cancelmlmodeltransformjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelmlmodeltransformjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelmlmodeltransformjobcommandoutput.html)
+
+
+
+
+CancelOpenCypherQuery
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/cancelopencypherquerycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelopencypherquerycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/cancelopencypherquerycommandoutput.html)
+
+
+
+
+CreateMLEndpoint
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/createmlendpointcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/createmlendpointcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/createmlendpointcommandoutput.html)
+
+
+
+
+DeleteMLEndpoint
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/deletemlendpointcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/deletemlendpointcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/deletemlendpointcommandoutput.html)
+
+
+
+
+DeletePropertygraphStatistics
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/deletepropertygraphstatisticscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/deletepropertygraphstatisticscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/deletepropertygraphstatisticscommandoutput.html)
+
+
+
+
+DeleteSparqlStatistics
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/deletesparqlstatisticscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/deletesparqlstatisticscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/deletesparqlstatisticscommandoutput.html)
+
+
+
+
+ExecuteFastReset
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/executefastresetcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executefastresetcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executefastresetcommandoutput.html)
+
+
+
+
+ExecuteGremlinExplainQuery
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/executegremlinexplainquerycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executegremlinexplainquerycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executegremlinexplainquerycommandoutput.html)
+
+
+
+
+ExecuteGremlinProfileQuery
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/executegremlinprofilequerycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executegremlinprofilequerycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executegremlinprofilequerycommandoutput.html)
+
+
+
+
+ExecuteGremlinQuery
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/executegremlinquerycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executegremlinquerycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executegremlinquerycommandoutput.html)
+
+
+
+
+ExecuteOpenCypherExplainQuery
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/executeopencypherexplainquerycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executeopencypherexplainquerycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executeopencypherexplainquerycommandoutput.html)
+
+
+
+
+ExecuteOpenCypherQuery
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/executeopencypherquerycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executeopencypherquerycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/executeopencypherquerycommandoutput.html)
+
+
+
+
+GetEngineStatus
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getenginestatuscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getenginestatuscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getenginestatuscommandoutput.html)
+
+
+
+
+GetGremlinQueryStatus
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getgremlinquerystatuscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getgremlinquerystatuscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getgremlinquerystatuscommandoutput.html)
+
+
+
+
+GetLoaderJobStatus
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getloaderjobstatuscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getloaderjobstatuscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getloaderjobstatuscommandoutput.html)
+
+
+
+
+GetMLDataProcessingJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getmldataprocessingjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getmldataprocessingjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getmldataprocessingjobcommandoutput.html)
+
+
+
+
+GetMLEndpoint
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getmlendpointcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getmlendpointcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getmlendpointcommandoutput.html)
+
+
+
+
+GetMLModelTrainingJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getmlmodeltrainingjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getmlmodeltrainingjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getmlmodeltrainingjobcommandoutput.html)
+
+
+
+
+GetMLModelTransformJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getmlmodeltransformjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getmlmodeltransformjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getmlmodeltransformjobcommandoutput.html)
+
+
+
+
+GetOpenCypherQueryStatus
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getopencypherquerystatuscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getopencypherquerystatuscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getopencypherquerystatuscommandoutput.html)
+
+
+
+
+GetPropertygraphStatistics
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getpropertygraphstatisticscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getpropertygraphstatisticscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getpropertygraphstatisticscommandoutput.html)
+
+
+
+
+GetPropertygraphStream
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getpropertygraphstreamcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getpropertygraphstreamcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getpropertygraphstreamcommandoutput.html)
+
+
+
+
+GetPropertygraphSummary
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getpropertygraphsummarycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getpropertygraphsummarycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getpropertygraphsummarycommandoutput.html)
+
+
+
+
+GetRDFGraphSummary
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getrdfgraphsummarycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getrdfgraphsummarycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getrdfgraphsummarycommandoutput.html)
+
+
+
+
+GetSparqlStatistics
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getsparqlstatisticscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getsparqlstatisticscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getsparqlstatisticscommandoutput.html)
+
+
+
+
+GetSparqlStream
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/getsparqlstreamcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getsparqlstreamcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/getsparqlstreamcommandoutput.html)
+
+
+
+
+ListGremlinQueries
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/listgremlinqueriescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listgremlinqueriescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listgremlinqueriescommandoutput.html)
+
+
+
+
+ListLoaderJobs
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/listloaderjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listloaderjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listloaderjobscommandoutput.html)
+
+
+
+
+ListMLDataProcessingJobs
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/listmldataprocessingjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listmldataprocessingjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listmldataprocessingjobscommandoutput.html)
+
+
+
+
+ListMLEndpoints
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/listmlendpointscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listmlendpointscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listmlendpointscommandoutput.html)
+
+
+
+
+ListMLModelTrainingJobs
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/listmlmodeltrainingjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listmlmodeltrainingjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listmlmodeltrainingjobscommandoutput.html)
+
+
+
+
+ListMLModelTransformJobs
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/listmlmodeltransformjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listmlmodeltransformjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listmlmodeltransformjobscommandoutput.html)
+
+
+
+
+ListOpenCypherQueries
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/listopencypherqueriescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listopencypherqueriescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/listopencypherqueriescommandoutput.html)
+
+
+
+
+ManagePropertygraphStatistics
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/managepropertygraphstatisticscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/managepropertygraphstatisticscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/managepropertygraphstatisticscommandoutput.html)
+
+
+
+
+ManageSparqlStatistics
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/managesparqlstatisticscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/managesparqlstatisticscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/managesparqlstatisticscommandoutput.html)
+
+
+
+
+StartLoaderJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/startloaderjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/startloaderjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/startloaderjobcommandoutput.html)
+
+
+
+
+StartMLDataProcessingJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/startmldataprocessingjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/startmldataprocessingjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/startmldataprocessingjobcommandoutput.html)
+
+
+
+
+StartMLModelTrainingJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/startmlmodeltrainingjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/startmlmodeltrainingjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/startmlmodeltrainingjobcommandoutput.html)
+
+
+
+
+StartMLModelTransformJob
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/classes/startmlmodeltransformjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/startmlmodeltransformjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-neptunedata/interfaces/startmlmodeltransformjobcommandoutput.html)
+
+
diff --git a/clients/client-neptunedata/api-extractor.json b/clients/client-neptunedata/api-extractor.json
new file mode 100644
index 0000000000000..d5bf5ffeee851
--- /dev/null
+++ b/clients/client-neptunedata/api-extractor.json
@@ -0,0 +1,4 @@
+{
+ "extends": "../../api-extractor.json",
+ "mainEntryPointFilePath": "/dist-types/index.d.ts"
+}
diff --git a/clients/client-neptunedata/package.json b/clients/client-neptunedata/package.json
new file mode 100644
index 0000000000000..56ed2c16b94a1
--- /dev/null
+++ b/clients/client-neptunedata/package.json
@@ -0,0 +1,100 @@
+{
+ "name": "@aws-sdk/client-neptunedata",
+ "description": "AWS SDK for JavaScript Neptunedata Client for Node.js, Browser and React Native",
+ "version": "3.0.0",
+ "scripts": {
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
+ "build:cjs": "tsc -p tsconfig.cjs.json",
+ "build:docs": "typedoc",
+ "build:es": "tsc -p tsconfig.es.json",
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
+ "build:types": "tsc -p tsconfig.types.json",
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
+ "extract:docs": "api-extractor run --local",
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo neptunedata"
+ },
+ "main": "./dist-cjs/index.js",
+ "types": "./dist-types/index.d.ts",
+ "module": "./dist-es/index.js",
+ "sideEffects": false,
+ "dependencies": {
+ "@aws-crypto/sha256-browser": "3.0.0",
+ "@aws-crypto/sha256-js": "3.0.0",
+ "@aws-sdk/client-sts": "*",
+ "@aws-sdk/credential-provider-node": "*",
+ "@aws-sdk/middleware-host-header": "*",
+ "@aws-sdk/middleware-logger": "*",
+ "@aws-sdk/middleware-recursion-detection": "*",
+ "@aws-sdk/middleware-signing": "*",
+ "@aws-sdk/middleware-user-agent": "*",
+ "@aws-sdk/types": "*",
+ "@aws-sdk/util-endpoints": "*",
+ "@aws-sdk/util-user-agent-browser": "*",
+ "@aws-sdk/util-user-agent-node": "*",
+ "@smithy/config-resolver": "^2.0.5",
+ "@smithy/fetch-http-handler": "^2.0.5",
+ "@smithy/hash-node": "^2.0.5",
+ "@smithy/invalid-dependency": "^2.0.5",
+ "@smithy/middleware-content-length": "^2.0.5",
+ "@smithy/middleware-endpoint": "^2.0.5",
+ "@smithy/middleware-retry": "^2.0.5",
+ "@smithy/middleware-serde": "^2.0.5",
+ "@smithy/middleware-stack": "^2.0.0",
+ "@smithy/node-config-provider": "^2.0.5",
+ "@smithy/node-http-handler": "^2.0.5",
+ "@smithy/protocol-http": "^2.0.5",
+ "@smithy/smithy-client": "^2.0.5",
+ "@smithy/types": "^2.2.2",
+ "@smithy/url-parser": "^2.0.5",
+ "@smithy/util-base64": "^2.0.0",
+ "@smithy/util-body-length-browser": "^2.0.0",
+ "@smithy/util-body-length-node": "^2.1.0",
+ "@smithy/util-defaults-mode-browser": "^2.0.5",
+ "@smithy/util-defaults-mode-node": "^2.0.5",
+ "@smithy/util-retry": "^2.0.0",
+ "@smithy/util-stream": "^2.0.5",
+ "@smithy/util-utf8": "^2.0.0",
+ "tslib": "^2.5.0"
+ },
+ "devDependencies": {
+ "@smithy/service-client-documentation-generator": "^2.0.0",
+ "@tsconfig/node14": "1.0.3",
+ "@types/node": "^14.14.31",
+ "concurrently": "7.0.0",
+ "downlevel-dts": "0.10.1",
+ "rimraf": "3.0.2",
+ "typedoc": "0.23.23",
+ "typescript": "~4.9.5"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "typesVersions": {
+ "<4.0": {
+ "dist-types/*": [
+ "dist-types/ts3.4/*"
+ ]
+ }
+ },
+ "files": [
+ "dist-*/**"
+ ],
+ "author": {
+ "name": "AWS SDK for JavaScript Team",
+ "url": "https://aws.amazon.com/javascript/"
+ },
+ "license": "Apache-2.0",
+ "browser": {
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
+ },
+ "react-native": {
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
+ },
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-neptunedata",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
+ "directory": "clients/client-neptunedata"
+ }
+}
diff --git a/clients/client-neptunedata/src/Neptunedata.ts b/clients/client-neptunedata/src/Neptunedata.ts
new file mode 100644
index 0000000000000..8bef711362660
--- /dev/null
+++ b/clients/client-neptunedata/src/Neptunedata.ts
@@ -0,0 +1,987 @@
+// smithy-typescript generated code
+import { createAggregatedClient } from "@smithy/smithy-client";
+import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
+
+import {
+ CancelGremlinQueryCommand,
+ CancelGremlinQueryCommandInput,
+ CancelGremlinQueryCommandOutput,
+} from "./commands/CancelGremlinQueryCommand";
+import {
+ CancelLoaderJobCommand,
+ CancelLoaderJobCommandInput,
+ CancelLoaderJobCommandOutput,
+} from "./commands/CancelLoaderJobCommand";
+import {
+ CancelMLDataProcessingJobCommand,
+ CancelMLDataProcessingJobCommandInput,
+ CancelMLDataProcessingJobCommandOutput,
+} from "./commands/CancelMLDataProcessingJobCommand";
+import {
+ CancelMLModelTrainingJobCommand,
+ CancelMLModelTrainingJobCommandInput,
+ CancelMLModelTrainingJobCommandOutput,
+} from "./commands/CancelMLModelTrainingJobCommand";
+import {
+ CancelMLModelTransformJobCommand,
+ CancelMLModelTransformJobCommandInput,
+ CancelMLModelTransformJobCommandOutput,
+} from "./commands/CancelMLModelTransformJobCommand";
+import {
+ CancelOpenCypherQueryCommand,
+ CancelOpenCypherQueryCommandInput,
+ CancelOpenCypherQueryCommandOutput,
+} from "./commands/CancelOpenCypherQueryCommand";
+import {
+ CreateMLEndpointCommand,
+ CreateMLEndpointCommandInput,
+ CreateMLEndpointCommandOutput,
+} from "./commands/CreateMLEndpointCommand";
+import {
+ DeleteMLEndpointCommand,
+ DeleteMLEndpointCommandInput,
+ DeleteMLEndpointCommandOutput,
+} from "./commands/DeleteMLEndpointCommand";
+import {
+ DeletePropertygraphStatisticsCommand,
+ DeletePropertygraphStatisticsCommandInput,
+ DeletePropertygraphStatisticsCommandOutput,
+} from "./commands/DeletePropertygraphStatisticsCommand";
+import {
+ DeleteSparqlStatisticsCommand,
+ DeleteSparqlStatisticsCommandInput,
+ DeleteSparqlStatisticsCommandOutput,
+} from "./commands/DeleteSparqlStatisticsCommand";
+import {
+ ExecuteFastResetCommand,
+ ExecuteFastResetCommandInput,
+ ExecuteFastResetCommandOutput,
+} from "./commands/ExecuteFastResetCommand";
+import {
+ ExecuteGremlinExplainQueryCommand,
+ ExecuteGremlinExplainQueryCommandInput,
+ ExecuteGremlinExplainQueryCommandOutput,
+} from "./commands/ExecuteGremlinExplainQueryCommand";
+import {
+ ExecuteGremlinProfileQueryCommand,
+ ExecuteGremlinProfileQueryCommandInput,
+ ExecuteGremlinProfileQueryCommandOutput,
+} from "./commands/ExecuteGremlinProfileQueryCommand";
+import {
+ ExecuteGremlinQueryCommand,
+ ExecuteGremlinQueryCommandInput,
+ ExecuteGremlinQueryCommandOutput,
+} from "./commands/ExecuteGremlinQueryCommand";
+import {
+ ExecuteOpenCypherExplainQueryCommand,
+ ExecuteOpenCypherExplainQueryCommandInput,
+ ExecuteOpenCypherExplainQueryCommandOutput,
+} from "./commands/ExecuteOpenCypherExplainQueryCommand";
+import {
+ ExecuteOpenCypherQueryCommand,
+ ExecuteOpenCypherQueryCommandInput,
+ ExecuteOpenCypherQueryCommandOutput,
+} from "./commands/ExecuteOpenCypherQueryCommand";
+import {
+ GetEngineStatusCommand,
+ GetEngineStatusCommandInput,
+ GetEngineStatusCommandOutput,
+} from "./commands/GetEngineStatusCommand";
+import {
+ GetGremlinQueryStatusCommand,
+ GetGremlinQueryStatusCommandInput,
+ GetGremlinQueryStatusCommandOutput,
+} from "./commands/GetGremlinQueryStatusCommand";
+import {
+ GetLoaderJobStatusCommand,
+ GetLoaderJobStatusCommandInput,
+ GetLoaderJobStatusCommandOutput,
+} from "./commands/GetLoaderJobStatusCommand";
+import {
+ GetMLDataProcessingJobCommand,
+ GetMLDataProcessingJobCommandInput,
+ GetMLDataProcessingJobCommandOutput,
+} from "./commands/GetMLDataProcessingJobCommand";
+import {
+ GetMLEndpointCommand,
+ GetMLEndpointCommandInput,
+ GetMLEndpointCommandOutput,
+} from "./commands/GetMLEndpointCommand";
+import {
+ GetMLModelTrainingJobCommand,
+ GetMLModelTrainingJobCommandInput,
+ GetMLModelTrainingJobCommandOutput,
+} from "./commands/GetMLModelTrainingJobCommand";
+import {
+ GetMLModelTransformJobCommand,
+ GetMLModelTransformJobCommandInput,
+ GetMLModelTransformJobCommandOutput,
+} from "./commands/GetMLModelTransformJobCommand";
+import {
+ GetOpenCypherQueryStatusCommand,
+ GetOpenCypherQueryStatusCommandInput,
+ GetOpenCypherQueryStatusCommandOutput,
+} from "./commands/GetOpenCypherQueryStatusCommand";
+import {
+ GetPropertygraphStatisticsCommand,
+ GetPropertygraphStatisticsCommandInput,
+ GetPropertygraphStatisticsCommandOutput,
+} from "./commands/GetPropertygraphStatisticsCommand";
+import {
+ GetPropertygraphStreamCommand,
+ GetPropertygraphStreamCommandInput,
+ GetPropertygraphStreamCommandOutput,
+} from "./commands/GetPropertygraphStreamCommand";
+import {
+ GetPropertygraphSummaryCommand,
+ GetPropertygraphSummaryCommandInput,
+ GetPropertygraphSummaryCommandOutput,
+} from "./commands/GetPropertygraphSummaryCommand";
+import {
+ GetRDFGraphSummaryCommand,
+ GetRDFGraphSummaryCommandInput,
+ GetRDFGraphSummaryCommandOutput,
+} from "./commands/GetRDFGraphSummaryCommand";
+import {
+ GetSparqlStatisticsCommand,
+ GetSparqlStatisticsCommandInput,
+ GetSparqlStatisticsCommandOutput,
+} from "./commands/GetSparqlStatisticsCommand";
+import {
+ GetSparqlStreamCommand,
+ GetSparqlStreamCommandInput,
+ GetSparqlStreamCommandOutput,
+} from "./commands/GetSparqlStreamCommand";
+import {
+ ListGremlinQueriesCommand,
+ ListGremlinQueriesCommandInput,
+ ListGremlinQueriesCommandOutput,
+} from "./commands/ListGremlinQueriesCommand";
+import {
+ ListLoaderJobsCommand,
+ ListLoaderJobsCommandInput,
+ ListLoaderJobsCommandOutput,
+} from "./commands/ListLoaderJobsCommand";
+import {
+ ListMLDataProcessingJobsCommand,
+ ListMLDataProcessingJobsCommandInput,
+ ListMLDataProcessingJobsCommandOutput,
+} from "./commands/ListMLDataProcessingJobsCommand";
+import {
+ ListMLEndpointsCommand,
+ ListMLEndpointsCommandInput,
+ ListMLEndpointsCommandOutput,
+} from "./commands/ListMLEndpointsCommand";
+import {
+ ListMLModelTrainingJobsCommand,
+ ListMLModelTrainingJobsCommandInput,
+ ListMLModelTrainingJobsCommandOutput,
+} from "./commands/ListMLModelTrainingJobsCommand";
+import {
+ ListMLModelTransformJobsCommand,
+ ListMLModelTransformJobsCommandInput,
+ ListMLModelTransformJobsCommandOutput,
+} from "./commands/ListMLModelTransformJobsCommand";
+import {
+ ListOpenCypherQueriesCommand,
+ ListOpenCypherQueriesCommandInput,
+ ListOpenCypherQueriesCommandOutput,
+} from "./commands/ListOpenCypherQueriesCommand";
+import {
+ ManagePropertygraphStatisticsCommand,
+ ManagePropertygraphStatisticsCommandInput,
+ ManagePropertygraphStatisticsCommandOutput,
+} from "./commands/ManagePropertygraphStatisticsCommand";
+import {
+ ManageSparqlStatisticsCommand,
+ ManageSparqlStatisticsCommandInput,
+ ManageSparqlStatisticsCommandOutput,
+} from "./commands/ManageSparqlStatisticsCommand";
+import {
+ StartLoaderJobCommand,
+ StartLoaderJobCommandInput,
+ StartLoaderJobCommandOutput,
+} from "./commands/StartLoaderJobCommand";
+import {
+ StartMLDataProcessingJobCommand,
+ StartMLDataProcessingJobCommandInput,
+ StartMLDataProcessingJobCommandOutput,
+} from "./commands/StartMLDataProcessingJobCommand";
+import {
+ StartMLModelTrainingJobCommand,
+ StartMLModelTrainingJobCommandInput,
+ StartMLModelTrainingJobCommandOutput,
+} from "./commands/StartMLModelTrainingJobCommand";
+import {
+ StartMLModelTransformJobCommand,
+ StartMLModelTransformJobCommandInput,
+ StartMLModelTransformJobCommandOutput,
+} from "./commands/StartMLModelTransformJobCommand";
+import { NeptunedataClient, NeptunedataClientConfig } from "./NeptunedataClient";
+
+const commands = {
+ CancelGremlinQueryCommand,
+ CancelLoaderJobCommand,
+ CancelMLDataProcessingJobCommand,
+ CancelMLModelTrainingJobCommand,
+ CancelMLModelTransformJobCommand,
+ CancelOpenCypherQueryCommand,
+ CreateMLEndpointCommand,
+ DeleteMLEndpointCommand,
+ DeletePropertygraphStatisticsCommand,
+ DeleteSparqlStatisticsCommand,
+ ExecuteFastResetCommand,
+ ExecuteGremlinExplainQueryCommand,
+ ExecuteGremlinProfileQueryCommand,
+ ExecuteGremlinQueryCommand,
+ ExecuteOpenCypherExplainQueryCommand,
+ ExecuteOpenCypherQueryCommand,
+ GetEngineStatusCommand,
+ GetGremlinQueryStatusCommand,
+ GetLoaderJobStatusCommand,
+ GetMLDataProcessingJobCommand,
+ GetMLEndpointCommand,
+ GetMLModelTrainingJobCommand,
+ GetMLModelTransformJobCommand,
+ GetOpenCypherQueryStatusCommand,
+ GetPropertygraphStatisticsCommand,
+ GetPropertygraphStreamCommand,
+ GetPropertygraphSummaryCommand,
+ GetRDFGraphSummaryCommand,
+ GetSparqlStatisticsCommand,
+ GetSparqlStreamCommand,
+ ListGremlinQueriesCommand,
+ ListLoaderJobsCommand,
+ ListMLDataProcessingJobsCommand,
+ ListMLEndpointsCommand,
+ ListMLModelTrainingJobsCommand,
+ ListMLModelTransformJobsCommand,
+ ListOpenCypherQueriesCommand,
+ ManagePropertygraphStatisticsCommand,
+ ManageSparqlStatisticsCommand,
+ StartLoaderJobCommand,
+ StartMLDataProcessingJobCommand,
+ StartMLModelTrainingJobCommand,
+ StartMLModelTransformJobCommand,
+};
+
+export interface Neptunedata {
+ /**
+ * @see {@link CancelGremlinQueryCommand}
+ */
+ cancelGremlinQuery(
+ args: CancelGremlinQueryCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ cancelGremlinQuery(
+ args: CancelGremlinQueryCommandInput,
+ cb: (err: any, data?: CancelGremlinQueryCommandOutput) => void
+ ): void;
+ cancelGremlinQuery(
+ args: CancelGremlinQueryCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CancelGremlinQueryCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link CancelLoaderJobCommand}
+ */
+ cancelLoaderJob(
+ args: CancelLoaderJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ cancelLoaderJob(args: CancelLoaderJobCommandInput, cb: (err: any, data?: CancelLoaderJobCommandOutput) => void): void;
+ cancelLoaderJob(
+ args: CancelLoaderJobCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CancelLoaderJobCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link CancelMLDataProcessingJobCommand}
+ */
+ cancelMLDataProcessingJob(
+ args: CancelMLDataProcessingJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ cancelMLDataProcessingJob(
+ args: CancelMLDataProcessingJobCommandInput,
+ cb: (err: any, data?: CancelMLDataProcessingJobCommandOutput) => void
+ ): void;
+ cancelMLDataProcessingJob(
+ args: CancelMLDataProcessingJobCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CancelMLDataProcessingJobCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link CancelMLModelTrainingJobCommand}
+ */
+ cancelMLModelTrainingJob(
+ args: CancelMLModelTrainingJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ cancelMLModelTrainingJob(
+ args: CancelMLModelTrainingJobCommandInput,
+ cb: (err: any, data?: CancelMLModelTrainingJobCommandOutput) => void
+ ): void;
+ cancelMLModelTrainingJob(
+ args: CancelMLModelTrainingJobCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CancelMLModelTrainingJobCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link CancelMLModelTransformJobCommand}
+ */
+ cancelMLModelTransformJob(
+ args: CancelMLModelTransformJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ cancelMLModelTransformJob(
+ args: CancelMLModelTransformJobCommandInput,
+ cb: (err: any, data?: CancelMLModelTransformJobCommandOutput) => void
+ ): void;
+ cancelMLModelTransformJob(
+ args: CancelMLModelTransformJobCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CancelMLModelTransformJobCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link CancelOpenCypherQueryCommand}
+ */
+ cancelOpenCypherQuery(
+ args: CancelOpenCypherQueryCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ cancelOpenCypherQuery(
+ args: CancelOpenCypherQueryCommandInput,
+ cb: (err: any, data?: CancelOpenCypherQueryCommandOutput) => void
+ ): void;
+ cancelOpenCypherQuery(
+ args: CancelOpenCypherQueryCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CancelOpenCypherQueryCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link CreateMLEndpointCommand}
+ */
+ createMLEndpoint(
+ args: CreateMLEndpointCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ createMLEndpoint(
+ args: CreateMLEndpointCommandInput,
+ cb: (err: any, data?: CreateMLEndpointCommandOutput) => void
+ ): void;
+ createMLEndpoint(
+ args: CreateMLEndpointCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateMLEndpointCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link DeleteMLEndpointCommand}
+ */
+ deleteMLEndpoint(
+ args: DeleteMLEndpointCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ deleteMLEndpoint(
+ args: DeleteMLEndpointCommandInput,
+ cb: (err: any, data?: DeleteMLEndpointCommandOutput) => void
+ ): void;
+ deleteMLEndpoint(
+ args: DeleteMLEndpointCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteMLEndpointCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link DeletePropertygraphStatisticsCommand}
+ */
+ deletePropertygraphStatistics(
+ args: DeletePropertygraphStatisticsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ deletePropertygraphStatistics(
+ args: DeletePropertygraphStatisticsCommandInput,
+ cb: (err: any, data?: DeletePropertygraphStatisticsCommandOutput) => void
+ ): void;
+ deletePropertygraphStatistics(
+ args: DeletePropertygraphStatisticsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeletePropertygraphStatisticsCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link DeleteSparqlStatisticsCommand}
+ */
+ deleteSparqlStatistics(
+ args: DeleteSparqlStatisticsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ deleteSparqlStatistics(
+ args: DeleteSparqlStatisticsCommandInput,
+ cb: (err: any, data?: DeleteSparqlStatisticsCommandOutput) => void
+ ): void;
+ deleteSparqlStatistics(
+ args: DeleteSparqlStatisticsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteSparqlStatisticsCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ExecuteFastResetCommand}
+ */
+ executeFastReset(
+ args: ExecuteFastResetCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ executeFastReset(
+ args: ExecuteFastResetCommandInput,
+ cb: (err: any, data?: ExecuteFastResetCommandOutput) => void
+ ): void;
+ executeFastReset(
+ args: ExecuteFastResetCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ExecuteFastResetCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ExecuteGremlinExplainQueryCommand}
+ */
+ executeGremlinExplainQuery(
+ args: ExecuteGremlinExplainQueryCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ executeGremlinExplainQuery(
+ args: ExecuteGremlinExplainQueryCommandInput,
+ cb: (err: any, data?: ExecuteGremlinExplainQueryCommandOutput) => void
+ ): void;
+ executeGremlinExplainQuery(
+ args: ExecuteGremlinExplainQueryCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ExecuteGremlinExplainQueryCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ExecuteGremlinProfileQueryCommand}
+ */
+ executeGremlinProfileQuery(
+ args: ExecuteGremlinProfileQueryCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ executeGremlinProfileQuery(
+ args: ExecuteGremlinProfileQueryCommandInput,
+ cb: (err: any, data?: ExecuteGremlinProfileQueryCommandOutput) => void
+ ): void;
+ executeGremlinProfileQuery(
+ args: ExecuteGremlinProfileQueryCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ExecuteGremlinProfileQueryCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ExecuteGremlinQueryCommand}
+ */
+ executeGremlinQuery(
+ args: ExecuteGremlinQueryCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ executeGremlinQuery(
+ args: ExecuteGremlinQueryCommandInput,
+ cb: (err: any, data?: ExecuteGremlinQueryCommandOutput) => void
+ ): void;
+ executeGremlinQuery(
+ args: ExecuteGremlinQueryCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ExecuteGremlinQueryCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ExecuteOpenCypherExplainQueryCommand}
+ */
+ executeOpenCypherExplainQuery(
+ args: ExecuteOpenCypherExplainQueryCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ executeOpenCypherExplainQuery(
+ args: ExecuteOpenCypherExplainQueryCommandInput,
+ cb: (err: any, data?: ExecuteOpenCypherExplainQueryCommandOutput) => void
+ ): void;
+ executeOpenCypherExplainQuery(
+ args: ExecuteOpenCypherExplainQueryCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ExecuteOpenCypherExplainQueryCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ExecuteOpenCypherQueryCommand}
+ */
+ executeOpenCypherQuery(
+ args: ExecuteOpenCypherQueryCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ executeOpenCypherQuery(
+ args: ExecuteOpenCypherQueryCommandInput,
+ cb: (err: any, data?: ExecuteOpenCypherQueryCommandOutput) => void
+ ): void;
+ executeOpenCypherQuery(
+ args: ExecuteOpenCypherQueryCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ExecuteOpenCypherQueryCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetEngineStatusCommand}
+ */
+ getEngineStatus(
+ args: GetEngineStatusCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getEngineStatus(args: GetEngineStatusCommandInput, cb: (err: any, data?: GetEngineStatusCommandOutput) => void): void;
+ getEngineStatus(
+ args: GetEngineStatusCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetEngineStatusCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetGremlinQueryStatusCommand}
+ */
+ getGremlinQueryStatus(
+ args: GetGremlinQueryStatusCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getGremlinQueryStatus(
+ args: GetGremlinQueryStatusCommandInput,
+ cb: (err: any, data?: GetGremlinQueryStatusCommandOutput) => void
+ ): void;
+ getGremlinQueryStatus(
+ args: GetGremlinQueryStatusCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetGremlinQueryStatusCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetLoaderJobStatusCommand}
+ */
+ getLoaderJobStatus(
+ args: GetLoaderJobStatusCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getLoaderJobStatus(
+ args: GetLoaderJobStatusCommandInput,
+ cb: (err: any, data?: GetLoaderJobStatusCommandOutput) => void
+ ): void;
+ getLoaderJobStatus(
+ args: GetLoaderJobStatusCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetLoaderJobStatusCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetMLDataProcessingJobCommand}
+ */
+ getMLDataProcessingJob(
+ args: GetMLDataProcessingJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getMLDataProcessingJob(
+ args: GetMLDataProcessingJobCommandInput,
+ cb: (err: any, data?: GetMLDataProcessingJobCommandOutput) => void
+ ): void;
+ getMLDataProcessingJob(
+ args: GetMLDataProcessingJobCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetMLDataProcessingJobCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetMLEndpointCommand}
+ */
+ getMLEndpoint(args: GetMLEndpointCommandInput, options?: __HttpHandlerOptions): Promise;
+ getMLEndpoint(args: GetMLEndpointCommandInput, cb: (err: any, data?: GetMLEndpointCommandOutput) => void): void;
+ getMLEndpoint(
+ args: GetMLEndpointCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetMLEndpointCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetMLModelTrainingJobCommand}
+ */
+ getMLModelTrainingJob(
+ args: GetMLModelTrainingJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getMLModelTrainingJob(
+ args: GetMLModelTrainingJobCommandInput,
+ cb: (err: any, data?: GetMLModelTrainingJobCommandOutput) => void
+ ): void;
+ getMLModelTrainingJob(
+ args: GetMLModelTrainingJobCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetMLModelTrainingJobCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetMLModelTransformJobCommand}
+ */
+ getMLModelTransformJob(
+ args: GetMLModelTransformJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getMLModelTransformJob(
+ args: GetMLModelTransformJobCommandInput,
+ cb: (err: any, data?: GetMLModelTransformJobCommandOutput) => void
+ ): void;
+ getMLModelTransformJob(
+ args: GetMLModelTransformJobCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetMLModelTransformJobCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetOpenCypherQueryStatusCommand}
+ */
+ getOpenCypherQueryStatus(
+ args: GetOpenCypherQueryStatusCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getOpenCypherQueryStatus(
+ args: GetOpenCypherQueryStatusCommandInput,
+ cb: (err: any, data?: GetOpenCypherQueryStatusCommandOutput) => void
+ ): void;
+ getOpenCypherQueryStatus(
+ args: GetOpenCypherQueryStatusCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetOpenCypherQueryStatusCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetPropertygraphStatisticsCommand}
+ */
+ getPropertygraphStatistics(
+ args: GetPropertygraphStatisticsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getPropertygraphStatistics(
+ args: GetPropertygraphStatisticsCommandInput,
+ cb: (err: any, data?: GetPropertygraphStatisticsCommandOutput) => void
+ ): void;
+ getPropertygraphStatistics(
+ args: GetPropertygraphStatisticsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetPropertygraphStatisticsCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetPropertygraphStreamCommand}
+ */
+ getPropertygraphStream(
+ args: GetPropertygraphStreamCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getPropertygraphStream(
+ args: GetPropertygraphStreamCommandInput,
+ cb: (err: any, data?: GetPropertygraphStreamCommandOutput) => void
+ ): void;
+ getPropertygraphStream(
+ args: GetPropertygraphStreamCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetPropertygraphStreamCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetPropertygraphSummaryCommand}
+ */
+ getPropertygraphSummary(
+ args: GetPropertygraphSummaryCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getPropertygraphSummary(
+ args: GetPropertygraphSummaryCommandInput,
+ cb: (err: any, data?: GetPropertygraphSummaryCommandOutput) => void
+ ): void;
+ getPropertygraphSummary(
+ args: GetPropertygraphSummaryCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetPropertygraphSummaryCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetRDFGraphSummaryCommand}
+ */
+ getRDFGraphSummary(
+ args: GetRDFGraphSummaryCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getRDFGraphSummary(
+ args: GetRDFGraphSummaryCommandInput,
+ cb: (err: any, data?: GetRDFGraphSummaryCommandOutput) => void
+ ): void;
+ getRDFGraphSummary(
+ args: GetRDFGraphSummaryCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetRDFGraphSummaryCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetSparqlStatisticsCommand}
+ */
+ getSparqlStatistics(
+ args: GetSparqlStatisticsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getSparqlStatistics(
+ args: GetSparqlStatisticsCommandInput,
+ cb: (err: any, data?: GetSparqlStatisticsCommandOutput) => void
+ ): void;
+ getSparqlStatistics(
+ args: GetSparqlStatisticsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetSparqlStatisticsCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link GetSparqlStreamCommand}
+ */
+ getSparqlStream(
+ args: GetSparqlStreamCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ getSparqlStream(args: GetSparqlStreamCommandInput, cb: (err: any, data?: GetSparqlStreamCommandOutput) => void): void;
+ getSparqlStream(
+ args: GetSparqlStreamCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetSparqlStreamCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ListGremlinQueriesCommand}
+ */
+ listGremlinQueries(
+ args: ListGremlinQueriesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ listGremlinQueries(
+ args: ListGremlinQueriesCommandInput,
+ cb: (err: any, data?: ListGremlinQueriesCommandOutput) => void
+ ): void;
+ listGremlinQueries(
+ args: ListGremlinQueriesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListGremlinQueriesCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ListLoaderJobsCommand}
+ */
+ listLoaderJobs(
+ args: ListLoaderJobsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ listLoaderJobs(args: ListLoaderJobsCommandInput, cb: (err: any, data?: ListLoaderJobsCommandOutput) => void): void;
+ listLoaderJobs(
+ args: ListLoaderJobsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListLoaderJobsCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ListMLDataProcessingJobsCommand}
+ */
+ listMLDataProcessingJobs(
+ args: ListMLDataProcessingJobsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ listMLDataProcessingJobs(
+ args: ListMLDataProcessingJobsCommandInput,
+ cb: (err: any, data?: ListMLDataProcessingJobsCommandOutput) => void
+ ): void;
+ listMLDataProcessingJobs(
+ args: ListMLDataProcessingJobsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListMLDataProcessingJobsCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ListMLEndpointsCommand}
+ */
+ listMLEndpoints(
+ args: ListMLEndpointsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ listMLEndpoints(args: ListMLEndpointsCommandInput, cb: (err: any, data?: ListMLEndpointsCommandOutput) => void): void;
+ listMLEndpoints(
+ args: ListMLEndpointsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListMLEndpointsCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ListMLModelTrainingJobsCommand}
+ */
+ listMLModelTrainingJobs(
+ args: ListMLModelTrainingJobsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ listMLModelTrainingJobs(
+ args: ListMLModelTrainingJobsCommandInput,
+ cb: (err: any, data?: ListMLModelTrainingJobsCommandOutput) => void
+ ): void;
+ listMLModelTrainingJobs(
+ args: ListMLModelTrainingJobsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListMLModelTrainingJobsCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ListMLModelTransformJobsCommand}
+ */
+ listMLModelTransformJobs(
+ args: ListMLModelTransformJobsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ listMLModelTransformJobs(
+ args: ListMLModelTransformJobsCommandInput,
+ cb: (err: any, data?: ListMLModelTransformJobsCommandOutput) => void
+ ): void;
+ listMLModelTransformJobs(
+ args: ListMLModelTransformJobsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListMLModelTransformJobsCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ListOpenCypherQueriesCommand}
+ */
+ listOpenCypherQueries(
+ args: ListOpenCypherQueriesCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ listOpenCypherQueries(
+ args: ListOpenCypherQueriesCommandInput,
+ cb: (err: any, data?: ListOpenCypherQueriesCommandOutput) => void
+ ): void;
+ listOpenCypherQueries(
+ args: ListOpenCypherQueriesCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListOpenCypherQueriesCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ManagePropertygraphStatisticsCommand}
+ */
+ managePropertygraphStatistics(
+ args: ManagePropertygraphStatisticsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ managePropertygraphStatistics(
+ args: ManagePropertygraphStatisticsCommandInput,
+ cb: (err: any, data?: ManagePropertygraphStatisticsCommandOutput) => void
+ ): void;
+ managePropertygraphStatistics(
+ args: ManagePropertygraphStatisticsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ManagePropertygraphStatisticsCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link ManageSparqlStatisticsCommand}
+ */
+ manageSparqlStatistics(
+ args: ManageSparqlStatisticsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ manageSparqlStatistics(
+ args: ManageSparqlStatisticsCommandInput,
+ cb: (err: any, data?: ManageSparqlStatisticsCommandOutput) => void
+ ): void;
+ manageSparqlStatistics(
+ args: ManageSparqlStatisticsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ManageSparqlStatisticsCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link StartLoaderJobCommand}
+ */
+ startLoaderJob(
+ args: StartLoaderJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ startLoaderJob(args: StartLoaderJobCommandInput, cb: (err: any, data?: StartLoaderJobCommandOutput) => void): void;
+ startLoaderJob(
+ args: StartLoaderJobCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: StartLoaderJobCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link StartMLDataProcessingJobCommand}
+ */
+ startMLDataProcessingJob(
+ args: StartMLDataProcessingJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ startMLDataProcessingJob(
+ args: StartMLDataProcessingJobCommandInput,
+ cb: (err: any, data?: StartMLDataProcessingJobCommandOutput) => void
+ ): void;
+ startMLDataProcessingJob(
+ args: StartMLDataProcessingJobCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: StartMLDataProcessingJobCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link StartMLModelTrainingJobCommand}
+ */
+ startMLModelTrainingJob(
+ args: StartMLModelTrainingJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ startMLModelTrainingJob(
+ args: StartMLModelTrainingJobCommandInput,
+ cb: (err: any, data?: StartMLModelTrainingJobCommandOutput) => void
+ ): void;
+ startMLModelTrainingJob(
+ args: StartMLModelTrainingJobCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: StartMLModelTrainingJobCommandOutput) => void
+ ): void;
+
+ /**
+ * @see {@link StartMLModelTransformJobCommand}
+ */
+ startMLModelTransformJob(
+ args: StartMLModelTransformJobCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ startMLModelTransformJob(
+ args: StartMLModelTransformJobCommandInput,
+ cb: (err: any, data?: StartMLModelTransformJobCommandOutput) => void
+ ): void;
+ startMLModelTransformJob(
+ args: StartMLModelTransformJobCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: StartMLModelTransformJobCommandOutput) => void
+ ): void;
+}
+
+/**
+ * @public
+ * Neptune Data API
+ * The Amazon Neptune data API provides SDK support for more than 40 of Neptune's data
+ * operations, including data loading, query execution, data inquiry, and machine learning.
+ * It supports all three Neptune query languages (Gremlin, openCypher and SPARQL), and is
+ * available in all SDK languages. It automatically signs API requests and greatly simplifies
+ * integrating Neptune into your applications.
+ */
+export class Neptunedata extends NeptunedataClient implements Neptunedata {}
+createAggregatedClient(commands, Neptunedata);
diff --git a/clients/client-neptunedata/src/NeptunedataClient.ts b/clients/client-neptunedata/src/NeptunedataClient.ts
new file mode 100644
index 0000000000000..822882c2c8656
--- /dev/null
+++ b/clients/client-neptunedata/src/NeptunedataClient.ts
@@ -0,0 +1,507 @@
+// smithy-typescript generated code
+import {
+ getHostHeaderPlugin,
+ HostHeaderInputConfig,
+ HostHeaderResolvedConfig,
+ resolveHostHeaderConfig,
+} from "@aws-sdk/middleware-host-header";
+import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
+import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
+import {
+ AwsAuthInputConfig,
+ AwsAuthResolvedConfig,
+ getAwsAuthPlugin,
+ resolveAwsAuthConfig,
+} from "@aws-sdk/middleware-signing";
+import {
+ getUserAgentPlugin,
+ resolveUserAgentConfig,
+ UserAgentInputConfig,
+ UserAgentResolvedConfig,
+} from "@aws-sdk/middleware-user-agent";
+import { Credentials as __Credentials } from "@aws-sdk/types";
+import { RegionInputConfig, RegionResolvedConfig, resolveRegionConfig } from "@smithy/config-resolver";
+import { getContentLengthPlugin } from "@smithy/middleware-content-length";
+import { EndpointInputConfig, EndpointResolvedConfig, resolveEndpointConfig } from "@smithy/middleware-endpoint";
+import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
+import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
+import {
+ Client as __Client,
+ DefaultsMode as __DefaultsMode,
+ SmithyConfiguration as __SmithyConfiguration,
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
+} from "@smithy/smithy-client";
+import {
+ BodyLengthCalculator as __BodyLengthCalculator,
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
+ Checksum as __Checksum,
+ ChecksumConstructor as __ChecksumConstructor,
+ Decoder as __Decoder,
+ Encoder as __Encoder,
+ EndpointV2 as __EndpointV2,
+ Hash as __Hash,
+ HashConstructor as __HashConstructor,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ Logger as __Logger,
+ Provider as __Provider,
+ Provider,
+ StreamCollector as __StreamCollector,
+ UrlParser as __UrlParser,
+ UserAgent as __UserAgent,
+} from "@smithy/types";
+
+import { CancelGremlinQueryCommandInput, CancelGremlinQueryCommandOutput } from "./commands/CancelGremlinQueryCommand";
+import { CancelLoaderJobCommandInput, CancelLoaderJobCommandOutput } from "./commands/CancelLoaderJobCommand";
+import {
+ CancelMLDataProcessingJobCommandInput,
+ CancelMLDataProcessingJobCommandOutput,
+} from "./commands/CancelMLDataProcessingJobCommand";
+import {
+ CancelMLModelTrainingJobCommandInput,
+ CancelMLModelTrainingJobCommandOutput,
+} from "./commands/CancelMLModelTrainingJobCommand";
+import {
+ CancelMLModelTransformJobCommandInput,
+ CancelMLModelTransformJobCommandOutput,
+} from "./commands/CancelMLModelTransformJobCommand";
+import {
+ CancelOpenCypherQueryCommandInput,
+ CancelOpenCypherQueryCommandOutput,
+} from "./commands/CancelOpenCypherQueryCommand";
+import { CreateMLEndpointCommandInput, CreateMLEndpointCommandOutput } from "./commands/CreateMLEndpointCommand";
+import { DeleteMLEndpointCommandInput, DeleteMLEndpointCommandOutput } from "./commands/DeleteMLEndpointCommand";
+import {
+ DeletePropertygraphStatisticsCommandInput,
+ DeletePropertygraphStatisticsCommandOutput,
+} from "./commands/DeletePropertygraphStatisticsCommand";
+import {
+ DeleteSparqlStatisticsCommandInput,
+ DeleteSparqlStatisticsCommandOutput,
+} from "./commands/DeleteSparqlStatisticsCommand";
+import { ExecuteFastResetCommandInput, ExecuteFastResetCommandOutput } from "./commands/ExecuteFastResetCommand";
+import {
+ ExecuteGremlinExplainQueryCommandInput,
+ ExecuteGremlinExplainQueryCommandOutput,
+} from "./commands/ExecuteGremlinExplainQueryCommand";
+import {
+ ExecuteGremlinProfileQueryCommandInput,
+ ExecuteGremlinProfileQueryCommandOutput,
+} from "./commands/ExecuteGremlinProfileQueryCommand";
+import {
+ ExecuteGremlinQueryCommandInput,
+ ExecuteGremlinQueryCommandOutput,
+} from "./commands/ExecuteGremlinQueryCommand";
+import {
+ ExecuteOpenCypherExplainQueryCommandInput,
+ ExecuteOpenCypherExplainQueryCommandOutput,
+} from "./commands/ExecuteOpenCypherExplainQueryCommand";
+import {
+ ExecuteOpenCypherQueryCommandInput,
+ ExecuteOpenCypherQueryCommandOutput,
+} from "./commands/ExecuteOpenCypherQueryCommand";
+import { GetEngineStatusCommandInput, GetEngineStatusCommandOutput } from "./commands/GetEngineStatusCommand";
+import {
+ GetGremlinQueryStatusCommandInput,
+ GetGremlinQueryStatusCommandOutput,
+} from "./commands/GetGremlinQueryStatusCommand";
+import { GetLoaderJobStatusCommandInput, GetLoaderJobStatusCommandOutput } from "./commands/GetLoaderJobStatusCommand";
+import {
+ GetMLDataProcessingJobCommandInput,
+ GetMLDataProcessingJobCommandOutput,
+} from "./commands/GetMLDataProcessingJobCommand";
+import { GetMLEndpointCommandInput, GetMLEndpointCommandOutput } from "./commands/GetMLEndpointCommand";
+import {
+ GetMLModelTrainingJobCommandInput,
+ GetMLModelTrainingJobCommandOutput,
+} from "./commands/GetMLModelTrainingJobCommand";
+import {
+ GetMLModelTransformJobCommandInput,
+ GetMLModelTransformJobCommandOutput,
+} from "./commands/GetMLModelTransformJobCommand";
+import {
+ GetOpenCypherQueryStatusCommandInput,
+ GetOpenCypherQueryStatusCommandOutput,
+} from "./commands/GetOpenCypherQueryStatusCommand";
+import {
+ GetPropertygraphStatisticsCommandInput,
+ GetPropertygraphStatisticsCommandOutput,
+} from "./commands/GetPropertygraphStatisticsCommand";
+import {
+ GetPropertygraphStreamCommandInput,
+ GetPropertygraphStreamCommandOutput,
+} from "./commands/GetPropertygraphStreamCommand";
+import {
+ GetPropertygraphSummaryCommandInput,
+ GetPropertygraphSummaryCommandOutput,
+} from "./commands/GetPropertygraphSummaryCommand";
+import { GetRDFGraphSummaryCommandInput, GetRDFGraphSummaryCommandOutput } from "./commands/GetRDFGraphSummaryCommand";
+import {
+ GetSparqlStatisticsCommandInput,
+ GetSparqlStatisticsCommandOutput,
+} from "./commands/GetSparqlStatisticsCommand";
+import { GetSparqlStreamCommandInput, GetSparqlStreamCommandOutput } from "./commands/GetSparqlStreamCommand";
+import { ListGremlinQueriesCommandInput, ListGremlinQueriesCommandOutput } from "./commands/ListGremlinQueriesCommand";
+import { ListLoaderJobsCommandInput, ListLoaderJobsCommandOutput } from "./commands/ListLoaderJobsCommand";
+import {
+ ListMLDataProcessingJobsCommandInput,
+ ListMLDataProcessingJobsCommandOutput,
+} from "./commands/ListMLDataProcessingJobsCommand";
+import { ListMLEndpointsCommandInput, ListMLEndpointsCommandOutput } from "./commands/ListMLEndpointsCommand";
+import {
+ ListMLModelTrainingJobsCommandInput,
+ ListMLModelTrainingJobsCommandOutput,
+} from "./commands/ListMLModelTrainingJobsCommand";
+import {
+ ListMLModelTransformJobsCommandInput,
+ ListMLModelTransformJobsCommandOutput,
+} from "./commands/ListMLModelTransformJobsCommand";
+import {
+ ListOpenCypherQueriesCommandInput,
+ ListOpenCypherQueriesCommandOutput,
+} from "./commands/ListOpenCypherQueriesCommand";
+import {
+ ManagePropertygraphStatisticsCommandInput,
+ ManagePropertygraphStatisticsCommandOutput,
+} from "./commands/ManagePropertygraphStatisticsCommand";
+import {
+ ManageSparqlStatisticsCommandInput,
+ ManageSparqlStatisticsCommandOutput,
+} from "./commands/ManageSparqlStatisticsCommand";
+import { StartLoaderJobCommandInput, StartLoaderJobCommandOutput } from "./commands/StartLoaderJobCommand";
+import {
+ StartMLDataProcessingJobCommandInput,
+ StartMLDataProcessingJobCommandOutput,
+} from "./commands/StartMLDataProcessingJobCommand";
+import {
+ StartMLModelTrainingJobCommandInput,
+ StartMLModelTrainingJobCommandOutput,
+} from "./commands/StartMLModelTrainingJobCommand";
+import {
+ StartMLModelTransformJobCommandInput,
+ StartMLModelTransformJobCommandOutput,
+} from "./commands/StartMLModelTransformJobCommand";
+import {
+ ClientInputEndpointParameters,
+ ClientResolvedEndpointParameters,
+ EndpointParameters,
+ resolveClientEndpointParameters,
+} from "./endpoint/EndpointParameters";
+import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
+import { resolveRuntimeExtensions, RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
+
+export { __Client };
+
+/**
+ * @public
+ */
+export type ServiceInputTypes =
+ | CancelGremlinQueryCommandInput
+ | CancelLoaderJobCommandInput
+ | CancelMLDataProcessingJobCommandInput
+ | CancelMLModelTrainingJobCommandInput
+ | CancelMLModelTransformJobCommandInput
+ | CancelOpenCypherQueryCommandInput
+ | CreateMLEndpointCommandInput
+ | DeleteMLEndpointCommandInput
+ | DeletePropertygraphStatisticsCommandInput
+ | DeleteSparqlStatisticsCommandInput
+ | ExecuteFastResetCommandInput
+ | ExecuteGremlinExplainQueryCommandInput
+ | ExecuteGremlinProfileQueryCommandInput
+ | ExecuteGremlinQueryCommandInput
+ | ExecuteOpenCypherExplainQueryCommandInput
+ | ExecuteOpenCypherQueryCommandInput
+ | GetEngineStatusCommandInput
+ | GetGremlinQueryStatusCommandInput
+ | GetLoaderJobStatusCommandInput
+ | GetMLDataProcessingJobCommandInput
+ | GetMLEndpointCommandInput
+ | GetMLModelTrainingJobCommandInput
+ | GetMLModelTransformJobCommandInput
+ | GetOpenCypherQueryStatusCommandInput
+ | GetPropertygraphStatisticsCommandInput
+ | GetPropertygraphStreamCommandInput
+ | GetPropertygraphSummaryCommandInput
+ | GetRDFGraphSummaryCommandInput
+ | GetSparqlStatisticsCommandInput
+ | GetSparqlStreamCommandInput
+ | ListGremlinQueriesCommandInput
+ | ListLoaderJobsCommandInput
+ | ListMLDataProcessingJobsCommandInput
+ | ListMLEndpointsCommandInput
+ | ListMLModelTrainingJobsCommandInput
+ | ListMLModelTransformJobsCommandInput
+ | ListOpenCypherQueriesCommandInput
+ | ManagePropertygraphStatisticsCommandInput
+ | ManageSparqlStatisticsCommandInput
+ | StartLoaderJobCommandInput
+ | StartMLDataProcessingJobCommandInput
+ | StartMLModelTrainingJobCommandInput
+ | StartMLModelTransformJobCommandInput;
+
+/**
+ * @public
+ */
+export type ServiceOutputTypes =
+ | CancelGremlinQueryCommandOutput
+ | CancelLoaderJobCommandOutput
+ | CancelMLDataProcessingJobCommandOutput
+ | CancelMLModelTrainingJobCommandOutput
+ | CancelMLModelTransformJobCommandOutput
+ | CancelOpenCypherQueryCommandOutput
+ | CreateMLEndpointCommandOutput
+ | DeleteMLEndpointCommandOutput
+ | DeletePropertygraphStatisticsCommandOutput
+ | DeleteSparqlStatisticsCommandOutput
+ | ExecuteFastResetCommandOutput
+ | ExecuteGremlinExplainQueryCommandOutput
+ | ExecuteGremlinProfileQueryCommandOutput
+ | ExecuteGremlinQueryCommandOutput
+ | ExecuteOpenCypherExplainQueryCommandOutput
+ | ExecuteOpenCypherQueryCommandOutput
+ | GetEngineStatusCommandOutput
+ | GetGremlinQueryStatusCommandOutput
+ | GetLoaderJobStatusCommandOutput
+ | GetMLDataProcessingJobCommandOutput
+ | GetMLEndpointCommandOutput
+ | GetMLModelTrainingJobCommandOutput
+ | GetMLModelTransformJobCommandOutput
+ | GetOpenCypherQueryStatusCommandOutput
+ | GetPropertygraphStatisticsCommandOutput
+ | GetPropertygraphStreamCommandOutput
+ | GetPropertygraphSummaryCommandOutput
+ | GetRDFGraphSummaryCommandOutput
+ | GetSparqlStatisticsCommandOutput
+ | GetSparqlStreamCommandOutput
+ | ListGremlinQueriesCommandOutput
+ | ListLoaderJobsCommandOutput
+ | ListMLDataProcessingJobsCommandOutput
+ | ListMLEndpointsCommandOutput
+ | ListMLModelTrainingJobsCommandOutput
+ | ListMLModelTransformJobsCommandOutput
+ | ListOpenCypherQueriesCommandOutput
+ | ManagePropertygraphStatisticsCommandOutput
+ | ManageSparqlStatisticsCommandOutput
+ | StartLoaderJobCommandOutput
+ | StartMLDataProcessingJobCommandOutput
+ | StartMLModelTrainingJobCommandOutput
+ | StartMLModelTransformJobCommandOutput;
+
+/**
+ * @public
+ */
+export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
+ /**
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
+ */
+ requestHandler?: __HttpHandler;
+
+ /**
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
+ * @internal
+ */
+ sha256?: __ChecksumConstructor | __HashConstructor;
+
+ /**
+ * The function that will be used to convert strings into HTTP endpoints.
+ * @internal
+ */
+ urlParser?: __UrlParser;
+
+ /**
+ * A function that can calculate the length of a request body.
+ * @internal
+ */
+ bodyLengthChecker?: __BodyLengthCalculator;
+
+ /**
+ * A function that converts a stream into an array of bytes.
+ * @internal
+ */
+ streamCollector?: __StreamCollector;
+
+ /**
+ * The function that will be used to convert a base64-encoded string to a byte array.
+ * @internal
+ */
+ base64Decoder?: __Decoder;
+
+ /**
+ * The function that will be used to convert binary data to a base64-encoded string.
+ * @internal
+ */
+ base64Encoder?: __Encoder;
+
+ /**
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
+ * @internal
+ */
+ utf8Decoder?: __Decoder;
+
+ /**
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
+ * @internal
+ */
+ utf8Encoder?: __Encoder;
+
+ /**
+ * The runtime environment.
+ * @internal
+ */
+ runtime?: string;
+
+ /**
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
+ * trait of an operation.
+ */
+ disableHostPrefix?: boolean;
+
+ /**
+ * Unique service identifier.
+ * @internal
+ */
+ serviceId?: string;
+
+ /**
+ * Enables IPv6/IPv4 dualstack endpoint.
+ */
+ useDualstackEndpoint?: boolean | __Provider;
+
+ /**
+ * Enables FIPS compatible endpoints.
+ */
+ useFipsEndpoint?: boolean | __Provider;
+
+ /**
+ * The AWS region to which this client will send requests
+ */
+ region?: string | __Provider;
+
+ /**
+ * Default credentials provider; Not available in browser runtime.
+ * @internal
+ */
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
+
+ /**
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
+ * @internal
+ */
+ defaultUserAgentProvider?: Provider<__UserAgent>;
+
+ /**
+ * Value for how many times a request will be made at most in case of retry.
+ */
+ maxAttempts?: number | __Provider;
+
+ /**
+ * Specifies which retry algorithm to use.
+ */
+ retryMode?: string | __Provider;
+
+ /**
+ * Optional logger for logging debug/info/warn/error.
+ */
+ logger?: __Logger;
+
+ /**
+ * Optional extensions
+ */
+ extensions?: RuntimeExtension[];
+
+ /**
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
+ */
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
+}
+
+/**
+ * @public
+ */
+export type NeptunedataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
+ ClientDefaults &
+ RegionInputConfig &
+ EndpointInputConfig &
+ RetryInputConfig &
+ HostHeaderInputConfig &
+ AwsAuthInputConfig &
+ UserAgentInputConfig &
+ ClientInputEndpointParameters;
+/**
+ * @public
+ *
+ * The configuration interface of NeptunedataClient class constructor that set the region, credentials and other options.
+ */
+export interface NeptunedataClientConfig extends NeptunedataClientConfigType {}
+
+/**
+ * @public
+ */
+export type NeptunedataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
+ Required &
+ RuntimeExtensionsConfig &
+ RegionResolvedConfig &
+ EndpointResolvedConfig &
+ RetryResolvedConfig &
+ HostHeaderResolvedConfig &
+ AwsAuthResolvedConfig &
+ UserAgentResolvedConfig &
+ ClientResolvedEndpointParameters;
+/**
+ * @public
+ *
+ * The resolved configuration interface of NeptunedataClient class. This is resolved and normalized from the {@link NeptunedataClientConfig | constructor configuration interface}.
+ */
+export interface NeptunedataClientResolvedConfig extends NeptunedataClientResolvedConfigType {}
+
+/**
+ * @public
+ * Neptune Data API
+ * The Amazon Neptune data API provides SDK support for more than 40 of Neptune's data
+ * operations, including data loading, query execution, data inquiry, and machine learning.
+ * It supports all three Neptune query languages (Gremlin, openCypher and SPARQL), and is
+ * available in all SDK languages. It automatically signs API requests and greatly simplifies
+ * integrating Neptune into your applications.
+ */
+export class NeptunedataClient extends __Client<
+ __HttpHandlerOptions,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+ NeptunedataClientResolvedConfig
+> {
+ /**
+ * The resolved configuration of NeptunedataClient class. This is resolved and normalized from the {@link NeptunedataClientConfig | constructor configuration interface}.
+ */
+ readonly config: NeptunedataClientResolvedConfig;
+
+ constructor(...[configuration]: __CheckOptionalClientConfig) {
+ const _config_0 = __getRuntimeConfig(configuration || {});
+ const _config_1 = resolveClientEndpointParameters(_config_0);
+ const _config_2 = resolveRegionConfig(_config_1);
+ const _config_3 = resolveEndpointConfig(_config_2);
+ const _config_4 = resolveRetryConfig(_config_3);
+ const _config_5 = resolveHostHeaderConfig(_config_4);
+ const _config_6 = resolveAwsAuthConfig(_config_5);
+ const _config_7 = resolveUserAgentConfig(_config_6);
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
+ super(_config_8);
+ this.config = _config_8;
+ this.middlewareStack.use(getRetryPlugin(this.config));
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
+ this.middlewareStack.use(getLoggerPlugin(this.config));
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
+ }
+
+ /**
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
+ */
+ destroy(): void {
+ super.destroy();
+ }
+}
diff --git a/clients/client-neptunedata/src/commands/CancelGremlinQueryCommand.ts b/clients/client-neptunedata/src/commands/CancelGremlinQueryCommand.ts
new file mode 100644
index 0000000000000..6b89c87851967
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/CancelGremlinQueryCommand.ts
@@ -0,0 +1,186 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { CancelGremlinQueryInput, CancelGremlinQueryOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_CancelGremlinQueryCommand, se_CancelGremlinQueryCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link CancelGremlinQueryCommand}.
+ */
+export interface CancelGremlinQueryCommandInput extends CancelGremlinQueryInput {}
+/**
+ * @public
+ *
+ * The output of {@link CancelGremlinQueryCommand}.
+ */
+export interface CancelGremlinQueryCommandOutput extends CancelGremlinQueryOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Cancels a Gremlin query. See Gremlin
+ * query cancellation for more information.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, CancelGremlinQueryCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, CancelGremlinQueryCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // CancelGremlinQueryInput
+ * queryId: "STRING_VALUE", // required
+ * };
+ * const command = new CancelGremlinQueryCommand(input);
+ * const response = await client.send(command);
+ * // { // CancelGremlinQueryOutput
+ * // status: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param CancelGremlinQueryCommandInput - {@link CancelGremlinQueryCommandInput}
+ * @returns {@link CancelGremlinQueryCommandOutput}
+ * @see {@link CancelGremlinQueryCommandInput} for command's `input` shape.
+ * @see {@link CancelGremlinQueryCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConcurrentModificationException} (server fault)
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link FailureByQueryException} (server fault)
+ * Raised when a request fails.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link ParsingException} (client fault)
+ * Raised when a parsing issue is encountered.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TimeLimitExceededException} (server fault)
+ * Raised when the an operation exceeds the time limit allowed for it.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class CancelGremlinQueryCommand extends $Command<
+ CancelGremlinQueryCommandInput,
+ CancelGremlinQueryCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: CancelGremlinQueryCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, CancelGremlinQueryCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "CancelGremlinQueryCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: CancelGremlinQueryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_CancelGremlinQueryCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_CancelGremlinQueryCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/CancelLoaderJobCommand.ts b/clients/client-neptunedata/src/commands/CancelLoaderJobCommand.ts
new file mode 100644
index 0000000000000..2e0ea065950bc
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/CancelLoaderJobCommand.ts
@@ -0,0 +1,184 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { CancelLoaderJobInput, CancelLoaderJobOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_CancelLoaderJobCommand, se_CancelLoaderJobCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link CancelLoaderJobCommand}.
+ */
+export interface CancelLoaderJobCommandInput extends CancelLoaderJobInput {}
+/**
+ * @public
+ *
+ * The output of {@link CancelLoaderJobCommand}.
+ */
+export interface CancelLoaderJobCommandOutput extends CancelLoaderJobOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Cancels a specified load job. This is an HTTP DELETE
+ * request.
+ * See Neptune
+ * Loader Get-Status API for more information.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, CancelLoaderJobCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, CancelLoaderJobCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // CancelLoaderJobInput
+ * loadId: "STRING_VALUE", // required
+ * };
+ * const command = new CancelLoaderJobCommand(input);
+ * const response = await client.send(command);
+ * // { // CancelLoaderJobOutput
+ * // status: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param CancelLoaderJobCommandInput - {@link CancelLoaderJobCommandInput}
+ * @returns {@link CancelLoaderJobCommandOutput}
+ * @see {@link CancelLoaderJobCommandInput} for command's `input` shape.
+ * @see {@link CancelLoaderJobCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link BulkLoadIdNotFoundException} (client fault)
+ * Raised when a specified bulk-load job ID cannot be found.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InternalFailureException} (server fault)
+ * Raised when the processing of the request failed unexpectedly.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link LoadUrlAccessDeniedException} (client fault)
+ * Raised when access is denied to a specified load URL.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class CancelLoaderJobCommand extends $Command<
+ CancelLoaderJobCommandInput,
+ CancelLoaderJobCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: CancelLoaderJobCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, CancelLoaderJobCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "CancelLoaderJobCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: CancelLoaderJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_CancelLoaderJobCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_CancelLoaderJobCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/CancelMLDataProcessingJobCommand.ts b/clients/client-neptunedata/src/commands/CancelMLDataProcessingJobCommand.ts
new file mode 100644
index 0000000000000..45ebf4c641ec9
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/CancelMLDataProcessingJobCommand.ts
@@ -0,0 +1,181 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { CancelMLDataProcessingJobInput, CancelMLDataProcessingJobOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_CancelMLDataProcessingJobCommand, se_CancelMLDataProcessingJobCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link CancelMLDataProcessingJobCommand}.
+ */
+export interface CancelMLDataProcessingJobCommandInput extends CancelMLDataProcessingJobInput {}
+/**
+ * @public
+ *
+ * The output of {@link CancelMLDataProcessingJobCommand}.
+ */
+export interface CancelMLDataProcessingJobCommandOutput extends CancelMLDataProcessingJobOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Cancels a Neptune ML data processing job. See The
+ * dataprocessing
command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, CancelMLDataProcessingJobCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, CancelMLDataProcessingJobCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // CancelMLDataProcessingJobInput
+ * id: "STRING_VALUE", // required
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * clean: true || false,
+ * };
+ * const command = new CancelMLDataProcessingJobCommand(input);
+ * const response = await client.send(command);
+ * // { // CancelMLDataProcessingJobOutput
+ * // status: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param CancelMLDataProcessingJobCommandInput - {@link CancelMLDataProcessingJobCommandInput}
+ * @returns {@link CancelMLDataProcessingJobCommandOutput}
+ * @see {@link CancelMLDataProcessingJobCommandInput} for command's `input` shape.
+ * @see {@link CancelMLDataProcessingJobCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class CancelMLDataProcessingJobCommand extends $Command<
+ CancelMLDataProcessingJobCommandInput,
+ CancelMLDataProcessingJobCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: CancelMLDataProcessingJobCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, CancelMLDataProcessingJobCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "CancelMLDataProcessingJobCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: CancelMLDataProcessingJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_CancelMLDataProcessingJobCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return de_CancelMLDataProcessingJobCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/CancelMLModelTrainingJobCommand.ts b/clients/client-neptunedata/src/commands/CancelMLModelTrainingJobCommand.ts
new file mode 100644
index 0000000000000..94591a6b4e31a
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/CancelMLModelTrainingJobCommand.ts
@@ -0,0 +1,178 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { CancelMLModelTrainingJobInput, CancelMLModelTrainingJobOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_CancelMLModelTrainingJobCommand, se_CancelMLModelTrainingJobCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link CancelMLModelTrainingJobCommand}.
+ */
+export interface CancelMLModelTrainingJobCommandInput extends CancelMLModelTrainingJobInput {}
+/**
+ * @public
+ *
+ * The output of {@link CancelMLModelTrainingJobCommand}.
+ */
+export interface CancelMLModelTrainingJobCommandOutput extends CancelMLModelTrainingJobOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Cancels a Neptune ML model training job. See Model
+ * training using the modeltraining
command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, CancelMLModelTrainingJobCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, CancelMLModelTrainingJobCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // CancelMLModelTrainingJobInput
+ * id: "STRING_VALUE", // required
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * clean: true || false,
+ * };
+ * const command = new CancelMLModelTrainingJobCommand(input);
+ * const response = await client.send(command);
+ * // { // CancelMLModelTrainingJobOutput
+ * // status: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param CancelMLModelTrainingJobCommandInput - {@link CancelMLModelTrainingJobCommandInput}
+ * @returns {@link CancelMLModelTrainingJobCommandOutput}
+ * @see {@link CancelMLModelTrainingJobCommandInput} for command's `input` shape.
+ * @see {@link CancelMLModelTrainingJobCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class CancelMLModelTrainingJobCommand extends $Command<
+ CancelMLModelTrainingJobCommandInput,
+ CancelMLModelTrainingJobCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: CancelMLModelTrainingJobCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, CancelMLModelTrainingJobCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "CancelMLModelTrainingJobCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: CancelMLModelTrainingJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_CancelMLModelTrainingJobCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_CancelMLModelTrainingJobCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/CancelMLModelTransformJobCommand.ts b/clients/client-neptunedata/src/commands/CancelMLModelTransformJobCommand.ts
new file mode 100644
index 0000000000000..f9b5eda6efde4
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/CancelMLModelTransformJobCommand.ts
@@ -0,0 +1,181 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { CancelMLModelTransformJobInput, CancelMLModelTransformJobOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_CancelMLModelTransformJobCommand, se_CancelMLModelTransformJobCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link CancelMLModelTransformJobCommand}.
+ */
+export interface CancelMLModelTransformJobCommandInput extends CancelMLModelTransformJobInput {}
+/**
+ * @public
+ *
+ * The output of {@link CancelMLModelTransformJobCommand}.
+ */
+export interface CancelMLModelTransformJobCommandOutput extends CancelMLModelTransformJobOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Cancels a specified model transform job. See Use
+ * a trained model to generate new model artifacts.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, CancelMLModelTransformJobCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, CancelMLModelTransformJobCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // CancelMLModelTransformJobInput
+ * id: "STRING_VALUE", // required
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * clean: true || false,
+ * };
+ * const command = new CancelMLModelTransformJobCommand(input);
+ * const response = await client.send(command);
+ * // { // CancelMLModelTransformJobOutput
+ * // status: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param CancelMLModelTransformJobCommandInput - {@link CancelMLModelTransformJobCommandInput}
+ * @returns {@link CancelMLModelTransformJobCommandOutput}
+ * @see {@link CancelMLModelTransformJobCommandInput} for command's `input` shape.
+ * @see {@link CancelMLModelTransformJobCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class CancelMLModelTransformJobCommand extends $Command<
+ CancelMLModelTransformJobCommandInput,
+ CancelMLModelTransformJobCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: CancelMLModelTransformJobCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, CancelMLModelTransformJobCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "CancelMLModelTransformJobCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: CancelMLModelTransformJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_CancelMLModelTransformJobCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return de_CancelMLModelTransformJobCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/CancelOpenCypherQueryCommand.ts b/clients/client-neptunedata/src/commands/CancelOpenCypherQueryCommand.ts
new file mode 100644
index 0000000000000..0d1e44afdf696
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/CancelOpenCypherQueryCommand.ts
@@ -0,0 +1,191 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { CancelOpenCypherQueryInput, CancelOpenCypherQueryOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_CancelOpenCypherQueryCommand, se_CancelOpenCypherQueryCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link CancelOpenCypherQueryCommand}.
+ */
+export interface CancelOpenCypherQueryCommandInput extends CancelOpenCypherQueryInput {}
+/**
+ * @public
+ *
+ * The output of {@link CancelOpenCypherQueryCommand}.
+ */
+export interface CancelOpenCypherQueryCommandOutput extends CancelOpenCypherQueryOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Cancels a specified openCypher query. See Neptune
+ * openCypher status endpoint for more information.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, CancelOpenCypherQueryCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, CancelOpenCypherQueryCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // CancelOpenCypherQueryInput
+ * queryId: "STRING_VALUE", // required
+ * silent: true || false,
+ * };
+ * const command = new CancelOpenCypherQueryCommand(input);
+ * const response = await client.send(command);
+ * // { // CancelOpenCypherQueryOutput
+ * // status: "STRING_VALUE",
+ * // payload: true || false,
+ * // };
+ *
+ * ```
+ *
+ * @param CancelOpenCypherQueryCommandInput - {@link CancelOpenCypherQueryCommandInput}
+ * @returns {@link CancelOpenCypherQueryCommandOutput}
+ * @see {@link CancelOpenCypherQueryCommandInput} for command's `input` shape.
+ * @see {@link CancelOpenCypherQueryCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConcurrentModificationException} (server fault)
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link FailureByQueryException} (server fault)
+ * Raised when a request fails.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidNumericDataException} (client fault)
+ * Raised when invalid numerical data is encountered when servicing a request.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link ParsingException} (client fault)
+ * Raised when a parsing issue is encountered.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TimeLimitExceededException} (server fault)
+ * Raised when the an operation exceeds the time limit allowed for it.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class CancelOpenCypherQueryCommand extends $Command<
+ CancelOpenCypherQueryCommandInput,
+ CancelOpenCypherQueryCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: CancelOpenCypherQueryCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, CancelOpenCypherQueryCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "CancelOpenCypherQueryCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: CancelOpenCypherQueryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_CancelOpenCypherQueryCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_CancelOpenCypherQueryCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/CreateMLEndpointCommand.ts b/clients/client-neptunedata/src/commands/CreateMLEndpointCommand.ts
new file mode 100644
index 0000000000000..9d30fd9e1331b
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/CreateMLEndpointCommand.ts
@@ -0,0 +1,188 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { CreateMLEndpointInput, CreateMLEndpointOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_CreateMLEndpointCommand, se_CreateMLEndpointCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link CreateMLEndpointCommand}.
+ */
+export interface CreateMLEndpointCommandInput extends CreateMLEndpointInput {}
+/**
+ * @public
+ *
+ * The output of {@link CreateMLEndpointCommand}.
+ */
+export interface CreateMLEndpointCommandOutput extends CreateMLEndpointOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Creates a new Neptune ML inference endpoint that lets you query
+ * one specific model that the model-training process constructed. See
+ * Managing
+ * inference endpoints using the endpoints command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, CreateMLEndpointCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, CreateMLEndpointCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // CreateMLEndpointInput
+ * id: "STRING_VALUE",
+ * mlModelTrainingJobId: "STRING_VALUE",
+ * mlModelTransformJobId: "STRING_VALUE",
+ * update: true || false,
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * modelName: "STRING_VALUE",
+ * instanceType: "STRING_VALUE",
+ * instanceCount: Number("int"),
+ * volumeEncryptionKMSKey: "STRING_VALUE",
+ * };
+ * const command = new CreateMLEndpointCommand(input);
+ * const response = await client.send(command);
+ * // { // CreateMLEndpointOutput
+ * // id: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // creationTimeInMillis: Number("long"),
+ * // };
+ *
+ * ```
+ *
+ * @param CreateMLEndpointCommandInput - {@link CreateMLEndpointCommandInput}
+ * @returns {@link CreateMLEndpointCommandOutput}
+ * @see {@link CreateMLEndpointCommandInput} for command's `input` shape.
+ * @see {@link CreateMLEndpointCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class CreateMLEndpointCommand extends $Command<
+ CreateMLEndpointCommandInput,
+ CreateMLEndpointCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: CreateMLEndpointCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, CreateMLEndpointCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "CreateMLEndpointCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: CreateMLEndpointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_CreateMLEndpointCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_CreateMLEndpointCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/DeleteMLEndpointCommand.ts b/clients/client-neptunedata/src/commands/DeleteMLEndpointCommand.ts
new file mode 100644
index 0000000000000..0544e1f9cdb44
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/DeleteMLEndpointCommand.ts
@@ -0,0 +1,179 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { DeleteMLEndpointInput, DeleteMLEndpointOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_DeleteMLEndpointCommand, se_DeleteMLEndpointCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link DeleteMLEndpointCommand}.
+ */
+export interface DeleteMLEndpointCommandInput extends DeleteMLEndpointInput {}
+/**
+ * @public
+ *
+ * The output of {@link DeleteMLEndpointCommand}.
+ */
+export interface DeleteMLEndpointCommandOutput extends DeleteMLEndpointOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Cancels the creation of a Neptune ML inference endpoint. See
+ * Managing
+ * inference endpoints using the endpoints command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, DeleteMLEndpointCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, DeleteMLEndpointCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // DeleteMLEndpointInput
+ * id: "STRING_VALUE", // required
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * clean: true || false,
+ * };
+ * const command = new DeleteMLEndpointCommand(input);
+ * const response = await client.send(command);
+ * // { // DeleteMLEndpointOutput
+ * // status: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param DeleteMLEndpointCommandInput - {@link DeleteMLEndpointCommandInput}
+ * @returns {@link DeleteMLEndpointCommandOutput}
+ * @see {@link DeleteMLEndpointCommandInput} for command's `input` shape.
+ * @see {@link DeleteMLEndpointCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class DeleteMLEndpointCommand extends $Command<
+ DeleteMLEndpointCommandInput,
+ DeleteMLEndpointCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: DeleteMLEndpointCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, DeleteMLEndpointCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "DeleteMLEndpointCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: DeleteMLEndpointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_DeleteMLEndpointCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_DeleteMLEndpointCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/DeletePropertygraphStatisticsCommand.ts b/clients/client-neptunedata/src/commands/DeletePropertygraphStatisticsCommand.ts
new file mode 100644
index 0000000000000..066f711894729
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/DeletePropertygraphStatisticsCommand.ts
@@ -0,0 +1,193 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { DeletePropertygraphStatisticsOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import {
+ de_DeletePropertygraphStatisticsCommand,
+ se_DeletePropertygraphStatisticsCommand,
+} from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link DeletePropertygraphStatisticsCommand}.
+ */
+export interface DeletePropertygraphStatisticsCommandInput {}
+/**
+ * @public
+ *
+ * The output of {@link DeletePropertygraphStatisticsCommand}.
+ */
+export interface DeletePropertygraphStatisticsCommandOutput
+ extends DeletePropertygraphStatisticsOutput,
+ __MetadataBearer {}
+
+/**
+ * @public
+ * Deletes statistics for Gremlin and openCypher (property graph)
+ * data.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, DeletePropertygraphStatisticsCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, DeletePropertygraphStatisticsCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = {};
+ * const command = new DeletePropertygraphStatisticsCommand(input);
+ * const response = await client.send(command);
+ * // { // DeletePropertygraphStatisticsOutput
+ * // statusCode: Number("int"),
+ * // status: "STRING_VALUE",
+ * // payload: { // DeleteStatisticsValueMap
+ * // active: true || false,
+ * // statisticsId: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param DeletePropertygraphStatisticsCommandInput - {@link DeletePropertygraphStatisticsCommandInput}
+ * @returns {@link DeletePropertygraphStatisticsCommandOutput}
+ * @see {@link DeletePropertygraphStatisticsCommandInput} for command's `input` shape.
+ * @see {@link DeletePropertygraphStatisticsCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link StatisticsNotAvailableException} (client fault)
+ * Raised when statistics needed to satisfy a request are not available.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class DeletePropertygraphStatisticsCommand extends $Command<
+ DeletePropertygraphStatisticsCommandInput,
+ DeletePropertygraphStatisticsCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: DeletePropertygraphStatisticsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, DeletePropertygraphStatisticsCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "DeletePropertygraphStatisticsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: DeletePropertygraphStatisticsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_DeletePropertygraphStatisticsCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return de_DeletePropertygraphStatisticsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/DeleteSparqlStatisticsCommand.ts b/clients/client-neptunedata/src/commands/DeleteSparqlStatisticsCommand.ts
new file mode 100644
index 0000000000000..c6ee5255482cf
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/DeleteSparqlStatisticsCommand.ts
@@ -0,0 +1,184 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { DeleteSparqlStatisticsOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_DeleteSparqlStatisticsCommand, se_DeleteSparqlStatisticsCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link DeleteSparqlStatisticsCommand}.
+ */
+export interface DeleteSparqlStatisticsCommandInput {}
+/**
+ * @public
+ *
+ * The output of {@link DeleteSparqlStatisticsCommand}.
+ */
+export interface DeleteSparqlStatisticsCommandOutput extends DeleteSparqlStatisticsOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Deletes SPARQL statistics
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, DeleteSparqlStatisticsCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, DeleteSparqlStatisticsCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = {};
+ * const command = new DeleteSparqlStatisticsCommand(input);
+ * const response = await client.send(command);
+ * // { // DeleteSparqlStatisticsOutput
+ * // statusCode: Number("int"),
+ * // status: "STRING_VALUE",
+ * // payload: { // DeleteStatisticsValueMap
+ * // active: true || false,
+ * // statisticsId: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param DeleteSparqlStatisticsCommandInput - {@link DeleteSparqlStatisticsCommandInput}
+ * @returns {@link DeleteSparqlStatisticsCommandOutput}
+ * @see {@link DeleteSparqlStatisticsCommandInput} for command's `input` shape.
+ * @see {@link DeleteSparqlStatisticsCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link StatisticsNotAvailableException} (client fault)
+ * Raised when statistics needed to satisfy a request are not available.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class DeleteSparqlStatisticsCommand extends $Command<
+ DeleteSparqlStatisticsCommandInput,
+ DeleteSparqlStatisticsCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: DeleteSparqlStatisticsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, DeleteSparqlStatisticsCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "DeleteSparqlStatisticsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: DeleteSparqlStatisticsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_DeleteSparqlStatisticsCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_DeleteSparqlStatisticsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ExecuteFastResetCommand.ts b/clients/client-neptunedata/src/commands/ExecuteFastResetCommand.ts
new file mode 100644
index 0000000000000..80207d23f9396
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ExecuteFastResetCommand.ts
@@ -0,0 +1,192 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ExecuteFastResetInput, ExecuteFastResetOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ExecuteFastResetCommand, se_ExecuteFastResetCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ExecuteFastResetCommand}.
+ */
+export interface ExecuteFastResetCommandInput extends ExecuteFastResetInput {}
+/**
+ * @public
+ *
+ * The output of {@link ExecuteFastResetCommand}.
+ */
+export interface ExecuteFastResetCommandOutput extends ExecuteFastResetOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * The fast reset REST API lets you reset a Neptune graph quicky
+ * and easily, removing all of its data.
+ * Neptune fast reset is a two-step process. First you call ExecuteFastReset
+ * with action
set to initiateDatabaseReset
. This returns a
+ * UUID token which you then include when calling ExecuteFastReset
again
+ * with action
set to performDatabaseReset
. See Empty an Amazon Neptune
+ * DB cluster using the fast reset API.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ExecuteFastResetCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ExecuteFastResetCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ExecuteFastResetInput
+ * action: "initiateDatabaseReset" || "performDatabaseReset", // required
+ * token: "STRING_VALUE",
+ * };
+ * const command = new ExecuteFastResetCommand(input);
+ * const response = await client.send(command);
+ * // { // ExecuteFastResetOutput
+ * // status: "STRING_VALUE", // required
+ * // payload: { // FastResetToken
+ * // token: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param ExecuteFastResetCommandInput - {@link ExecuteFastResetCommandInput}
+ * @returns {@link ExecuteFastResetCommandOutput}
+ * @see {@link ExecuteFastResetCommandInput} for command's `input` shape.
+ * @see {@link ExecuteFastResetCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MethodNotAllowedException} (client fault)
+ * Raised when the HTTP method used by a request is not supported by the endpoint
+ * being used.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link ServerShutdownException} (server fault)
+ * Raised when the server shuts down while processing a request.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ExecuteFastResetCommand extends $Command<
+ ExecuteFastResetCommandInput,
+ ExecuteFastResetCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ExecuteFastResetCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ExecuteFastResetCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ExecuteFastResetCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ExecuteFastResetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ExecuteFastResetCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_ExecuteFastResetCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ExecuteGremlinExplainQueryCommand.ts b/clients/client-neptunedata/src/commands/ExecuteGremlinExplainQueryCommand.ts
new file mode 100644
index 0000000000000..6971227c003d1
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ExecuteGremlinExplainQueryCommand.ts
@@ -0,0 +1,230 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
+
+import { ExecuteGremlinExplainQueryInput, ExecuteGremlinExplainQueryOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ExecuteGremlinExplainQueryCommand, se_ExecuteGremlinExplainQueryCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ExecuteGremlinExplainQueryCommand}.
+ */
+export interface ExecuteGremlinExplainQueryCommandInput extends ExecuteGremlinExplainQueryInput {}
+/**
+ * @public
+ */
+export type ExecuteGremlinExplainQueryCommandOutputType = Omit & {
+ output?: Uint8ArrayBlobAdapter;
+};
+
+/**
+ * @public
+ *
+ * The output of {@link ExecuteGremlinExplainQueryCommand}.
+ */
+export interface ExecuteGremlinExplainQueryCommandOutput
+ extends ExecuteGremlinExplainQueryCommandOutputType,
+ __MetadataBearer {}
+
+/**
+ * @public
+ * Executes a Gremlin Explain query.
+ * Amazon Neptune has added a Gremlin feature named explain
+ * that provides is a self-service tool for understanding the execution
+ * approach being taken by the Neptune engine for the query. You invoke
+ * it by adding an explain
parameter to an HTTP call that
+ * submits a Gremlin query.
+ * The explain feature provides information about the logical structure
+ * of query execution plans. You can use this information to identify
+ * potential evaluation and execution bottlenecks and to tune your query,
+ * as explained in Tuning
+ * Gremlin queries. You can also use query hints to improve
+ * query execution plans.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ExecuteGremlinExplainQueryCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ExecuteGremlinExplainQueryCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ExecuteGremlinExplainQueryInput
+ * gremlinQuery: "STRING_VALUE", // required
+ * };
+ * const command = new ExecuteGremlinExplainQueryCommand(input);
+ * const response = await client.send(command);
+ * // { // ExecuteGremlinExplainQueryOutput
+ * // output: "BLOB_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param ExecuteGremlinExplainQueryCommandInput - {@link ExecuteGremlinExplainQueryCommandInput}
+ * @returns {@link ExecuteGremlinExplainQueryCommandOutput}
+ * @see {@link ExecuteGremlinExplainQueryCommandInput} for command's `input` shape.
+ * @see {@link ExecuteGremlinExplainQueryCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link CancelledByUserException} (server fault)
+ * Raised when a user cancelled a request.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConcurrentModificationException} (server fault)
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link FailureByQueryException} (server fault)
+ * Raised when a request fails.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MalformedQueryException} (client fault)
+ * Raised when a query is submitted that is syntactically incorrect or does not
+ * pass additional validation.
+ *
+ * @throws {@link MemoryLimitExceededException} (server fault)
+ * Raised when a request fails because of insufficient memory resources. The
+ * request can be retried.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link ParsingException} (client fault)
+ * Raised when a parsing issue is encountered.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link QueryLimitExceededException} (server fault)
+ * Raised when the number of active queries exceeds what the server can process.
+ * The query in question can be retried when the system is less busy.
+ *
+ * @throws {@link QueryLimitException} (client fault)
+ * Raised when the size of a query exceeds the system limit.
+ *
+ * @throws {@link QueryTooLargeException} (client fault)
+ * Raised when the body of a query is too large.
+ *
+ * @throws {@link TimeLimitExceededException} (server fault)
+ * Raised when the an operation exceeds the time limit allowed for it.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ExecuteGremlinExplainQueryCommand extends $Command<
+ ExecuteGremlinExplainQueryCommandInput,
+ ExecuteGremlinExplainQueryCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ExecuteGremlinExplainQueryCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ExecuteGremlinExplainQueryCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ExecuteGremlinExplainQueryCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ExecuteGremlinExplainQueryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ExecuteGremlinExplainQueryCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return de_ExecuteGremlinExplainQueryCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ExecuteGremlinProfileQueryCommand.ts b/clients/client-neptunedata/src/commands/ExecuteGremlinProfileQueryCommand.ts
new file mode 100644
index 0000000000000..ddf0c528689f1
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ExecuteGremlinProfileQueryCommand.ts
@@ -0,0 +1,226 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
+
+import { ExecuteGremlinProfileQueryInput, ExecuteGremlinProfileQueryOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ExecuteGremlinProfileQueryCommand, se_ExecuteGremlinProfileQueryCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ExecuteGremlinProfileQueryCommand}.
+ */
+export interface ExecuteGremlinProfileQueryCommandInput extends ExecuteGremlinProfileQueryInput {}
+/**
+ * @public
+ */
+export type ExecuteGremlinProfileQueryCommandOutputType = Omit & {
+ output?: Uint8ArrayBlobAdapter;
+};
+
+/**
+ * @public
+ *
+ * The output of {@link ExecuteGremlinProfileQueryCommand}.
+ */
+export interface ExecuteGremlinProfileQueryCommandOutput
+ extends ExecuteGremlinProfileQueryCommandOutputType,
+ __MetadataBearer {}
+
+/**
+ * @public
+ * Executes a Gremlin Profile query, which runs a specified traversal,
+ * collects various metrics about the run, and produces a profile report
+ * as output. See Gremlin profile
+ * API in Neptune for details.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ExecuteGremlinProfileQueryCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ExecuteGremlinProfileQueryCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ExecuteGremlinProfileQueryInput
+ * gremlinQuery: "STRING_VALUE", // required
+ * results: true || false,
+ * chop: Number("int"),
+ * serializer: "STRING_VALUE",
+ * indexOps: true || false,
+ * };
+ * const command = new ExecuteGremlinProfileQueryCommand(input);
+ * const response = await client.send(command);
+ * // { // ExecuteGremlinProfileQueryOutput
+ * // output: "BLOB_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param ExecuteGremlinProfileQueryCommandInput - {@link ExecuteGremlinProfileQueryCommandInput}
+ * @returns {@link ExecuteGremlinProfileQueryCommandOutput}
+ * @see {@link ExecuteGremlinProfileQueryCommandInput} for command's `input` shape.
+ * @see {@link ExecuteGremlinProfileQueryCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link CancelledByUserException} (server fault)
+ * Raised when a user cancelled a request.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConcurrentModificationException} (server fault)
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link FailureByQueryException} (server fault)
+ * Raised when a request fails.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MalformedQueryException} (client fault)
+ * Raised when a query is submitted that is syntactically incorrect or does not
+ * pass additional validation.
+ *
+ * @throws {@link MemoryLimitExceededException} (server fault)
+ * Raised when a request fails because of insufficient memory resources. The
+ * request can be retried.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link ParsingException} (client fault)
+ * Raised when a parsing issue is encountered.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link QueryLimitExceededException} (server fault)
+ * Raised when the number of active queries exceeds what the server can process.
+ * The query in question can be retried when the system is less busy.
+ *
+ * @throws {@link QueryLimitException} (client fault)
+ * Raised when the size of a query exceeds the system limit.
+ *
+ * @throws {@link QueryTooLargeException} (client fault)
+ * Raised when the body of a query is too large.
+ *
+ * @throws {@link TimeLimitExceededException} (server fault)
+ * Raised when the an operation exceeds the time limit allowed for it.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ExecuteGremlinProfileQueryCommand extends $Command<
+ ExecuteGremlinProfileQueryCommandInput,
+ ExecuteGremlinProfileQueryCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ExecuteGremlinProfileQueryCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ExecuteGremlinProfileQueryCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ExecuteGremlinProfileQueryCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ExecuteGremlinProfileQueryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ExecuteGremlinProfileQueryCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return de_ExecuteGremlinProfileQueryCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ExecuteGremlinQueryCommand.ts b/clients/client-neptunedata/src/commands/ExecuteGremlinQueryCommand.ts
new file mode 100644
index 0000000000000..5c89499892456
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ExecuteGremlinQueryCommand.ts
@@ -0,0 +1,219 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ExecuteGremlinQueryInput, ExecuteGremlinQueryOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ExecuteGremlinQueryCommand, se_ExecuteGremlinQueryCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ExecuteGremlinQueryCommand}.
+ */
+export interface ExecuteGremlinQueryCommandInput extends ExecuteGremlinQueryInput {}
+/**
+ * @public
+ *
+ * The output of {@link ExecuteGremlinQueryCommand}.
+ */
+export interface ExecuteGremlinQueryCommandOutput extends ExecuteGremlinQueryOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * This commands executes a Gremlin query. Amazon Neptune is compatible
+ * with Apache TinkerPop3 and Gremlin, so you can use the Gremlin traversal
+ * language to query the graph, as described under The
+ * Graph in the Apache TinkerPop3 documentation.
+ * More details can also be found in Accessing a
+ * Neptune graph with Gremlin.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ExecuteGremlinQueryCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ExecuteGremlinQueryCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ExecuteGremlinQueryInput
+ * gremlinQuery: "STRING_VALUE", // required
+ * serializer: "STRING_VALUE",
+ * };
+ * const command = new ExecuteGremlinQueryCommand(input);
+ * const response = await client.send(command);
+ * // { // ExecuteGremlinQueryOutput
+ * // requestId: "STRING_VALUE",
+ * // status: { // GremlinQueryStatusAttributes
+ * // message: "STRING_VALUE",
+ * // code: Number("int"),
+ * // attributes: "DOCUMENT_VALUE",
+ * // },
+ * // result: "DOCUMENT_VALUE",
+ * // meta: "DOCUMENT_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param ExecuteGremlinQueryCommandInput - {@link ExecuteGremlinQueryCommandInput}
+ * @returns {@link ExecuteGremlinQueryCommandOutput}
+ * @see {@link ExecuteGremlinQueryCommandInput} for command's `input` shape.
+ * @see {@link ExecuteGremlinQueryCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link CancelledByUserException} (server fault)
+ * Raised when a user cancelled a request.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConcurrentModificationException} (server fault)
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link FailureByQueryException} (server fault)
+ * Raised when a request fails.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MalformedQueryException} (client fault)
+ * Raised when a query is submitted that is syntactically incorrect or does not
+ * pass additional validation.
+ *
+ * @throws {@link MemoryLimitExceededException} (server fault)
+ * Raised when a request fails because of insufficient memory resources. The
+ * request can be retried.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link ParsingException} (client fault)
+ * Raised when a parsing issue is encountered.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link QueryLimitExceededException} (server fault)
+ * Raised when the number of active queries exceeds what the server can process.
+ * The query in question can be retried when the system is less busy.
+ *
+ * @throws {@link QueryLimitException} (client fault)
+ * Raised when the size of a query exceeds the system limit.
+ *
+ * @throws {@link QueryTooLargeException} (client fault)
+ * Raised when the body of a query is too large.
+ *
+ * @throws {@link TimeLimitExceededException} (server fault)
+ * Raised when the an operation exceeds the time limit allowed for it.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ExecuteGremlinQueryCommand extends $Command<
+ ExecuteGremlinQueryCommandInput,
+ ExecuteGremlinQueryCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ExecuteGremlinQueryCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ExecuteGremlinQueryCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ExecuteGremlinQueryCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ExecuteGremlinQueryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ExecuteGremlinQueryCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_ExecuteGremlinQueryCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ExecuteOpenCypherExplainQueryCommand.ts b/clients/client-neptunedata/src/commands/ExecuteOpenCypherExplainQueryCommand.ts
new file mode 100644
index 0000000000000..7338ead0ae833
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ExecuteOpenCypherExplainQueryCommand.ts
@@ -0,0 +1,229 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
+
+import { ExecuteOpenCypherExplainQueryInput, ExecuteOpenCypherExplainQueryOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import {
+ de_ExecuteOpenCypherExplainQueryCommand,
+ se_ExecuteOpenCypherExplainQueryCommand,
+} from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ExecuteOpenCypherExplainQueryCommand}.
+ */
+export interface ExecuteOpenCypherExplainQueryCommandInput extends ExecuteOpenCypherExplainQueryInput {}
+/**
+ * @public
+ */
+export type ExecuteOpenCypherExplainQueryCommandOutputType = Omit & {
+ results: Uint8ArrayBlobAdapter;
+};
+
+/**
+ * @public
+ *
+ * The output of {@link ExecuteOpenCypherExplainQueryCommand}.
+ */
+export interface ExecuteOpenCypherExplainQueryCommandOutput
+ extends ExecuteOpenCypherExplainQueryCommandOutputType,
+ __MetadataBearer {}
+
+/**
+ * @public
+ * Executes an openCypher explain
request. See
+ * The
+ * openCypher explain feature for more information.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ExecuteOpenCypherExplainQueryCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ExecuteOpenCypherExplainQueryCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ExecuteOpenCypherExplainQueryInput
+ * openCypherQuery: "STRING_VALUE", // required
+ * parameters: "STRING_VALUE",
+ * explainMode: "static" || "dynamic" || "details", // required
+ * };
+ * const command = new ExecuteOpenCypherExplainQueryCommand(input);
+ * const response = await client.send(command);
+ * // { // ExecuteOpenCypherExplainQueryOutput
+ * // results: "BLOB_VALUE", // required
+ * // };
+ *
+ * ```
+ *
+ * @param ExecuteOpenCypherExplainQueryCommandInput - {@link ExecuteOpenCypherExplainQueryCommandInput}
+ * @returns {@link ExecuteOpenCypherExplainQueryCommandOutput}
+ * @see {@link ExecuteOpenCypherExplainQueryCommandInput} for command's `input` shape.
+ * @see {@link ExecuteOpenCypherExplainQueryCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link CancelledByUserException} (server fault)
+ * Raised when a user cancelled a request.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConcurrentModificationException} (server fault)
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link FailureByQueryException} (server fault)
+ * Raised when a request fails.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidNumericDataException} (client fault)
+ * Raised when invalid numerical data is encountered when servicing a request.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MalformedQueryException} (client fault)
+ * Raised when a query is submitted that is syntactically incorrect or does not
+ * pass additional validation.
+ *
+ * @throws {@link MemoryLimitExceededException} (server fault)
+ * Raised when a request fails because of insufficient memory resources. The
+ * request can be retried.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link ParsingException} (client fault)
+ * Raised when a parsing issue is encountered.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link QueryLimitExceededException} (server fault)
+ * Raised when the number of active queries exceeds what the server can process.
+ * The query in question can be retried when the system is less busy.
+ *
+ * @throws {@link QueryLimitException} (client fault)
+ * Raised when the size of a query exceeds the system limit.
+ *
+ * @throws {@link QueryTooLargeException} (client fault)
+ * Raised when the body of a query is too large.
+ *
+ * @throws {@link TimeLimitExceededException} (server fault)
+ * Raised when the an operation exceeds the time limit allowed for it.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ExecuteOpenCypherExplainQueryCommand extends $Command<
+ ExecuteOpenCypherExplainQueryCommandInput,
+ ExecuteOpenCypherExplainQueryCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ExecuteOpenCypherExplainQueryCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ExecuteOpenCypherExplainQueryCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ExecuteOpenCypherExplainQueryCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ExecuteOpenCypherExplainQueryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ExecuteOpenCypherExplainQueryCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return de_ExecuteOpenCypherExplainQueryCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ExecuteOpenCypherQueryCommand.ts b/clients/client-neptunedata/src/commands/ExecuteOpenCypherQueryCommand.ts
new file mode 100644
index 0000000000000..95563e474a816
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ExecuteOpenCypherQueryCommand.ts
@@ -0,0 +1,220 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ExecuteOpenCypherQueryInput, ExecuteOpenCypherQueryOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ExecuteOpenCypherQueryCommand, se_ExecuteOpenCypherQueryCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ExecuteOpenCypherQueryCommand}.
+ */
+export interface ExecuteOpenCypherQueryCommandInput extends ExecuteOpenCypherQueryInput {}
+/**
+ * @public
+ *
+ * The output of {@link ExecuteOpenCypherQueryCommand}.
+ */
+export interface ExecuteOpenCypherQueryCommandOutput extends ExecuteOpenCypherQueryOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Executes an openCypher query. See Accessing
+ * the Neptune Graph with openCypher for more information.
+ * Neptune supports building graph applications using openCypher,
+ * which is currently one of the most popular query languages among
+ * developers working with graph databases. Developers, business analysts,
+ * and data scientists like openCypher's declarative, SQL-inspired syntax
+ * because it provides a familiar structure in which to querying property
+ * graphs.
+ * The openCypher language was originally developed by Neo4j, then
+ * open-sourced in 2015 and contributed to the openCypher project under an Apache
+ * 2 open-source license.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ExecuteOpenCypherQueryCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ExecuteOpenCypherQueryCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ExecuteOpenCypherQueryInput
+ * openCypherQuery: "STRING_VALUE", // required
+ * parameters: "STRING_VALUE",
+ * };
+ * const command = new ExecuteOpenCypherQueryCommand(input);
+ * const response = await client.send(command);
+ * // { // ExecuteOpenCypherQueryOutput
+ * // results: "DOCUMENT_VALUE", // required
+ * // };
+ *
+ * ```
+ *
+ * @param ExecuteOpenCypherQueryCommandInput - {@link ExecuteOpenCypherQueryCommandInput}
+ * @returns {@link ExecuteOpenCypherQueryCommandOutput}
+ * @see {@link ExecuteOpenCypherQueryCommandInput} for command's `input` shape.
+ * @see {@link ExecuteOpenCypherQueryCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link CancelledByUserException} (server fault)
+ * Raised when a user cancelled a request.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConcurrentModificationException} (server fault)
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link FailureByQueryException} (server fault)
+ * Raised when a request fails.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidNumericDataException} (client fault)
+ * Raised when invalid numerical data is encountered when servicing a request.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MalformedQueryException} (client fault)
+ * Raised when a query is submitted that is syntactically incorrect or does not
+ * pass additional validation.
+ *
+ * @throws {@link MemoryLimitExceededException} (server fault)
+ * Raised when a request fails because of insufficient memory resources. The
+ * request can be retried.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link ParsingException} (client fault)
+ * Raised when a parsing issue is encountered.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link QueryLimitExceededException} (server fault)
+ * Raised when the number of active queries exceeds what the server can process.
+ * The query in question can be retried when the system is less busy.
+ *
+ * @throws {@link QueryLimitException} (client fault)
+ * Raised when the size of a query exceeds the system limit.
+ *
+ * @throws {@link QueryTooLargeException} (client fault)
+ * Raised when the body of a query is too large.
+ *
+ * @throws {@link TimeLimitExceededException} (server fault)
+ * Raised when the an operation exceeds the time limit allowed for it.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ExecuteOpenCypherQueryCommand extends $Command<
+ ExecuteOpenCypherQueryCommandInput,
+ ExecuteOpenCypherQueryCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ExecuteOpenCypherQueryCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ExecuteOpenCypherQueryCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ExecuteOpenCypherQueryCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ExecuteOpenCypherQueryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ExecuteOpenCypherQueryCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_ExecuteOpenCypherQueryCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetEngineStatusCommand.ts b/clients/client-neptunedata/src/commands/GetEngineStatusCommand.ts
new file mode 100644
index 0000000000000..0e09386f6a7fa
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetEngineStatusCommand.ts
@@ -0,0 +1,188 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetEngineStatusOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetEngineStatusCommand, se_GetEngineStatusCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetEngineStatusCommand}.
+ */
+export interface GetEngineStatusCommandInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetEngineStatusCommand}.
+ */
+export interface GetEngineStatusCommandOutput extends GetEngineStatusOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Check the status of the graph database on the host.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetEngineStatusCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetEngineStatusCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = {};
+ * const command = new GetEngineStatusCommand(input);
+ * const response = await client.send(command);
+ * // { // GetEngineStatusOutput
+ * // status: "STRING_VALUE",
+ * // startTime: "STRING_VALUE",
+ * // dbEngineVersion: "STRING_VALUE",
+ * // role: "STRING_VALUE",
+ * // dfeQueryEngine: "STRING_VALUE",
+ * // gremlin: { // QueryLanguageVersion
+ * // version: "STRING_VALUE", // required
+ * // },
+ * // sparql: {
+ * // version: "STRING_VALUE", // required
+ * // },
+ * // opencypher: {
+ * // version: "STRING_VALUE", // required
+ * // },
+ * // labMode: { // StringValuedMap
+ * // "": "STRING_VALUE",
+ * // },
+ * // rollingBackTrxCount: Number("int"),
+ * // rollingBackTrxEarliestStartTime: "STRING_VALUE",
+ * // features: { // DocumentValuedMap
+ * // "": "DOCUMENT_VALUE",
+ * // },
+ * // settings: {
+ * // "": "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param GetEngineStatusCommandInput - {@link GetEngineStatusCommandInput}
+ * @returns {@link GetEngineStatusCommandOutput}
+ * @see {@link GetEngineStatusCommandInput} for command's `input` shape.
+ * @see {@link GetEngineStatusCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InternalFailureException} (server fault)
+ * Raised when the processing of the request failed unexpectedly.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetEngineStatusCommand extends $Command<
+ GetEngineStatusCommandInput,
+ GetEngineStatusCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetEngineStatusCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetEngineStatusCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetEngineStatusCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetEngineStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetEngineStatusCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetEngineStatusCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetGremlinQueryStatusCommand.ts b/clients/client-neptunedata/src/commands/GetGremlinQueryStatusCommand.ts
new file mode 100644
index 0000000000000..d81ae882fcbad
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetGremlinQueryStatusCommand.ts
@@ -0,0 +1,198 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetGremlinQueryStatusInput, GetGremlinQueryStatusOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetGremlinQueryStatusCommand, se_GetGremlinQueryStatusCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetGremlinQueryStatusCommand}.
+ */
+export interface GetGremlinQueryStatusCommandInput extends GetGremlinQueryStatusInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetGremlinQueryStatusCommand}.
+ */
+export interface GetGremlinQueryStatusCommandOutput extends GetGremlinQueryStatusOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Gets the status of a specified Gremlin query.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetGremlinQueryStatusCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetGremlinQueryStatusCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // GetGremlinQueryStatusInput
+ * queryId: "STRING_VALUE", // required
+ * };
+ * const command = new GetGremlinQueryStatusCommand(input);
+ * const response = await client.send(command);
+ * // { // GetGremlinQueryStatusOutput
+ * // queryId: "STRING_VALUE",
+ * // queryString: "STRING_VALUE",
+ * // queryEvalStats: { // QueryEvalStats
+ * // waited: Number("int"),
+ * // elapsed: Number("int"),
+ * // cancelled: true || false,
+ * // subqueries: "DOCUMENT_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param GetGremlinQueryStatusCommandInput - {@link GetGremlinQueryStatusCommandInput}
+ * @returns {@link GetGremlinQueryStatusCommandOutput}
+ * @see {@link GetGremlinQueryStatusCommandInput} for command's `input` shape.
+ * @see {@link GetGremlinQueryStatusCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConcurrentModificationException} (server fault)
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link FailureByQueryException} (server fault)
+ * Raised when a request fails.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link ParsingException} (client fault)
+ * Raised when a parsing issue is encountered.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link TimeLimitExceededException} (server fault)
+ * Raised when the an operation exceeds the time limit allowed for it.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetGremlinQueryStatusCommand extends $Command<
+ GetGremlinQueryStatusCommandInput,
+ GetGremlinQueryStatusCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetGremlinQueryStatusCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetGremlinQueryStatusCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetGremlinQueryStatusCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetGremlinQueryStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetGremlinQueryStatusCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetGremlinQueryStatusCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetLoaderJobStatusCommand.ts b/clients/client-neptunedata/src/commands/GetLoaderJobStatusCommand.ts
new file mode 100644
index 0000000000000..6f8bc50d0f15f
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetLoaderJobStatusCommand.ts
@@ -0,0 +1,190 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetLoaderJobStatusInput, GetLoaderJobStatusOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetLoaderJobStatusCommand, se_GetLoaderJobStatusCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetLoaderJobStatusCommand}.
+ */
+export interface GetLoaderJobStatusCommandInput extends GetLoaderJobStatusInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetLoaderJobStatusCommand}.
+ */
+export interface GetLoaderJobStatusCommandOutput extends GetLoaderJobStatusOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Gets status information about a specified load job.
+ * Neptune keeps track of the most recent 1,024 bulk load jobs,
+ * and stores the last 10,000 error details per job.
+ * See Neptune
+ * Loader Get-Status API for more information.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetLoaderJobStatusCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetLoaderJobStatusCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // GetLoaderJobStatusInput
+ * loadId: "STRING_VALUE", // required
+ * details: true || false,
+ * errors: true || false,
+ * page: Number("int"),
+ * errorsPerPage: Number("int"),
+ * };
+ * const command = new GetLoaderJobStatusCommand(input);
+ * const response = await client.send(command);
+ * // { // GetLoaderJobStatusOutput
+ * // status: "STRING_VALUE", // required
+ * // payload: "DOCUMENT_VALUE", // required
+ * // };
+ *
+ * ```
+ *
+ * @param GetLoaderJobStatusCommandInput - {@link GetLoaderJobStatusCommandInput}
+ * @returns {@link GetLoaderJobStatusCommandOutput}
+ * @see {@link GetLoaderJobStatusCommandInput} for command's `input` shape.
+ * @see {@link GetLoaderJobStatusCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link BulkLoadIdNotFoundException} (client fault)
+ * Raised when a specified bulk-load job ID cannot be found.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InternalFailureException} (server fault)
+ * Raised when the processing of the request failed unexpectedly.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link LoadUrlAccessDeniedException} (client fault)
+ * Raised when access is denied to a specified load URL.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetLoaderJobStatusCommand extends $Command<
+ GetLoaderJobStatusCommandInput,
+ GetLoaderJobStatusCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetLoaderJobStatusCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetLoaderJobStatusCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetLoaderJobStatusCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetLoaderJobStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetLoaderJobStatusCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetLoaderJobStatusCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetMLDataProcessingJobCommand.ts b/clients/client-neptunedata/src/commands/GetMLDataProcessingJobCommand.ts
new file mode 100644
index 0000000000000..996918b5eeafe
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetMLDataProcessingJobCommand.ts
@@ -0,0 +1,186 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetMLDataProcessingJobInput, GetMLDataProcessingJobOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetMLDataProcessingJobCommand, se_GetMLDataProcessingJobCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetMLDataProcessingJobCommand}.
+ */
+export interface GetMLDataProcessingJobCommandInput extends GetMLDataProcessingJobInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetMLDataProcessingJobCommand}.
+ */
+export interface GetMLDataProcessingJobCommandOutput extends GetMLDataProcessingJobOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Retrieves information about a specified data processing job. See The
+ * dataprocessing
command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetMLDataProcessingJobCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetMLDataProcessingJobCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // GetMLDataProcessingJobInput
+ * id: "STRING_VALUE", // required
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * };
+ * const command = new GetMLDataProcessingJobCommand(input);
+ * const response = await client.send(command);
+ * // { // GetMLDataProcessingJobOutput
+ * // status: "STRING_VALUE",
+ * // id: "STRING_VALUE",
+ * // processingJob: { // MlResourceDefinition
+ * // name: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // status: "STRING_VALUE",
+ * // outputLocation: "STRING_VALUE",
+ * // failureReason: "STRING_VALUE",
+ * // cloudwatchLogUrl: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param GetMLDataProcessingJobCommandInput - {@link GetMLDataProcessingJobCommandInput}
+ * @returns {@link GetMLDataProcessingJobCommandOutput}
+ * @see {@link GetMLDataProcessingJobCommandInput} for command's `input` shape.
+ * @see {@link GetMLDataProcessingJobCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetMLDataProcessingJobCommand extends $Command<
+ GetMLDataProcessingJobCommandInput,
+ GetMLDataProcessingJobCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetMLDataProcessingJobCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetMLDataProcessingJobCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetMLDataProcessingJobCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetMLDataProcessingJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetMLDataProcessingJobCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetMLDataProcessingJobCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetMLEndpointCommand.ts b/clients/client-neptunedata/src/commands/GetMLEndpointCommand.ts
new file mode 100644
index 0000000000000..589b34577be16
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetMLEndpointCommand.ts
@@ -0,0 +1,188 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetMLEndpointInput, GetMLEndpointOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetMLEndpointCommand, se_GetMLEndpointCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetMLEndpointCommand}.
+ */
+export interface GetMLEndpointCommandInput extends GetMLEndpointInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetMLEndpointCommand}.
+ */
+export interface GetMLEndpointCommandOutput extends GetMLEndpointOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Retrieves details about an inference endpoint. See Managing
+ * inference endpoints using the endpoints command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetMLEndpointCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetMLEndpointCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // GetMLEndpointInput
+ * id: "STRING_VALUE", // required
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * };
+ * const command = new GetMLEndpointCommand(input);
+ * const response = await client.send(command);
+ * // { // GetMLEndpointOutput
+ * // status: "STRING_VALUE",
+ * // id: "STRING_VALUE",
+ * // endpoint: { // MlResourceDefinition
+ * // name: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // status: "STRING_VALUE",
+ * // outputLocation: "STRING_VALUE",
+ * // failureReason: "STRING_VALUE",
+ * // cloudwatchLogUrl: "STRING_VALUE",
+ * // },
+ * // endpointConfig: { // MlConfigDefinition
+ * // name: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param GetMLEndpointCommandInput - {@link GetMLEndpointCommandInput}
+ * @returns {@link GetMLEndpointCommandOutput}
+ * @see {@link GetMLEndpointCommandInput} for command's `input` shape.
+ * @see {@link GetMLEndpointCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetMLEndpointCommand extends $Command<
+ GetMLEndpointCommandInput,
+ GetMLEndpointCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetMLEndpointCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetMLEndpointCommand.getEndpointParameterInstructions()));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetMLEndpointCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetMLEndpointCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetMLEndpointCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetMLEndpointCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetMLModelTrainingJobCommand.ts b/clients/client-neptunedata/src/commands/GetMLModelTrainingJobCommand.ts
new file mode 100644
index 0000000000000..7afd83429662c
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetMLModelTrainingJobCommand.ts
@@ -0,0 +1,208 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetMLModelTrainingJobInput, GetMLModelTrainingJobOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetMLModelTrainingJobCommand, se_GetMLModelTrainingJobCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetMLModelTrainingJobCommand}.
+ */
+export interface GetMLModelTrainingJobCommandInput extends GetMLModelTrainingJobInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetMLModelTrainingJobCommand}.
+ */
+export interface GetMLModelTrainingJobCommandOutput extends GetMLModelTrainingJobOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Retrieves information about a Neptune ML model training job. See Model
+ * training using the modeltraining
command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetMLModelTrainingJobCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetMLModelTrainingJobCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // GetMLModelTrainingJobInput
+ * id: "STRING_VALUE", // required
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * };
+ * const command = new GetMLModelTrainingJobCommand(input);
+ * const response = await client.send(command);
+ * // { // GetMLModelTrainingJobOutput
+ * // status: "STRING_VALUE",
+ * // id: "STRING_VALUE",
+ * // processingJob: { // MlResourceDefinition
+ * // name: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // status: "STRING_VALUE",
+ * // outputLocation: "STRING_VALUE",
+ * // failureReason: "STRING_VALUE",
+ * // cloudwatchLogUrl: "STRING_VALUE",
+ * // },
+ * // hpoJob: {
+ * // name: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // status: "STRING_VALUE",
+ * // outputLocation: "STRING_VALUE",
+ * // failureReason: "STRING_VALUE",
+ * // cloudwatchLogUrl: "STRING_VALUE",
+ * // },
+ * // modelTransformJob: {
+ * // name: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // status: "STRING_VALUE",
+ * // outputLocation: "STRING_VALUE",
+ * // failureReason: "STRING_VALUE",
+ * // cloudwatchLogUrl: "STRING_VALUE",
+ * // },
+ * // mlModels: [ // MlModels
+ * // { // MlConfigDefinition
+ * // name: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // },
+ * // ],
+ * // };
+ *
+ * ```
+ *
+ * @param GetMLModelTrainingJobCommandInput - {@link GetMLModelTrainingJobCommandInput}
+ * @returns {@link GetMLModelTrainingJobCommandOutput}
+ * @see {@link GetMLModelTrainingJobCommandInput} for command's `input` shape.
+ * @see {@link GetMLModelTrainingJobCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetMLModelTrainingJobCommand extends $Command<
+ GetMLModelTrainingJobCommandInput,
+ GetMLModelTrainingJobCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetMLModelTrainingJobCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetMLModelTrainingJobCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetMLModelTrainingJobCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetMLModelTrainingJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetMLModelTrainingJobCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetMLModelTrainingJobCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetMLModelTransformJobCommand.ts b/clients/client-neptunedata/src/commands/GetMLModelTransformJobCommand.ts
new file mode 100644
index 0000000000000..d8daba9380754
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetMLModelTransformJobCommand.ts
@@ -0,0 +1,200 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetMLModelTransformJobInput, GetMLModelTransformJobOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetMLModelTransformJobCommand, se_GetMLModelTransformJobCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetMLModelTransformJobCommand}.
+ */
+export interface GetMLModelTransformJobCommandInput extends GetMLModelTransformJobInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetMLModelTransformJobCommand}.
+ */
+export interface GetMLModelTransformJobCommandOutput extends GetMLModelTransformJobOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Gets information about a specified model transform job. See Use
+ * a trained model to generate new model artifacts.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetMLModelTransformJobCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetMLModelTransformJobCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // GetMLModelTransformJobInput
+ * id: "STRING_VALUE", // required
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * };
+ * const command = new GetMLModelTransformJobCommand(input);
+ * const response = await client.send(command);
+ * // { // GetMLModelTransformJobOutput
+ * // status: "STRING_VALUE",
+ * // id: "STRING_VALUE",
+ * // baseProcessingJob: { // MlResourceDefinition
+ * // name: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // status: "STRING_VALUE",
+ * // outputLocation: "STRING_VALUE",
+ * // failureReason: "STRING_VALUE",
+ * // cloudwatchLogUrl: "STRING_VALUE",
+ * // },
+ * // remoteModelTransformJob: {
+ * // name: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // status: "STRING_VALUE",
+ * // outputLocation: "STRING_VALUE",
+ * // failureReason: "STRING_VALUE",
+ * // cloudwatchLogUrl: "STRING_VALUE",
+ * // },
+ * // models: [ // Models
+ * // { // MlConfigDefinition
+ * // name: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // },
+ * // ],
+ * // };
+ *
+ * ```
+ *
+ * @param GetMLModelTransformJobCommandInput - {@link GetMLModelTransformJobCommandInput}
+ * @returns {@link GetMLModelTransformJobCommandOutput}
+ * @see {@link GetMLModelTransformJobCommandInput} for command's `input` shape.
+ * @see {@link GetMLModelTransformJobCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetMLModelTransformJobCommand extends $Command<
+ GetMLModelTransformJobCommandInput,
+ GetMLModelTransformJobCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetMLModelTransformJobCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetMLModelTransformJobCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetMLModelTransformJobCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetMLModelTransformJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetMLModelTransformJobCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetMLModelTransformJobCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetOpenCypherQueryStatusCommand.ts b/clients/client-neptunedata/src/commands/GetOpenCypherQueryStatusCommand.ts
new file mode 100644
index 0000000000000..2b1267293496c
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetOpenCypherQueryStatusCommand.ts
@@ -0,0 +1,201 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetOpenCypherQueryStatusInput, GetOpenCypherQueryStatusOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetOpenCypherQueryStatusCommand, se_GetOpenCypherQueryStatusCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetOpenCypherQueryStatusCommand}.
+ */
+export interface GetOpenCypherQueryStatusCommandInput extends GetOpenCypherQueryStatusInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetOpenCypherQueryStatusCommand}.
+ */
+export interface GetOpenCypherQueryStatusCommandOutput extends GetOpenCypherQueryStatusOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Retrieves the status of a specified openCypher query.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetOpenCypherQueryStatusCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetOpenCypherQueryStatusCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // GetOpenCypherQueryStatusInput
+ * queryId: "STRING_VALUE", // required
+ * };
+ * const command = new GetOpenCypherQueryStatusCommand(input);
+ * const response = await client.send(command);
+ * // { // GetOpenCypherQueryStatusOutput
+ * // queryId: "STRING_VALUE",
+ * // queryString: "STRING_VALUE",
+ * // queryEvalStats: { // QueryEvalStats
+ * // waited: Number("int"),
+ * // elapsed: Number("int"),
+ * // cancelled: true || false,
+ * // subqueries: "DOCUMENT_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param GetOpenCypherQueryStatusCommandInput - {@link GetOpenCypherQueryStatusCommandInput}
+ * @returns {@link GetOpenCypherQueryStatusCommandOutput}
+ * @see {@link GetOpenCypherQueryStatusCommandInput} for command's `input` shape.
+ * @see {@link GetOpenCypherQueryStatusCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConcurrentModificationException} (server fault)
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link FailureByQueryException} (server fault)
+ * Raised when a request fails.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidNumericDataException} (client fault)
+ * Raised when invalid numerical data is encountered when servicing a request.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link ParsingException} (client fault)
+ * Raised when a parsing issue is encountered.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link TimeLimitExceededException} (server fault)
+ * Raised when the an operation exceeds the time limit allowed for it.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetOpenCypherQueryStatusCommand extends $Command<
+ GetOpenCypherQueryStatusCommandInput,
+ GetOpenCypherQueryStatusCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetOpenCypherQueryStatusCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetOpenCypherQueryStatusCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetOpenCypherQueryStatusCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetOpenCypherQueryStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetOpenCypherQueryStatusCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetOpenCypherQueryStatusCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetPropertygraphStatisticsCommand.ts b/clients/client-neptunedata/src/commands/GetPropertygraphStatisticsCommand.ts
new file mode 100644
index 0000000000000..e784caf07e386
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetPropertygraphStatisticsCommand.ts
@@ -0,0 +1,194 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetPropertygraphStatisticsOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetPropertygraphStatisticsCommand, se_GetPropertygraphStatisticsCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetPropertygraphStatisticsCommand}.
+ */
+export interface GetPropertygraphStatisticsCommandInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetPropertygraphStatisticsCommand}.
+ */
+export interface GetPropertygraphStatisticsCommandOutput extends GetPropertygraphStatisticsOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Gets property graph statistics (Gremlin and openCypher).
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetPropertygraphStatisticsCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetPropertygraphStatisticsCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = {};
+ * const command = new GetPropertygraphStatisticsCommand(input);
+ * const response = await client.send(command);
+ * // { // GetPropertygraphStatisticsOutput
+ * // status: "STRING_VALUE", // required
+ * // payload: { // Statistics
+ * // autoCompute: true || false,
+ * // active: true || false,
+ * // statisticsId: "STRING_VALUE",
+ * // date: new Date("TIMESTAMP"),
+ * // note: "STRING_VALUE",
+ * // signatureInfo: { // StatisticsSummary
+ * // signatureCount: Number("int"),
+ * // instanceCount: Number("int"),
+ * // predicateCount: Number("int"),
+ * // },
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param GetPropertygraphStatisticsCommandInput - {@link GetPropertygraphStatisticsCommandInput}
+ * @returns {@link GetPropertygraphStatisticsCommandOutput}
+ * @see {@link GetPropertygraphStatisticsCommandInput} for command's `input` shape.
+ * @see {@link GetPropertygraphStatisticsCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link StatisticsNotAvailableException} (client fault)
+ * Raised when statistics needed to satisfy a request are not available.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetPropertygraphStatisticsCommand extends $Command<
+ GetPropertygraphStatisticsCommandInput,
+ GetPropertygraphStatisticsCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetPropertygraphStatisticsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetPropertygraphStatisticsCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetPropertygraphStatisticsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetPropertygraphStatisticsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetPropertygraphStatisticsCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return de_GetPropertygraphStatisticsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetPropertygraphStreamCommand.ts b/clients/client-neptunedata/src/commands/GetPropertygraphStreamCommand.ts
new file mode 100644
index 0000000000000..8e926641d6b37
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetPropertygraphStreamCommand.ts
@@ -0,0 +1,216 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetPropertygraphStreamInput, GetPropertygraphStreamOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetPropertygraphStreamCommand, se_GetPropertygraphStreamCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetPropertygraphStreamCommand}.
+ */
+export interface GetPropertygraphStreamCommandInput extends GetPropertygraphStreamInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetPropertygraphStreamCommand}.
+ */
+export interface GetPropertygraphStreamCommandOutput extends GetPropertygraphStreamOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Gets a stream for a property graph.
+ * With the Neptune Streams feature, you can generate a complete
+ * sequence of change-log entries that record every change made to your
+ * graph data as it happens. GetPropertygraphStream
lets
+ * you collect these change-log entries for a property graph.
+ * The Neptune streams feature needs to be enabled on your Neptune
+ * DBcluster. To enable streams, set the neptune_streams
+ * DB cluster parameter to 1
.
+ * See Capturing
+ * graph changes in real time using Neptune streams.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetPropertygraphStreamCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetPropertygraphStreamCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // GetPropertygraphStreamInput
+ * limit: Number("long"),
+ * iteratorType: "AT_SEQUENCE_NUMBER" || "AFTER_SEQUENCE_NUMBER" || "TRIM_HORIZON" || "LATEST",
+ * commitNum: Number("long"),
+ * opNum: Number("long"),
+ * encoding: "gzip",
+ * };
+ * const command = new GetPropertygraphStreamCommand(input);
+ * const response = await client.send(command);
+ * // { // GetPropertygraphStreamOutput
+ * // lastEventId: { // StringValuedMap // required
+ * // "": "STRING_VALUE",
+ * // },
+ * // lastTrxTimestampInMillis: Number("long"), // required
+ * // format: "STRING_VALUE", // required
+ * // records: [ // PropertygraphRecordsList // required
+ * // { // PropertygraphRecord
+ * // commitTimestampInMillis: Number("long"), // required
+ * // eventId: { // required
+ * // "": "STRING_VALUE",
+ * // },
+ * // data: { // PropertygraphData
+ * // id: "STRING_VALUE", // required
+ * // type: "STRING_VALUE", // required
+ * // key: "STRING_VALUE", // required
+ * // value: "DOCUMENT_VALUE", // required
+ * // from: "STRING_VALUE",
+ * // to: "STRING_VALUE",
+ * // },
+ * // op: "STRING_VALUE", // required
+ * // isLastOp: true || false,
+ * // },
+ * // ],
+ * // totalRecords: Number("int"), // required
+ * // };
+ *
+ * ```
+ *
+ * @param GetPropertygraphStreamCommandInput - {@link GetPropertygraphStreamCommandInput}
+ * @returns {@link GetPropertygraphStreamCommandOutput}
+ * @see {@link GetPropertygraphStreamCommandInput} for command's `input` shape.
+ * @see {@link GetPropertygraphStreamCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link ExpiredStreamException} (client fault)
+ * Raised when a request attempts to access an stream that has expired.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MemoryLimitExceededException} (server fault)
+ * Raised when a request fails because of insufficient memory resources. The
+ * request can be retried.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link StreamRecordsNotFoundException} (client fault)
+ * Raised when stream records requested by a query cannot be found.
+ *
+ * @throws {@link ThrottlingException} (server fault)
+ * Raised when the rate of requests exceeds the maximum throughput. Requests can
+ * be retried after encountering this exception.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetPropertygraphStreamCommand extends $Command<
+ GetPropertygraphStreamCommandInput,
+ GetPropertygraphStreamCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetPropertygraphStreamCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetPropertygraphStreamCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetPropertygraphStreamCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetPropertygraphStreamCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetPropertygraphStreamCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetPropertygraphStreamCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetPropertygraphSummaryCommand.ts b/clients/client-neptunedata/src/commands/GetPropertygraphSummaryCommand.ts
new file mode 100644
index 0000000000000..813d0ab10468d
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetPropertygraphSummaryCommand.ts
@@ -0,0 +1,230 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetPropertygraphSummaryInput, GetPropertygraphSummaryOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetPropertygraphSummaryCommand, se_GetPropertygraphSummaryCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetPropertygraphSummaryCommand}.
+ */
+export interface GetPropertygraphSummaryCommandInput extends GetPropertygraphSummaryInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetPropertygraphSummaryCommand}.
+ */
+export interface GetPropertygraphSummaryCommandOutput extends GetPropertygraphSummaryOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Gets a graph summary for a property graph.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetPropertygraphSummaryCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetPropertygraphSummaryCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // GetPropertygraphSummaryInput
+ * mode: "basic" || "detailed",
+ * };
+ * const command = new GetPropertygraphSummaryCommand(input);
+ * const response = await client.send(command);
+ * // { // GetPropertygraphSummaryOutput
+ * // statusCode: Number("int"),
+ * // payload: { // PropertygraphSummaryValueMap
+ * // version: "STRING_VALUE",
+ * // lastStatisticsComputationTime: new Date("TIMESTAMP"),
+ * // graphSummary: { // PropertygraphSummary
+ * // numNodes: Number("long"),
+ * // numEdges: Number("long"),
+ * // numNodeLabels: Number("long"),
+ * // numEdgeLabels: Number("long"),
+ * // nodeLabels: [ // NodeLabels
+ * // "STRING_VALUE",
+ * // ],
+ * // edgeLabels: [ // EdgeLabels
+ * // "STRING_VALUE",
+ * // ],
+ * // numNodeProperties: Number("long"),
+ * // numEdgeProperties: Number("long"),
+ * // nodeProperties: [ // LongValuedMapList
+ * // { // LongValuedMap
+ * // "": Number("long"),
+ * // },
+ * // ],
+ * // edgeProperties: [
+ * // {
+ * // "": Number("long"),
+ * // },
+ * // ],
+ * // totalNodePropertyValues: Number("long"),
+ * // totalEdgePropertyValues: Number("long"),
+ * // nodeStructures: [ // NodeStructures
+ * // { // NodeStructure
+ * // count: Number("long"),
+ * // nodeProperties: [ // NodeProperties
+ * // "STRING_VALUE",
+ * // ],
+ * // distinctOutgoingEdgeLabels: [ // OutgoingEdgeLabels
+ * // "STRING_VALUE",
+ * // ],
+ * // },
+ * // ],
+ * // edgeStructures: [ // EdgeStructures
+ * // { // EdgeStructure
+ * // count: Number("long"),
+ * // edgeProperties: [ // EdgeProperties
+ * // "STRING_VALUE",
+ * // ],
+ * // },
+ * // ],
+ * // },
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param GetPropertygraphSummaryCommandInput - {@link GetPropertygraphSummaryCommandInput}
+ * @returns {@link GetPropertygraphSummaryCommandOutput}
+ * @see {@link GetPropertygraphSummaryCommandInput} for command's `input` shape.
+ * @see {@link GetPropertygraphSummaryCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link StatisticsNotAvailableException} (client fault)
+ * Raised when statistics needed to satisfy a request are not available.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetPropertygraphSummaryCommand extends $Command<
+ GetPropertygraphSummaryCommandInput,
+ GetPropertygraphSummaryCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetPropertygraphSummaryCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetPropertygraphSummaryCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetPropertygraphSummaryCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetPropertygraphSummaryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetPropertygraphSummaryCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetPropertygraphSummaryCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetRDFGraphSummaryCommand.ts b/clients/client-neptunedata/src/commands/GetRDFGraphSummaryCommand.ts
new file mode 100644
index 0000000000000..a42bc0a215c98
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetRDFGraphSummaryCommand.ts
@@ -0,0 +1,207 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetRDFGraphSummaryInput, GetRDFGraphSummaryOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetRDFGraphSummaryCommand, se_GetRDFGraphSummaryCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetRDFGraphSummaryCommand}.
+ */
+export interface GetRDFGraphSummaryCommandInput extends GetRDFGraphSummaryInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetRDFGraphSummaryCommand}.
+ */
+export interface GetRDFGraphSummaryCommandOutput extends GetRDFGraphSummaryOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Gets a graph summary for an RDF graph.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetRDFGraphSummaryCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetRDFGraphSummaryCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // GetRDFGraphSummaryInput
+ * mode: "basic" || "detailed",
+ * };
+ * const command = new GetRDFGraphSummaryCommand(input);
+ * const response = await client.send(command);
+ * // { // GetRDFGraphSummaryOutput
+ * // statusCode: Number("int"),
+ * // payload: { // RDFGraphSummaryValueMap
+ * // version: "STRING_VALUE",
+ * // lastStatisticsComputationTime: new Date("TIMESTAMP"),
+ * // graphSummary: { // RDFGraphSummary
+ * // numDistinctSubjects: Number("long"),
+ * // numDistinctPredicates: Number("long"),
+ * // numQuads: Number("long"),
+ * // numClasses: Number("long"),
+ * // classes: [ // Classes
+ * // "STRING_VALUE",
+ * // ],
+ * // predicates: [ // LongValuedMapList
+ * // { // LongValuedMap
+ * // "": Number("long"),
+ * // },
+ * // ],
+ * // subjectStructures: [ // SubjectStructures
+ * // { // SubjectStructure
+ * // count: Number("long"),
+ * // predicates: [ // Predicates
+ * // "STRING_VALUE",
+ * // ],
+ * // },
+ * // ],
+ * // },
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param GetRDFGraphSummaryCommandInput - {@link GetRDFGraphSummaryCommandInput}
+ * @returns {@link GetRDFGraphSummaryCommandOutput}
+ * @see {@link GetRDFGraphSummaryCommandInput} for command's `input` shape.
+ * @see {@link GetRDFGraphSummaryCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link StatisticsNotAvailableException} (client fault)
+ * Raised when statistics needed to satisfy a request are not available.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetRDFGraphSummaryCommand extends $Command<
+ GetRDFGraphSummaryCommandInput,
+ GetRDFGraphSummaryCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetRDFGraphSummaryCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetRDFGraphSummaryCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetRDFGraphSummaryCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetRDFGraphSummaryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetRDFGraphSummaryCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetRDFGraphSummaryCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetSparqlStatisticsCommand.ts b/clients/client-neptunedata/src/commands/GetSparqlStatisticsCommand.ts
new file mode 100644
index 0000000000000..82e8e43bf2f5e
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetSparqlStatisticsCommand.ts
@@ -0,0 +1,191 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetSparqlStatisticsOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetSparqlStatisticsCommand, se_GetSparqlStatisticsCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetSparqlStatisticsCommand}.
+ */
+export interface GetSparqlStatisticsCommandInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetSparqlStatisticsCommand}.
+ */
+export interface GetSparqlStatisticsCommandOutput extends GetSparqlStatisticsOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Gets RDF statistics (SPARQL).
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetSparqlStatisticsCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetSparqlStatisticsCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = {};
+ * const command = new GetSparqlStatisticsCommand(input);
+ * const response = await client.send(command);
+ * // { // GetSparqlStatisticsOutput
+ * // status: "STRING_VALUE", // required
+ * // payload: { // Statistics
+ * // autoCompute: true || false,
+ * // active: true || false,
+ * // statisticsId: "STRING_VALUE",
+ * // date: new Date("TIMESTAMP"),
+ * // note: "STRING_VALUE",
+ * // signatureInfo: { // StatisticsSummary
+ * // signatureCount: Number("int"),
+ * // instanceCount: Number("int"),
+ * // predicateCount: Number("int"),
+ * // },
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param GetSparqlStatisticsCommandInput - {@link GetSparqlStatisticsCommandInput}
+ * @returns {@link GetSparqlStatisticsCommandOutput}
+ * @see {@link GetSparqlStatisticsCommandInput} for command's `input` shape.
+ * @see {@link GetSparqlStatisticsCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link StatisticsNotAvailableException} (client fault)
+ * Raised when statistics needed to satisfy a request are not available.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetSparqlStatisticsCommand extends $Command<
+ GetSparqlStatisticsCommandInput,
+ GetSparqlStatisticsCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetSparqlStatisticsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetSparqlStatisticsCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetSparqlStatisticsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetSparqlStatisticsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetSparqlStatisticsCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetSparqlStatisticsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/GetSparqlStreamCommand.ts b/clients/client-neptunedata/src/commands/GetSparqlStreamCommand.ts
new file mode 100644
index 0000000000000..4ba90bff149c0
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/GetSparqlStreamCommand.ts
@@ -0,0 +1,211 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { GetSparqlStreamInput, GetSparqlStreamOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_GetSparqlStreamCommand, se_GetSparqlStreamCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link GetSparqlStreamCommand}.
+ */
+export interface GetSparqlStreamCommandInput extends GetSparqlStreamInput {}
+/**
+ * @public
+ *
+ * The output of {@link GetSparqlStreamCommand}.
+ */
+export interface GetSparqlStreamCommandOutput extends GetSparqlStreamOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Gets a stream for an RDF graph.
+ * With the Neptune Streams feature, you can generate a complete
+ * sequence of change-log entries that record every change made to your
+ * graph data as it happens. GetSparqlStream
lets
+ * you collect these change-log entries for an RDF graph.
+ * The Neptune streams feature needs to be enabled on your Neptune
+ * DBcluster. To enable streams, set the neptune_streams
+ * DB cluster parameter to 1
.
+ * See Capturing
+ * graph changes in real time using Neptune streams.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, GetSparqlStreamCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, GetSparqlStreamCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // GetSparqlStreamInput
+ * limit: Number("long"),
+ * iteratorType: "AT_SEQUENCE_NUMBER" || "AFTER_SEQUENCE_NUMBER" || "TRIM_HORIZON" || "LATEST",
+ * commitNum: Number("long"),
+ * opNum: Number("long"),
+ * encoding: "gzip",
+ * };
+ * const command = new GetSparqlStreamCommand(input);
+ * const response = await client.send(command);
+ * // { // GetSparqlStreamOutput
+ * // lastEventId: { // StringValuedMap // required
+ * // "": "STRING_VALUE",
+ * // },
+ * // lastTrxTimestampInMillis: Number("long"), // required
+ * // format: "STRING_VALUE", // required
+ * // records: [ // SparqlRecordsList // required
+ * // { // SparqlRecord
+ * // commitTimestampInMillis: Number("long"), // required
+ * // eventId: { // required
+ * // "": "STRING_VALUE",
+ * // },
+ * // data: { // SparqlData
+ * // stmt: "STRING_VALUE", // required
+ * // },
+ * // op: "STRING_VALUE", // required
+ * // isLastOp: true || false,
+ * // },
+ * // ],
+ * // totalRecords: Number("int"), // required
+ * // };
+ *
+ * ```
+ *
+ * @param GetSparqlStreamCommandInput - {@link GetSparqlStreamCommandInput}
+ * @returns {@link GetSparqlStreamCommandOutput}
+ * @see {@link GetSparqlStreamCommandInput} for command's `input` shape.
+ * @see {@link GetSparqlStreamCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link ExpiredStreamException} (client fault)
+ * Raised when a request attempts to access an stream that has expired.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MemoryLimitExceededException} (server fault)
+ * Raised when a request fails because of insufficient memory resources. The
+ * request can be retried.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link StreamRecordsNotFoundException} (client fault)
+ * Raised when stream records requested by a query cannot be found.
+ *
+ * @throws {@link ThrottlingException} (server fault)
+ * Raised when the rate of requests exceeds the maximum throughput. Requests can
+ * be retried after encountering this exception.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class GetSparqlStreamCommand extends $Command<
+ GetSparqlStreamCommandInput,
+ GetSparqlStreamCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: GetSparqlStreamCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, GetSparqlStreamCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "GetSparqlStreamCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: GetSparqlStreamCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_GetSparqlStreamCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_GetSparqlStreamCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ListGremlinQueriesCommand.ts b/clients/client-neptunedata/src/commands/ListGremlinQueriesCommand.ts
new file mode 100644
index 0000000000000..bfd4b747a8035
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ListGremlinQueriesCommand.ts
@@ -0,0 +1,205 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ListGremlinQueriesInput, ListGremlinQueriesOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ListGremlinQueriesCommand, se_ListGremlinQueriesCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ListGremlinQueriesCommand}.
+ */
+export interface ListGremlinQueriesCommandInput extends ListGremlinQueriesInput {}
+/**
+ * @public
+ *
+ * The output of {@link ListGremlinQueriesCommand}.
+ */
+export interface ListGremlinQueriesCommandOutput extends ListGremlinQueriesOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Lists active Gremlin queries. See Gremlin query
+ * status API for details about the output.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ListGremlinQueriesCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ListGremlinQueriesCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ListGremlinQueriesInput
+ * includeWaiting: true || false,
+ * };
+ * const command = new ListGremlinQueriesCommand(input);
+ * const response = await client.send(command);
+ * // { // ListGremlinQueriesOutput
+ * // acceptedQueryCount: Number("int"),
+ * // runningQueryCount: Number("int"),
+ * // queries: [ // GremlinQueries
+ * // { // GremlinQueryStatus
+ * // queryId: "STRING_VALUE",
+ * // queryString: "STRING_VALUE",
+ * // queryEvalStats: { // QueryEvalStats
+ * // waited: Number("int"),
+ * // elapsed: Number("int"),
+ * // cancelled: true || false,
+ * // subqueries: "DOCUMENT_VALUE",
+ * // },
+ * // },
+ * // ],
+ * // };
+ *
+ * ```
+ *
+ * @param ListGremlinQueriesCommandInput - {@link ListGremlinQueriesCommandInput}
+ * @returns {@link ListGremlinQueriesCommandOutput}
+ * @see {@link ListGremlinQueriesCommandInput} for command's `input` shape.
+ * @see {@link ListGremlinQueriesCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConcurrentModificationException} (server fault)
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link FailureByQueryException} (server fault)
+ * Raised when a request fails.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link ParsingException} (client fault)
+ * Raised when a parsing issue is encountered.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link TimeLimitExceededException} (server fault)
+ * Raised when the an operation exceeds the time limit allowed for it.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ListGremlinQueriesCommand extends $Command<
+ ListGremlinQueriesCommandInput,
+ ListGremlinQueriesCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ListGremlinQueriesCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ListGremlinQueriesCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ListGremlinQueriesCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ListGremlinQueriesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ListGremlinQueriesCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_ListGremlinQueriesCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ListLoaderJobsCommand.ts b/clients/client-neptunedata/src/commands/ListLoaderJobsCommand.ts
new file mode 100644
index 0000000000000..96c332d7741af
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ListLoaderJobsCommand.ts
@@ -0,0 +1,185 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ListLoaderJobsInput, ListLoaderJobsOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ListLoaderJobsCommand, se_ListLoaderJobsCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ListLoaderJobsCommand}.
+ */
+export interface ListLoaderJobsCommandInput extends ListLoaderJobsInput {}
+/**
+ * @public
+ *
+ * The output of {@link ListLoaderJobsCommand}.
+ */
+export interface ListLoaderJobsCommandOutput extends ListLoaderJobsOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Retrieves a list of the loadIds
for all active
+ * loader jobs.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ListLoaderJobsCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ListLoaderJobsCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ListLoaderJobsInput
+ * limit: Number("int"),
+ * includeQueuedLoads: true || false,
+ * };
+ * const command = new ListLoaderJobsCommand(input);
+ * const response = await client.send(command);
+ * // { // ListLoaderJobsOutput
+ * // status: "STRING_VALUE", // required
+ * // payload: { // LoaderIdResult
+ * // loadIds: [ // StringList
+ * // "STRING_VALUE",
+ * // ],
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param ListLoaderJobsCommandInput - {@link ListLoaderJobsCommandInput}
+ * @returns {@link ListLoaderJobsCommandOutput}
+ * @see {@link ListLoaderJobsCommandInput} for command's `input` shape.
+ * @see {@link ListLoaderJobsCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link BulkLoadIdNotFoundException} (client fault)
+ * Raised when a specified bulk-load job ID cannot be found.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InternalFailureException} (server fault)
+ * Raised when the processing of the request failed unexpectedly.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link LoadUrlAccessDeniedException} (client fault)
+ * Raised when access is denied to a specified load URL.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ListLoaderJobsCommand extends $Command<
+ ListLoaderJobsCommandInput,
+ ListLoaderJobsCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ListLoaderJobsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ListLoaderJobsCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ListLoaderJobsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ListLoaderJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ListLoaderJobsCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_ListLoaderJobsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ListMLDataProcessingJobsCommand.ts b/clients/client-neptunedata/src/commands/ListMLDataProcessingJobsCommand.ts
new file mode 100644
index 0000000000000..191e4a3be6066
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ListMLDataProcessingJobsCommand.ts
@@ -0,0 +1,179 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ListMLDataProcessingJobsInput, ListMLDataProcessingJobsOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ListMLDataProcessingJobsCommand, se_ListMLDataProcessingJobsCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ListMLDataProcessingJobsCommand}.
+ */
+export interface ListMLDataProcessingJobsCommandInput extends ListMLDataProcessingJobsInput {}
+/**
+ * @public
+ *
+ * The output of {@link ListMLDataProcessingJobsCommand}.
+ */
+export interface ListMLDataProcessingJobsCommandOutput extends ListMLDataProcessingJobsOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Returns a list of Neptune ML data processing jobs. See Listing
+ * active data-processing jobs using the Neptune ML dataprocessing command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ListMLDataProcessingJobsCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ListMLDataProcessingJobsCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ListMLDataProcessingJobsInput
+ * maxItems: Number("int"),
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * };
+ * const command = new ListMLDataProcessingJobsCommand(input);
+ * const response = await client.send(command);
+ * // { // ListMLDataProcessingJobsOutput
+ * // ids: [ // StringList
+ * // "STRING_VALUE",
+ * // ],
+ * // };
+ *
+ * ```
+ *
+ * @param ListMLDataProcessingJobsCommandInput - {@link ListMLDataProcessingJobsCommandInput}
+ * @returns {@link ListMLDataProcessingJobsCommandOutput}
+ * @see {@link ListMLDataProcessingJobsCommandInput} for command's `input` shape.
+ * @see {@link ListMLDataProcessingJobsCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ListMLDataProcessingJobsCommand extends $Command<
+ ListMLDataProcessingJobsCommandInput,
+ ListMLDataProcessingJobsCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ListMLDataProcessingJobsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ListMLDataProcessingJobsCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ListMLDataProcessingJobsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ListMLDataProcessingJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ListMLDataProcessingJobsCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_ListMLDataProcessingJobsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ListMLEndpointsCommand.ts b/clients/client-neptunedata/src/commands/ListMLEndpointsCommand.ts
new file mode 100644
index 0000000000000..0251f45b69236
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ListMLEndpointsCommand.ts
@@ -0,0 +1,179 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ListMLEndpointsInput, ListMLEndpointsOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ListMLEndpointsCommand, se_ListMLEndpointsCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ListMLEndpointsCommand}.
+ */
+export interface ListMLEndpointsCommandInput extends ListMLEndpointsInput {}
+/**
+ * @public
+ *
+ * The output of {@link ListMLEndpointsCommand}.
+ */
+export interface ListMLEndpointsCommandOutput extends ListMLEndpointsOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Lists existing inference endpoints. See Managing
+ * inference endpoints using the endpoints command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ListMLEndpointsCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ListMLEndpointsCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ListMLEndpointsInput
+ * maxItems: Number("int"),
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * };
+ * const command = new ListMLEndpointsCommand(input);
+ * const response = await client.send(command);
+ * // { // ListMLEndpointsOutput
+ * // ids: [ // StringList
+ * // "STRING_VALUE",
+ * // ],
+ * // };
+ *
+ * ```
+ *
+ * @param ListMLEndpointsCommandInput - {@link ListMLEndpointsCommandInput}
+ * @returns {@link ListMLEndpointsCommandOutput}
+ * @see {@link ListMLEndpointsCommandInput} for command's `input` shape.
+ * @see {@link ListMLEndpointsCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ListMLEndpointsCommand extends $Command<
+ ListMLEndpointsCommandInput,
+ ListMLEndpointsCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ListMLEndpointsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ListMLEndpointsCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ListMLEndpointsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ListMLEndpointsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ListMLEndpointsCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_ListMLEndpointsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ListMLModelTrainingJobsCommand.ts b/clients/client-neptunedata/src/commands/ListMLModelTrainingJobsCommand.ts
new file mode 100644
index 0000000000000..2bb7ba0dcdc9e
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ListMLModelTrainingJobsCommand.ts
@@ -0,0 +1,179 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ListMLModelTrainingJobsInput, ListMLModelTrainingJobsOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ListMLModelTrainingJobsCommand, se_ListMLModelTrainingJobsCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ListMLModelTrainingJobsCommand}.
+ */
+export interface ListMLModelTrainingJobsCommandInput extends ListMLModelTrainingJobsInput {}
+/**
+ * @public
+ *
+ * The output of {@link ListMLModelTrainingJobsCommand}.
+ */
+export interface ListMLModelTrainingJobsCommandOutput extends ListMLModelTrainingJobsOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Lists Neptune ML model-training jobs. See Model
+ * training using the modeltraining
command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ListMLModelTrainingJobsCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ListMLModelTrainingJobsCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ListMLModelTrainingJobsInput
+ * maxItems: Number("int"),
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * };
+ * const command = new ListMLModelTrainingJobsCommand(input);
+ * const response = await client.send(command);
+ * // { // ListMLModelTrainingJobsOutput
+ * // ids: [ // StringList
+ * // "STRING_VALUE",
+ * // ],
+ * // };
+ *
+ * ```
+ *
+ * @param ListMLModelTrainingJobsCommandInput - {@link ListMLModelTrainingJobsCommandInput}
+ * @returns {@link ListMLModelTrainingJobsCommandOutput}
+ * @see {@link ListMLModelTrainingJobsCommandInput} for command's `input` shape.
+ * @see {@link ListMLModelTrainingJobsCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ListMLModelTrainingJobsCommand extends $Command<
+ ListMLModelTrainingJobsCommandInput,
+ ListMLModelTrainingJobsCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ListMLModelTrainingJobsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ListMLModelTrainingJobsCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ListMLModelTrainingJobsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ListMLModelTrainingJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ListMLModelTrainingJobsCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_ListMLModelTrainingJobsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ListMLModelTransformJobsCommand.ts b/clients/client-neptunedata/src/commands/ListMLModelTransformJobsCommand.ts
new file mode 100644
index 0000000000000..cbd060762d680
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ListMLModelTransformJobsCommand.ts
@@ -0,0 +1,179 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ListMLModelTransformJobsInput, ListMLModelTransformJobsOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ListMLModelTransformJobsCommand, se_ListMLModelTransformJobsCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ListMLModelTransformJobsCommand}.
+ */
+export interface ListMLModelTransformJobsCommandInput extends ListMLModelTransformJobsInput {}
+/**
+ * @public
+ *
+ * The output of {@link ListMLModelTransformJobsCommand}.
+ */
+export interface ListMLModelTransformJobsCommandOutput extends ListMLModelTransformJobsOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Returns a list of model transform job IDs. See Use
+ * a trained model to generate new model artifacts.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ListMLModelTransformJobsCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ListMLModelTransformJobsCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ListMLModelTransformJobsInput
+ * maxItems: Number("int"),
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * };
+ * const command = new ListMLModelTransformJobsCommand(input);
+ * const response = await client.send(command);
+ * // { // ListMLModelTransformJobsOutput
+ * // ids: [ // StringList
+ * // "STRING_VALUE",
+ * // ],
+ * // };
+ *
+ * ```
+ *
+ * @param ListMLModelTransformJobsCommandInput - {@link ListMLModelTransformJobsCommandInput}
+ * @returns {@link ListMLModelTransformJobsCommandOutput}
+ * @see {@link ListMLModelTransformJobsCommandInput} for command's `input` shape.
+ * @see {@link ListMLModelTransformJobsCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ListMLModelTransformJobsCommand extends $Command<
+ ListMLModelTransformJobsCommandInput,
+ ListMLModelTransformJobsCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ListMLModelTransformJobsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ListMLModelTransformJobsCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ListMLModelTransformJobsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ListMLModelTransformJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ListMLModelTransformJobsCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_ListMLModelTransformJobsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ListOpenCypherQueriesCommand.ts b/clients/client-neptunedata/src/commands/ListOpenCypherQueriesCommand.ts
new file mode 100644
index 0000000000000..25f0eff9c9a7a
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ListOpenCypherQueriesCommand.ts
@@ -0,0 +1,208 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ListOpenCypherQueriesInput, ListOpenCypherQueriesOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ListOpenCypherQueriesCommand, se_ListOpenCypherQueriesCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ListOpenCypherQueriesCommand}.
+ */
+export interface ListOpenCypherQueriesCommandInput extends ListOpenCypherQueriesInput {}
+/**
+ * @public
+ *
+ * The output of {@link ListOpenCypherQueriesCommand}.
+ */
+export interface ListOpenCypherQueriesCommandOutput extends ListOpenCypherQueriesOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Lists active openCypher queries. See Neptune
+ * openCypher status endpoint for more information.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ListOpenCypherQueriesCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ListOpenCypherQueriesCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ListOpenCypherQueriesInput
+ * includeWaiting: true || false,
+ * };
+ * const command = new ListOpenCypherQueriesCommand(input);
+ * const response = await client.send(command);
+ * // { // ListOpenCypherQueriesOutput
+ * // acceptedQueryCount: Number("int"),
+ * // runningQueryCount: Number("int"),
+ * // queries: [ // OpenCypherQueries
+ * // { // GremlinQueryStatus
+ * // queryId: "STRING_VALUE",
+ * // queryString: "STRING_VALUE",
+ * // queryEvalStats: { // QueryEvalStats
+ * // waited: Number("int"),
+ * // elapsed: Number("int"),
+ * // cancelled: true || false,
+ * // subqueries: "DOCUMENT_VALUE",
+ * // },
+ * // },
+ * // ],
+ * // };
+ *
+ * ```
+ *
+ * @param ListOpenCypherQueriesCommandInput - {@link ListOpenCypherQueriesCommandInput}
+ * @returns {@link ListOpenCypherQueriesCommandOutput}
+ * @see {@link ListOpenCypherQueriesCommandInput} for command's `input` shape.
+ * @see {@link ListOpenCypherQueriesCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConcurrentModificationException} (server fault)
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link FailureByQueryException} (server fault)
+ * Raised when a request fails.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidNumericDataException} (client fault)
+ * Raised when invalid numerical data is encountered when servicing a request.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link ParsingException} (client fault)
+ * Raised when a parsing issue is encountered.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link TimeLimitExceededException} (server fault)
+ * Raised when the an operation exceeds the time limit allowed for it.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ListOpenCypherQueriesCommand extends $Command<
+ ListOpenCypherQueriesCommandInput,
+ ListOpenCypherQueriesCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ListOpenCypherQueriesCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ListOpenCypherQueriesCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ListOpenCypherQueriesCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ListOpenCypherQueriesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ListOpenCypherQueriesCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_ListOpenCypherQueriesCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ManagePropertygraphStatisticsCommand.ts b/clients/client-neptunedata/src/commands/ManagePropertygraphStatisticsCommand.ts
new file mode 100644
index 0000000000000..389e53391b34a
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ManagePropertygraphStatisticsCommand.ts
@@ -0,0 +1,192 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ManagePropertygraphStatisticsInput, ManagePropertygraphStatisticsOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import {
+ de_ManagePropertygraphStatisticsCommand,
+ se_ManagePropertygraphStatisticsCommand,
+} from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ManagePropertygraphStatisticsCommand}.
+ */
+export interface ManagePropertygraphStatisticsCommandInput extends ManagePropertygraphStatisticsInput {}
+/**
+ * @public
+ *
+ * The output of {@link ManagePropertygraphStatisticsCommand}.
+ */
+export interface ManagePropertygraphStatisticsCommandOutput
+ extends ManagePropertygraphStatisticsOutput,
+ __MetadataBearer {}
+
+/**
+ * @public
+ * Manages the generation and use of property graph statistics.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ManagePropertygraphStatisticsCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ManagePropertygraphStatisticsCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ManagePropertygraphStatisticsInput
+ * mode: "disableAutoCompute" || "enableAutoCompute" || "refresh",
+ * };
+ * const command = new ManagePropertygraphStatisticsCommand(input);
+ * const response = await client.send(command);
+ * // { // ManagePropertygraphStatisticsOutput
+ * // status: "STRING_VALUE", // required
+ * // payload: { // RefreshStatisticsIdMap
+ * // statisticsId: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param ManagePropertygraphStatisticsCommandInput - {@link ManagePropertygraphStatisticsCommandInput}
+ * @returns {@link ManagePropertygraphStatisticsCommandOutput}
+ * @see {@link ManagePropertygraphStatisticsCommandInput} for command's `input` shape.
+ * @see {@link ManagePropertygraphStatisticsCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link StatisticsNotAvailableException} (client fault)
+ * Raised when statistics needed to satisfy a request are not available.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ManagePropertygraphStatisticsCommand extends $Command<
+ ManagePropertygraphStatisticsCommandInput,
+ ManagePropertygraphStatisticsCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ManagePropertygraphStatisticsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ManagePropertygraphStatisticsCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ManagePropertygraphStatisticsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ManagePropertygraphStatisticsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ManagePropertygraphStatisticsCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return de_ManagePropertygraphStatisticsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/ManageSparqlStatisticsCommand.ts b/clients/client-neptunedata/src/commands/ManageSparqlStatisticsCommand.ts
new file mode 100644
index 0000000000000..54450c42ae714
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/ManageSparqlStatisticsCommand.ts
@@ -0,0 +1,184 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { ManageSparqlStatisticsInput, ManageSparqlStatisticsOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_ManageSparqlStatisticsCommand, se_ManageSparqlStatisticsCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ManageSparqlStatisticsCommand}.
+ */
+export interface ManageSparqlStatisticsCommandInput extends ManageSparqlStatisticsInput {}
+/**
+ * @public
+ *
+ * The output of {@link ManageSparqlStatisticsCommand}.
+ */
+export interface ManageSparqlStatisticsCommandOutput extends ManageSparqlStatisticsOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Manages the generation and use of RDF graph statistics.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, ManageSparqlStatisticsCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, ManageSparqlStatisticsCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // ManageSparqlStatisticsInput
+ * mode: "disableAutoCompute" || "enableAutoCompute" || "refresh",
+ * };
+ * const command = new ManageSparqlStatisticsCommand(input);
+ * const response = await client.send(command);
+ * // { // ManageSparqlStatisticsOutput
+ * // status: "STRING_VALUE", // required
+ * // payload: { // RefreshStatisticsIdMap
+ * // statisticsId: "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param ManageSparqlStatisticsCommandInput - {@link ManageSparqlStatisticsCommandInput}
+ * @returns {@link ManageSparqlStatisticsCommandOutput}
+ * @see {@link ManageSparqlStatisticsCommandInput} for command's `input` shape.
+ * @see {@link ManageSparqlStatisticsCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link AccessDeniedException} (client fault)
+ * Raised in case of an authentication or authorization failure.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link ReadOnlyViolationException} (client fault)
+ * Raised when a request attempts to write to a read-only resource.
+ *
+ * @throws {@link StatisticsNotAvailableException} (client fault)
+ * Raised when statistics needed to satisfy a request are not available.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class ManageSparqlStatisticsCommand extends $Command<
+ ManageSparqlStatisticsCommandInput,
+ ManageSparqlStatisticsCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: ManageSparqlStatisticsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, ManageSparqlStatisticsCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "ManageSparqlStatisticsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: ManageSparqlStatisticsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_ManageSparqlStatisticsCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_ManageSparqlStatisticsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/StartLoaderJobCommand.ts b/clients/client-neptunedata/src/commands/StartLoaderJobCommand.ts
new file mode 100644
index 0000000000000..69ccccd336d85
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/StartLoaderJobCommand.ts
@@ -0,0 +1,204 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { StartLoaderJobInput, StartLoaderJobOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_StartLoaderJobCommand, se_StartLoaderJobCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link StartLoaderJobCommand}.
+ */
+export interface StartLoaderJobCommandInput extends StartLoaderJobInput {}
+/**
+ * @public
+ *
+ * The output of {@link StartLoaderJobCommand}.
+ */
+export interface StartLoaderJobCommandOutput extends StartLoaderJobOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Starts a Neptune bulk loader job to load data from an Amazon S3
+ * bucket into a Neptune DB instance. See Using the Amazon Neptune
+ * Bulk Loader to Ingest Data.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, StartLoaderJobCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, StartLoaderJobCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // StartLoaderJobInput
+ * source: "STRING_VALUE", // required
+ * format: "csv" || "opencypher" || "ntriples" || "nquads" || "rdfxml" || "turtle", // required
+ * s3BucketRegion: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "ca-central-1" || "sa-east-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "me-south-1" || "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-south-1" || "cn-north-1" || "cn-northwest-1" || "us-gov-west-1" || "us-gov-east-1", // required
+ * iamRoleArn: "STRING_VALUE", // required
+ * mode: "RESUME" || "NEW" || "AUTO",
+ * failOnError: true || false,
+ * parallelism: "LOW" || "MEDIUM" || "HIGH" || "OVERSUBSCRIBE",
+ * parserConfiguration: { // StringValuedMap
+ * "": "STRING_VALUE",
+ * },
+ * updateSingleCardinalityProperties: true || false,
+ * queueRequest: true || false,
+ * dependencies: [ // StringList
+ * "STRING_VALUE",
+ * ],
+ * userProvidedEdgeIds: true || false,
+ * };
+ * const command = new StartLoaderJobCommand(input);
+ * const response = await client.send(command);
+ * // { // StartLoaderJobOutput
+ * // status: "STRING_VALUE", // required
+ * // payload: { // StringValuedMap // required
+ * // "": "STRING_VALUE",
+ * // },
+ * // };
+ *
+ * ```
+ *
+ * @param StartLoaderJobCommandInput - {@link StartLoaderJobCommandInput}
+ * @returns {@link StartLoaderJobCommandOutput}
+ * @see {@link StartLoaderJobCommandInput} for command's `input` shape.
+ * @see {@link StartLoaderJobCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link BulkLoadIdNotFoundException} (client fault)
+ * Raised when a specified bulk-load job ID cannot be found.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InternalFailureException} (server fault)
+ * Raised when the processing of the request failed unexpectedly.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link LoadUrlAccessDeniedException} (client fault)
+ * Raised when access is denied to a specified load URL.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link S3Exception} (client fault)
+ * Raised when there is a problem accessing Amazon S3.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class StartLoaderJobCommand extends $Command<
+ StartLoaderJobCommandInput,
+ StartLoaderJobCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: StartLoaderJobCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, StartLoaderJobCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "StartLoaderJobCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: StartLoaderJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_StartLoaderJobCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_StartLoaderJobCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/StartMLDataProcessingJobCommand.ts b/clients/client-neptunedata/src/commands/StartMLDataProcessingJobCommand.ts
new file mode 100644
index 0000000000000..6e0834030651f
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/StartMLDataProcessingJobCommand.ts
@@ -0,0 +1,197 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { StartMLDataProcessingJobInput, StartMLDataProcessingJobOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_StartMLDataProcessingJobCommand, se_StartMLDataProcessingJobCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link StartMLDataProcessingJobCommand}.
+ */
+export interface StartMLDataProcessingJobCommandInput extends StartMLDataProcessingJobInput {}
+/**
+ * @public
+ *
+ * The output of {@link StartMLDataProcessingJobCommand}.
+ */
+export interface StartMLDataProcessingJobCommandOutput extends StartMLDataProcessingJobOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Creates a new Neptune ML data processing job for processing the
+ * graph data exported from Neptune for training. See The
+ * dataprocessing
command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, StartMLDataProcessingJobCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, StartMLDataProcessingJobCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // StartMLDataProcessingJobInput
+ * id: "STRING_VALUE",
+ * previousDataProcessingJobId: "STRING_VALUE",
+ * inputDataS3Location: "STRING_VALUE", // required
+ * processedDataS3Location: "STRING_VALUE", // required
+ * sagemakerIamRoleArn: "STRING_VALUE",
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * processingInstanceType: "STRING_VALUE",
+ * processingInstanceVolumeSizeInGB: Number("int"),
+ * processingTimeOutInSeconds: Number("int"),
+ * modelType: "STRING_VALUE",
+ * configFileName: "STRING_VALUE",
+ * subnets: [ // StringList
+ * "STRING_VALUE",
+ * ],
+ * securityGroupIds: [
+ * "STRING_VALUE",
+ * ],
+ * volumeEncryptionKMSKey: "STRING_VALUE",
+ * s3OutputEncryptionKMSKey: "STRING_VALUE",
+ * };
+ * const command = new StartMLDataProcessingJobCommand(input);
+ * const response = await client.send(command);
+ * // { // StartMLDataProcessingJobOutput
+ * // id: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // creationTimeInMillis: Number("long"),
+ * // };
+ *
+ * ```
+ *
+ * @param StartMLDataProcessingJobCommandInput - {@link StartMLDataProcessingJobCommandInput}
+ * @returns {@link StartMLDataProcessingJobCommandOutput}
+ * @see {@link StartMLDataProcessingJobCommandInput} for command's `input` shape.
+ * @see {@link StartMLDataProcessingJobCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class StartMLDataProcessingJobCommand extends $Command<
+ StartMLDataProcessingJobCommandInput,
+ StartMLDataProcessingJobCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: StartMLDataProcessingJobCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, StartMLDataProcessingJobCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "StartMLDataProcessingJobCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: StartMLDataProcessingJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_StartMLDataProcessingJobCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_StartMLDataProcessingJobCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/StartMLModelTrainingJobCommand.ts b/clients/client-neptunedata/src/commands/StartMLModelTrainingJobCommand.ts
new file mode 100644
index 0000000000000..89cc9fbf8e58d
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/StartMLModelTrainingJobCommand.ts
@@ -0,0 +1,203 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { StartMLModelTrainingJobInput, StartMLModelTrainingJobOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_StartMLModelTrainingJobCommand, se_StartMLModelTrainingJobCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link StartMLModelTrainingJobCommand}.
+ */
+export interface StartMLModelTrainingJobCommandInput extends StartMLModelTrainingJobInput {}
+/**
+ * @public
+ *
+ * The output of {@link StartMLModelTrainingJobCommand}.
+ */
+export interface StartMLModelTrainingJobCommandOutput extends StartMLModelTrainingJobOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Creates a new Neptune ML model training job. See Model
+ * training using the modeltraining
command.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, StartMLModelTrainingJobCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, StartMLModelTrainingJobCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // StartMLModelTrainingJobInput
+ * id: "STRING_VALUE",
+ * previousModelTrainingJobId: "STRING_VALUE",
+ * dataProcessingJobId: "STRING_VALUE", // required
+ * trainModelS3Location: "STRING_VALUE", // required
+ * sagemakerIamRoleArn: "STRING_VALUE",
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * baseProcessingInstanceType: "STRING_VALUE",
+ * trainingInstanceType: "STRING_VALUE",
+ * trainingInstanceVolumeSizeInGB: Number("int"),
+ * trainingTimeOutInSeconds: Number("int"),
+ * maxHPONumberOfTrainingJobs: Number("int"),
+ * maxHPOParallelTrainingJobs: Number("int"),
+ * subnets: [ // StringList
+ * "STRING_VALUE",
+ * ],
+ * securityGroupIds: [
+ * "STRING_VALUE",
+ * ],
+ * volumeEncryptionKMSKey: "STRING_VALUE",
+ * s3OutputEncryptionKMSKey: "STRING_VALUE",
+ * enableManagedSpotTraining: true || false,
+ * customModelTrainingParameters: { // CustomModelTrainingParameters
+ * sourceS3DirectoryPath: "STRING_VALUE", // required
+ * trainingEntryPointScript: "STRING_VALUE",
+ * transformEntryPointScript: "STRING_VALUE",
+ * },
+ * };
+ * const command = new StartMLModelTrainingJobCommand(input);
+ * const response = await client.send(command);
+ * // { // StartMLModelTrainingJobOutput
+ * // id: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // creationTimeInMillis: Number("long"),
+ * // };
+ *
+ * ```
+ *
+ * @param StartMLModelTrainingJobCommandInput - {@link StartMLModelTrainingJobCommandInput}
+ * @returns {@link StartMLModelTrainingJobCommandOutput}
+ * @see {@link StartMLModelTrainingJobCommandInput} for command's `input` shape.
+ * @see {@link StartMLModelTrainingJobCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class StartMLModelTrainingJobCommand extends $Command<
+ StartMLModelTrainingJobCommandInput,
+ StartMLModelTrainingJobCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: StartMLModelTrainingJobCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, StartMLModelTrainingJobCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "StartMLModelTrainingJobCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: StartMLModelTrainingJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_StartMLModelTrainingJobCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_StartMLModelTrainingJobCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/StartMLModelTransformJobCommand.ts b/clients/client-neptunedata/src/commands/StartMLModelTransformJobCommand.ts
new file mode 100644
index 0000000000000..62465fac6afc7
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/StartMLModelTransformJobCommand.ts
@@ -0,0 +1,198 @@
+// smithy-typescript generated code
+import { EndpointParameterInstructions, getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
+import { Command as $Command } from "@smithy/smithy-client";
+import {
+ FinalizeHandlerArguments,
+ Handler,
+ HandlerExecutionContext,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ MetadataBearer as __MetadataBearer,
+ MiddlewareStack,
+ SerdeContext as __SerdeContext,
+} from "@smithy/types";
+
+import { StartMLModelTransformJobInput, StartMLModelTransformJobOutput } from "../models/models_0";
+import { NeptunedataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptunedataClient";
+import { de_StartMLModelTransformJobCommand, se_StartMLModelTransformJobCommand } from "../protocols/Aws_restJson1";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link StartMLModelTransformJobCommand}.
+ */
+export interface StartMLModelTransformJobCommandInput extends StartMLModelTransformJobInput {}
+/**
+ * @public
+ *
+ * The output of {@link StartMLModelTransformJobCommand}.
+ */
+export interface StartMLModelTransformJobCommandOutput extends StartMLModelTransformJobOutput, __MetadataBearer {}
+
+/**
+ * @public
+ * Creates a new model transform job. See Use
+ * a trained model to generate new model artifacts.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { NeptunedataClient, StartMLModelTransformJobCommand } from "@aws-sdk/client-neptunedata"; // ES Modules import
+ * // const { NeptunedataClient, StartMLModelTransformJobCommand } = require("@aws-sdk/client-neptunedata"); // CommonJS import
+ * const client = new NeptunedataClient(config);
+ * const input = { // StartMLModelTransformJobInput
+ * id: "STRING_VALUE",
+ * dataProcessingJobId: "STRING_VALUE",
+ * mlModelTrainingJobId: "STRING_VALUE",
+ * trainingJobName: "STRING_VALUE",
+ * modelTransformOutputS3Location: "STRING_VALUE", // required
+ * sagemakerIamRoleArn: "STRING_VALUE",
+ * neptuneIamRoleArn: "STRING_VALUE",
+ * customModelTransformParameters: { // CustomModelTransformParameters
+ * sourceS3DirectoryPath: "STRING_VALUE", // required
+ * transformEntryPointScript: "STRING_VALUE",
+ * },
+ * baseProcessingInstanceType: "STRING_VALUE",
+ * baseProcessingInstanceVolumeSizeInGB: Number("int"),
+ * subnets: [ // StringList
+ * "STRING_VALUE",
+ * ],
+ * securityGroupIds: [
+ * "STRING_VALUE",
+ * ],
+ * volumeEncryptionKMSKey: "STRING_VALUE",
+ * s3OutputEncryptionKMSKey: "STRING_VALUE",
+ * };
+ * const command = new StartMLModelTransformJobCommand(input);
+ * const response = await client.send(command);
+ * // { // StartMLModelTransformJobOutput
+ * // id: "STRING_VALUE",
+ * // arn: "STRING_VALUE",
+ * // creationTimeInMillis: Number("long"),
+ * // };
+ *
+ * ```
+ *
+ * @param StartMLModelTransformJobCommandInput - {@link StartMLModelTransformJobCommandInput}
+ * @returns {@link StartMLModelTransformJobCommandOutput}
+ * @see {@link StartMLModelTransformJobCommandInput} for command's `input` shape.
+ * @see {@link StartMLModelTransformJobCommandOutput} for command's `response` shape.
+ * @see {@link NeptunedataClientResolvedConfig | config} for NeptunedataClient's `config` shape.
+ *
+ * @throws {@link BadRequestException} (client fault)
+ * Raised when a request is submitted that cannot be processed.
+ *
+ * @throws {@link ClientTimeoutException} (client fault)
+ * Raised when a request timed out in the client.
+ *
+ * @throws {@link ConstraintViolationException} (client fault)
+ * Raised when a value in a request field did not satisfy required constraints.
+ *
+ * @throws {@link IllegalArgumentException} (client fault)
+ * Raised when an argument in a request is not supported.
+ *
+ * @throws {@link InvalidArgumentException} (client fault)
+ * Raised when an argument in a request has an invalid value.
+ *
+ * @throws {@link InvalidParameterException} (client fault)
+ * Raised when a parameter value is not valid.
+ *
+ * @throws {@link MissingParameterException} (client fault)
+ * Raised when a required parameter is missing.
+ *
+ * @throws {@link MLResourceNotFoundException} (client fault)
+ * Raised when a specified machine-learning resource could not be found.
+ *
+ * @throws {@link PreconditionsFailedException} (client fault)
+ * Raised when a precondition for processing a request is not satisfied.
+ *
+ * @throws {@link TooManyRequestsException} (client fault)
+ * Raised when the number of requests being processed exceeds the limit.
+ *
+ * @throws {@link UnsupportedOperationException} (client fault)
+ * Raised when a request attempts to initiate an operation that is not supported.
+ *
+ * @throws {@link NeptunedataServiceException}
+ * Base exception class for all service exceptions from Neptunedata service.
+ *
+ */
+export class StartMLModelTransformJobCommand extends $Command<
+ StartMLModelTransformJobCommandInput,
+ StartMLModelTransformJobCommandOutput,
+ NeptunedataClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ public static getEndpointParameterInstructions(): EndpointParameterInstructions {
+ return {
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
+ Endpoint: { type: "builtInParams", name: "endpoint" },
+ Region: { type: "builtInParams", name: "region" },
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
+ };
+ }
+
+ /**
+ * @public
+ */
+ constructor(readonly input: StartMLModelTransformJobCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: NeptunedataClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+ this.middlewareStack.use(
+ getEndpointPlugin(configuration, StartMLModelTransformJobCommand.getEndpointParameterInstructions())
+ );
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "NeptunedataClient";
+ const commandName = "StartMLModelTransformJobCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: (_: any) => _,
+ outputFilterSensitiveLog: (_: any) => _,
+ };
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ /**
+ * @internal
+ */
+ private serialize(input: StartMLModelTransformJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return se_StartMLModelTransformJobCommand(input, context);
+ }
+
+ /**
+ * @internal
+ */
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return de_StartMLModelTransformJobCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-neptunedata/src/commands/index.ts b/clients/client-neptunedata/src/commands/index.ts
new file mode 100644
index 0000000000000..7110b0b399d24
--- /dev/null
+++ b/clients/client-neptunedata/src/commands/index.ts
@@ -0,0 +1,44 @@
+// smithy-typescript generated code
+export * from "./CancelGremlinQueryCommand";
+export * from "./CancelLoaderJobCommand";
+export * from "./CancelMLDataProcessingJobCommand";
+export * from "./CancelMLModelTrainingJobCommand";
+export * from "./CancelMLModelTransformJobCommand";
+export * from "./CancelOpenCypherQueryCommand";
+export * from "./CreateMLEndpointCommand";
+export * from "./DeleteMLEndpointCommand";
+export * from "./DeletePropertygraphStatisticsCommand";
+export * from "./DeleteSparqlStatisticsCommand";
+export * from "./ExecuteFastResetCommand";
+export * from "./ExecuteGremlinExplainQueryCommand";
+export * from "./ExecuteGremlinProfileQueryCommand";
+export * from "./ExecuteGremlinQueryCommand";
+export * from "./ExecuteOpenCypherExplainQueryCommand";
+export * from "./ExecuteOpenCypherQueryCommand";
+export * from "./GetEngineStatusCommand";
+export * from "./GetGremlinQueryStatusCommand";
+export * from "./GetLoaderJobStatusCommand";
+export * from "./GetMLDataProcessingJobCommand";
+export * from "./GetMLEndpointCommand";
+export * from "./GetMLModelTrainingJobCommand";
+export * from "./GetMLModelTransformJobCommand";
+export * from "./GetOpenCypherQueryStatusCommand";
+export * from "./GetPropertygraphStatisticsCommand";
+export * from "./GetPropertygraphStreamCommand";
+export * from "./GetPropertygraphSummaryCommand";
+export * from "./GetRDFGraphSummaryCommand";
+export * from "./GetSparqlStatisticsCommand";
+export * from "./GetSparqlStreamCommand";
+export * from "./ListGremlinQueriesCommand";
+export * from "./ListLoaderJobsCommand";
+export * from "./ListMLDataProcessingJobsCommand";
+export * from "./ListMLEndpointsCommand";
+export * from "./ListMLModelTrainingJobsCommand";
+export * from "./ListMLModelTransformJobsCommand";
+export * from "./ListOpenCypherQueriesCommand";
+export * from "./ManagePropertygraphStatisticsCommand";
+export * from "./ManageSparqlStatisticsCommand";
+export * from "./StartLoaderJobCommand";
+export * from "./StartMLDataProcessingJobCommand";
+export * from "./StartMLModelTrainingJobCommand";
+export * from "./StartMLModelTransformJobCommand";
diff --git a/clients/client-neptunedata/src/endpoint/EndpointParameters.ts b/clients/client-neptunedata/src/endpoint/EndpointParameters.ts
new file mode 100644
index 0000000000000..2e0ef5f1e282f
--- /dev/null
+++ b/clients/client-neptunedata/src/endpoint/EndpointParameters.ts
@@ -0,0 +1,34 @@
+// smithy-typescript generated code
+import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
+
+/**
+ * @public
+ */
+export interface ClientInputEndpointParameters {
+ region?: string | Provider;
+ useDualstackEndpoint?: boolean | Provider;
+ useFipsEndpoint?: boolean | Provider;
+ endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider;
+}
+
+export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
+ defaultSigningName: string;
+};
+
+export const resolveClientEndpointParameters = (
+ options: T & ClientInputEndpointParameters
+): T & ClientResolvedEndpointParameters => {
+ return {
+ ...options,
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
+ defaultSigningName: "neptune-db",
+ };
+};
+
+export interface EndpointParameters extends __EndpointParameters {
+ Region?: string;
+ UseDualStack?: boolean;
+ UseFIPS?: boolean;
+ Endpoint?: string;
+}
diff --git a/clients/client-neptunedata/src/endpoint/endpointResolver.ts b/clients/client-neptunedata/src/endpoint/endpointResolver.ts
new file mode 100644
index 0000000000000..3fbea60c40b6e
--- /dev/null
+++ b/clients/client-neptunedata/src/endpoint/endpointResolver.ts
@@ -0,0 +1,16 @@
+// smithy-typescript generated code
+import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints";
+import { EndpointV2, Logger } from "@smithy/types";
+
+import { EndpointParameters } from "./EndpointParameters";
+import { ruleSet } from "./ruleset";
+
+export const defaultEndpointResolver = (
+ endpointParams: EndpointParameters,
+ context: { logger?: Logger } = {}
+): EndpointV2 => {
+ return resolveEndpoint(ruleSet, {
+ endpointParams: endpointParams as EndpointParams,
+ logger: context.logger,
+ });
+};
diff --git a/clients/client-neptunedata/src/endpoint/ruleset.ts b/clients/client-neptunedata/src/endpoint/ruleset.ts
new file mode 100644
index 0000000000000..6de81b60f2643
--- /dev/null
+++ b/clients/client-neptunedata/src/endpoint/ruleset.ts
@@ -0,0 +1,30 @@
+// @ts-nocheck
+// generated code, do not edit
+import { RuleSetObject } from "@smithy/types";
+
+/* This file is compressed. Log this object
+ or see "smithy.rules#endpointRuleSet"
+ in codegen/sdk-codegen/aws-models/neptunedata.json */
+
+const q="required",
+r="fn",
+s="argv",
+t="ref";
+const a="isSet",
+b="tree",
+c="error",
+d="endpoint",
+e="PartitionResult",
+f={[q]:false,"type":"String"},
+g={[q]:true,"default":false,"type":"Boolean"},
+h={[t]:"Endpoint"},
+i={[r]:"booleanEquals",[s]:[{[t]:"UseFIPS"},true]},
+j={[r]:"booleanEquals",[s]:[{[t]:"UseDualStack"},true]},
+k={},
+l={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsFIPS"]}]},
+m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"]}]},
+n=[i],
+o=[j],
+p=[{[t]:"Region"}];
+const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://neptune-db-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://neptune-db-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://neptune-db.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://neptune-db.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]};
+export const ruleSet: RuleSetObject = _data;
diff --git a/clients/client-neptunedata/src/extensionConfiguration.ts b/clients/client-neptunedata/src/extensionConfiguration.ts
new file mode 100644
index 0000000000000..89e52f547af2e
--- /dev/null
+++ b/clients/client-neptunedata/src/extensionConfiguration.ts
@@ -0,0 +1,7 @@
+// smithy-typescript generated code
+import { DefaultExtensionConfiguration } from "@smithy/types";
+
+/**
+ * @internal
+ */
+export interface NeptunedataExtensionConfiguration extends DefaultExtensionConfiguration {}
diff --git a/clients/client-neptunedata/src/index.ts b/clients/client-neptunedata/src/index.ts
new file mode 100644
index 0000000000000..d7da9c244f59d
--- /dev/null
+++ b/clients/client-neptunedata/src/index.ts
@@ -0,0 +1,19 @@
+// smithy-typescript generated code
+/* eslint-disable */
+/**
+ * Neptune Data API
+ * The Amazon Neptune data API provides SDK support for more than 40 of Neptune's data
+ * operations, including data loading, query execution, data inquiry, and machine learning.
+ * It supports all three Neptune query languages (Gremlin, openCypher and SPARQL), and is
+ * available in all SDK languages. It automatically signs API requests and greatly simplifies
+ * integrating Neptune into your applications.
+ *
+ * @packageDocumentation
+ */
+export * from "./NeptunedataClient";
+export * from "./Neptunedata";
+export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
+export * from "./commands";
+export * from "./models";
+
+export { NeptunedataServiceException } from "./models/NeptunedataServiceException";
diff --git a/clients/client-neptunedata/src/models/NeptunedataServiceException.ts b/clients/client-neptunedata/src/models/NeptunedataServiceException.ts
new file mode 100644
index 0000000000000..c11fd21d95fb9
--- /dev/null
+++ b/clients/client-neptunedata/src/models/NeptunedataServiceException.ts
@@ -0,0 +1,22 @@
+// smithy-typescript generated code
+import {
+ ServiceException as __ServiceException,
+ ServiceExceptionOptions as __ServiceExceptionOptions,
+} from "@smithy/smithy-client";
+
+export { __ServiceException, __ServiceExceptionOptions };
+
+/**
+ * @public
+ *
+ * Base exception class for all service exceptions from Neptunedata service.
+ */
+export class NeptunedataServiceException extends __ServiceException {
+ /**
+ * @internal
+ */
+ constructor(options: __ServiceExceptionOptions) {
+ super(options);
+ Object.setPrototypeOf(this, NeptunedataServiceException.prototype);
+ }
+}
diff --git a/clients/client-neptunedata/src/models/index.ts b/clients/client-neptunedata/src/models/index.ts
new file mode 100644
index 0000000000000..9eaceb12865f8
--- /dev/null
+++ b/clients/client-neptunedata/src/models/index.ts
@@ -0,0 +1,2 @@
+// smithy-typescript generated code
+export * from "./models_0";
diff --git a/clients/client-neptunedata/src/models/models_0.ts b/clients/client-neptunedata/src/models/models_0.ts
new file mode 100644
index 0000000000000..66bdc0e5114a7
--- /dev/null
+++ b/clients/client-neptunedata/src/models/models_0.ts
@@ -0,0 +1,4831 @@
+// smithy-typescript generated code
+import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
+import { DocumentType as __DocumentType } from "@smithy/types";
+
+import { NeptunedataServiceException as __BaseException } from "./NeptunedataServiceException";
+
+/**
+ * @public
+ * Raised in case of an authentication or authorization failure.
+ */
+export class AccessDeniedException extends __BaseException {
+ readonly name: "AccessDeniedException" = "AccessDeniedException";
+ readonly $fault: "client" = "client";
+ /**
+ * @public
+ * A detailed message describing the problem.
+ */
+ detailedMessage: string | undefined;
+
+ /**
+ * @public
+ * The ID of the request in question.
+ */
+ requestId: string | undefined;
+
+ /**
+ * @public
+ * The HTTP status code returned with the exception.
+ */
+ code: string | undefined;
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "AccessDeniedException",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
+ this.detailedMessage = opts.detailedMessage;
+ this.requestId = opts.requestId;
+ this.code = opts.code;
+ }
+}
+
+/**
+ * @public
+ * @enum
+ */
+export const Action = {
+ INITIALIZE_RESET: "initiateDatabaseReset",
+ PERFORM_RESET: "performDatabaseReset",
+} as const;
+
+/**
+ * @public
+ */
+export type Action = (typeof Action)[keyof typeof Action];
+
+/**
+ * @public
+ * Raised when a request is submitted that cannot be processed.
+ */
+export class BadRequestException extends __BaseException {
+ readonly name: "BadRequestException" = "BadRequestException";
+ readonly $fault: "client" = "client";
+ /**
+ * @public
+ * A detailed message describing the problem.
+ */
+ detailedMessage: string | undefined;
+
+ /**
+ * @public
+ * The ID of the bad request.
+ */
+ requestId: string | undefined;
+
+ /**
+ * @public
+ * The HTTP status code returned with the exception.
+ */
+ code: string | undefined;
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "BadRequestException",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, BadRequestException.prototype);
+ this.detailedMessage = opts.detailedMessage;
+ this.requestId = opts.requestId;
+ this.code = opts.code;
+ }
+}
+
+/**
+ * @public
+ */
+export interface CancelGremlinQueryInput {
+ /**
+ * @public
+ * The unique identifier that identifies the query to be canceled.
+ */
+ queryId: string | undefined;
+}
+
+/**
+ * @public
+ */
+export interface CancelGremlinQueryOutput {
+ /**
+ * @public
+ * The status of the cancelation
+ */
+ status?: string;
+}
+
+/**
+ * @public
+ * Raised when a request timed out in the client.
+ */
+export class ClientTimeoutException extends __BaseException {
+ readonly name: "ClientTimeoutException" = "ClientTimeoutException";
+ readonly $fault: "client" = "client";
+ $retryable = {};
+ /**
+ * @public
+ * A detailed message describing the problem.
+ */
+ detailedMessage: string | undefined;
+
+ /**
+ * @public
+ * The ID of the request in question.
+ */
+ requestId: string | undefined;
+
+ /**
+ * @public
+ * The HTTP status code returned with the exception.
+ */
+ code: string | undefined;
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "ClientTimeoutException",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, ClientTimeoutException.prototype);
+ this.detailedMessage = opts.detailedMessage;
+ this.requestId = opts.requestId;
+ this.code = opts.code;
+ }
+}
+
+/**
+ * @public
+ * Raised when a request attempts to modify data that is concurrently being
+ * modified by another process.
+ */
+export class ConcurrentModificationException extends __BaseException {
+ readonly name: "ConcurrentModificationException" = "ConcurrentModificationException";
+ readonly $fault: "server" = "server";
+ $retryable = {};
+ /**
+ * @public
+ * A detailed message describing the problem.
+ */
+ detailedMessage: string | undefined;
+
+ /**
+ * @public
+ * The ID of the request in question.
+ */
+ requestId: string | undefined;
+
+ /**
+ * @public
+ * The HTTP status code returned with the exception.
+ */
+ code: string | undefined;
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "ConcurrentModificationException",
+ $fault: "server",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
+ this.detailedMessage = opts.detailedMessage;
+ this.requestId = opts.requestId;
+ this.code = opts.code;
+ }
+}
+
+/**
+ * @public
+ * Raised when a value in a request field did not satisfy required constraints.
+ */
+export class ConstraintViolationException extends __BaseException {
+ readonly name: "ConstraintViolationException" = "ConstraintViolationException";
+ readonly $fault: "client" = "client";
+ $retryable = {};
+ /**
+ * @public
+ * A detailed message describing the problem.
+ */
+ detailedMessage: string | undefined;
+
+ /**
+ * @public
+ * The ID of the request in question.
+ */
+ requestId: string | undefined;
+
+ /**
+ * @public
+ * The HTTP status code returned with the exception.
+ */
+ code: string | undefined;
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "ConstraintViolationException",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, ConstraintViolationException.prototype);
+ this.detailedMessage = opts.detailedMessage;
+ this.requestId = opts.requestId;
+ this.code = opts.code;
+ }
+}
+
+/**
+ * @public
+ * Raised when a request fails.
+ */
+export class FailureByQueryException extends __BaseException {
+ readonly name: "FailureByQueryException" = "FailureByQueryException";
+ readonly $fault: "server" = "server";
+ $retryable = {};
+ /**
+ * @public
+ * A detailed message describing the problem.
+ */
+ detailedMessage: string | undefined;
+
+ /**
+ * @public
+ * The ID of the request in question.
+ */
+ requestId: string | undefined;
+
+ /**
+ * @public
+ * The HTTP status code returned with the exception.
+ */
+ code: string | undefined;
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "FailureByQueryException",
+ $fault: "server",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, FailureByQueryException.prototype);
+ this.detailedMessage = opts.detailedMessage;
+ this.requestId = opts.requestId;
+ this.code = opts.code;
+ }
+}
+
+/**
+ * @public
+ *