diff --git a/clients/client-neptune-graph/src/commands/CreateGraphCommand.ts b/clients/client-neptune-graph/src/commands/CreateGraphCommand.ts index 49aa29b355af..6cd541b29380 100644 --- a/clients/client-neptune-graph/src/commands/CreateGraphCommand.ts +++ b/clients/client-neptune-graph/src/commands/CreateGraphCommand.ts @@ -54,7 +54,7 @@ export interface CreateGraphCommandOutput extends CreateGraphOutput, __MetadataB * // id: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required - * // status: "CREATING" || "AVAILABLE" || "DELETING" || "RESETTING" || "UPDATING" || "SNAPSHOTTING" || "FAILED", + * // status: "CREATING" || "AVAILABLE" || "DELETING" || "RESETTING" || "UPDATING" || "SNAPSHOTTING" || "FAILED" || "IMPORTING", * // statusReason: "STRING_VALUE", * // createTime: new Date("TIMESTAMP"), * // provisionedMemory: Number("int"), diff --git a/clients/client-neptune-graph/src/commands/CreatePrivateGraphEndpointCommand.ts b/clients/client-neptune-graph/src/commands/CreatePrivateGraphEndpointCommand.ts index 3e435679c4db..e0fa73d58761 100644 --- a/clients/client-neptune-graph/src/commands/CreatePrivateGraphEndpointCommand.ts +++ b/clients/client-neptune-graph/src/commands/CreatePrivateGraphEndpointCommand.ts @@ -28,7 +28,10 @@ export interface CreatePrivateGraphEndpointCommandOutput extends CreatePrivateGr /** *
Create a private graph endpoint to allow private access from to the graph from within - * a VPC. You can attach security groups to the private graph endpoint. VPC endpoint charges apply.
+ * a VPC. You can attach security groups to the private graph endpoint. + *VPC endpoint charges apply.
+ *Execute an openCypher query.
*
* When invoking this operation in a Neptune Analytics cluster, the IAM user or role making the request must have a policy attached
* that allows one of the following IAM actions in that cluster, depending on the query:
@@ -46,13 +45,6 @@ export interface ExecuteQueryCommandOutput extends Omit
- * Non-parametrized queries are not considered for plan caching. You can force plan caching with
- * planCache=enabled
. The plan cache will be reused only for the same exact query. Slight variations
- * in the query will not be able to reuse the query plan cache.
- *
The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 128
+ *The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.
+ *Min = 128
* @public */ provisionedMemory?: number; @@ -744,6 +746,9 @@ export interface CreateGraphOutput { /** *Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated.
+ *If enabling public connectivity for the first time, there will be a delay while it is enabled.
+ *The number of replicas in other AZs.
+ *Default: If not specified, the default value is 1.
* @public */ replicaCount?: number; @@ -1300,7 +1306,8 @@ export interface RestoreGraphFromSnapshotInput { graphName: string | undefined; /** - *The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 128
+ *The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.
+ *Min = 128
* @public */ provisionedMemory?: number; @@ -1446,7 +1453,8 @@ export interface UpdateGraphInput { publicConnectivity?: boolean; /** - *The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 128
+ *The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.
+ *Min = 128
* @public */ provisionedMemory?: number; diff --git a/clients/client-neptune-graph/src/waiters/waitForImportTaskCancelled.ts b/clients/client-neptune-graph/src/waiters/waitForImportTaskCancelled.ts index b2261102f939..7b291c8b5bd0 100644 --- a/clients/client-neptune-graph/src/waiters/waitForImportTaskCancelled.ts +++ b/clients/client-neptune-graph/src/waiters/waitForImportTaskCancelled.ts @@ -11,7 +11,7 @@ const checkState = async (client: NeptuneGraphClient, input: GetImportTaskComman reason = result; try { const returnComparator = () => { - return result.status != "CANCELLING"; + return result.status != "CANCELLING" && result.status != "CANCELLED"; }; if (returnComparator() == true) { return { state: WaiterState.FAILURE, reason }; diff --git a/codegen/sdk-codegen/aws-models/neptune-graph.json b/codegen/sdk-codegen/aws-models/neptune-graph.json index 3cb4731ea73f..9fc2df33393f 100644 --- a/codegen/sdk-codegen/aws-models/neptune-graph.json +++ b/codegen/sdk-codegen/aws-models/neptune-graph.json @@ -1884,7 +1884,7 @@ "provisionedMemory": { "target": "com.amazonaws.neptunegraph#ProvisionedMemory", "traits": { - "smithy.api#documentation": "The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 128
" + "smithy.api#documentation": "The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.
\nMin = 128
" } }, "endpoint": { @@ -1896,7 +1896,7 @@ "publicConnectivity": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated.
" + "smithy.api#documentation": "Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated.
\nIf enabling public connectivity for the first time, there will be a delay while it is enabled.
\nThe number of replicas in other AZs.
" + "smithy.api#documentation": "The number of replicas in other AZs.
\nDefault: If not specified, the default value is 1.
" } }, "kmsKeyIdentifier": { @@ -2283,7 +2283,7 @@ ], "traits": { "aws.api#controlPlane": {}, - "smithy.api#documentation": "Create a private graph endpoint to allow private access from to the graph from within\n a VPC. You can attach security groups to the private graph endpoint. VPC endpoint charges apply.
", + "smithy.api#documentation": "Create a private graph endpoint to allow private access from to the graph from within\n a VPC. You can attach security groups to the private graph endpoint.
\nVPC endpoint charges apply.
\nExecute an openCypher query. Currently, the SDK does not support parameterized queries. If you want to make a \n parameterized query call, you can use an HTTP request.
\n\n When invoking this operation in a Neptune Analytics cluster, the IAM user or role making the request must have a policy attached \n that allows one of the following IAM actions in that cluster, depending on the query:\n
\nneptune-graph:ReadDataViaQuery
\nneptune-graph:WriteDataViaQuery
\nneptune-graph:DeleteDataViaQuery
\n\n Non-parametrized queries are not considered for plan caching. You can force plan caching with \n planCache=enabled
. The plan cache will be reused only for the same exact query. Slight variations \n in the query will not be able to reuse the query plan cache.\n
Execute an openCypher query.
\n\n When invoking this operation in a Neptune Analytics cluster, the IAM user or role making the request must have a policy attached \n that allows one of the following IAM actions in that cluster, depending on the query:\n
\nneptune-graph:ReadDataViaQuery
\nneptune-graph:WriteDataViaQuery
\nneptune-graph:DeleteDataViaQuery
\nThe provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 128
" + "smithy.api#documentation": "The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.
\nMin = 128
" } }, "deletionProtection": { @@ -6202,7 +6208,7 @@ "provisionedMemory": { "target": "com.amazonaws.neptunegraph#ProvisionedMemory", "traits": { - "smithy.api#documentation": "The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 128
" + "smithy.api#documentation": "The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.
\nMin = 128
" } }, "deletionProtection": {