def METHOD_NAME(
        secret_name, username, password, engine, host, port, cluster_name,
        secrets_client):
    """
    Creates an AWS Secrets Manager secret that contains MySQL user credentials.
    :param secret_name: The name of the secret to create.
    :param username: The username to store in the credentials.
    :param password: The password to store in the credentials.
    :param engine: The database engine these credentials are for, such as MySQL.
    :param host: The endpoint URL of the Aurora cluster that contains the database
                 these credentials are for.
    :param port: The port that can be used to connect to the database endpoint.
    :param cluster_name: The name of the cluster that contains the database.
    :param secrets_client: The Boto3 Secrets Manager client.
    :return The newly created secret.
    """
    aurora_admin_secret = {
        'username': username,
        'password': password,
        'engine': engine,
        'host': host,
        'port': port,
        'dbClusterIdentifier': cluster_name
    }
    try:
        secret = secrets_client.create_secret(
            Name=secret_name, SecretString=json.dumps(aurora_admin_secret))
        logger.info("Created secret %s.", secret_name)
    except ClientError:
        logger.exception("Couldn't create secret %s.", secret_name)
        raise
    else:
        return secret