@aws-sdk/client-neptunedata 3.437.0 → 3.440.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@aws-sdk/util-endpoints");
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
5
  const ruleset_1 = require("./ruleset");
6
6
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
7
  return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
package/dist-cjs/index.js CHANGED
@@ -6,5 +6,6 @@ tslib_1.__exportStar(require("./NeptunedataClient"), exports);
6
6
  tslib_1.__exportStar(require("./Neptunedata"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./models"), exports);
9
+ require("@aws-sdk/util-endpoints");
9
10
  var NeptunedataServiceException_1 = require("./models/NeptunedataServiceException");
10
11
  Object.defineProperty(exports, "NeptunedataServiceException", { enumerable: true, get: function () { return NeptunedataServiceException_1.NeptunedataServiceException; } });
@@ -406,7 +406,6 @@ class CancelledByUserException extends NeptunedataServiceException_1.Neptunedata
406
406
  });
407
407
  this.name = "CancelledByUserException";
408
408
  this.$fault = "server";
409
- this.$retryable = {};
410
409
  Object.setPrototypeOf(this, CancelledByUserException.prototype);
411
410
  this.detailedMessage = opts.detailedMessage;
412
411
  this.requestId = opts.requestId;
@@ -1,4 +1,4 @@
1
- import { resolveEndpoint } from "@aws-sdk/util-endpoints";
1
+ import { resolveEndpoint } from "@smithy/util-endpoints";
2
2
  import { ruleSet } from "./ruleset";
