<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def configure_root_iam_credentials(self, access_key, secret_key, region=None, iam_endpoint=None, sts_endpoint=None, max_retries=-1, mount_point=DEFAULT_MOUNT_POINT):
 """Configure the root IAM credentials to communicate with AWS. There are multiple ways to pass root IAM credentials to the Vault server, specified below with the highest precedence first. If credentials already exist, this will overwrite them. The official AWS SDK is used for sourcing credentials from env vars, shared files, or IAM/ECS instances. * Static credentials provided to the API as a payload * Credentials in the AWS_ACCESS_KEY, AWS_SECRET_KEY, and AWS_REGION environment variables on the server * Shared credentials files * Assigned IAM role or ECS task role credentials At present, this endpoint does not confirm that the provided AWS credentials are valid AWS credentials with proper permissions. Supported methods: POST: /{mount_point}/config/root. Produces: 204 (empty body) :param access_key: Specifies the AWS access key ID. :type access_key: str | unicode :param secret_key: Specifies the AWS secret access key. :type secret_key: str | unicode :param region: Specifies the AWS region. If not set it will use the AWS_REGION env var, AWS_DEFAULT_REGION env var, or us-east-1 in that order. :type region: str | unicode :param iam_endpoint: Specifies a custom HTTP IAM endpoint to use. :type iam_endpoint: str | unicode :param sts_endpoint: Specifies a custom HTTP STS endpoint to use. :type sts_endpoint: str | unicode :param max_retries: Number of max retries the client should use for recoverable errors. The default (-1) falls back to the AWS SDK's default behavior. :type max_retries: int :param mount_point: The "path" the method/backend was mounted on. :type mount_point: str | unicode :return: The response of the request. :rtype: requests.Response """

        params = {
            'access_key': access_key,
            'secret_key': secret_key,
            'region': region,
            'iam_endpoint': iam_endpoint,
            'sts_endpoint': sts_endpoint,
            'max_retries': max_retries,
        }
        api_path = '/v1/{mount_point}/config/root'.format(mount_point=mount_point)
        return self._adapter.post(
            url=api_path,
            json=params,
        )