Neptune / Client / modify_db_cluster_endpoint
modify_db_cluster_endpoint#
- Neptune.Client.modify_db_cluster_endpoint(**kwargs)#
Modifies the properties of an endpoint in an Amazon Neptune DB cluster.
See also: AWS API Documentation
Request Syntax
response = client.modify_db_cluster_endpoint( DBClusterEndpointIdentifier='string', EndpointType='string', StaticMembers=[ 'string', ], ExcludedMembers=[ 'string', ] )
- Parameters:
DBClusterEndpointIdentifier (string) –
[REQUIRED]
The identifier of the endpoint to modify. This parameter is stored as a lowercase string.
EndpointType (string) – The type of the endpoint. One of:
READER
,WRITER
,ANY
.StaticMembers (list) –
List of DB instance identifiers that are part of the custom endpoint group.
(string) –
ExcludedMembers (list) –
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.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'DBClusterEndpointIdentifier': 'string', 'DBClusterIdentifier': 'string', 'DBClusterEndpointResourceIdentifier': 'string', 'Endpoint': 'string', 'Status': 'string', 'EndpointType': 'string', 'CustomEndpointType': 'string', 'StaticMembers': [ 'string', ], 'ExcludedMembers': [ 'string', ], 'DBClusterEndpointArn': 'string' }
Response Structure
(dict) –
This data type represents the information you need to connect to an Amazon Neptune DB cluster. This data type is used as a response element in the following actions:
CreateDBClusterEndpoint
DescribeDBClusterEndpoints
ModifyDBClusterEndpoint
DeleteDBClusterEndpoint
For the data structure that represents Amazon RDS DB instance endpoints, see
Endpoint
.DBClusterEndpointIdentifier (string) –
The identifier associated with the endpoint. This parameter is stored as a lowercase string.
DBClusterIdentifier (string) –
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
DBClusterEndpointResourceIdentifier (string) –
A unique system-generated identifier for an endpoint. It remains the same for the whole life of the endpoint.
Endpoint (string) –
The DNS address of the endpoint.
Status (string) –
The current status of the endpoint. One of:
creating
,available
,deleting
,inactive
,modifying
. Theinactive
state applies to an endpoint that cannot be used for a certain kind of cluster, such as awriter
endpoint for a read-only secondary cluster in a global database.EndpointType (string) –
The type of the endpoint. One of:
READER
,WRITER
,CUSTOM
.CustomEndpointType (string) –
The type associated with a custom endpoint. One of:
READER
,WRITER
,ANY
.StaticMembers (list) –
List of DB instance identifiers that are part of the custom endpoint group.
(string) –
ExcludedMembers (list) –
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.
(string) –
DBClusterEndpointArn (string) –
The Amazon Resource Name (ARN) for the endpoint.
Exceptions
Neptune.Client.exceptions.InvalidDBClusterStateFault
Neptune.Client.exceptions.InvalidDBClusterEndpointStateFault
Neptune.Client.exceptions.DBClusterEndpointNotFoundFault
Neptune.Client.exceptions.DBInstanceNotFoundFault
Neptune.Client.exceptions.InvalidDBInstanceStateFault