Neptune / Paginator / DescribeDBClusterEndpoints

DescribeDBClusterEndpoints#

class Neptune.Paginator.DescribeDBClusterEndpoints#
paginator = client.get_paginator('describe_db_cluster_endpoints')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Neptune.Client.describe_db_cluster_endpoints().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    DBClusterIdentifier='string',
    DBClusterEndpointIdentifier='string',
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • DBClusterIdentifier (string) – The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.

  • DBClusterEndpointIdentifier (string) – The identifier of the endpoint to describe. This parameter is stored as a lowercase string.

  • Filters (list) –

    A set of name-value pairs that define which endpoints to include in the output. The filters are specified as name-value pairs, in the format Name=endpoint_type,Values=endpoint_type1,endpoint_type2,.... Name can be one of: db-cluster-endpoint-type, db-cluster-endpoint-custom-type, db-cluster-endpoint-id, db-cluster-endpoint-status. Values for the db-cluster-endpoint-type filter can be one or more of: reader, writer, custom. Values for the db-cluster-endpoint-custom-type filter can be one or more of: reader, any. Values for the db-cluster-endpoint-status filter can be one or more of: available, creating, deleting, inactive, modifying.

    • (dict) –

      This type is not currently supported.

      • Name (string) – [REQUIRED]

        This parameter is not currently supported.

      • Values (list) – [REQUIRED]

        This parameter is not currently supported.

        • (string) –

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'DBClusterEndpoints': [
        {
            'DBClusterEndpointIdentifier': 'string',
            'DBClusterIdentifier': 'string',
            'DBClusterEndpointResourceIdentifier': 'string',
            'Endpoint': 'string',
            'Status': 'string',
            'EndpointType': 'string',
            'CustomEndpointType': 'string',
            'StaticMembers': [
                'string',
            ],
            'ExcludedMembers': [
                'string',
            ],
            'DBClusterEndpointArn': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • DBClusterEndpoints (list) –

      Contains the details of the endpoints associated with the cluster and matching any filter conditions.

      • (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 Neptune 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. The inactive state applies to an endpoint that cannot be used for a certain kind of cluster, such as a writer 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.

    • NextToken (string) –

      A token to resume pagination.