|
344 | 344 | {"shape":"ResourceNotFoundException"},
|
345 | 345 | {"shape":"InternalServiceFault"}
|
346 | 346 | ],
|
347 |
| - "documentation":"<p>Displays the tags associated with a CloudWatch resource. Alarms support tagging.</p>" |
| 347 | + "documentation":"<p>Displays the tags associated with a CloudWatch resource. Currently, alarms and Contributor Insights rules support tagging.</p>" |
348 | 348 | },
|
349 | 349 | "PutAnomalyDetector":{
|
350 | 350 | "name":"PutAnomalyDetector",
|
|
469 | 469 | {"shape":"ConcurrentModificationException"},
|
470 | 470 | {"shape":"InternalServiceFault"}
|
471 | 471 | ],
|
472 |
| - "documentation":"<p>Assigns one or more tags (key-value pairs) to the specified CloudWatch resource. Currently, the only CloudWatch resources that can be tagged are alarms.</p> <p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.</p> <p>Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.</p> <p>You can use the <code>TagResource</code> action with an alarm that already has tags. If you specify a new tag key for the alarm, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces the previous value for that tag.</p> <p>You can associate as many as 50 tags with a resource.</p>" |
| 472 | + "documentation":"<p>Assigns one or more tags (key-value pairs) to the specified CloudWatch resource. Currently, the only CloudWatch resources that can be tagged are alarms and Contributor Insights rules.</p> <p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.</p> <p>Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.</p> <p>You can use the <code>TagResource</code> action with an alarm that already has tags. If you specify a new tag key for the alarm, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces the previous value for that tag.</p> <p>You can associate as many as 50 tags with a CloudWatch resource.</p>" |
473 | 473 | },
|
474 | 474 | "UntagResource":{
|
475 | 475 | "name":"UntagResource",
|
|
594 | 594 | "documentation":"<p>The metric dimensions associated with the anomaly detection model.</p>"
|
595 | 595 | },
|
596 | 596 | "Stat":{
|
597 |
| - "shape":"Stat", |
| 597 | + "shape":"AnomalyDetectorMetricStat", |
598 | 598 | "documentation":"<p>The statistic associated with the anomaly detection model.</p>"
|
599 | 599 | },
|
600 | 600 | "Configuration":{
|
|
626 | 626 | "type":"list",
|
627 | 627 | "member":{"shape":"Range"}
|
628 | 628 | },
|
629 |
| - "AnomalyDetectorMetricTimezone":{"type":"string"}, |
| 629 | + "AnomalyDetectorMetricStat":{ |
| 630 | + "type":"string", |
| 631 | + "pattern":"(SampleCount|Average|Sum|Minimum|Maximum|p(\\d{1,2}|100)(\\.\\d{0,2})?|[ou]\\d+(\\.\\d*)?)(_E|_L|_H)?" |
| 632 | + }, |
| 633 | + "AnomalyDetectorMetricTimezone":{ |
| 634 | + "type":"string", |
| 635 | + "max":50, |
| 636 | + "pattern":".*" |
| 637 | + }, |
630 | 638 | "AnomalyDetectorStateValue":{
|
631 | 639 | "type":"string",
|
632 | 640 | "enum":[
|
|
927 | 935 | "documentation":"<p>The metric dimensions associated with the anomaly detection model to delete.</p>"
|
928 | 936 | },
|
929 | 937 | "Stat":{
|
930 |
| - "shape":"Stat", |
| 938 | + "shape":"AnomalyDetectorMetricStat", |
931 | 939 | "documentation":"<p>The statistic associated with the anomaly detection model to delete.</p>"
|
932 | 940 | }
|
933 | 941 | }
|
|
1945 | 1953 | "members":{
|
1946 | 1954 | "ResourceARN":{
|
1947 | 1955 | "shape":"AmazonResourceName",
|
1948 |
| - "documentation":"<p>The ARN of the CloudWatch resource that you want to view tags for. For more information on ARN format, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-cloudwatch\">Example ARNs</a> in the <i>Amazon Web Services General Reference</i>.</p>" |
| 1956 | + "documentation":"<p>The ARN of the CloudWatch resource that you want to view tags for.</p> <p>The ARN format of an alarm is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code> </p> <p>The ARN format of a Contributor Insights rule is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:insight-rule:<i>insight-rule-name</i> </code> </p> <p>For more information on ARN format, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies\"> Resource Types Defined by Amazon CloudWatch</a> in the <i>Amazon Web Services General Reference</i>.</p>" |
1949 | 1957 | }
|
1950 | 1958 | }
|
1951 | 1959 | },
|
|
2395 | 2403 | "documentation":"<p>The metric dimensions to create the anomaly detection model for.</p>"
|
2396 | 2404 | },
|
2397 | 2405 | "Stat":{
|
2398 |
| - "shape":"Stat", |
| 2406 | + "shape":"AnomalyDetectorMetricStat", |
2399 | 2407 | "documentation":"<p>The statistic to use for the metric and the anomaly detection model.</p>"
|
2400 | 2408 | },
|
2401 | 2409 | "Configuration":{
|
|
2494 | 2502 | "RuleDefinition":{
|
2495 | 2503 | "shape":"InsightRuleDefinition",
|
2496 | 2504 | "documentation":"<p>The definition of the rule, as a JSON object. For details on the valid syntax, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights-RuleSyntax.html\">Contributor Insights Rule Syntax</a>.</p>"
|
| 2505 | + }, |
| 2506 | + "Tags":{ |
| 2507 | + "shape":"TagList", |
| 2508 | + "documentation":"<p>A list of key-value pairs to associate with the Contributor Insights rule. You can associate as many as 50 tags with a rule.</p> <p>Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.</p> <p>To be able to associate tags with a rule, you must have the <code>cloudwatch:TagResource</code> permission in addition to the <code>cloudwatch:PutInsightRule</code> permission.</p> <p>If you are using this operation to update an existing Contributor Insights rule, any tags you specify in this parameter are ignored. To change the tags of an existing rule, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html\">TagResource</a>.</p>" |
2497 | 2509 | }
|
2498 | 2510 | }
|
2499 | 2511 | },
|
|
2863 | 2875 | "members":{
|
2864 | 2876 | "ResourceARN":{
|
2865 | 2877 | "shape":"AmazonResourceName",
|
2866 |
| - "documentation":"<p>The ARN of the CloudWatch alarm that you're adding tags to. The ARN format is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code> </p>" |
| 2878 | + "documentation":"<p>The ARN of the CloudWatch resource that you're adding tags to.</p> <p>The ARN format of an alarm is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code> </p> <p>The ARN format of a Contributor Insights rule is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:insight-rule:<i>insight-rule-name</i> </code> </p> <p>For more information on ARN format, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies\"> Resource Types Defined by Amazon CloudWatch</a> in the <i>Amazon Web Services General Reference</i>.</p>" |
2867 | 2879 | },
|
2868 | 2880 | "Tags":{
|
2869 | 2881 | "shape":"TagList",
|
|
2901 | 2913 | "members":{
|
2902 | 2914 | "ResourceARN":{
|
2903 | 2915 | "shape":"AmazonResourceName",
|
2904 |
| - "documentation":"<p>The ARN of the CloudWatch resource that you're removing tags from. For more information on ARN format, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-cloudwatch\">Example ARNs</a> in the <i>Amazon Web Services General Reference</i>.</p>" |
| 2916 | + "documentation":"<p>The ARN of the CloudWatch resource that you're removing tags from.</p> <p>The ARN format of an alarm is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:alarm:<i>alarm-name</i> </code> </p> <p>The ARN format of a Contributor Insights rule is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:insight-rule:<i>insight-rule-name</i> </code> </p> <p>For more information on ARN format, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies\"> Resource Types Defined by Amazon CloudWatch</a> in the <i>Amazon Web Services General Reference</i>.</p>" |
2905 | 2917 | },
|
2906 | 2918 | "TagKeys":{
|
2907 | 2919 | "shape":"TagKeyList",
|
|
0 commit comments