get_cost_by_region_and_service
Analyze AWS costs by region and service for a specified time period to identify spending patterns and optimize cloud expenses.
Instructions
Get cost breakdown by AWS region and service for the specified period.
Args:
start_date: Start date in YYYY-MM-DD format (default: first day of last month)
end_date: End date in YYYY-MM-DD format (default: first day of current month)
profile_name: AWS profile name (optional)
role_arn: IAM role ARN to assume (optional)
access_key: AWS access key ID (optional)
secret_access_key: AWS secret access key (optional)
session_token: AWS session token for temporary credentials (optional)
Returns:
Dictionary with cost breakdown by region and service
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | No | ||
| end_date | No | ||
| profile_name | No | ||
| role_arn | No | ||
| access_key | No | ||
| secret_access_key | No | ||
| session_token | No |