CloudWatch: Handle permissions error and update docs (#88524)

This commit is contained in:
Isabella Siu
2024-05-31 14:36:38 -04:00
committed by GitHub
parent 73905695e3
commit be2e420e6b
5 changed files with 58 additions and 1 deletions
@@ -0,0 +1,16 @@
[
{
"Messages": null,
"MetricDataResults": [
{
"Id": "a",
"Messages": [{
"Code": "Forbidden",
"Value": "Access denied when getting data - please check that you have the pi:GetResourceMetrics permission"
}],
"StatusCode": "Forbidden"
}
],
"NextToken": null
}
]