update_graph
async
¶
update_graph(
graph_identifier: GraphIdentifier,
*,
config_overrides: Optional[AsyncNeptuneGraphClientConfig] = None,
public_connectivity: Optional[bool] = None,
provisioned_memory: Optional[ProvisionedMemory] = None,
compute_configuration: Optional[ComputeConfiguration] = None,
deletion_protection: Optional[bool] = None,
) -> UpdateGraphOutput
Updates the configuration of a specified Neptune Analytics graph
Parameters:
-
graph_identifier(GraphIdentifier) –The unique identifier of the Neptune Analytics graph.
-
public_connectivity(Optional[bool], default:None) –Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated. (
trueto enable, orfalseto disable. -
provisioned_memory(Optional[ProvisionedMemory], default:None) –The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.
Min = 16
This field is deprecated. We recommend using
computeConfigurationinstead. -
compute_configuration(Optional[ComputeConfiguration], default:None) –The updated compute configuration for the graph. A graph session can be scaled up to a provisioned graph, and a provisioned graph can be scaled down to a graph session, as long as the data in the graph fits within the graph session.
-
deletion_protection(Optional[bool], default:None) –A value that indicates whether the graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.
Raises:
-
ConflictException–Raised when a conflict is encountered.
-
InternalServerException–A failure occurred on the server.
-
ResourceNotFoundException–A specified resource could not be located.
-
ThrottlingException–The exception was interrupted by throttling.
-
ValidationException–A resource could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_neptune_graph/_services/async_neptune_graph.py
1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 | |