title: How to enable hourly granularity for cost and usage data in AWS?
body: <p>I am trying to call get-cost-and-usage api of AWS to generate hourly report. But, i am getting an error around enabling an opt-in only feature.</p>
  
  <pre><code>aws ce get-cost-and-usage --time-period '{"Start": "2020-06-10T00:00:00Z", "End": "2020-06-15T00:00:00Z"}' --granularity 'HOURLY' --metrics "AmortizedCost" "BlendedCost" "NetAmortizedCost" "NetUnblendedCost" "NormalizedUsageAmount" "UnblendedCost" "UsageQuantity" --group-by Type=DIMENSION,Key=SERVICE
  </code></pre>
  
  <p>Error Message:</p>
  
  <blockquote>
    <p>An error occurred (AccessDeniedException) when calling the GetCostAndUsage operation: Hourly data granularity is an opt-in only feature. You can be enable this feature from the PAYER account’s Cost Explorer Settings page.</p>
  </blockquote>
  
  <p>I don't see any settings page to enable this feature. Is there any way to enable this feature, via console or cli?</p>