"""dsql base URL and path."""

from .responses import AuroraDSQLResponse

url_bases = [
    r"https?://dsql\.(.+)\.api\.aws",
]

url_paths = {
    "{0}/cluster$": AuroraDSQLResponse.dispatch,
    "{0}/cluster/(?P<identifier>[^/]+)$": AuroraDSQLResponse.dispatch,
    "{0}/cluster/(?P<identifier>[^/]+)/policy$": AuroraDSQLResponse.dispatch,
    "{0}/stream/(?P<clusterIdentifier>[^/]+)$": AuroraDSQLResponse.dispatch,
    "{0}/stream/(?P<clusterIdentifier>[^/]+)/(?P<streamIdentifier>[^/]+)$": AuroraDSQLResponse.dispatch,
    "{0}/clusters/(?P<identifier>[^/]+)/vpc-endpoint-service-name$": AuroraDSQLResponse.dispatch,
    "{0}/tags/(?P<resourceArn>.+)$": AuroraDSQLResponse.dispatch,
}
