create_private_graph_endpoint
async
¶
create_private_graph_endpoint(
graph_identifier: GraphIdentifier,
*,
config_overrides: Optional[AsyncNeptuneGraphClientConfig] = None,
vpc_id: Optional[VpcId] = None,
subnet_ids: Optional[SubnetIds] = None,
vpc_security_group_ids: Optional[SecurityGroupIds] = None,
) -> CreatePrivateGraphEndpointOutput
Create a private graph endpoint to allow private access to the graph from within a VPC. You can attach security groups to the private graph endpoint.
VPC endpoint charges apply.
Parameters:
-
graph_identifier(GraphIdentifier) –The unique identifier of the Neptune Analytics graph.
-
vpc_id(Optional[VpcId], default:None) –The VPC in which the private graph endpoint needs to be created.
-
subnet_ids(Optional[SubnetIds], default:None) –Subnets in which private graph endpoint ENIs are created.
-
vpc_security_group_ids(Optional[SecurityGroupIds], default:None) –Security groups to be attached to the private graph endpoint.
Raises:
-
ConflictException–Raised when a conflict is encountered.
-
InternalServerException–A failure occurred on the server.
-
ResourceNotFoundException–A specified resource could not be located.
-
ServiceQuotaExceededException–A service quota was exceeded.
-
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
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 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 | |