3
3
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
4
  return resolveEndpoint(ruleSet, {
package/dist-es/index.js CHANGED
@@ -2,4 +2,5 @@ export * from "./NeptunedataClient";
2
2
  export * from "./Neptunedata";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ import "@aws-sdk/util-endpoints";
5
6
  export { NeptunedataServiceException } from "./models/NeptunedataServiceException";
@@ -379,7 +379,6 @@ export class CancelledByUserException extends __BaseException {
379
379
  });
380
380
  this.name = "CancelledByUserException";
381
381
  this.$fault = "server";
382
- this.$retryable = {};
383
382
  Object.setPrototypeOf(this, CancelledByUserException.prototype);
384
383
  this.detailedMessage = opts.detailedMessage;
385
384
  this.requestId = opts.requestId;
@@ -37,7 +37,7 @@ export interface ExecuteOpenCypherExplainQueryCommandOutput extends ExecuteOpenC
37
37
  * authentication enabled, the IAM user or role making the request must
38
38
  * have a policy attached that allows the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#readdataviaquery">neptune-db:ReadDataViaQuery</a>
39
39
  * IAM action in that cluster.</p>
40
- * <p>Note that the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:Opencypher</a>
40
+ * <p>Note that the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:OpenCypher</a>
41
41
  * IAM condition key can be used in the policy document to restrict the use of
42
42
  * openCypher queries (see <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html">Condition
43
43
  * keys available in Neptune IAM data-access policy statements</a>).</p>
@@ -55,7 +55,7 @@ export interface ExecuteOpenCypherQueryCommandOutput extends ExecuteOpenCypherQu
55
55
  * </p>
56
56
  * </li>
57
57
  * </ul>
58
- * <p>Note also that the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:Opencypher</a>
58
+ * <p>Note also that the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:OpenCypher</a>
59
59
  * IAM condition key can be used in the policy document to restrict the use of
60
60
  * openCypher queries (see <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html">Condition
61
61
  * keys available in Neptune IAM data-access policy statements</a>).</p>
@@ -28,7 +28,7 @@ export interface GetOpenCypherQueryStatusCommandOutput extends GetOpenCypherQuer
28
28
  * authentication enabled, the IAM user or role making the request must
29
29
  * have a policy attached that allows the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getquerystatus">neptune-db:GetQueryStatus</a>
30
30
  * IAM action in that cluster.</p>
31
- * <p>Note that the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:Opencypher</a>
31
+ * <p>Note that the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:OpenCypher</a>
32
32
  * IAM condition key can be used in the policy document to restrict the use of
33
33
  * openCypher queries (see <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html">Condition
34
34
  * keys available in Neptune IAM data-access policy statements</a>).</p>
@@ -51,7 +51,7 @@ export interface GetPropertygraphStreamCommandOutput extends GetPropertygraphStr
51
51
  * </li>
52
52
  * <li>
53
53
  * <p>
54
- * <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:Opencypher</a>
54
+ * <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:OpenCypher</a>
55
55
  * </p>
56
56
  * </li>
57
57
  * </ul>
@@ -29,7 +29,7 @@ export interface ListOpenCypherQueriesCommandOutput extends ListOpenCypherQuerie
29
29
  * authentication enabled, the IAM user or role making the request must
30
30
  * have a policy attached that allows the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getquerystatus">neptune-db:GetQueryStatus</a>
31
31
  * IAM action in that cluster.</p>
32
- * <p>Note that the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:Opencypher</a>
32
+ * <p>Note that the <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:OpenCypher</a>
33
33
  * IAM condition key can be used in the policy document to restrict the use of
34
34
  * openCypher queries (see <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html">Condition
35
35
  * keys available in Neptune IAM data-access policy statements</a>).</p>
@@ -13,4 +13,5 @@ export * from "./Neptunedata";
13
13
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
14
14
  export * from "./commands";
15
15
  export * from "./models";
16
+ import "@aws-sdk/util-endpoints";
16
17
  export { NeptunedataServiceException } from "./models/NeptunedataServiceException";
@@ -1096,7 +1096,6 @@ export declare class ServerShutdownException extends __BaseException {
1096
1096
  export declare class CancelledByUserException extends __BaseException {
1097
1097
  readonly name: "CancelledByUserException";
1098
1098
  readonly $fault: "server";
1099
- $retryable: {};
1100
1099
  /**
1101
1100
  * @public
1102
1101
  * <p>A detailed message describing the problem.</p>
@@ -3285,7 +3284,7 @@ export interface StartLoaderJobInput {
3285
3284
  /**
3286
3285
  * @public
3287
3286
  * <p>The format of the data. For more information about data formats for the Neptune
3288
- * <code>Loader</code> command, see <a href="https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format.html">Load Data Formats</a>.</p>
3287
+ * <code>Loader</code> command, see <a href="https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-tutorial-format.html">Load Data Formats</a>.</p>
3289
3288
  * <p class="title">
3290
3289
  * <b>Allowed values</b>
3291
3290
  * </p>
@@ -3362,14 +3361,14 @@ export interface StartLoaderJobInput {
3362
3361
  * <li>
3363
3362
  * <p>
3364
3363
  * <code>RESUME</code>   –   In RESUME mode,
3365
- * the loader looks for a previous load from this source, and if it finds
3366
- * one, resumes that load job. If no previous load job is found, the loader stops.</p>
3364
+ * the loader looks for a previous load from this source, and if it finds
3365
+ * one, resumes that load job. If no previous load job is found, the loader stops.</p>
3367
3366
  * <p>The loader avoids reloading files that were successfully loaded in
3368
- * a previous job. It only tries to process failed files. If you dropped
3369
- * previously loaded data from your Neptune cluster, that data is not
3370
- * reloaded in this mode. If a previous load job loaded all files from the
3371
- * same source successfully, nothing is reloaded, and the loader returns
3372
- * success.</p>
3367
+ * a previous job. It only tries to process failed files. If you dropped
3368
+ * previously loaded data from your Neptune cluster, that data is not
3369
+ * reloaded in this mode. If a previous load job loaded all files from the
3370
+ * same source successfully, nothing is reloaded, and the loader returns
3371
+ * success.</p>
3373
3372
  * </li>
3374
3373
  * <li>
3375
3374
  * <p>
@@ -3382,11 +3381,11 @@ export interface StartLoaderJobInput {
3382
3381
  * <li>
3383
3382
  * <p>
3384
3383
  * <code>AUTO</code>   –   In AUTO mode,
3385
- * the loader looks for a previous load job from the same source, and if it
3386
- * finds one, resumes that job, just as in <code>RESUME</code> mode.</p>
3384
+ * the loader looks for a previous load job from the same source, and if it
3385
+ * finds one, resumes that job, just as in <code>RESUME</code> mode.</p>
3387
3386
  * <p>If the loader doesn't find a previous load job from the same
3388
- * source, it loads all data from the source, just as in <code>NEW</code>
3389
- * mode.</p>
3387
+ * source, it loads all data from the source, just as in <code>NEW</code>
3388
+ * mode.</p>
3390
3389
  * </li>
3391
3390
  * </ul>
3392
3391
  */
@@ -3433,11 +3432,11 @@ export interface StartLoaderJobInput {
3433
3432
  * <li>
3434
3433
  * <p>
3435
3434
  * <code>OVERSUBSCRIBE</code> –   The number of threads used is the
3436
- * number of available vCPUs multiplied by 2. If this value is used, the bulk loader takes up all
3437
- * available resources.</p>
3435
+ * number of available vCPUs multiplied by 2. If this value is used, the bulk loader takes up all
3436
+ * available resources.</p>
3438
3437
  * <p>This does not mean, however, that the <code>OVERSUBSCRIBE</code> setting
3439
- * results in 100% CPU utilization. Because the load operation is I/O bound, the
3440
- * highest CPU utilization to expect is in the 60% to 70% range.</p>
3438
+ * results in 100% CPU utilization. Because the load operation is I/O bound, the
3439
+ * highest CPU utilization to expect is in the 60% to 70% range.</p>
3441
3440
  * </li>
3442
3441
  * </ul>
3443
3442
  * <p>
@@ -3466,8 +3465,8 @@ export interface StartLoaderJobInput {
3466
3465
  * <b>
3467
3466
  * <code>namedGraphUri</code>
3468
3467
  * </b>   –
3469
- * The default graph for all RDF formats when no graph is specified (for non-quads
3470
- * formats and NQUAD entries with no graph).</p>
3468
+ * The default graph for all RDF formats when no graph is specified (for non-quads
3469
+ * formats and NQUAD entries with no graph).</p>
3471
3470
  * <p>The default is <code>https://aws.amazon.com/neptune/vocab/v01/DefaultNamedGraph</code>.</p>
3472
3471
  * </li>
3473
3472
  * <li>
@@ -3475,7 +3474,7 @@ export interface StartLoaderJobInput {
3475
3474
  * <b>
3476
3475
  * <code>baseUri</code>
3477
3476
  * </b>   –
3478
- * The base URI for RDF/XML and Turtle formats.</p>
3477
+ * The base URI for RDF/XML and Turtle formats.</p>
3479
3478
  * <p>The default is <code>https://aws.amazon.com/neptune/default</code>.</p>
3480
3479
  * </li>
3481
3480
  * <li>
@@ -3483,13 +3482,13 @@ export interface StartLoaderJobInput {
3483
3482
  * <b>
3484
3483
  * <code>allowEmptyStrings</code>
3485
3484
  * </b>   –
3486
- * Gremlin users need to be able to pass empty string values("") as node
3487
- * and edge properties when loading CSV data. If <code>allowEmptyStrings</code>
3488
- * is set to <code>false</code> (the default), such empty strings are treated
3489
- * as nulls and are not loaded.</p>
3485
+ * Gremlin users need to be able to pass empty string values("") as node
3486
+ * and edge properties when loading CSV data. If <code>allowEmptyStrings</code>
3487
+ * is set to <code>false</code> (the default), such empty strings are treated
3488
+ * as nulls and are not loaded.</p>
3490
3489
  * <p>If <code>allowEmptyStrings</code> is set to <code>true</code>,
3491
- * the loader treats empty strings as valid property values and loads
3492
- * them accordingly.</p>
3490
+ * the loader treats empty strings as valid property values and loads
3491
+ * them accordingly.</p>
3493
3492
  * </li>
3494
3493
  * </ul>
3495
3494
  */
@@ -3498,33 +3497,34 @@ export interface StartLoaderJobInput {
3498
3497
  * @public
3499
3498
  * <p>
3500
3499
  * <code>updateSingleCardinalityProperties</code>
3501
- * is an optional parameter that controls how the bulk loader treats a new
3502
- * value for single-cardinality vertex or edge properties. This is not supported for
3503
- * loading openCypher data.</p>
3500
+ * is an optional parameter that controls how the bulk loader treats a new
3501
+ * value for single-cardinality vertex or edge properties. This is not supported for
3502
+ * loading openCypher data.</p>
3504
3503
  * <p>
3505
3504
  * <i>Allowed values</i>: <code>"TRUE"</code>, <code>"FALSE"</code>.</p>
3506
3505
  * <p>
3507
3506
  * <i>Default value</i>: <code>"FALSE"</code>.</p>
3508
3507
  * <p>By default, or when <code>updateSingleCardinalityProperties</code> is explicitly
3509
- * set to <code>"FALSE"</code>, the loader treats a new value as an error, because it
3510
- * violates single cardinality.</p>
3508
+ * set to <code>"FALSE"</code>, the loader treats a new value as an error, because it
3509
+ * violates single cardinality.</p>
3511
3510
  * <p>When <code>updateSingleCardinalityProperties</code> is set to <code>"TRUE"</code>,
3512
- * on the other hand, the bulk loader replaces the existing value with the new one.
3513
- * If multiple edge or single-cardinality vertex property values are provided in the
3514
- * source file(s) being loaded, the final value at the end of the bulk load could be
3515
- * any one of those new values. The loader only guarantees that the existing value
3516
- * has been replaced by one of the new ones.</p>
3511
+ * on the other hand, the bulk loader replaces the existing value with the new one.
3512
+ * If multiple edge or single-cardinality vertex property values are provided in the
3513
+ * source file(s) being loaded, the final value at the end of the bulk load could be
3514
+ * any one of those new values. The loader only guarantees that the existing value
3515
+ * has been replaced by one of the new ones.</p>
3517
3516
  */
3518
3517
  updateSingleCardinalityProperties?: boolean;
3519
3518
  /**
3520
3519
  * @public
3521
3520
  * <p>This is an optional flag parameter
3522
- * that indicates whether the load request can be queued up or not. </p>
3521
+ * that indicates whether the load request can be queued up or not. </p>
3523
3522
  * <p>You don't have to wait for one load job to complete before issuing the next one,
3524
- * because Neptune can queue up as many as 64 jobs at a time, provided that their
3525
- * <code>queueRequest</code> parameters are all set to <code>"TRUE"</code>.</p>
3523
+ * because Neptune can queue up as many as 64 jobs at a time, provided that their
3524
+ * <code>queueRequest</code> parameters are all set to <code>"TRUE"</code>.
3525
+ * The queue order of the jobs will be first-in-first-out (FIFO).</p>
3526
3526
  * <p>If the <code>queueRequest</code> parameter is omitted or set to <code>"FALSE"</code>,
3527
- * the load request will fail if another load job is already running.</p>
3527
+ * the load request will fail if another load job is already running.</p>
3528
3528
  * <p>
3529
3529
  * <i>Allowed values</i>: <code>"TRUE"</code>, <code>"FALSE"</code>.</p>
3530
3530
  * <p>
@@ -3565,19 +3565,19 @@ export interface StartLoaderJobInput {
3565
3565
  /**
3566
3566
  * @public
3567
3567
  * <p>This parameter is required only when loading openCypher data that contains relationship
3568
- * IDs. It must be included and set to <code>True</code> when openCypher relationship IDs
3569
- * are explicitly provided in the load data (recommended).</p>
3568
+ * IDs. It must be included and set to <code>True</code> when openCypher relationship IDs
3569
+ * are explicitly provided in the load data (recommended).</p>
3570
3570
  * <p>When <code>userProvidedEdgeIds</code> is absent or set to <code>True</code>,
3571
- * an <code>:ID</code> column must be present in every relationship file in the load.</p>
3571
+ * an <code>:ID</code> column must be present in every relationship file in the load.</p>
3572
3572
  * <p>When <code>userProvidedEdgeIds</code> is present and set to <code>False</code>,
3573
- * relationship files in the load <b>must not</b> contain an
3574
- * <code>:ID</code> column. Instead, the Neptune loader automatically generates an
3575
- * ID for each relationship.</p>
3573
+ * relationship files in the load <b>must not</b> contain an
3574
+ * <code>:ID</code> column. Instead, the Neptune loader automatically generates an
3575
+ * ID for each relationship.</p>
3576
3576
  * <p>It's useful to provide relationship IDs explicitly so that the loader can resume
3577
- * loading after error in the CSV data have been fixed, without having to reload any
3578
- * relationships that have already been loaded. If relationship IDs have not been
3579
- * explicitly assigned, the loader cannot resume a failed load if any relationship file
3580
- * has had to be corrected, and must instead reload all the relationships.</p>
3577
+ * loading after error in the CSV data have been fixed, without having to reload any
3578
+ * relationships that have already been loaded. If relationship IDs have not been
3579
+ * explicitly assigned, the loader cannot resume a failed load if any relationship file
3580
+ * has had to be corrected, and must instead reload all the relationships.</p>
3581
3581
  */
3582
3582
  userProvidedEdgeIds?: boolean;
3583
3583
  }
@@ -3,4 +3,5 @@ export * from "./Neptunedata";
3
3
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export * from "./commands";
5
5
  export * from "./models";
6
+ import "@aws-sdk/util-endpoints";
6
7
  export { NeptunedataServiceException } from "./models/NeptunedataServiceException";
@@ -353,7 +353,6 @@ export declare class ServerShutdownException extends __BaseException {
353
353
  export declare class CancelledByUserException extends __BaseException {
354
354
  readonly name: "CancelledByUserException";
355
355
  readonly $fault: "server";
356
- $retryable: {};
357
356
  detailedMessage: string | undefined;
358
357
  requestId: string | undefined;
359
358
  code: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-neptunedata",
3
3
  "description": "AWS SDK for JavaScript Neptunedata Client for Node.js, Browser and React Native",
4
- "version": "3.437.0",
4
+ "version": "3.440.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.437.0",
24
+ "@aws-sdk/client-sts": "3.438.0",
25
25
  "@aws-sdk/core": "3.436.0",
26
- "@aws-sdk/credential-provider-node": "3.437.0",
26
+ "@aws-sdk/credential-provider-node": "3.438.0",
27
27
  "@aws-sdk/middleware-host-header": "3.433.0",
28
28
  "@aws-sdk/middleware-logger": "3.433.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.433.0",
30
30
  "@aws-sdk/middleware-signing": "3.433.0",
31
- "@aws-sdk/middleware-user-agent": "3.433.0",
31
+ "@aws-sdk/middleware-user-agent": "3.438.0",
32
32
  "@aws-sdk/region-config-resolver": "3.433.0",
33
33
  "@aws-sdk/types": "3.433.0",
34
- "@aws-sdk/util-endpoints": "3.433.0",
34
+ "@aws-sdk/util-endpoints": "3.438.0",
35
35
  "@aws-sdk/util-user-agent-browser": "3.433.0",
36
36
  "@aws-sdk/util-user-agent-node": "3.437.0",
37
37
  "@smithy/config-resolver": "^2.0.16",
@@ -54,6 +54,7 @@
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
55
  "@smithy/util-defaults-mode-browser": "^2.0.16",
56
56
  "@smithy/util-defaults-mode-node": "^2.0.21",
57
+ "@smithy/util-endpoints": "^1.0.2",
57
58
  "@smithy/util-retry": "^2.0.5",
58
59
  "@smithy/util-stream": "^2.0.17",
59
60
  "@smithy/util-utf8": "^2.0.0",