@aws-sdk/client-neptunedata 3.403.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +555 -0
- package/dist-cjs/Neptunedata.js +97 -0
- package/dist-cjs/NeptunedataClient.js +43 -0
- package/dist-cjs/commands/CancelGremlinQueryCommand.js +46 -0
- package/dist-cjs/commands/CancelLoaderJobCommand.js +46 -0
- package/dist-cjs/commands/CancelMLDataProcessingJobCommand.js +46 -0
- package/dist-cjs/commands/CancelMLModelTrainingJobCommand.js +46 -0
- package/dist-cjs/commands/CancelMLModelTransformJobCommand.js +46 -0
- package/dist-cjs/commands/CancelOpenCypherQueryCommand.js +46 -0
- package/dist-cjs/commands/CreateMLEndpointCommand.js +46 -0
- package/dist-cjs/commands/DeleteMLEndpointCommand.js +46 -0
- package/dist-cjs/commands/DeletePropertygraphStatisticsCommand.js +46 -0
- package/dist-cjs/commands/DeleteSparqlStatisticsCommand.js +46 -0
- package/dist-cjs/commands/ExecuteFastResetCommand.js +46 -0
- package/dist-cjs/commands/ExecuteGremlinExplainQueryCommand.js +46 -0
- package/dist-cjs/commands/ExecuteGremlinProfileQueryCommand.js +46 -0
- package/dist-cjs/commands/ExecuteGremlinQueryCommand.js +46 -0
- package/dist-cjs/commands/ExecuteOpenCypherExplainQueryCommand.js +46 -0
- package/dist-cjs/commands/ExecuteOpenCypherQueryCommand.js +46 -0
- package/dist-cjs/commands/GetEngineStatusCommand.js +46 -0
- package/dist-cjs/commands/GetGremlinQueryStatusCommand.js +46 -0
- package/dist-cjs/commands/GetLoaderJobStatusCommand.js +46 -0
- package/dist-cjs/commands/GetMLDataProcessingJobCommand.js +46 -0
- package/dist-cjs/commands/GetMLEndpointCommand.js +46 -0
- package/dist-cjs/commands/GetMLModelTrainingJobCommand.js +46 -0
- package/dist-cjs/commands/GetMLModelTransformJobCommand.js +46 -0
- package/dist-cjs/commands/GetOpenCypherQueryStatusCommand.js +46 -0
- package/dist-cjs/commands/GetPropertygraphStatisticsCommand.js +46 -0
- package/dist-cjs/commands/GetPropertygraphStreamCommand.js +46 -0
- package/dist-cjs/commands/GetPropertygraphSummaryCommand.js +46 -0
- package/dist-cjs/commands/GetRDFGraphSummaryCommand.js +46 -0
- package/dist-cjs/commands/GetSparqlStatisticsCommand.js +46 -0
- package/dist-cjs/commands/GetSparqlStreamCommand.js +46 -0
- package/dist-cjs/commands/ListGremlinQueriesCommand.js +46 -0
- package/dist-cjs/commands/ListLoaderJobsCommand.js +46 -0
- package/dist-cjs/commands/ListMLDataProcessingJobsCommand.js +46 -0
- package/dist-cjs/commands/ListMLEndpointsCommand.js +46 -0
- package/dist-cjs/commands/ListMLModelTrainingJobsCommand.js +46 -0
- package/dist-cjs/commands/ListMLModelTransformJobsCommand.js +46 -0
- package/dist-cjs/commands/ListOpenCypherQueriesCommand.js +46 -0
- package/dist-cjs/commands/ManagePropertygraphStatisticsCommand.js +46 -0
- package/dist-cjs/commands/ManageSparqlStatisticsCommand.js +46 -0
- package/dist-cjs/commands/StartLoaderJobCommand.js +46 -0
- package/dist-cjs/commands/StartMLDataProcessingJobCommand.js +46 -0
- package/dist-cjs/commands/StartMLModelTrainingJobCommand.js +46 -0
- package/dist-cjs/commands/StartMLModelTransformJobCommand.js +46 -0
- package/dist-cjs/commands/index.js +46 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/NeptunedataServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +631 -0
- package/dist-cjs/protocols/Aws_restJson1.js +4771 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +22 -0
- package/dist-cjs/runtimeExtensions.js +16 -0
- package/dist-es/Neptunedata.js +93 -0
- package/dist-es/NeptunedataClient.js +39 -0
- package/dist-es/commands/CancelGremlinQueryCommand.js +42 -0
- package/dist-es/commands/CancelLoaderJobCommand.js +42 -0
- package/dist-es/commands/CancelMLDataProcessingJobCommand.js +42 -0
- package/dist-es/commands/CancelMLModelTrainingJobCommand.js +42 -0
- package/dist-es/commands/CancelMLModelTransformJobCommand.js +42 -0
- package/dist-es/commands/CancelOpenCypherQueryCommand.js +42 -0
- package/dist-es/commands/CreateMLEndpointCommand.js +42 -0
- package/dist-es/commands/DeleteMLEndpointCommand.js +42 -0
- package/dist-es/commands/DeletePropertygraphStatisticsCommand.js +42 -0
- package/dist-es/commands/DeleteSparqlStatisticsCommand.js +42 -0
- package/dist-es/commands/ExecuteFastResetCommand.js +42 -0
- package/dist-es/commands/ExecuteGremlinExplainQueryCommand.js +42 -0
- package/dist-es/commands/ExecuteGremlinProfileQueryCommand.js +42 -0
- package/dist-es/commands/ExecuteGremlinQueryCommand.js +42 -0
- package/dist-es/commands/ExecuteOpenCypherExplainQueryCommand.js +42 -0
- package/dist-es/commands/ExecuteOpenCypherQueryCommand.js +42 -0
- package/dist-es/commands/GetEngineStatusCommand.js +42 -0
- package/dist-es/commands/GetGremlinQueryStatusCommand.js +42 -0
- package/dist-es/commands/GetLoaderJobStatusCommand.js +42 -0
- package/dist-es/commands/GetMLDataProcessingJobCommand.js +42 -0
- package/dist-es/commands/GetMLEndpointCommand.js +42 -0
- package/dist-es/commands/GetMLModelTrainingJobCommand.js +42 -0
- package/dist-es/commands/GetMLModelTransformJobCommand.js +42 -0
- package/dist-es/commands/GetOpenCypherQueryStatusCommand.js +42 -0
- package/dist-es/commands/GetPropertygraphStatisticsCommand.js +42 -0
- package/dist-es/commands/GetPropertygraphStreamCommand.js +42 -0
- package/dist-es/commands/GetPropertygraphSummaryCommand.js +42 -0
- package/dist-es/commands/GetRDFGraphSummaryCommand.js +42 -0
- package/dist-es/commands/GetSparqlStatisticsCommand.js +42 -0
- package/dist-es/commands/GetSparqlStreamCommand.js +42 -0
- package/dist-es/commands/ListGremlinQueriesCommand.js +42 -0
- package/dist-es/commands/ListLoaderJobsCommand.js +42 -0
- package/dist-es/commands/ListMLDataProcessingJobsCommand.js +42 -0
- package/dist-es/commands/ListMLEndpointsCommand.js +42 -0
- package/dist-es/commands/ListMLModelTrainingJobsCommand.js +42 -0
- package/dist-es/commands/ListMLModelTransformJobsCommand.js +42 -0
- package/dist-es/commands/ListOpenCypherQueriesCommand.js +42 -0
- package/dist-es/commands/ManagePropertygraphStatisticsCommand.js +42 -0
- package/dist-es/commands/ManageSparqlStatisticsCommand.js +42 -0
- package/dist-es/commands/StartLoaderJobCommand.js +42 -0
- package/dist-es/commands/StartMLDataProcessingJobCommand.js +42 -0
- package/dist-es/commands/StartMLModelTrainingJobCommand.js +42 -0
- package/dist-es/commands/StartMLModelTransformJobCommand.js +42 -0
- package/dist-es/commands/index.js +43 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/NeptunedataServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +594 -0
- package/dist-es/protocols/Aws_restJson1.js +4681 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +18 -0
- package/dist-es/runtimeExtensions.js +12 -0
- package/dist-types/Neptunedata.d.ts +316 -0
- package/dist-types/NeptunedataClient.d.ts +215 -0
- package/dist-types/commands/CancelGremlinQueryCommand.d.ts +117 -0
- package/dist-types/commands/CancelLoaderJobCommand.d.ts +115 -0
- package/dist-types/commands/CancelMLDataProcessingJobCommand.d.ts +109 -0
- package/dist-types/commands/CancelMLModelTrainingJobCommand.d.ts +109 -0
- package/dist-types/commands/CancelMLModelTransformJobCommand.d.ts +109 -0
- package/dist-types/commands/CancelOpenCypherQueryCommand.d.ts +122 -0
- package/dist-types/commands/CreateMLEndpointCommand.d.ts +119 -0
- package/dist-types/commands/DeleteMLEndpointCommand.d.ts +110 -0
- package/dist-types/commands/DeletePropertygraphStatisticsCommand.d.ts +116 -0
- package/dist-types/commands/DeleteSparqlStatisticsCommand.d.ts +115 -0
- package/dist-types/commands/ExecuteFastResetCommand.d.ts +123 -0
- package/dist-types/commands/ExecuteGremlinExplainQueryCommand.d.ts +155 -0
- package/dist-types/commands/ExecuteGremlinProfileQueryCommand.d.ts +151 -0
- package/dist-types/commands/ExecuteGremlinQueryCommand.d.ts +150 -0
- package/dist-types/commands/ExecuteOpenCypherExplainQueryCommand.d.ts +151 -0
- package/dist-types/commands/ExecuteOpenCypherQueryCommand.d.ts +151 -0
- package/dist-types/commands/GetEngineStatusCommand.d.ts +119 -0
- package/dist-types/commands/GetGremlinQueryStatusCommand.d.ts +129 -0
- package/dist-types/commands/GetLoaderJobStatusCommand.d.ts +121 -0
- package/dist-types/commands/GetMLDataProcessingJobCommand.d.ts +117 -0
- package/dist-types/commands/GetMLEndpointCommand.d.ts +121 -0
- package/dist-types/commands/GetMLModelTrainingJobCommand.d.ts +139 -0
- package/dist-types/commands/GetMLModelTransformJobCommand.d.ts +131 -0
- package/dist-types/commands/GetOpenCypherQueryStatusCommand.d.ts +132 -0
- package/dist-types/commands/GetPropertygraphStatisticsCommand.d.ts +122 -0
- package/dist-types/commands/GetPropertygraphStreamCommand.d.ts +147 -0
- package/dist-types/commands/GetPropertygraphSummaryCommand.d.ts +161 -0
- package/dist-types/commands/GetRDFGraphSummaryCommand.d.ts +138 -0
- package/dist-types/commands/GetSparqlStatisticsCommand.d.ts +122 -0
- package/dist-types/commands/GetSparqlStreamCommand.d.ts +142 -0
- package/dist-types/commands/ListGremlinQueriesCommand.d.ts +136 -0
- package/dist-types/commands/ListLoaderJobsCommand.d.ts +116 -0
- package/dist-types/commands/ListMLDataProcessingJobsCommand.d.ts +110 -0
- package/dist-types/commands/ListMLEndpointsCommand.d.ts +110 -0
- package/dist-types/commands/ListMLModelTrainingJobsCommand.d.ts +110 -0
- package/dist-types/commands/ListMLModelTransformJobsCommand.d.ts +110 -0
- package/dist-types/commands/ListOpenCypherQueriesCommand.d.ts +139 -0
- package/dist-types/commands/ManagePropertygraphStatisticsCommand.d.ts +115 -0
- package/dist-types/commands/ManageSparqlStatisticsCommand.d.ts +115 -0
- package/dist-types/commands/StartLoaderJobCommand.d.ts +135 -0
- package/dist-types/commands/StartMLDataProcessingJobCommand.d.ts +128 -0
- package/dist-types/commands/StartMLModelTrainingJobCommand.d.ts +134 -0
- package/dist-types/commands/StartMLModelTransformJobCommand.d.ts +129 -0
- package/dist-types/commands/index.d.ts +43 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/NeptunedataServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +4026 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +389 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +43 -0
- package/dist-types/runtimeConfig.native.d.ts +42 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Neptunedata.d.ts +738 -0
- package/dist-types/ts3.4/NeptunedataClient.d.ts +376 -0
- package/dist-types/ts3.4/commands/CancelGremlinQueryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CancelLoaderJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CancelMLDataProcessingJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CancelMLModelTrainingJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CancelMLModelTransformJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CancelOpenCypherQueryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateMLEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteMLEndpointCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeletePropertygraphStatisticsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteSparqlStatisticsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ExecuteFastResetCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ExecuteGremlinExplainQueryCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ExecuteGremlinProfileQueryCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ExecuteGremlinQueryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ExecuteOpenCypherExplainQueryCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ExecuteOpenCypherQueryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetEngineStatusCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetGremlinQueryStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetLoaderJobStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetMLDataProcessingJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetMLEndpointCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMLModelTrainingJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetMLModelTransformJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetOpenCypherQueryStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetPropertygraphStatisticsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetPropertygraphStreamCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetPropertygraphSummaryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetRDFGraphSummaryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSparqlStatisticsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetSparqlStreamCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListGremlinQueriesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListLoaderJobsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListMLDataProcessingJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListMLEndpointsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListMLModelTrainingJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListMLModelTransformJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListOpenCypherQueriesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ManagePropertygraphStatisticsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ManageSparqlStatisticsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartLoaderJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/StartMLDataProcessingJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMLModelTrainingJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMLModelTransformJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +43 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/NeptunedataServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +994 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +521 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +100 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ManageSparqlStatisticsCommand, se_ManageSparqlStatisticsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ManageSparqlStatisticsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ManageSparqlStatisticsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "NeptunedataClient";
|
|
25
|
+
const commandName = "ManageSparqlStatisticsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ManageSparqlStatisticsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ManageSparqlStatisticsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StartLoaderJobCommand, se_StartLoaderJobCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartLoaderJobCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartLoaderJobCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "NeptunedataClient";
|
|
25
|
+
const commandName = "StartLoaderJobCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StartLoaderJobCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StartLoaderJobCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StartMLDataProcessingJobCommand, se_StartMLDataProcessingJobCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartMLDataProcessingJobCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartMLDataProcessingJobCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "NeptunedataClient";
|
|
25
|
+
const commandName = "StartMLDataProcessingJobCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StartMLDataProcessingJobCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StartMLDataProcessingJobCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StartMLModelTrainingJobCommand, se_StartMLModelTrainingJobCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartMLModelTrainingJobCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartMLModelTrainingJobCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "NeptunedataClient";
|
|
25
|
+
const commandName = "StartMLModelTrainingJobCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StartMLModelTrainingJobCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StartMLModelTrainingJobCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StartMLModelTransformJobCommand, se_StartMLModelTransformJobCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StartMLModelTransformJobCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartMLModelTransformJobCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "NeptunedataClient";
|
|
25
|
+
const commandName = "StartMLModelTransformJobCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StartMLModelTransformJobCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StartMLModelTransformJobCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export * from "./CancelGremlinQueryCommand";
|
|
2
|
+
export * from "./CancelLoaderJobCommand";
|
|
3
|
+
export * from "./CancelMLDataProcessingJobCommand";
|
|
4
|
+
export * from "./CancelMLModelTrainingJobCommand";
|
|
5
|
+
export * from "./CancelMLModelTransformJobCommand";
|
|
6
|
+
export * from "./CancelOpenCypherQueryCommand";
|
|
7
|
+
export * from "./CreateMLEndpointCommand";
|
|
8
|
+
export * from "./DeleteMLEndpointCommand";
|
|
9
|
+
export * from "./DeletePropertygraphStatisticsCommand";
|
|
10
|
+
export * from "./DeleteSparqlStatisticsCommand";
|
|
11
|
+
export * from "./ExecuteFastResetCommand";
|
|
12
|
+
export * from "./ExecuteGremlinExplainQueryCommand";
|
|
13
|
+
export * from "./ExecuteGremlinProfileQueryCommand";
|
|
14
|
+
export * from "./ExecuteGremlinQueryCommand";
|
|
15
|
+
export * from "./ExecuteOpenCypherExplainQueryCommand";
|
|
16
|
+
export * from "./ExecuteOpenCypherQueryCommand";
|
|
17
|
+
export * from "./GetEngineStatusCommand";
|
|
18
|
+
export * from "./GetGremlinQueryStatusCommand";
|
|
19
|
+
export * from "./GetLoaderJobStatusCommand";
|
|
20
|
+
export * from "./GetMLDataProcessingJobCommand";
|
|
21
|
+
export * from "./GetMLEndpointCommand";
|
|
22
|
+
export * from "./GetMLModelTrainingJobCommand";
|
|
23
|
+
export * from "./GetMLModelTransformJobCommand";
|
|
24
|
+
export * from "./GetOpenCypherQueryStatusCommand";
|
|
25
|
+
export * from "./GetPropertygraphStatisticsCommand";
|
|
26
|
+
export * from "./GetPropertygraphStreamCommand";
|
|
27
|
+
export * from "./GetPropertygraphSummaryCommand";
|
|
28
|
+
export * from "./GetRDFGraphSummaryCommand";
|
|
29
|
+
export * from "./GetSparqlStatisticsCommand";
|
|
30
|
+
export * from "./GetSparqlStreamCommand";
|
|
31
|
+
export * from "./ListGremlinQueriesCommand";
|
|
32
|
+
export * from "./ListLoaderJobsCommand";
|
|
33
|
+
export * from "./ListMLDataProcessingJobsCommand";
|
|
34
|
+
export * from "./ListMLEndpointsCommand";
|
|
35
|
+
export * from "./ListMLModelTrainingJobsCommand";
|
|
36
|
+
export * from "./ListMLModelTransformJobsCommand";
|
|
37
|
+
export * from "./ListOpenCypherQueriesCommand";
|
|
38
|
+
export * from "./ManagePropertygraphStatisticsCommand";
|
|
39
|
+
export * from "./ManageSparqlStatisticsCommand";
|
|
40
|
+
export * from "./StartLoaderJobCommand";
|
|
41
|
+
export * from "./StartMLDataProcessingJobCommand";
|
|
42
|
+
export * from "./StartMLModelTrainingJobCommand";
|
|
43
|
+
export * from "./StartMLModelTransformJobCommand";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
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" }];
|
|
3
|
+
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 }] }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class NeptunedataServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, NeptunedataServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|