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.

+ *
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-neptune-graph/src/commands/DeleteGraphCommand.ts b/clients/client-neptune-graph/src/commands/DeleteGraphCommand.ts index effa0c21400c..3c525ae46961 100644 --- a/clients/client-neptune-graph/src/commands/DeleteGraphCommand.ts +++ b/clients/client-neptune-graph/src/commands/DeleteGraphCommand.ts @@ -44,7 +44,7 @@ export interface DeleteGraphCommandOutput extends DeleteGraphOutput, __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/ExecuteQueryCommand.ts b/clients/client-neptune-graph/src/commands/ExecuteQueryCommand.ts index 0e1f493d0fef..0910f8341a9e 100644 --- a/clients/client-neptune-graph/src/commands/ExecuteQueryCommand.ts +++ b/clients/client-neptune-graph/src/commands/ExecuteQueryCommand.ts @@ -29,8 +29,7 @@ export interface ExecuteQueryCommandOutput extends OmitExecute an openCypher query. Currently, the SDK does not support parameterized queries. If you want to make a - * parameterized query call, you can use an HTTP request.

+ *

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 Omitneptune-graph:DeleteDataViaQuery

* * - * - *

- * 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. - *

- *
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-neptune-graph/src/commands/GetGraphCommand.ts b/clients/client-neptune-graph/src/commands/GetGraphCommand.ts index 874a0679560a..2d46eb1424f2 100644 --- a/clients/client-neptune-graph/src/commands/GetGraphCommand.ts +++ b/clients/client-neptune-graph/src/commands/GetGraphCommand.ts @@ -43,7 +43,7 @@ export interface GetGraphCommandOutput extends GetGraphOutput, __MetadataBearer * // 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/ListGraphsCommand.ts b/clients/client-neptune-graph/src/commands/ListGraphsCommand.ts index 196c743b769f..f05c4b48b2fd 100644 --- a/clients/client-neptune-graph/src/commands/ListGraphsCommand.ts +++ b/clients/client-neptune-graph/src/commands/ListGraphsCommand.ts @@ -46,7 +46,7 @@ export interface ListGraphsCommandOutput extends ListGraphsOutput, __MetadataBea * // 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", * // provisionedMemory: Number("int"), * // publicConnectivity: true || false, * // endpoint: "STRING_VALUE", diff --git a/clients/client-neptune-graph/src/commands/ResetGraphCommand.ts b/clients/client-neptune-graph/src/commands/ResetGraphCommand.ts index 47c00cdcdb11..424cb3454c90 100644 --- a/clients/client-neptune-graph/src/commands/ResetGraphCommand.ts +++ b/clients/client-neptune-graph/src/commands/ResetGraphCommand.ts @@ -44,7 +44,7 @@ export interface ResetGraphCommandOutput extends ResetGraphOutput, __MetadataBea * // 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/RestoreGraphFromSnapshotCommand.ts b/clients/client-neptune-graph/src/commands/RestoreGraphFromSnapshotCommand.ts index db4e4cdf3c03..89af421760c4 100644 --- a/clients/client-neptune-graph/src/commands/RestoreGraphFromSnapshotCommand.ts +++ b/clients/client-neptune-graph/src/commands/RestoreGraphFromSnapshotCommand.ts @@ -51,7 +51,7 @@ export interface RestoreGraphFromSnapshotCommandOutput extends RestoreGraphFromS * // 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/UpdateGraphCommand.ts b/clients/client-neptune-graph/src/commands/UpdateGraphCommand.ts index e14fa5b67ef3..7ffc0a4a74ce 100644 --- a/clients/client-neptune-graph/src/commands/UpdateGraphCommand.ts +++ b/clients/client-neptune-graph/src/commands/UpdateGraphCommand.ts @@ -46,7 +46,7 @@ export interface UpdateGraphCommandOutput extends UpdateGraphOutput, __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/models/models_0.ts b/clients/client-neptune-graph/src/models/models_0.ts index f8b58934259c..d7369bd9ea83 100644 --- a/clients/client-neptune-graph/src/models/models_0.ts +++ b/clients/client-neptune-graph/src/models/models_0.ts @@ -677,6 +677,7 @@ export const GraphStatus = { CREATING: "CREATING", DELETING: "DELETING", FAILED: "FAILED", + IMPORTING: "IMPORTING", RESETTING: "RESETTING", SNAPSHOTTING: "SNAPSHOTTING", UPDATING: "UPDATING", @@ -731,7 +732,8 @@ export interface CreateGraphOutput { createTime?: Date; /** - *

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.

+ *
* @public */ publicConnectivity?: boolean; @@ -757,6 +762,7 @@ export interface CreateGraphOutput { /** *

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.

\n

Min = 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.

\n \n

If enabling public connectivity for the first time, there will be a delay while it is enabled.

\n
" } }, "vectorSearchConfiguration": { @@ -1908,7 +1908,7 @@ "replicaCount": { "target": "com.amazonaws.neptunegraph#ReplicaCount", "traits": { - "smithy.api#documentation": "

The number of replicas in other AZs.

" + "smithy.api#documentation": "

The number of replicas in other AZs.

\n

Default: 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.

\n \n

VPC endpoint charges apply.

\n
", "smithy.api#http": { "code": 201, "method": "POST", @@ -2812,7 +2812,7 @@ ], "traits": { "aws.api#dataPlane": {}, - "smithy.api#documentation": "

Execute 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

\n \n \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

\n
", + "smithy.api#documentation": "

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

\n ", "smithy.api#endpoint": { "hostPrefix": "{graphIdentifier}." }, @@ -3516,7 +3516,7 @@ "state": "failure", "matcher": { "output": { - "path": "status != 'CANCELLING'", + "path": "status != 'CANCELLING' && status != 'CANCELLED'", "expected": "true", "comparator": "booleanEquals" } @@ -4134,6 +4134,12 @@ "traits": { "smithy.api#enumValue": "FAILED" } + }, + "IMPORTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORTING" + } } } }, @@ -5578,7 +5584,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.

\n

Min = 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.

\n

Min = 128

" } }, "deletionProtection": {