|
351 | 351 | ],
|
352 | 352 | "documentation":"<p>Returns a list of the dashboards for your account. If you include <code>DashboardNamePrefix</code>, only those dashboards with names starting with the prefix are listed. Otherwise, all dashboards in your account are listed. </p> <p> <code>ListDashboards</code> returns up to 1000 results on one page. If there are more than 1000 dashboards, you can call <code>ListDashboards</code> again and include the value you received for <code>NextToken</code> in the first call, to receive the next 1000 results.</p>"
|
353 | 353 | },
|
| 354 | + "ListManagedInsightRules":{ |
| 355 | + "name":"ListManagedInsightRules", |
| 356 | + "http":{ |
| 357 | + "method":"POST", |
| 358 | + "requestUri":"/" |
| 359 | + }, |
| 360 | + "input":{"shape":"ListManagedInsightRulesInput"}, |
| 361 | + "output":{ |
| 362 | + "shape":"ListManagedInsightRulesOutput", |
| 363 | + "resultWrapper":"ListManagedInsightRulesResult" |
| 364 | + }, |
| 365 | + "errors":[ |
| 366 | + {"shape":"InvalidParameterValueException"}, |
| 367 | + {"shape":"MissingRequiredParameterException"}, |
| 368 | + {"shape":"InvalidNextToken"} |
| 369 | + ], |
| 370 | + "documentation":"<p> Returns a list that contains the number of managed Contributor Insights rules in your account. </p>" |
| 371 | + }, |
354 | 372 | "ListMetricStreams":{
|
355 | 373 | "name":"ListMetricStreams",
|
356 | 374 | "http":{
|
|
472 | 490 | ],
|
473 | 491 | "documentation":"<p>Creates a Contributor Insights rule. Rules evaluate log events in a CloudWatch Logs log group, enabling you to find contributor data for the log events in that log group. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights.html\">Using Contributor Insights to Analyze High-Cardinality Data</a>.</p> <p>If you create a rule, delete it, and then re-create it with the same name, historical data from the first time the rule was created might not be available.</p>"
|
474 | 492 | },
|
| 493 | + "PutManagedInsightRules":{ |
| 494 | + "name":"PutManagedInsightRules", |
| 495 | + "http":{ |
| 496 | + "method":"POST", |
| 497 | + "requestUri":"/" |
| 498 | + }, |
| 499 | + "input":{"shape":"PutManagedInsightRulesInput"}, |
| 500 | + "output":{ |
| 501 | + "shape":"PutManagedInsightRulesOutput", |
| 502 | + "resultWrapper":"PutManagedInsightRulesResult" |
| 503 | + }, |
| 504 | + "errors":[ |
| 505 | + {"shape":"InvalidParameterValueException"}, |
| 506 | + {"shape":"MissingRequiredParameterException"} |
| 507 | + ], |
| 508 | + "documentation":"<p> Creates a managed Contributor Insights rule for a specified Amazon Web Services resource. When you enable a managed rule, you create a Contributor Insights rule that collects data from Amazon Web Services services. You cannot edit these rules with <code>PutInsightRule</code>. The rules can be enabled, disabled, and deleted using <code>EnableInsightRules</code>, <code>DisableInsightRules</code>, and <code>DeleteInsightRules</code>. If a previously created managed rule is currently disabled, a subsequent call to this API will re-enable it. Use <code>ListManagedInsightRules</code> to describe all available rules. </p>" |
| 509 | + }, |
475 | 510 | "PutMetricAlarm":{
|
476 | 511 | "name":"PutMetricAlarm",
|
477 | 512 | "http":{
|
|
1825 | 1860 | },
|
1826 | 1861 | "OutputFormat":{
|
1827 | 1862 | "shape":"MetricStreamOutputFormat",
|
1828 |
| - "documentation":"<p>The output format for the stream. Valid values are <code>json</code> and <code>opentelemetry0.7</code>. For more information about metric stream output formats, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html\"> Metric streams output formats</a>.</p>" |
| 1863 | + "documentation":"<p>The output format for the stream. Valid values are <code>json</code> and <code>opentelemetry0.7</code>. For more information about metric stream output formats, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html\">Metric streams output formats</a>.</p>" |
1829 | 1864 | },
|
1830 | 1865 | "StatisticsConfigurations":{
|
1831 | 1866 | "shape":"MetricStreamStatisticsConfigurations",
|
|
1898 | 1933 | "Definition":{
|
1899 | 1934 | "shape":"InsightRuleDefinition",
|
1900 | 1935 | "documentation":"<p>The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, the value to aggregate on if this rule returns a sum instead of a count, and the filters. 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>"
|
| 1936 | + }, |
| 1937 | + "ManagedRule":{ |
| 1938 | + "shape":"InsightRuleIsManaged", |
| 1939 | + "documentation":"<p> An optional built-in rule that Amazon Web Services manages. </p>" |
1901 | 1940 | }
|
1902 | 1941 | },
|
1903 | 1942 | "documentation":"<p>This structure contains the definition for a Contributor Insights rule. For more information about this rule, see<a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights.html\"> Using Constributor Insights to analyze high-cardinality data</a> in the <i>Amazon CloudWatch User Guide</i>.</p>"
|
|
1968 | 2007 | "min":1,
|
1969 | 2008 | "pattern":"[\\x00-\\x7F]+"
|
1970 | 2009 | },
|
| 2010 | + "InsightRuleIsManaged":{"type":"boolean"}, |
1971 | 2011 | "InsightRuleMaxResults":{
|
1972 | 2012 | "type":"integer",
|
1973 | 2013 | "max":500,
|
|
2203 | 2243 | }
|
2204 | 2244 | }
|
2205 | 2245 | },
|
| 2246 | + "ListManagedInsightRulesInput":{ |
| 2247 | + "type":"structure", |
| 2248 | + "required":["ResourceARN"], |
| 2249 | + "members":{ |
| 2250 | + "ResourceARN":{ |
| 2251 | + "shape":"AmazonResourceName", |
| 2252 | + "documentation":"<p> The ARN of an Amazon Web Services resource that has managed Contributor Insights rules. </p>" |
| 2253 | + }, |
| 2254 | + "NextToken":{ |
| 2255 | + "shape":"NextToken", |
| 2256 | + "documentation":"<p> Include this value to get the next set of rules if the value was returned by the previous operation. </p>" |
| 2257 | + }, |
| 2258 | + "MaxResults":{ |
| 2259 | + "shape":"InsightRuleMaxResults", |
| 2260 | + "documentation":"<p> The maximum number of results to return in one operation. If you omit this parameter, the default number is used. The default number is <code>100</code>. </p>" |
| 2261 | + } |
| 2262 | + } |
| 2263 | + }, |
| 2264 | + "ListManagedInsightRulesOutput":{ |
| 2265 | + "type":"structure", |
| 2266 | + "members":{ |
| 2267 | + "ManagedRules":{ |
| 2268 | + "shape":"ManagedRuleDescriptions", |
| 2269 | + "documentation":"<p> The managed rules that are available for the specified Amazon Web Services resource. </p>" |
| 2270 | + }, |
| 2271 | + "NextToken":{ |
| 2272 | + "shape":"NextToken", |
| 2273 | + "documentation":"<p> Include this value to get the next set of rules if the value was returned by the previous operation. </p>" |
| 2274 | + } |
| 2275 | + } |
| 2276 | + }, |
2206 | 2277 | "ListMetricStreamsInput":{
|
2207 | 2278 | "type":"structure",
|
2208 | 2279 | "members":{
|
|
2295 | 2366 | }
|
2296 | 2367 | }
|
2297 | 2368 | },
|
| 2369 | + "ManagedRule":{ |
| 2370 | + "type":"structure", |
| 2371 | + "required":[ |
| 2372 | + "TemplateName", |
| 2373 | + "ResourceARN" |
| 2374 | + ], |
| 2375 | + "members":{ |
| 2376 | + "TemplateName":{ |
| 2377 | + "shape":"TemplateName", |
| 2378 | + "documentation":"<p> The template name for the managed Contributor Insights rule, as returned by <code>ListManagedInsightRules</code>. </p>" |
| 2379 | + }, |
| 2380 | + "ResourceARN":{ |
| 2381 | + "shape":"AmazonResourceName", |
| 2382 | + "documentation":"<p> The ARN of an Amazon Web Services resource that has managed Contributor Insights rules. </p>" |
| 2383 | + }, |
| 2384 | + "Tags":{ |
| 2385 | + "shape":"TagList", |
| 2386 | + "documentation":"<p> A list of key-value pairs that you can associate with a managed Contributor Insights rule. You can associate as many as 50 tags with a rule. Tags can help you organize and categorize your resources. You also can use them to scope user permissions by granting a user permission to access or change only the resources that have certain tag values. To associate tags with a rule, you must have the <code>cloudwatch:TagResource</code> permission in addition to the <code>cloudwatch:PutInsightRule</code> permission. If you are using this operation to update an existing Contributor Insights rule, any tags that you specify in this parameter are ignored. To change the tags of an existing rule, use <code>TagResource</code>. </p>" |
| 2387 | + } |
| 2388 | + }, |
| 2389 | + "documentation":"<p> Contains the information that's required to enable a managed Contributor Insights rule for an Amazon Web Services resource. </p>" |
| 2390 | + }, |
| 2391 | + "ManagedRuleDescription":{ |
| 2392 | + "type":"structure", |
| 2393 | + "members":{ |
| 2394 | + "TemplateName":{ |
| 2395 | + "shape":"TemplateName", |
| 2396 | + "documentation":"<p> The template name for the managed rule. Used to enable managed rules using <code>PutManagedInsightRules</code>. </p>" |
| 2397 | + }, |
| 2398 | + "ResourceARN":{ |
| 2399 | + "shape":"AmazonResourceName", |
| 2400 | + "documentation":"<p> If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource. </p>" |
| 2401 | + }, |
| 2402 | + "RuleState":{ |
| 2403 | + "shape":"ManagedRuleState", |
| 2404 | + "documentation":"<p> Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource. </p>" |
| 2405 | + } |
| 2406 | + }, |
| 2407 | + "documentation":"<p> Contains information about managed Contributor Insights rules, as returned by <code>ListManagedInsightRules</code>. </p>" |
| 2408 | + }, |
| 2409 | + "ManagedRuleDescriptions":{ |
| 2410 | + "type":"list", |
| 2411 | + "member":{"shape":"ManagedRuleDescription"} |
| 2412 | + }, |
| 2413 | + "ManagedRuleState":{ |
| 2414 | + "type":"structure", |
| 2415 | + "required":[ |
| 2416 | + "RuleName", |
| 2417 | + "State" |
| 2418 | + ], |
| 2419 | + "members":{ |
| 2420 | + "RuleName":{ |
| 2421 | + "shape":"InsightRuleName", |
| 2422 | + "documentation":"<p> The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource. </p>" |
| 2423 | + }, |
| 2424 | + "State":{ |
| 2425 | + "shape":"InsightRuleState", |
| 2426 | + "documentation":"<p> Indicates whether the rule is enabled or disabled. </p>" |
| 2427 | + } |
| 2428 | + }, |
| 2429 | + "documentation":"<p> The status of a managed Contributor Insights rule. </p>" |
| 2430 | + }, |
| 2431 | + "ManagedRules":{ |
| 2432 | + "type":"list", |
| 2433 | + "member":{"shape":"ManagedRule"} |
| 2434 | + }, |
2298 | 2435 | "MaxRecords":{
|
2299 | 2436 | "type":"integer",
|
2300 | 2437 | "max":100,
|
|
2598 | 2735 | },
|
2599 | 2736 | "Values":{
|
2600 | 2737 | "shape":"Values",
|
2601 |
| - "documentation":"<p>Array of numbers representing the values for the metric during the period. Each unique value is listed just once in this array, and the corresponding number in the <code>Counts</code> array specifies the number of times that value occurred during the period. You can include up to 500 unique values in each <code>PutMetricData</code> action that specifies a <code>Values</code> array.</p> <p>Although the <code>Values</code> array accepts numbers of type <code>Double</code>, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported.</p>" |
| 2738 | + "documentation":"<p>Array of numbers representing the values for the metric during the period. Each unique value is listed just once in this array, and the corresponding number in the <code>Counts</code> array specifies the number of times that value occurred during the period. You can include up to 150 unique values in each <code>PutMetricData</code> action that specifies a <code>Values</code> array.</p> <p>Although the <code>Values</code> array accepts numbers of type <code>Double</code>, CloudWatch rejects values that are either too small or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity, -Infinity) are not supported.</p>" |
2602 | 2739 | },
|
2603 | 2740 | "Counts":{
|
2604 | 2741 | "shape":"Counts",
|
|
3000 | 3137 | "members":{
|
3001 | 3138 | }
|
3002 | 3139 | },
|
| 3140 | + "PutManagedInsightRulesInput":{ |
| 3141 | + "type":"structure", |
| 3142 | + "required":["ManagedRules"], |
| 3143 | + "members":{ |
| 3144 | + "ManagedRules":{ |
| 3145 | + "shape":"ManagedRules", |
| 3146 | + "documentation":"<p> A list of <code>ManagedRules</code> to enable. </p>" |
| 3147 | + } |
| 3148 | + } |
| 3149 | + }, |
| 3150 | + "PutManagedInsightRulesOutput":{ |
| 3151 | + "type":"structure", |
| 3152 | + "members":{ |
| 3153 | + "Failures":{ |
| 3154 | + "shape":"BatchFailures", |
| 3155 | + "documentation":"<p> An array that lists the rules that could not be enabled. </p>" |
| 3156 | + } |
| 3157 | + } |
| 3158 | + }, |
3003 | 3159 | "PutMetricAlarmInput":{
|
3004 | 3160 | "type":"structure",
|
3005 | 3161 | "required":[
|
|
3488 | 3644 | "max":256,
|
3489 | 3645 | "min":0
|
3490 | 3646 | },
|
| 3647 | + "TemplateName":{ |
| 3648 | + "type":"string", |
| 3649 | + "max":128, |
| 3650 | + "min":1, |
| 3651 | + "pattern":"[0-9A-Za-z][\\-\\.\\_0-9A-Za-z]{0,126}[0-9A-Za-z]" |
| 3652 | + }, |
3491 | 3653 | "Threshold":{"type":"double"},
|
3492 | 3654 | "Timestamp":{"type":"timestamp"},
|
3493 | 3655 | "Timestamps":{
|
|
0 commit comments