Traceback (most recent call last):


 "c:/Users/Student/Documents/aws_api.py", line 23, in <module>

response = client.get_cost_and_usage_with_resources(


 "C:\Users\Student\AppData\Roaming\Python\Python38\site-packages\botocore\client.py", line 316, in _api_call

return self._make_api_call(operation_name, kwargs)


 "C:\Users\Student\AppData\Roaming\Python\Python38\site-packages\botocore\client.py", line 626, in _make_api_call

raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the GetCostAndUsageWithResources operation: Start date is more than 14 days ago 

Traceback (most recent call last):


 "C:\Users\maxim.veksler\source\DTank\venv\lib\site-packages\s3fs\core.py", line 396, in info

kwargs, Bucket=bucket, Key=key, **self.req_kw)


 "C:\Users\maxim.veksler\source\DTank\venv\lib\site-packages\s3fs\core.py", line 170, in _call_s3

return method(**additional_kwargs)


 "C:\Users\maxim.veksler\source\DTank\venv\lib\site-packages\botocore\client.py", line 314, in _api_call

return self._make_api_call(operation_name, kwargs)


 "C:\Users\maxim.veksler\source\DTank\venv\lib\site-packages\botocore\client.py", line 612, in _make_api_call

raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden
