create_db_cluster_endpoint
async
¶
create_db_cluster_endpoint(
*,
config_overrides: Optional[AsyncNeptuneClientConfig] = None,
db_cluster_identifier: Optional[String] = None,
db_cluster_endpoint_identifier: Optional[String] = None,
endpoint_type: Optional[String] = None,
static_members: Optional[StringList] = None,
excluded_members: Optional[StringList] = None,
tags: Optional[TagList] = None,
) -> CreateDBClusterEndpointOutput
Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.
Parameters:
-
db_cluster_identifier(Optional[String], default:None) –The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
-
db_cluster_endpoint_identifier(Optional[String], default:None) –The identifier to use for the new endpoint. This parameter is stored as a lowercase string.
-
endpoint_type(Optional[String], default:None) –The type of the endpoint. One of:
READER,WRITER,ANY. -
static_members(Optional[StringList], default:None) –List of DB instance identifiers that are part of the custom endpoint group.
-
excluded_members(Optional[StringList], default:None) –List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.
-
tags(Optional[TagList], default:None) –The tags to be assigned to the Amazon Neptune resource.
Raises:
-
DBClusterEndpointAlreadyExistsFault–The specified custom endpoint cannot be created because it already exists.
-
DBClusterEndpointQuotaExceededFault–The cluster already has the maximum number of custom endpoints.
-
DBClusterNotFoundFault–DBClusterIdentifier does not refer to an existing DB cluster.
-
DBInstanceNotFoundFault–DBInstanceIdentifier does not refer to an existing DB instance.
-
InvalidDBClusterStateFault–The DB cluster is not in a valid state.
-
InvalidDBInstanceStateFault–The specified DB instance is not in the available state.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_neptune/_services/async_neptune.py
955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 | |