Skip to content

Commit 1c2b78d

Browse files
author
awstools
committed
feat(client-neptunedata): Minor change to not retry CancelledByUserException
1 parent 5f73bcd commit 1c2b78d

File tree

7 files changed

+68
-69
lines changed

7 files changed

+68
-69
lines changed

clients/client-neptunedata/src/commands/ExecuteOpenCypherExplainQueryCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface ExecuteOpenCypherExplainQueryCommandOutput
5757
* authentication enabled, the IAM user or role making the request must
5858
* 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>
5959
* IAM action in that cluster.</p>
60-
* <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>
60+
* <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>
6161
* IAM condition key can be used in the policy document to restrict the use of
6262
* openCypher queries (see <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html">Condition
6363
* keys available in Neptune IAM data-access policy statements</a>).</p>

clients/client-neptunedata/src/commands/ExecuteOpenCypherQueryCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export interface ExecuteOpenCypherQueryCommandOutput extends ExecuteOpenCypherQu
6969
* </p>
7070
* </li>
7171
* </ul>
72-
* <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>
72+
* <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>
7373
* IAM condition key can be used in the policy document to restrict the use of
7474
* openCypher queries (see <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html">Condition
7575
* keys available in Neptune IAM data-access policy statements</a>).</p>

clients/client-neptunedata/src/commands/GetOpenCypherQueryStatusCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface GetOpenCypherQueryStatusCommandOutput extends GetOpenCypherQuer
4242
* authentication enabled, the IAM user or role making the request must
4343
* 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>
4444
* IAM action in that cluster.</p>
45-
* <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>
45+
* <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>
4646
* IAM condition key can be used in the policy document to restrict the use of
4747
* openCypher queries (see <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html">Condition
4848
* keys available in Neptune IAM data-access policy statements</a>).</p>

clients/client-neptunedata/src/commands/GetPropertygraphStreamCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export interface GetPropertygraphStreamCommandOutput extends GetPropertygraphStr
6565
* </li>
6666
* <li>
6767
* <p>
68-
* <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:Opencypher</a>
68+
* <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys">neptune-db:QueryLanguage:OpenCypher</a>
6969
* </p>
7070
* </li>
7171
* </ul>

clients/client-neptunedata/src/commands/ListOpenCypherQueriesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface ListOpenCypherQueriesCommandOutput extends ListOpenCypherQuerie
4343
* authentication enabled, the IAM user or role making the request must
4444
* 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>
4545
* IAM action in that cluster.</p>
46-
* <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>
46+
* <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>
4747
* IAM condition key can be used in the policy document to restrict the use of
4848
* openCypher queries (see <a href="https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html">Condition
4949
* keys available in Neptune IAM data-access policy statements</a>).</p>

