@aws-sdk/client-neptune 3.470.0 → 3.471.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/dist-cjs/protocols/Aws_query.js +27 -0
- package/dist-es/protocols/Aws_query.js +27 -0
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/CreateDBClusterCommand.d.ts +4 -0
- package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +3 -0
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +3 -0
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +8 -0
- package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +3 -0
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +4 -0
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +4 -0
- package/dist-types/commands/StartDBClusterCommand.d.ts +3 -0
- package/dist-types/commands/StopDBClusterCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +101 -4
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +1 -1
|
@@ -2645,6 +2645,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
|
2645
2645
|
case "StorageQuotaExceeded":
|
|
2646
2646
|
case "com.amazonaws.neptune#StorageQuotaExceededFault":
|
|
2647
2647
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2648
|
+
case "StorageTypeNotSupported":
|
|
2649
|
+
case "com.amazonaws.neptune#StorageTypeNotSupportedFault":
|
|
2650
|
+
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2648
2651
|
default:
|
|
2649
2652
|
const parsedBody = parsedOutput.body;
|
|
2650
2653
|
return throwDefaultError({
|
|
@@ -4482,6 +4485,9 @@ const se_CreateDBClusterMessage = (input, context) => {
|
|
|
4482
4485
|
if (input.GlobalClusterIdentifier != null) {
|
|
4483
4486
|
entries["GlobalClusterIdentifier"] = input.GlobalClusterIdentifier;
|
|
4484
4487
|
}
|
|
4488
|
+
if (input.StorageType != null) {
|
|
4489
|
+
entries["StorageType"] = input.StorageType;
|
|
4490
|
+
}
|
|
4485
4491
|
return entries;
|
|
4486
4492
|
};
|
|
4487
4493
|
const se_CreateDBClusterParameterGroupMessage = (input, context) => {
|
|
@@ -5599,6 +5605,9 @@ const se_ModifyDBClusterMessage = (input, context) => {
|
|
|
5599
5605
|
entries[loc] = value;
|
|
5600
5606
|
});
|
|
5601
5607
|
}
|
|
5608
|
+
if (input.StorageType != null) {
|
|
5609
|
+
entries["StorageType"] = input.StorageType;
|
|
5610
|
+
}
|
|
5602
5611
|
return entries;
|
|
5603
5612
|
};
|
|
5604
5613
|
const se_ModifyDBClusterParameterGroupMessage = (input, context) => {
|
|
@@ -6107,6 +6116,9 @@ const se_RestoreDBClusterFromSnapshotMessage = (input, context) => {
|
|
|
6107
6116
|
entries[loc] = value;
|
|
6108
6117
|
});
|
|
6109
6118
|
}
|
|
6119
|
+
if (input.StorageType != null) {
|
|
6120
|
+
entries["StorageType"] = input.StorageType;
|
|
6121
|
+
}
|
|
6110
6122
|
return entries;
|
|
6111
6123
|
};
|
|
6112
6124
|
const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
|
|
@@ -6184,6 +6196,9 @@ const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
|
|
|
6184
6196
|
entries[loc] = value;
|
|
6185
6197
|
});
|
|
6186
6198
|
}
|
|
6199
|
+
if (input.StorageType != null) {
|
|
6200
|
+
entries["StorageType"] = input.StorageType;
|
|
6201
|
+
}
|
|
6187
6202
|
return entries;
|
|
6188
6203
|
};
|
|
6189
6204
|
const se_ServerlessV2ScalingConfiguration = (input, context) => {
|
|
@@ -6366,6 +6381,9 @@ const de_ClusterPendingModifiedValues = (output, context) => {
|
|
|
6366
6381
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
6367
6382
|
contents.BackupRetentionPeriod = (0, smithy_client_1.strictParseInt32)(output["BackupRetentionPeriod"]);
|
|
6368
6383
|
}
|
|
6384
|
+
if (output["StorageType"] !== undefined) {
|
|
6385
|
+
contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
|
|
6386
|
+
}
|
|
6369
6387
|
if (output["AllocatedStorage"] !== undefined) {
|
|
6370
6388
|
contents.AllocatedStorage = (0, smithy_client_1.strictParseInt32)(output["AllocatedStorage"]);
|
|
6371
6389
|
}
|
|
@@ -6648,6 +6666,12 @@ const de_DBCluster = (output, context) => {
|
|
|
6648
6666
|
if (output["GlobalClusterIdentifier"] !== undefined) {
|
|
6649
6667
|
contents.GlobalClusterIdentifier = (0, smithy_client_1.expectString)(output["GlobalClusterIdentifier"]);
|
|
6650
6668
|
}
|
|
6669
|
+
if (output["IOOptimizedNextAllowedModificationTime"] !== undefined) {
|
|
6670
|
+
contents.IOOptimizedNextAllowedModificationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["IOOptimizedNextAllowedModificationTime"]));
|
|
6671
|
+
}
|
|
6672
|
+
if (output["StorageType"] !== undefined) {
|
|
6673
|
+
contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
|
|
6674
|
+
}
|
|
6651
6675
|
return contents;
|
|
6652
6676
|
};
|
|
6653
6677
|
const de_DBClusterAlreadyExistsFault = (output, context) => {
|
|
@@ -6984,6 +7008,9 @@ const de_DBClusterSnapshot = (output, context) => {
|
|
|
6984
7008
|
if (output["IAMDatabaseAuthenticationEnabled"] !== undefined) {
|
|
6985
7009
|
contents.IAMDatabaseAuthenticationEnabled = (0, smithy_client_1.parseBoolean)(output["IAMDatabaseAuthenticationEnabled"]);
|
|
6986
7010
|
}
|
|
7011
|
+
if (output["StorageType"] !== undefined) {
|
|
7012
|
+
contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
|
|
7013
|
+
}
|
|
6987
7014
|
return contents;
|
|
6988
7015
|
};
|
|
6989
7016
|
const de_DBClusterSnapshotAlreadyExistsFault = (output, context) => {
|
|
@@ -2522,6 +2522,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
|
2522
2522
|
case "StorageQuotaExceeded":
|
|
2523
2523
|
case "com.amazonaws.neptune#StorageQuotaExceededFault":
|
|
2524
2524
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2525
|
+
case "StorageTypeNotSupported":
|
|
2526
|
+
case "com.amazonaws.neptune#StorageTypeNotSupportedFault":
|
|
2527
|
+
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2525
2528
|
default:
|
|
2526
2529
|
const parsedBody = parsedOutput.body;
|
|
2527
2530
|
return throwDefaultError({
|
|
@@ -4339,6 +4342,9 @@ const se_CreateDBClusterMessage = (input, context) => {
|
|
|
4339
4342
|
if (input.GlobalClusterIdentifier != null) {
|
|
4340
4343
|
entries["GlobalClusterIdentifier"] = input.GlobalClusterIdentifier;
|
|
4341
4344
|
}
|
|
4345
|
+
if (input.StorageType != null) {
|
|
4346
|
+
entries["StorageType"] = input.StorageType;
|
|
4347
|
+
}
|
|
4342
4348
|
return entries;
|
|
4343
4349
|
};
|
|
4344
4350
|
const se_CreateDBClusterParameterGroupMessage = (input, context) => {
|
|
@@ -5456,6 +5462,9 @@ const se_ModifyDBClusterMessage = (input, context) => {
|
|
|
5456
5462
|
entries[loc] = value;
|
|
5457
5463
|
});
|
|
5458
5464
|
}
|
|
5465
|
+
if (input.StorageType != null) {
|
|
5466
|
+
entries["StorageType"] = input.StorageType;
|
|
5467
|
+
}
|
|
5459
5468
|
return entries;
|
|
5460
5469
|
};
|
|
5461
5470
|
const se_ModifyDBClusterParameterGroupMessage = (input, context) => {
|
|
@@ -5964,6 +5973,9 @@ const se_RestoreDBClusterFromSnapshotMessage = (input, context) => {
|
|
|
5964
5973
|
entries[loc] = value;
|
|
5965
5974
|
});
|
|
5966
5975
|
}
|
|
5976
|
+
if (input.StorageType != null) {
|
|
5977
|
+
entries["StorageType"] = input.StorageType;
|
|
5978
|
+
}
|
|
5967
5979
|
return entries;
|
|
5968
5980
|
};
|
|
5969
5981
|
const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
|
|
@@ -6041,6 +6053,9 @@ const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
|
|
|
6041
6053
|
entries[loc] = value;
|
|
6042
6054
|
});
|
|
6043
6055
|
}
|
|
6056
|
+
if (input.StorageType != null) {
|
|
6057
|
+
entries["StorageType"] = input.StorageType;
|
|
6058
|
+
}
|
|
6044
6059
|
return entries;
|
|
6045
6060
|
};
|
|
6046
6061
|
const se_ServerlessV2ScalingConfiguration = (input, context) => {
|
|
@@ -6223,6 +6238,9 @@ const de_ClusterPendingModifiedValues = (output, context) => {
|
|
|
6223
6238
|
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
6224
6239
|
contents.BackupRetentionPeriod = __strictParseInt32(output["BackupRetentionPeriod"]);
|
|
6225
6240
|
}
|
|
6241
|
+
if (output["StorageType"] !== undefined) {
|
|
6242
|
+
contents.StorageType = __expectString(output["StorageType"]);
|
|
6243
|
+
}
|
|
6226
6244
|
if (output["AllocatedStorage"] !== undefined) {
|
|
6227
6245
|
contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]);
|
|
6228
6246
|
}
|
|
@@ -6505,6 +6523,12 @@ const de_DBCluster = (output, context) => {
|
|
|
6505
6523
|
if (output["GlobalClusterIdentifier"] !== undefined) {
|
|
6506
6524
|
contents.GlobalClusterIdentifier = __expectString(output["GlobalClusterIdentifier"]);
|
|
6507
6525
|
}
|
|
6526
|
+
if (output["IOOptimizedNextAllowedModificationTime"] !== undefined) {
|
|
6527
|
+
contents.IOOptimizedNextAllowedModificationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["IOOptimizedNextAllowedModificationTime"]));
|
|
6528
|
+
}
|
|
6529
|
+
if (output["StorageType"] !== undefined) {
|
|
6530
|
+
contents.StorageType = __expectString(output["StorageType"]);
|
|
6531
|
+
}
|
|
6508
6532
|
return contents;
|
|
6509
6533
|
};
|
|
6510
6534
|
const de_DBClusterAlreadyExistsFault = (output, context) => {
|
|
@@ -6841,6 +6865,9 @@ const de_DBClusterSnapshot = (output, context) => {
|
|
|
6841
6865
|
if (output["IAMDatabaseAuthenticationEnabled"] !== undefined) {
|
|
6842
6866
|
contents.IAMDatabaseAuthenticationEnabled = __parseBoolean(output["IAMDatabaseAuthenticationEnabled"]);
|
|
6843
6867
|
}
|
|
6868
|
+
if (output["StorageType"] !== undefined) {
|
|
6869
|
+
contents.StorageType = __expectString(output["StorageType"]);
|
|
6870
|
+
}
|
|
6844
6871
|
return contents;
|
|
6845
6872
|
};
|
|
6846
6873
|
const de_DBClusterSnapshotAlreadyExistsFault = (output, context) => {
|
|
@@ -72,6 +72,7 @@ export interface CopyDBClusterSnapshotCommandOutput extends CopyDBClusterSnapsho
|
|
|
72
72
|
* // DBClusterSnapshotArn: "STRING_VALUE",
|
|
73
73
|
* // SourceDBClusterSnapshotArn: "STRING_VALUE",
|
|
74
74
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
75
|
+
* // StorageType: "STRING_VALUE",
|
|
75
76
|
* // },
|
|
76
77
|
* // };
|
|
77
78
|
*
|
|
@@ -78,6 +78,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
|
|
|
78
78
|
* MaxCapacity: Number("double"),
|
|
79
79
|
* },
|
|
80
80
|
* GlobalClusterIdentifier: "STRING_VALUE",
|
|
81
|
+
* StorageType: "STRING_VALUE",
|
|
81
82
|
* };
|
|
82
83
|
* const command = new CreateDBClusterCommand(input);
|
|
83
84
|
* const response = await client.send(command);
|
|
@@ -162,6 +163,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
|
|
|
162
163
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
163
164
|
* // EngineVersion: "STRING_VALUE",
|
|
164
165
|
* // BackupRetentionPeriod: Number("int"),
|
|
166
|
+
* // StorageType: "STRING_VALUE",
|
|
165
167
|
* // AllocatedStorage: Number("int"),
|
|
166
168
|
* // Iops: Number("int"),
|
|
167
169
|
* // },
|
|
@@ -173,6 +175,8 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
|
|
|
173
175
|
* // MaxCapacity: Number("double"),
|
|
174
176
|
* // },
|
|
175
177
|
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
178
|
+
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
|
|
179
|
+
* // StorageType: "STRING_VALUE",
|
|
176
180
|
* // },
|
|
177
181
|
* // };
|
|
178
182
|
*
|
|
@@ -66,6 +66,7 @@ export interface CreateDBClusterSnapshotCommandOutput extends CreateDBClusterSna
|
|
|
66
66
|
* // DBClusterSnapshotArn: "STRING_VALUE",
|
|
67
67
|
* // SourceDBClusterSnapshotArn: "STRING_VALUE",
|
|
68
68
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
69
|
+
* // StorageType: "STRING_VALUE",
|
|
69
70
|
* // },
|
|
70
71
|
* // };
|
|
71
72
|
*
|
|
@@ -123,6 +123,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
|
|
|
123
123
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
124
124
|
* // EngineVersion: "STRING_VALUE",
|
|
125
125
|
* // BackupRetentionPeriod: Number("int"),
|
|
126
|
+
* // StorageType: "STRING_VALUE",
|
|
126
127
|
* // AllocatedStorage: Number("int"),
|
|
127
128
|
* // Iops: Number("int"),
|
|
128
129
|
* // },
|
|
@@ -134,6 +135,8 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
|
|
|
134
135
|
* // MaxCapacity: Number("double"),
|
|
135
136
|
* // },
|
|
136
137
|
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
138
|
+
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
|
|
139
|
+
* // StorageType: "STRING_VALUE",
|
|
137
140
|
* // },
|
|
138
141
|
* // };
|
|
139
142
|
*
|
|
@@ -64,6 +64,7 @@ export interface DeleteDBClusterSnapshotCommandOutput extends DeleteDBClusterSna
|
|
|
64
64
|
* // DBClusterSnapshotArn: "STRING_VALUE",
|
|
65
65
|
* // SourceDBClusterSnapshotArn: "STRING_VALUE",
|
|
66
66
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
67
|
+
* // StorageType: "STRING_VALUE",
|
|
67
68
|
* // },
|
|
68
69
|
* // };
|
|
69
70
|
*
|
|
@@ -76,6 +76,7 @@ export interface DescribeDBClusterSnapshotsCommandOutput extends DBClusterSnapsh
|
|
|
76
76
|
* // DBClusterSnapshotArn: "STRING_VALUE",
|
|
77
77
|
* // SourceDBClusterSnapshotArn: "STRING_VALUE",
|
|
78
78
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
79
|
+
* // StorageType: "STRING_VALUE",
|
|
79
80
|
* // },
|
|
80
81
|
* // ],
|
|
81
82
|
* // };
|
|
@@ -133,6 +133,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
|
|
|
133
133
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
134
134
|
* // EngineVersion: "STRING_VALUE",
|
|
135
135
|
* // BackupRetentionPeriod: Number("int"),
|
|
136
|
+
* // StorageType: "STRING_VALUE",
|
|
136
137
|
* // AllocatedStorage: Number("int"),
|
|
137
138
|
* // Iops: Number("int"),
|
|
138
139
|
* // },
|
|
@@ -144,6 +145,8 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
|
|
|
144
145
|
* // MaxCapacity: Number("double"),
|
|
145
146
|
* // },
|
|
146
147
|
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
148
|
+
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
|
|
149
|
+
* // StorageType: "STRING_VALUE",
|
|
147
150
|
* // },
|
|
148
151
|
* // ],
|
|
149
152
|
* // };
|
|
@@ -124,6 +124,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
|
|
|
124
124
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
125
125
|
* // EngineVersion: "STRING_VALUE",
|
|
126
126
|
* // BackupRetentionPeriod: Number("int"),
|
|
127
|
+
* // StorageType: "STRING_VALUE",
|
|
127
128
|
* // AllocatedStorage: Number("int"),
|
|
128
129
|
* // Iops: Number("int"),
|
|
129
130
|
* // },
|
|
@@ -135,6 +136,8 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
|
|
|
135
136
|
* // MaxCapacity: Number("double"),
|
|
136
137
|
* // },
|
|
137
138
|
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
139
|
+
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
|
|
140
|
+
* // StorageType: "STRING_VALUE",
|
|
138
141
|
* // },
|
|
139
142
|
* // };
|
|
140
143
|
*
|
|
@@ -63,6 +63,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
|
|
|
63
63
|
* MinCapacity: Number("double"),
|
|
64
64
|
* MaxCapacity: Number("double"),
|
|
65
65
|
* },
|
|
66
|
+
* StorageType: "STRING_VALUE",
|
|
66
67
|
* };
|
|
67
68
|
* const command = new ModifyDBClusterCommand(input);
|
|
68
69
|
* const response = await client.send(command);
|
|
@@ -147,6 +148,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
|
|
|
147
148
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
148
149
|
* // EngineVersion: "STRING_VALUE",
|
|
149
150
|
* // BackupRetentionPeriod: Number("int"),
|
|
151
|
+
* // StorageType: "STRING_VALUE",
|
|
150
152
|
* // AllocatedStorage: Number("int"),
|
|
151
153
|
* // Iops: Number("int"),
|
|
152
154
|
* // },
|
|
@@ -158,6 +160,8 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
|
|
|
158
160
|
* // MaxCapacity: Number("double"),
|
|
159
161
|
* // },
|
|
160
162
|
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
163
|
+
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
|
|
164
|
+
* // StorageType: "STRING_VALUE",
|
|
161
165
|
* // },
|
|
162
166
|
* // };
|
|
163
167
|
*
|
|
@@ -209,6 +213,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
|
|
|
209
213
|
* @throws {@link StorageQuotaExceededFault} (client fault)
|
|
210
214
|
* <p>Request would result in user exceeding the allowed amount of storage available across all DB instances.</p>
|
|
211
215
|
*
|
|
216
|
+
* @throws {@link StorageTypeNotSupportedFault} (client fault)
|
|
217
|
+
* <p>
|
|
218
|
+
* <i>StorageType</i> specified cannot be associated with the DB Instance.</p>
|
|
219
|
+
*
|
|
212
220
|
* @throws {@link NeptuneServiceException}
|
|
213
221
|
* <p>Base exception class for all service exceptions from Neptune service.</p>
|
|
214
222
|
*
|
|
@@ -116,6 +116,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
|
|
|
116
116
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
117
117
|
* // EngineVersion: "STRING_VALUE",
|
|
118
118
|
* // BackupRetentionPeriod: Number("int"),
|
|
119
|
+
* // StorageType: "STRING_VALUE",
|
|
119
120
|
* // AllocatedStorage: Number("int"),
|
|
120
121
|
* // Iops: Number("int"),
|
|
121
122
|
* // },
|
|
@@ -127,6 +128,8 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
|
|
|
127
128
|
* // MaxCapacity: Number("double"),
|
|
128
129
|
* // },
|
|
129
130
|
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
131
|
+
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
|
|
132
|
+
* // StorageType: "STRING_VALUE",
|
|
130
133
|
* // },
|
|
131
134
|
* // };
|
|
132
135
|
*
|
|
@@ -68,6 +68,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
|
|
|
68
68
|
* MinCapacity: Number("double"),
|
|
69
69
|
* MaxCapacity: Number("double"),
|
|
70
70
|
* },
|
|
71
|
+
* StorageType: "STRING_VALUE",
|
|
71
72
|
* };
|
|
72
73
|
* const command = new RestoreDBClusterFromSnapshotCommand(input);
|
|
73
74
|
* const response = await client.send(command);
|
|
@@ -152,6 +153,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
|
|
|
152
153
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
153
154
|
* // EngineVersion: "STRING_VALUE",
|
|
154
155
|
* // BackupRetentionPeriod: Number("int"),
|
|
156
|
+
* // StorageType: "STRING_VALUE",
|
|
155
157
|
* // AllocatedStorage: Number("int"),
|
|
156
158
|
* // Iops: Number("int"),
|
|
157
159
|
* // },
|
|
@@ -163,6 +165,8 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
|
|
|
163
165
|
* // MaxCapacity: Number("double"),
|
|
164
166
|
* // },
|
|
165
167
|
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
168
|
+
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
|
|
169
|
+
* // StorageType: "STRING_VALUE",
|
|
166
170
|
* // },
|
|
167
171
|
* // };
|
|
168
172
|
*
|
|
@@ -71,6 +71,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
|
|
|
71
71
|
* MinCapacity: Number("double"),
|
|
72
72
|
* MaxCapacity: Number("double"),
|
|
73
73
|
* },
|
|
74
|
+
* StorageType: "STRING_VALUE",
|
|
74
75
|
* };
|
|
75
76
|
* const command = new RestoreDBClusterToPointInTimeCommand(input);
|
|
76
77
|
* const response = await client.send(command);
|
|
@@ -155,6 +156,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
|
|
|
155
156
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
156
157
|
* // EngineVersion: "STRING_VALUE",
|
|
157
158
|
* // BackupRetentionPeriod: Number("int"),
|
|
159
|
+
* // StorageType: "STRING_VALUE",
|
|
158
160
|
* // AllocatedStorage: Number("int"),
|
|
159
161
|
* // Iops: Number("int"),
|
|
160
162
|
* // },
|
|
@@ -166,6 +168,8 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
|
|
|
166
168
|
* // MaxCapacity: Number("double"),
|
|
167
169
|
* // },
|
|
168
170
|
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
171
|
+
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
|
|
172
|
+
* // StorageType: "STRING_VALUE",
|
|
169
173
|
* // },
|
|
170
174
|
* // };
|
|
171
175
|
*
|
|
@@ -117,6 +117,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
|
|
|
117
117
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
118
118
|
* // EngineVersion: "STRING_VALUE",
|
|
119
119
|
* // BackupRetentionPeriod: Number("int"),
|
|
120
|
+
* // StorageType: "STRING_VALUE",
|
|
120
121
|
* // AllocatedStorage: Number("int"),
|
|
121
122
|
* // Iops: Number("int"),
|
|
122
123
|
* // },
|
|
@@ -128,6 +129,8 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
|
|
|
128
129
|
* // MaxCapacity: Number("double"),
|
|
129
130
|
* // },
|
|
130
131
|
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
132
|
+
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
|
|
133
|
+
* // StorageType: "STRING_VALUE",
|
|
131
134
|
* // },
|
|
132
135
|
* // };
|
|
133
136
|
*
|
|
@@ -120,6 +120,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
|
|
|
120
120
|
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
121
121
|
* // EngineVersion: "STRING_VALUE",
|
|
122
122
|
* // BackupRetentionPeriod: Number("int"),
|
|
123
|
+
* // StorageType: "STRING_VALUE",
|
|
123
124
|
* // AllocatedStorage: Number("int"),
|
|
124
125
|
* // Iops: Number("int"),
|
|
125
126
|
* // },
|
|
@@ -131,6 +132,8 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
|
|
|
131
132
|
* // MaxCapacity: Number("double"),
|
|
132
133
|
* // },
|
|
133
134
|
* // GlobalClusterIdentifier: "STRING_VALUE",
|
|
135
|
+
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
|
|
136
|
+
* // StorageType: "STRING_VALUE",
|
|
134
137
|
* // },
|
|
135
138
|
* // };
|
|
136
139
|
*
|
|
@@ -729,6 +729,11 @@ export interface DBClusterSnapshot {
|
|
|
729
729
|
* is enabled, and otherwise false.</p>
|
|
730
730
|
*/
|
|
731
731
|
IAMDatabaseAuthenticationEnabled?: boolean;
|
|
732
|
+
/**
|
|
733
|
+
* @public
|
|
734
|
+
* <p>The storage type associated with the DB cluster snapshot.</p>
|
|
735
|
+
*/
|
|
736
|
+
StorageType?: string;
|
|
732
737
|
}
|
|
733
738
|
/**
|
|
734
739
|
* @public
|
|
@@ -1139,7 +1144,10 @@ export interface CreateDBClusterMessage {
|
|
|
1139
1144
|
EnableIAMDatabaseAuthentication?: boolean;
|
|
1140
1145
|
/**
|
|
1141
1146
|
* @public
|
|
1142
|
-
* <p>
|
|
1147
|
+
* <p>A list of the log types that this DB cluster should export to CloudWatch Logs.
|
|
1148
|
+
* Valid log types are: <code>audit</code> (to publish audit logs) and
|
|
1149
|
+
* <code>slowquery</code> (to publish slow-query logs). See <a href="https://docs.aws.amazon.com/neptune/latest/userguide/cloudwatch-logs.html">Publishing Neptune logs
|
|
1150
|
+
* to Amazon CloudWatch logs</a>.</p>
|
|
1143
1151
|
*/
|
|
1144
1152
|
EnableCloudwatchLogsExports?: string[];
|
|
1145
1153
|
/**
|
|
@@ -1162,6 +1170,31 @@ export interface CreateDBClusterMessage {
|
|
|
1162
1170
|
* should be added.</p>
|
|
1163
1171
|
*/
|
|
1164
1172
|
GlobalClusterIdentifier?: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* @public
|
|
1175
|
+
* <p>The storage type to associate with the DB cluster.</p>
|
|
1176
|
+
* <p>Valid Values:</p>
|
|
1177
|
+
* <ul>
|
|
1178
|
+
* <li>
|
|
1179
|
+
* <p>
|
|
1180
|
+
* <code>standard | iopt1</code>
|
|
1181
|
+
* </p>
|
|
1182
|
+
* </li>
|
|
1183
|
+
* </ul>
|
|
1184
|
+
* <p>Default:</p>
|
|
1185
|
+
* <ul>
|
|
1186
|
+
* <li>
|
|
1187
|
+
* <p>
|
|
1188
|
+
* <code>standard</code>
|
|
1189
|
+
* </p>
|
|
1190
|
+
* </li>
|
|
1191
|
+
* </ul>
|
|
1192
|
+
* <note>
|
|
1193
|
+
* <p>When you create a Neptune cluster with the storage type set to <code>iopt1</code>, the storage type is returned
|
|
1194
|
+
* in the response. The storage type isn't returned when you set it to <code>standard</code>.</p>
|
|
1195
|
+
* </note>
|
|
1196
|
+
*/
|
|
1197
|
+
StorageType?: string;
|
|
1165
1198
|
}
|
|
1166
1199
|
/**
|
|
1167
1200
|
* @public
|
|
@@ -1256,6 +1289,9 @@ export interface DBClusterOptionGroupStatus {
|
|
|
1256
1289
|
* @public
|
|
1257
1290
|
* <p>A list of the log types whose configuration is still pending. In other
|
|
1258
1291
|
* words, these log types are in the process of being activated or deactivated.</p>
|
|
1292
|
+
* <p>Valid log types are: <code>audit</code> (to publish audit logs) and
|
|
1293
|
+
* <code>slowquery</code> (to publish slow-query logs). See <a href="https://docs.aws.amazon.com/neptune/latest/userguide/cloudwatch-logs.html">Publishing Neptune logs
|
|
1294
|
+
* to Amazon CloudWatch logs</a>.</p>
|
|
1259
1295
|
*/
|
|
1260
1296
|
export interface PendingCloudwatchLogsExports {
|
|
1261
1297
|
/**
|
|
@@ -1303,6 +1339,11 @@ export interface ClusterPendingModifiedValues {
|
|
|
1303
1339
|
* <p>The number of days for which automatic DB snapshots are retained.</p>
|
|
1304
1340
|
*/
|
|
1305
1341
|
BackupRetentionPeriod?: number;
|
|
1342
|
+
/**
|
|
1343
|
+
* @public
|
|
1344
|
+
* <p>The storage type for the DB cluster.</p>
|
|
1345
|
+
*/
|
|
1346
|
+
StorageType?: string;
|
|
1306
1347
|
/**
|
|
1307
1348
|
* @public
|
|
1308
1349
|
* <p>The allocated storage size in gibibytes (GiB) for database engines. For Neptune,
|
|
@@ -1569,7 +1610,10 @@ export interface DBCluster {
|
|
|
1569
1610
|
CopyTagsToSnapshot?: boolean;
|
|
1570
1611
|
/**
|
|
1571
1612
|
* @public
|
|
1572
|
-
* <p>A list of log types that this DB cluster is configured to export to CloudWatch Logs
|
|
1613
|
+
* <p>A list of the log types that this DB cluster is configured to export to CloudWatch Logs.
|
|
1614
|
+
* Valid log types are: <code>audit</code> (to publish audit logs to CloudWatch) and
|
|
1615
|
+
* slowquery (to publish slow-query logs to CloudWatch). See <a href="https://docs.aws.amazon.com/neptune/latest/userguide/cloudwatch-logs.html">Publishing Neptune logs
|
|
1616
|
+
* to Amazon CloudWatch logs</a>.</p>
|
|
1573
1617
|
*/
|
|
1574
1618
|
EnabledCloudwatchLogsExports?: string[];
|
|
1575
1619
|
/**
|
|
@@ -1607,6 +1651,16 @@ export interface DBCluster {
|
|
|
1607
1651
|
* This identifier is the unique key that identifies a global database.</p>
|
|
1608
1652
|
*/
|
|
1609
1653
|
GlobalClusterIdentifier?: string;
|
|
1654
|
+
/**
|
|
1655
|
+
* @public
|
|
1656
|
+
* <p>The next time you can modify the DB cluster to use the <code>iopt1</code> storage type.</p>
|
|
1657
|
+
*/
|
|
1658
|
+
IOOptimizedNextAllowedModificationTime?: Date;
|
|
1659
|
+
/**
|
|
1660
|
+
* @public
|
|
1661
|
+
* <p>The storage type associated with the DB cluster.</p>
|
|
1662
|
+
*/
|
|
1663
|
+
StorageType?: string;
|
|
1610
1664
|
}
|
|
1611
1665
|
/**
|
|
1612
1666
|
* @public
|
|
@@ -2584,7 +2638,7 @@ export interface OptionGroupMembership {
|
|
|
2584
2638
|
}
|
|
2585
2639
|
/**
|
|
2586
2640
|
* @public
|
|
2587
|
-
* <p>
|
|
2641
|
+
* <p>This data type is used as a response element in the <a>ModifyDBInstance</a>
|
|
2588
2642
|
* action.</p>
|
|
2589
2643
|
*/
|
|
2590
2644
|
export interface PendingModifiedValues {
|
|
@@ -5986,6 +6040,9 @@ export declare class InvalidDBSecurityGroupStateFault extends __BaseException {
|
|
|
5986
6040
|
* to CloudWatch Logs for a specific DB instance or DB cluster.</p>
|
|
5987
6041
|
* <p>The <code>EnableLogTypes</code> and <code>DisableLogTypes</code> arrays
|
|
5988
6042
|
* determine which logs will be exported (or not exported) to CloudWatch Logs.</p>
|
|
6043
|
+
* <p>Valid log types are: <code>audit</code> (to publish audit logs) and
|
|
6044
|
+
* <code>slowquery</code> (to publish slow-query logs). See <a href="https://docs.aws.amazon.com/neptune/latest/userguide/cloudwatch-logs.html">Publishing Neptune logs
|
|
6045
|
+
* to Amazon CloudWatch logs</a>.</p>
|
|
5989
6046
|
*/
|
|
5990
6047
|
export interface CloudwatchLogsExportConfiguration {
|
|
5991
6048
|
/**
|
|
@@ -6141,7 +6198,8 @@ export interface ModifyDBClusterMessage {
|
|
|
6141
6198
|
/**
|
|
6142
6199
|
* @public
|
|
6143
6200
|
* <p>The configuration setting for the log types to be enabled for export to CloudWatch Logs
|
|
6144
|
-
* for a specific DB cluster
|
|
6201
|
+
* for a specific DB cluster. See <a href="https://docs.aws.amazon.com/neptune/latest/userguide/cloudwatch-logs.html#cloudwatch-logs-cli">Using the
|
|
6202
|
+
* CLI to publish Neptune audit logs to CloudWatch Logs</a>.</p>
|
|
6145
6203
|
*/
|
|
6146
6204
|
CloudwatchLogsExportConfiguration?: CloudwatchLogsExportConfiguration;
|
|
6147
6205
|
/**
|
|
@@ -6205,6 +6263,27 @@ export interface ModifyDBClusterMessage {
|
|
|
6205
6263
|
* <i>Amazon Neptune User Guide</i>.</p>
|
|
6206
6264
|
*/
|
|
6207
6265
|
ServerlessV2ScalingConfiguration?: ServerlessV2ScalingConfiguration;
|
|
6266
|
+
/**
|
|
6267
|
+
* @public
|
|
6268
|
+
* <p>The storage type to associate with the DB cluster.</p>
|
|
6269
|
+
* <p>Valid Values:</p>
|
|
6270
|
+
* <ul>
|
|
6271
|
+
* <li>
|
|
6272
|
+
* <p>
|
|
6273
|
+
* <code>standard | iopt1</code>
|
|
6274
|
+
* </p>
|
|
6275
|
+
* </li>
|
|
6276
|
+
* </ul>
|
|
6277
|
+
* <p>Default:</p>
|
|
6278
|
+
* <ul>
|
|
6279
|
+
* <li>
|
|
6280
|
+
* <p>
|
|
6281
|
+
* <code>standard</code>
|
|
6282
|
+
* </p>
|
|
6283
|
+
* </li>
|
|
6284
|
+
* </ul>
|
|
6285
|
+
*/
|
|
6286
|
+
StorageType?: string;
|
|
6208
6287
|
}
|
|
6209
6288
|
/**
|
|
6210
6289
|
* @public
|
|
@@ -7443,6 +7522,15 @@ export interface RestoreDBClusterFromSnapshotMessage {
|
|
|
7443
7522
|
* <i>Amazon Neptune User Guide</i>.</p>
|
|
7444
7523
|
*/
|
|
7445
7524
|
ServerlessV2ScalingConfiguration?: ServerlessV2ScalingConfiguration;
|
|
7525
|
+
/**
|
|
7526
|
+
* @public
|
|
7527
|
+
* <p>Specifies the storage type to be associated with the DB cluster.</p>
|
|
7528
|
+
* <p>Valid values: <code>standard</code>, <code>iopt1</code>
|
|
7529
|
+
* </p>
|
|
7530
|
+
* <p>Default: <code>standard</code>
|
|
7531
|
+
* </p>
|
|
7532
|
+
*/
|
|
7533
|
+
StorageType?: string;
|
|
7446
7534
|
}
|
|
7447
7535
|
/**
|
|
7448
7536
|
* @public
|
|
@@ -7641,6 +7729,15 @@ export interface RestoreDBClusterToPointInTimeMessage {
|
|
|
7641
7729
|
* <i>Amazon Neptune User Guide</i>.</p>
|
|
7642
7730
|
*/
|
|
7643
7731
|
ServerlessV2ScalingConfiguration?: ServerlessV2ScalingConfiguration;
|
|
7732
|
+
/**
|
|
7733
|
+
* @public
|
|
7734
|
+
* <p>Specifies the storage type to be associated with the DB cluster.</p>
|
|
7735
|
+
* <p>Valid values: <code>standard</code>, <code>iopt1</code>
|
|
7736
|
+
* </p>
|
|
7737
|
+
* <p>Default: <code>standard</code>
|
|
7738
|
+
* </p>
|
|
7739
|
+
*/
|
|
7740
|
+
StorageType?: string;
|
|
7644
7741
|
}
|
|
7645
7742
|
/**
|
|
7646
7743
|
* @public
|
|
@@ -192,6 +192,7 @@ export interface DBClusterSnapshot {
|
|
|
192
192
|
DBClusterSnapshotArn?: string;
|
|
193
193
|
SourceDBClusterSnapshotArn?: string;
|
|
194
194
|
IAMDatabaseAuthenticationEnabled?: boolean;
|
|
195
|
+
StorageType?: string;
|
|
195
196
|
}
|
|
196
197
|
export interface CopyDBClusterSnapshotResult {
|
|
197
198
|
DBClusterSnapshot?: DBClusterSnapshot;
|
|
@@ -284,6 +285,7 @@ export interface CreateDBClusterMessage {
|
|
|
284
285
|
DeletionProtection?: boolean;
|
|
285
286
|
ServerlessV2ScalingConfiguration?: ServerlessV2ScalingConfiguration;
|
|
286
287
|
GlobalClusterIdentifier?: string;
|
|
288
|
+
StorageType?: string;
|
|
287
289
|
}
|
|
288
290
|
export interface DBClusterRole {
|
|
289
291
|
RoleArn?: string;
|
|
@@ -310,6 +312,7 @@ export interface ClusterPendingModifiedValues {
|
|
|
310
312
|
IAMDatabaseAuthenticationEnabled?: boolean;
|
|
311
313
|
EngineVersion?: string;
|
|
312
314
|
BackupRetentionPeriod?: number;
|
|
315
|
+
StorageType?: string;
|
|
313
316
|
AllocatedStorage?: number;
|
|
314
317
|
Iops?: number;
|
|
315
318
|
}
|
|
@@ -365,6 +368,8 @@ export interface DBCluster {
|
|
|
365
368
|
AutomaticRestartTime?: Date;
|
|
366
369
|
ServerlessV2ScalingConfiguration?: ServerlessV2ScalingConfigurationInfo;
|
|
367
370
|
GlobalClusterIdentifier?: string;
|
|
371
|
+
IOOptimizedNextAllowedModificationTime?: Date;
|
|
372
|
+
StorageType?: string;
|
|
368
373
|
}
|
|
369
374
|
export interface CreateDBClusterResult {
|
|
370
375
|
DBCluster?: DBCluster;
|
|
@@ -1418,6 +1423,7 @@ export interface ModifyDBClusterMessage {
|
|
|
1418
1423
|
DeletionProtection?: boolean;
|
|
1419
1424
|
CopyTagsToSnapshot?: boolean;
|
|
1420
1425
|
ServerlessV2ScalingConfiguration?: ServerlessV2ScalingConfiguration;
|
|
1426
|
+
StorageType?: string;
|
|
1421
1427
|
}
|
|
1422
1428
|
export interface ModifyDBClusterResult {
|
|
1423
1429
|
DBCluster?: DBCluster;
|
|
@@ -1661,6 +1667,7 @@ export interface RestoreDBClusterFromSnapshotMessage {
|
|
|
1661
1667
|
DeletionProtection?: boolean;
|
|
1662
1668
|
CopyTagsToSnapshot?: boolean;
|
|
1663
1669
|
ServerlessV2ScalingConfiguration?: ServerlessV2ScalingConfiguration;
|
|
1670
|
+
StorageType?: string;
|
|
1664
1671
|
}
|
|
1665
1672
|
export interface RestoreDBClusterFromSnapshotResult {
|
|
1666
1673
|
DBCluster?: DBCluster;
|
|
@@ -1682,6 +1689,7 @@ export interface RestoreDBClusterToPointInTimeMessage {
|
|
|
1682
1689
|
DBClusterParameterGroupName?: string;
|
|
1683
1690
|
DeletionProtection?: boolean;
|
|
1684
1691
|
ServerlessV2ScalingConfiguration?: ServerlessV2ScalingConfiguration;
|
|
1692
|
+
StorageType?: string;
|
|
1685
1693
|
}
|
|
1686
1694
|
export interface RestoreDBClusterToPointInTimeResult {
|
|
1687
1695
|
DBCluster?: DBCluster;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-neptune",
|
|
3
3
|
"description": "AWS SDK for JavaScript Neptune Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.471.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",
|