clients/client-neptunedata/src/models/models_0.ts

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,6 @@ export class ServerShutdownException extends __BaseException {
14621462
export class CancelledByUserException extends __BaseException {
14631463
readonly name: "CancelledByUserException" = "CancelledByUserException";
14641464
readonly $fault: "server" = "server";
1465-
$retryable = {};
14661465
/**
14671466
* @public
14681467
* <p>A detailed message describing the problem.</p>
@@ -4017,7 +4016,7 @@ export interface StartLoaderJobInput {
40174016
/**
40184017
* @public
40194018
* <p>The format of the data. For more information about data formats for the Neptune
4020-
* <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>
4019+
* <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>
40214020
* <p class="title">
40224021
* <b>Allowed values</b>
40234022
* </p>
@@ -4097,14 +4096,14 @@ export interface StartLoaderJobInput {
40974096
* <li>
40984097
* <p>
40994098
* <code>RESUME</code>   –   In RESUME mode,
4100-
* the loader looks for a previous load from this source, and if it finds
4101-
* one, resumes that load job. If no previous load job is found, the loader stops.</p>
4099+
* the loader looks for a previous load from this source, and if it finds
4100+
* one, resumes that load job. If no previous load job is found, the loader stops.</p>
41024101
* <p>The loader avoids reloading files that were successfully loaded in
4103-
* a previous job. It only tries to process failed files. If you dropped
4104-
* previously loaded data from your Neptune cluster, that data is not
4105-
* reloaded in this mode. If a previous load job loaded all files from the
4106-
* same source successfully, nothing is reloaded, and the loader returns
4107-
* success.</p>
4102+
* a previous job. It only tries to process failed files. If you dropped
4103+
* previously loaded data from your Neptune cluster, that data is not
4104+
* reloaded in this mode. If a previous load job loaded all files from the
4105+
* same source successfully, nothing is reloaded, and the loader returns
4106+
* success.</p>
41084107
* </li>
41094108
* <li>
41104109
* <p>
@@ -4117,11 +4116,11 @@ export interface StartLoaderJobInput {
41174116
* <li>
41184117
* <p>
41194118
* <code>AUTO</code>   –   In AUTO mode,
4120-
* the loader looks for a previous load job from the same source, and if it
4121-
* finds one, resumes that job, just as in <code>RESUME</code> mode.</p>
4119+
* the loader looks for a previous load job from the same source, and if it
4120+
* finds one, resumes that job, just as in <code>RESUME</code> mode.</p>
41224121
* <p>If the loader doesn't find a previous load job from the same
4123-
* source, it loads all data from the source, just as in <code>NEW</code>
4124-
* mode.</p>
4122+
* source, it loads all data from the source, just as in <code>NEW</code>
4123+
* mode.</p>
41254124
* </li>
41264125
* </ul>
41274126
*/
@@ -4170,11 +4169,11 @@ export interface StartLoaderJobInput {
41704169
* <li>
41714170
* <p>
41724171
* <code>OVERSUBSCRIBE</code> –   The number of threads used is the
4173-
* number of available vCPUs multiplied by 2. If this value is used, the bulk loader takes up all
4174-
* available resources.</p>
4172+
* number of available vCPUs multiplied by 2. If this value is used, the bulk loader takes up all
4173+
* available resources.</p>
41754174
* <p>This does not mean, however, that the <code>OVERSUBSCRIBE</code> setting
4176-
* results in 100% CPU utilization. Because the load operation is I/O bound, the
4177-
* highest CPU utilization to expect is in the 60% to 70% range.</p>
4175+
* results in 100% CPU utilization. Because the load operation is I/O bound, the
4176+
* highest CPU utilization to expect is in the 60% to 70% range.</p>
41784177
* </li>
41794178
* </ul>
41804179
* <p>
@@ -4204,30 +4203,30 @@ export interface StartLoaderJobInput {
42044203
* <b>
42054204
* <code>namedGraphUri</code>
42064205
* </b>   –
4207-
* The default graph for all RDF formats when no graph is specified (for non-quads
4208-
* formats and NQUAD entries with no graph).</p>
4206+
* The default graph for all RDF formats when no graph is specified (for non-quads
4207+
* formats and NQUAD entries with no graph).</p>
42094208
* <p>The default is <code>https://aws.amazon.com/neptune/vocab/v01/DefaultNamedGraph</code>.</p>
42104209
* </li>
42114210
* <li>
42124211
* <p>
42134212
* <b>
42144213
* <code>baseUri</code>
42154214
* </b>   –
4216-
* The base URI for RDF/XML and Turtle formats.</p>
4215+
* The base URI for RDF/XML and Turtle formats.</p>
42174216
* <p>The default is <code>https://aws.amazon.com/neptune/default</code>.</p>
42184217
* </li>
42194218
* <li>
42204219
* <p>
42214220
* <b>
42224221
* <code>allowEmptyStrings</code>
42234222
* </b>   –
4224-
* Gremlin users need to be able to pass empty string values("") as node
4225-
* and edge properties when loading CSV data. If <code>allowEmptyStrings</code>
4226-
* is set to <code>false</code> (the default), such empty strings are treated
4227-
* as nulls and are not loaded.</p>
4223+
* Gremlin users need to be able to pass empty string values("") as node
4224+
* and edge properties when loading CSV data. If <code>allowEmptyStrings</code>
4225+
* is set to <code>false</code> (the default), such empty strings are treated
4226+
* as nulls and are not loaded.</p>
42284227
* <p>If <code>allowEmptyStrings</code> is set to <code>true</code>,
4229-
* the loader treats empty strings as valid property values and loads
4230-
* them accordingly.</p>
4228+
* the loader treats empty strings as valid property values and loads
4229+
* them accordingly.</p>
42314230
* </li>
42324231
* </ul>
42334232
*/
@@ -4237,34 +4236,35 @@ export interface StartLoaderJobInput {
42374236
* @public
42384237
* <p>
42394238
* <code>updateSingleCardinalityProperties</code>
4240-
* is an optional parameter that controls how the bulk loader treats a new
4241-
* value for single-cardinality vertex or edge properties. This is not supported for
4242-
* loading openCypher data.</p>
4239+
* is an optional parameter that controls how the bulk loader treats a new
4240+
* value for single-cardinality vertex or edge properties. This is not supported for
4241+
* loading openCypher data.</p>
42434242
* <p>
42444243
* <i>Allowed values</i>: <code>"TRUE"</code>, <code>"FALSE"</code>.</p>
42454244
* <p>
42464245
* <i>Default value</i>: <code>"FALSE"</code>.</p>
42474246
* <p>By default, or when <code>updateSingleCardinalityProperties</code> is explicitly
4248-
* set to <code>"FALSE"</code>, the loader treats a new value as an error, because it
4249-
* violates single cardinality.</p>
4247+
* set to <code>"FALSE"</code>, the loader treats a new value as an error, because it
4248+
* violates single cardinality.</p>
42504249
* <p>When <code>updateSingleCardinalityProperties</code> is set to <code>"TRUE"</code>,
4251-
* on the other hand, the bulk loader replaces the existing value with the new one.
4252-
* If multiple edge or single-cardinality vertex property values are provided in the
4253-
* source file(s) being loaded, the final value at the end of the bulk load could be
4254-
* any one of those new values. The loader only guarantees that the existing value
4255-
* has been replaced by one of the new ones.</p>
4250+
* on the other hand, the bulk loader replaces the existing value with the new one.
4251+
* If multiple edge or single-cardinality vertex property values are provided in the
4252+
* source file(s) being loaded, the final value at the end of the bulk load could be
4253+
* any one of those new values. The loader only guarantees that the existing value
4254+
* has been replaced by one of the new ones.</p>
42564255
*/
42574256
updateSingleCardinalityProperties?: boolean;
42584257

42594258
/**
42604259
* @public
42614260
* <p>This is an optional flag parameter
4262-
* that indicates whether the load request can be queued up or not. </p>
4261+
* that indicates whether the load request can be queued up or not. </p>
42634262
* <p>You don't have to wait for one load job to complete before issuing the next one,
4264-
* because Neptune can queue up as many as 64 jobs at a time, provided that their
4265-
* <code>queueRequest</code> parameters are all set to <code>"TRUE"</code>.</p>
4263+
* because Neptune can queue up as many as 64 jobs at a time, provided that their
4264+
* <code>queueRequest</code> parameters are all set to <code>"TRUE"</code>.
4265+
* The queue order of the jobs will be first-in-first-out (FIFO).</p>
42664266
* <p>If the <code>queueRequest</code> parameter is omitted or set to <code>"FALSE"</code>,
4267-
* the load request will fail if another load job is already running.</p>
4267+
* the load request will fail if another load job is already running.</p>
42684268
* <p>
42694269
* <i>Allowed values</i>: <code>"TRUE"</code>, <code>"FALSE"</code>.</p>
42704270
* <p>
@@ -4307,19 +4307,19 @@ export interface StartLoaderJobInput {
43074307
/**
43084308
* @public
43094309
* <p>This parameter is required only when loading openCypher data that contains relationship
4310-
* IDs. It must be included and set to <code>True</code> when openCypher relationship IDs
4311-
* are explicitly provided in the load data (recommended).</p>
4310+
* IDs. It must be included and set to <code>True</code> when openCypher relationship IDs
4311+
* are explicitly provided in the load data (recommended).</p>
43124312
* <p>When <code>userProvidedEdgeIds</code> is absent or set to <code>True</code>,
4313-
* an <code>:ID</code> column must be present in every relationship file in the load.</p>
4313+
* an <code>:ID</code> column must be present in every relationship file in the load.</p>
43144314
* <p>When <code>userProvidedEdgeIds</code> is present and set to <code>False</code>,
4315-
* relationship files in the load <b>must not</b> contain an
4316-
* <code>:ID</code> column. Instead, the Neptune loader automatically generates an
4317-
* ID for each relationship.</p>
4315+
* relationship files in the load <b>must not</b> contain an
4316+
* <code>:ID</code> column. Instead, the Neptune loader automatically generates an
4317+
* ID for each relationship.</p>
43184318
* <p>It's useful to provide relationship IDs explicitly so that the loader can resume
4319-
* loading after error in the CSV data have been fixed, without having to reload any
4320-
* relationships that have already been loaded. If relationship IDs have not been
4321-
* explicitly assigned, the loader cannot resume a failed load if any relationship file
4322-
* has had to be corrected, and must instead reload all the relationships.</p>
4319+
* loading after error in the CSV data have been fixed, without having to reload any
4320+
* relationships that have already been loaded. If relationship IDs have not been
4321+
* explicitly assigned, the loader cannot resume a failed load if any relationship file
4322+
* has had to be corrected, and must instead reload all the relationships.</p>
43234323
*/
43244324
userProvidedEdgeIds?: boolean;
43254325
}

0 commit comments

Comments
 (0)