{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2010-08-01",
    "awsQueryCompatible":{},
    "endpointPrefix":"monitoring",
    "jsonVersion":"1.0",
    "protocol":"smithy-rpc-v2-cbor",
    "protocols":[
      "smithy-rpc-v2-cbor",
      "json",
      "query"
    ],
    "serviceAbbreviation":"CloudWatch",
    "serviceFullName":"Amazon CloudWatch",
    "serviceId":"CloudWatch",
    "signatureVersion":"v4",
    "targetPrefix":"GraniteServiceVersion20100801",
    "uid":"monitoring-2010-08-01",
    "xmlNamespace":"http://monitoring.amazonaws.com/doc/2010-08-01/",
    "auth":["aws.auth#sigv4"]
  },
  "operations":{
    "AssociateDatasetKmsKey":{
      "name":"AssociateDatasetKmsKey",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"AssociateDatasetKmsKeyInput"},
      "output":{
        "shape":"AssociateDatasetKmsKeyOutput",
        "resultWrapper":"AssociateDatasetKmsKeyResult"
      },
      "errors":[
        {"shape":"KmsAccessDeniedException"},
        {"shape":"KmsKeyNotFoundException"},
        {"shape":"ConflictException"},
        {"shape":"KmsKeyDisabledException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Associates an Amazon Web Services Key Management Service (Amazon Web Services KMS) customer managed key with the specified dataset. After this operation completes, all data published to the dataset is encrypted at rest using the specified KMS key. Callers must have <code>kms:Decrypt</code> permission on the key to read the encrypted data.</p> <p>Only the <code>default</code> dataset is supported. The <code>default</code> dataset is implicit for every account in every Region — you do not need to create it before calling this operation.</p> <p>You can call <code>AssociateDatasetKmsKey</code> on a dataset that is already associated with a KMS key to replace the existing key with a different one. To replace a key, the caller must have <code>kms:Decrypt</code> permission on both the current key and the new key.</p> <p>The KMS key that you specify must meet all of the following requirements:</p> <ul> <li> <p>It must be a symmetric encryption KMS key (key spec <code>SYMMETRIC_DEFAULT</code>, key usage <code>ENCRYPT_DECRYPT</code>). Asymmetric keys, HMAC keys, and key material types other than <code>SYMMETRIC_DEFAULT</code> are not supported.</p> </li> <li> <p>It must be enabled and not pending deletion.</p> </li> <li> <p>Its key policy must grant the CloudWatch service principal (<code>cloudwatch.amazonaws.com</code>) these permissions: <code>kms:DescribeKey</code>, <code>kms:GenerateDataKey</code>, <code>kms:Encrypt</code>, <code>kms:Decrypt</code>, and <code>kms:ReEncrypt*</code>. Amazon CloudWatch requires these permissions to manage the data on your behalf.</p> </li> <li> <p>The calling principal must have <code>kms:Decrypt</code> permission on the key.</p> </li> <li> <p>It must be specified as a fully qualified key ARN. Key IDs, aliases, and alias ARNs are not accepted.</p> </li> <li> <p>It must be in the same Amazon Web Services Region as the dataset.</p> </li> </ul> <p>Before completing the association, Amazon CloudWatch validates the key by performing a series of dry-run KMS operations. Service-principal checks run first to verify that the key policy grants the required access to Amazon CloudWatch. These checks include <code>kms:DescribeKey</code>, <code>kms:GenerateDataKey</code>, <code>kms:Encrypt</code>, <code>kms:Decrypt</code>, and <code>kms:ReEncrypt*</code>. After those succeed, a <code>kms:Decrypt</code> dry-run is run with the caller's credentials to verify that the calling principal can use the key. When you are replacing an existing key, the caller's <code>kms:Decrypt</code> dry-run is run on the current key first, and only then on the new key.</p> <p>If any of these checks fails, the operation fails and the existing key association (if any) remains unchanged. Common failure causes include the key being disabled, the key policy not granting the required permissions to Amazon CloudWatch, or the caller lacking <code>kms:Decrypt</code> permission on the key.</p> <p>For more information about using customer managed keys with Amazon CloudWatch, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cmk-encryption.html\">Encryption at rest with customer managed keys</a> in the <i>Amazon CloudWatch User Guide</i>.</p>"
    },
    "DeleteAlarmMuteRule":{
      "name":"DeleteAlarmMuteRule",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteAlarmMuteRuleInput"},
      "documentation":"<p>Deletes a specific alarm mute rule.</p> <p>When you delete a mute rule, any alarms that are currently being muted by that rule are immediately unmuted. If those alarms are in an ALARM state, their configured actions will trigger.</p> <p>This operation is idempotent. If you delete a mute rule that does not exist, the operation succeeds without returning an error.</p> <p> <b>Permissions</b> </p> <p>To delete a mute rule, you need the <code>cloudwatch:DeleteAlarmMuteRule</code> permission on the alarm mute rule resource.</p>"
    },
    "DeleteAlarms":{
      "name":"DeleteAlarms",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteAlarmsInput"},
      "errors":[
        {"shape":"ResourceNotFound"},
        {"shape":"ResourceConflict"}
      ],
      "documentation":"<p>Deletes the specified alarms. You can delete up to 100 alarms in one operation. However, this total can include no more than one composite alarm. For example, you could delete 99 metric alarms and one composite alarms with one operation, but you can't delete two composite alarms with one operation. Log alarms cannot be batch deleted.</p> <p> If you specify any incorrect alarm names, the alarms you specify with correct names are still deleted. Other syntax errors might result in no alarms being deleted. To confirm that alarms were deleted successfully, you can use the <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html\">DescribeAlarms</a> operation after using <code>DeleteAlarms</code>.</p> <note> <p>It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle because there is always still a composite alarm that depends on that alarm that you want to delete.</p> <p>To get out of such a situation, you must break the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest change to make to break a cycle is to change the <code>AlarmRule</code> of one of the alarms to <code>false</code>. </p> <p>Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path. </p> </note>"
    },
    "DeleteAnomalyDetector":{
      "name":"DeleteAnomalyDetector",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteAnomalyDetectorInput"},
      "output":{
        "shape":"DeleteAnomalyDetectorOutput",
        "resultWrapper":"DeleteAnomalyDetectorResult"
      },
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServiceFault"},
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"},
        {"shape":"InvalidParameterCombinationException"}
      ],
      "documentation":"<p> Deletes the specified anomaly detection model from your account. For more information about how to delete an anomaly detection model, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Anomaly_Detection_Alarm.html#Delete_Anomaly_Detection_Model\">Deleting an anomaly detection model</a> in the <i>CloudWatch User Guide</i>. </p>"
    },
    "DeleteDashboards":{
      "name":"DeleteDashboards",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteDashboardsInput"},
      "output":{
        "shape":"DeleteDashboardsOutput",
        "resultWrapper":"DeleteDashboardsResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"InternalServiceFault"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Deletes all dashboards that you specify. You can specify up to 100 dashboards to delete. If there is an error during this call, the operation attempts to delete as many dashboards as possible.</p>"
    },
    "DeleteInsightRules":{
      "name":"DeleteInsightRules",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteInsightRulesInput"},
      "output":{
        "shape":"DeleteInsightRulesOutput",
        "resultWrapper":"DeleteInsightRulesResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"}
      ],
      "documentation":"<p>Permanently deletes the specified Contributor Insights rules.</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>"
    },
    "DeleteMetricStream":{
      "name":"DeleteMetricStream",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteMetricStreamInput"},
      "output":{
        "shape":"DeleteMetricStreamOutput",
        "resultWrapper":"DeleteMetricStreamResult"
      },
      "errors":[
        {"shape":"InternalServiceFault"},
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"}
      ],
      "documentation":"<p>Permanently deletes the metric stream that you specify.</p>"
    },
    "DescribeAlarmContributors":{
      "name":"DescribeAlarmContributors",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeAlarmContributorsInput"},
      "output":{
        "shape":"DescribeAlarmContributorsOutput",
        "resultWrapper":"DescribeAlarmContributorsResult"
      },
      "errors":[
        {"shape":"InvalidNextToken"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Returns the information of the current alarm contributors that are in <code>ALARM</code> state. This operation returns details about the individual time series that contribute to the alarm's state.</p>"
    },
    "DescribeAlarmHistory":{
      "name":"DescribeAlarmHistory",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeAlarmHistoryInput"},
      "output":{
        "shape":"DescribeAlarmHistoryOutput",
        "resultWrapper":"DescribeAlarmHistoryResult"
      },
      "errors":[
        {"shape":"InvalidNextToken"}
      ],
      "documentation":"<p>Retrieves the history for the specified alarm. You can filter the results by date range or item type. If an alarm name is not specified, the histories for either all metric alarms or all composite alarms are returned.</p> <p>CloudWatch retains the history of an alarm even if you delete the alarm.</p> <p>To use this operation and return information about a composite alarm, you must be signed on with the <code>cloudwatch:DescribeAlarmHistory</code> permission that is scoped to <code>*</code>. You can't return information about composite alarms if your <code>cloudwatch:DescribeAlarmHistory</code> permission has a narrower scope.</p>"
    },
    "DescribeAlarms":{
      "name":"DescribeAlarms",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeAlarmsInput"},
      "output":{
        "shape":"DescribeAlarmsOutput",
        "resultWrapper":"DescribeAlarmsResult"
      },
      "errors":[
        {"shape":"InvalidNextToken"}
      ],
      "documentation":"<p>Retrieves the specified alarms. You can filter the results by specifying a prefix for the alarm name, the alarm state, or a prefix for any action.</p> <p>To use this operation and return information about composite alarms, you must be signed on with the <code>cloudwatch:DescribeAlarms</code> permission that is scoped to <code>*</code>. You can't return information about composite alarms if your <code>cloudwatch:DescribeAlarms</code> permission has a narrower scope.</p>"
    },
    "DescribeAlarmsForMetric":{
      "name":"DescribeAlarmsForMetric",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeAlarmsForMetricInput"},
      "output":{
        "shape":"DescribeAlarmsForMetricOutput",
        "resultWrapper":"DescribeAlarmsForMetricResult"
      },
      "documentation":"<p>Retrieves the alarms for the specified metric. To filter the results, specify a statistic, period, or unit.</p> <p>This operation retrieves only standard alarms that are based on the specified metric. It does not return alarms based on math expressions that use the specified metric, or composite alarms that use the specified metric.</p>"
    },
    "DescribeAnomalyDetectors":{
      "name":"DescribeAnomalyDetectors",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeAnomalyDetectorsInput"},
      "output":{
        "shape":"DescribeAnomalyDetectorsOutput",
        "resultWrapper":"DescribeAnomalyDetectorsResult"
      },
      "errors":[
        {"shape":"InvalidNextToken"},
        {"shape":"InternalServiceFault"},
        {"shape":"InvalidParameterValueException"},
        {"shape":"InvalidParameterCombinationException"}
      ],
      "documentation":"<p>Lists the anomaly detection models that you have created in your account. For single metric anomaly detectors, you can list all of the models in your account or filter the results to only the models that are related to a certain namespace, metric name, or metric dimension. For metric math anomaly detectors, you can list them by adding <code>METRIC_MATH</code> to the <code>AnomalyDetectorTypes</code> array. This will return all metric math anomaly detectors in your account.</p>"
    },
    "DescribeInsightRules":{
      "name":"DescribeInsightRules",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeInsightRulesInput"},
      "output":{
        "shape":"DescribeInsightRulesOutput",
        "resultWrapper":"DescribeInsightRulesResult"
      },
      "errors":[
        {"shape":"InvalidNextToken"}
      ],
      "documentation":"<p>Returns a list of all the Contributor Insights rules in your account.</p> <p>For more information about Contributor Insights, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights.html\">Using Contributor Insights to Analyze High-Cardinality Data</a>.</p>"
    },
    "DisableAlarmActions":{
      "name":"DisableAlarmActions",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DisableAlarmActionsInput"},
      "documentation":"<p>Disables the actions for the specified alarms. When an alarm's actions are disabled, the alarm actions do not execute when the alarm state changes.</p>"
    },
    "DisableInsightRules":{
      "name":"DisableInsightRules",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DisableInsightRulesInput"},
      "output":{
        "shape":"DisableInsightRulesOutput",
        "resultWrapper":"DisableInsightRulesResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"}
      ],
      "documentation":"<p>Disables the specified Contributor Insights rules. When rules are disabled, they do not analyze log groups and do not incur costs.</p>"
    },
    "DisassociateDatasetKmsKey":{
      "name":"DisassociateDatasetKmsKey",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DisassociateDatasetKmsKeyInput"},
      "output":{
        "shape":"DisassociateDatasetKmsKeyOutput",
        "resultWrapper":"DisassociateDatasetKmsKeyResult"
      },
      "errors":[
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Removes the customer managed Amazon Web Services Key Management Service (Amazon Web Services KMS) key association from the specified dataset. After this operation completes, data that you publish to the dataset is encrypted at rest using an Amazon Web Services owned key managed by Amazon CloudWatch.</p> <p>Only the <code>default</code> dataset is supported. To call this operation, the dataset must currently have a customer managed KMS key associated with it. If the dataset has no associated KMS key, the operation fails with <code>ResourceNotFoundException</code>.</p> <p>Amazon CloudWatch performs a dry-run <code>kms:Decrypt</code> call on the key as part of this operation. This verifies that the caller is authorized to use the currently associated key. The caller must have <code>kms:Decrypt</code> permission on the currently associated key, and the key must be enabled and accessible. If the key has been disabled or scheduled for deletion, you must first re-enable or restore it before you can disassociate it from the dataset.</p> <important> <p>Disassociating a KMS key from a dataset does not immediately remove the <code>kms:Decrypt</code> requirement on data plane operations. For up to three hours after disassociation, callers must continue to have <code>kms:Decrypt</code> permission on the previously associated key. Some data may still be encrypted with that key during this window. After this enforcement window elapses, the <code>kms:Decrypt</code> requirement is lifted.</p> </important> <p>For more information about using customer managed keys with Amazon CloudWatch, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cmk-encryption.html\">Encryption at rest with customer managed keys</a> in the <i>Amazon CloudWatch User Guide</i>.</p>",
      "idempotent":true
    },
    "EnableAlarmActions":{
      "name":"EnableAlarmActions",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"EnableAlarmActionsInput"},
      "documentation":"<p>Enables the actions for the specified alarms.</p>"
    },
    "EnableInsightRules":{
      "name":"EnableInsightRules",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"EnableInsightRulesInput"},
      "output":{
        "shape":"EnableInsightRulesOutput",
        "resultWrapper":"EnableInsightRulesResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"},
        {"shape":"LimitExceededException"}
      ],
      "documentation":"<p>Enables the specified Contributor Insights rules. When rules are enabled, they immediately begin analyzing log data.</p>"
    },
    "GetAlarmMuteRule":{
      "name":"GetAlarmMuteRule",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetAlarmMuteRuleInput"},
      "output":{
        "shape":"GetAlarmMuteRuleOutput",
        "resultWrapper":"GetAlarmMuteRuleResult"
      },
      "errors":[
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Retrieves details for a specific alarm mute rule.</p> <p>This operation returns complete information about the mute rule, including its configuration, status, targeted alarms, and metadata.</p> <p>The returned status indicates the current state of the mute rule:</p> <ul> <li> <p> <b>SCHEDULED</b>: The mute rule is configured and will become active in the future</p> </li> <li> <p> <b>ACTIVE</b>: The mute rule is currently muting alarm actions</p> </li> <li> <p> <b>EXPIRED</b>: The mute rule has passed its expiration date and will no longer become active</p> </li> </ul> <p> <b>Permissions</b> </p> <p>To retrieve details for a mute rule, you need the <code>cloudwatch:GetAlarmMuteRule</code> permission on the alarm mute rule resource.</p>"
    },
    "GetDashboard":{
      "name":"GetDashboard",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetDashboardInput"},
      "output":{
        "shape":"GetDashboardOutput",
        "resultWrapper":"GetDashboardResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"DashboardNotFoundError"},
        {"shape":"InternalServiceFault"}
      ],
      "documentation":"<p>Displays the details of the dashboard that you specify.</p> <p>To copy an existing dashboard, use <code>GetDashboard</code>, and then use the data returned within <code>DashboardBody</code> as the template for the new dashboard when you call <code>PutDashboard</code> to create the copy.</p>"
    },
    "GetDataset":{
      "name":"GetDataset",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetDatasetInput"},
      "output":{
        "shape":"GetDatasetOutput",
        "resultWrapper":"GetDatasetResult"
      },
      "errors":[
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Returns information about the specified dataset. This includes its identifier, Amazon Resource Name (ARN), and any customer managed Amazon Web Services Key Management Service (Amazon Web Services KMS) key that is currently associated with it.</p> <p>Only the <code>default</code> dataset is supported. The <code>default</code> dataset is implicit for every account in every Region — you can call <code>GetDataset</code> for it without first creating it. If no customer managed KMS key has been associated with the dataset, the response omits the <code>KmsKeyArn</code> field, indicating that data is encrypted at rest using an Amazon Web Services owned key managed by Amazon CloudWatch.</p> <p>To associate a customer managed KMS key with a dataset, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_AssociateDatasetKmsKey.html\">AssociateDatasetKmsKey</a>. To remove the association, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DisassociateDatasetKmsKey.html\">DisassociateDatasetKmsKey</a>.</p>",
      "readonly":true
    },
    "GetInsightRuleReport":{
      "name":"GetInsightRuleReport",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetInsightRuleReportInput"},
      "output":{
        "shape":"GetInsightRuleReportOutput",
        "resultWrapper":"GetInsightRuleReportResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>This operation returns the time series data collected by a Contributor Insights rule. The data includes the identity and number of contributors to the log group.</p> <p>You can also optionally return one or more statistics about each data point in the time series. These statistics can include the following:</p> <ul> <li> <p> <code>UniqueContributors</code> -- the number of unique contributors for each data point.</p> </li> <li> <p> <code>MaxContributorValue</code> -- the value of the top contributor for each data point. The identity of the contributor might change for each data point in the graph.</p> <p>If this rule aggregates by COUNT, the top contributor for each data point is the contributor with the most occurrences in that period. If the rule aggregates by SUM, the top contributor is the contributor with the highest sum in the log field specified by the rule's <code>Value</code>, during that period.</p> </li> <li> <p> <code>SampleCount</code> -- the number of data points matched by the rule.</p> </li> <li> <p> <code>Sum</code> -- the sum of the values from all contributors during the time period represented by that data point.</p> </li> <li> <p> <code>Minimum</code> -- the minimum value from a single observation during the time period represented by that data point.</p> </li> <li> <p> <code>Maximum</code> -- the maximum value from a single observation during the time period represented by that data point.</p> </li> <li> <p> <code>Average</code> -- the average value from all contributors during the time period represented by that data point.</p> </li> </ul>"
    },
    "GetMetricData":{
      "name":"GetMetricData",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetMetricDataInput"},
      "output":{
        "shape":"GetMetricDataOutput",
        "resultWrapper":"GetMetricDataResult"
      },
      "errors":[
        {"shape":"InvalidNextToken"}
      ],
      "documentation":"<p>You can use the <code>GetMetricData</code> API to retrieve CloudWatch metric values. The operation can also include a CloudWatch Metrics Insights query, and one or more metric math functions.</p> <p>A <code>GetMetricData</code> operation that does not include a query can retrieve as many as 500 different metrics in a single request, with a total of as many as 100,800 data points. You can also optionally perform metric math expressions on the values of the returned statistics, to create new time series that represent new insights into your data. For example, using Lambda metrics, you could divide the Errors metric by the Invocations metric to get an error rate time series. For more information about metric math expressions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax\">Metric Math Syntax and Functions</a> in the <i>Amazon CloudWatch User Guide</i>.</p> <p>If you include a Metrics Insights query, each <code>GetMetricData</code> operation can include only one query. But the same <code>GetMetricData</code> operation can also retrieve other metrics. Metrics Insights queries can query only the most recent three hours of metric data. For more information about Metrics Insights, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/query_with_cloudwatch-metrics-insights.html\">Query your metrics with CloudWatch Metrics Insights</a>.</p> <p>Calls to the <code>GetMetricData</code> API have a different pricing structure than calls to <code>GetMetricStatistics</code>. For more information about pricing, see <a href=\"https://aws.amazon.com/cloudwatch/pricing/\">Amazon CloudWatch Pricing</a>.</p> <p>Amazon CloudWatch retains metric data as follows:</p> <ul> <li> <p>Data points with a period of less than 60 seconds are available for 3 hours. These data points are high-resolution metrics and are available only for custom metrics that have been defined with a <code>StorageResolution</code> of 1.</p> </li> <li> <p>Data points with a period of 60 seconds (1-minute) are available for 15 days.</p> </li> <li> <p>Data points with a period of 300 seconds (5-minute) are available for 63 days.</p> </li> <li> <p>Data points with a period of 3600 seconds (1 hour) are available for 455 days (15 months).</p> </li> </ul> <p>Data points that are initially published with a shorter period are aggregated together for long-term storage. For example, if you collect data using a period of 1 minute, the data remains available for 15 days with 1-minute resolution. After 15 days, this data is still available, but is aggregated and retrievable only with a resolution of 5 minutes. After 63 days, the data is further aggregated and is available with a resolution of 1 hour.</p> <p>If you omit <code>Unit</code> in your request, all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.</p> <p> <b>Using Metrics Insights queries with metric math</b> </p> <p>You can't mix a Metric Insights query and metric math syntax in the same expression, but you can reference results from a Metrics Insights query within other Metric math expressions. A Metrics Insights query without a <b>GROUP BY</b> clause returns a single time-series (TS), and can be used as input for a metric math expression that expects a single time series. A Metrics Insights query with a <b>GROUP BY</b> clause returns an array of time-series (TS[]), and can be used as input for a metric math expression that expects an array of time series. </p>"
    },
    "GetMetricStatistics":{
      "name":"GetMetricStatistics",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetMetricStatisticsInput"},
      "output":{
        "shape":"GetMetricStatisticsOutput",
        "resultWrapper":"GetMetricStatisticsResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"},
        {"shape":"InvalidParameterCombinationException"},
        {"shape":"InternalServiceFault"}
      ],
      "documentation":"<p>Gets statistics for the specified metric.</p> <p>The maximum number of data points returned from a single call is 1,440. If you request more than 1,440 data points, CloudWatch returns an error. To reduce the number of data points, you can narrow the specified time range and make multiple requests across adjacent time ranges, or you can increase the specified period. Data points are not returned in chronological order.</p> <p>CloudWatch aggregates data points based on the length of the period that you specify. For example, if you request statistics with a one-hour period, CloudWatch aggregates all data points with time stamps that fall within each one-hour period. Therefore, the number of values aggregated by CloudWatch is larger than the number of data points returned.</p> <p>CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true:</p> <ul> <li> <p>The SampleCount value of the statistic set is 1.</p> </li> <li> <p>The Min and the Max values of the statistic set are equal.</p> </li> </ul> <p>Percentile statistics are not available for metrics when any of the metric values are negative numbers.</p> <p>Amazon CloudWatch retains metric data as follows:</p> <ul> <li> <p>Data points with a period of less than 60 seconds are available for 3 hours. These data points are high-resolution metrics and are available only for custom metrics that have been defined with a <code>StorageResolution</code> of 1.</p> </li> <li> <p>Data points with a period of 60 seconds (1-minute) are available for 15 days.</p> </li> <li> <p>Data points with a period of 300 seconds (5-minute) are available for 63 days.</p> </li> <li> <p>Data points with a period of 3600 seconds (1 hour) are available for 455 days (15 months).</p> </li> </ul> <p>Data points that are initially published with a shorter period are aggregated together for long-term storage. For example, if you collect data using a period of 1 minute, the data remains available for 15 days with 1-minute resolution. After 15 days, this data is still available, but is aggregated and retrievable only with a resolution of 5 minutes. After 63 days, the data is further aggregated and is available with a resolution of 1 hour.</p> <p>CloudWatch started retaining 5-minute and 1-hour metric data as of July 9, 2016.</p> <p>For information about metrics and dimensions supported by Amazon Web Services services, see the <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CW_Support_For_AWS.html\">Amazon CloudWatch Metrics and Dimensions Reference</a> in the <i>Amazon CloudWatch User Guide</i>.</p>"
    },
    "GetMetricStream":{
      "name":"GetMetricStream",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetMetricStreamInput"},
      "output":{
        "shape":"GetMetricStreamOutput",
        "resultWrapper":"GetMetricStreamResult"
      },
      "errors":[
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServiceFault"},
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"},
        {"shape":"InvalidParameterCombinationException"}
      ],
      "documentation":"<p>Returns information about the metric stream that you specify.</p>"
    },
    "GetMetricWidgetImage":{
      "name":"GetMetricWidgetImage",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetMetricWidgetImageInput"},
      "output":{
        "shape":"GetMetricWidgetImageOutput",
        "resultWrapper":"GetMetricWidgetImageResult"
      },
      "documentation":"<p>You can use the <code>GetMetricWidgetImage</code> API to retrieve a snapshot graph of one or more Amazon CloudWatch metrics as a bitmap image. You can then embed this image into your services and products, such as wiki pages, reports, and documents. You could also retrieve images regularly, such as every minute, and create your own custom live dashboard.</p> <p>The graph you retrieve can include all CloudWatch metric graph features, including metric math and horizontal and vertical annotations.</p> <p>There is a limit of 20 transactions per second for this API. Each <code>GetMetricWidgetImage</code> action has the following limits:</p> <ul> <li> <p>As many as 100 metrics in the graph.</p> </li> <li> <p>Up to 100 KB uncompressed payload.</p> </li> </ul>"
    },
    "GetOTelEnrichment":{
      "name":"GetOTelEnrichment",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetOTelEnrichmentInput"},
      "output":{
        "shape":"GetOTelEnrichmentOutput",
        "resultWrapper":"GetOTelEnrichmentResult"
      },
      "documentation":"<p>Returns the current status of vended metric enrichment for the account, including whether CloudWatch vended metrics are enriched with resource ARN and resource tag labels and queryable using PromQL. For the list of supported resources, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/UsingResourceTagsForTelemetry.html\">Supported Amazon Web Services infrastructure metrics</a>.</p>"
    },
    "ListAlarmMuteRules":{
      "name":"ListAlarmMuteRules",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListAlarmMuteRulesInput"},
      "output":{
        "shape":"ListAlarmMuteRulesOutput",
        "resultWrapper":"ListAlarmMuteRulesResult"
      },
      "errors":[
        {"shape":"InvalidNextToken"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Lists alarm mute rules in your Amazon Web Services account and region.</p> <p>You can filter the results by alarm name to find all mute rules targeting a specific alarm, or by status to find rules that are scheduled, active, or expired.</p> <p>This operation supports pagination for accounts with many mute rules. Use the <code>MaxRecords</code> and <code>NextToken</code> parameters to retrieve results in multiple calls.</p> <p> <b>Permissions</b> </p> <p>To list mute rules, you need the <code>cloudwatch:ListAlarmMuteRules</code> permission.</p>"
    },
    "ListDashboards":{
      "name":"ListDashboards",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListDashboardsInput"},
      "output":{
        "shape":"ListDashboardsOutput",
        "resultWrapper":"ListDashboardsResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"InternalServiceFault"}
      ],
      "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>"
    },
    "ListManagedInsightRules":{
      "name":"ListManagedInsightRules",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListManagedInsightRulesInput"},
      "output":{
        "shape":"ListManagedInsightRulesOutput",
        "resultWrapper":"ListManagedInsightRulesResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"},
        {"shape":"InvalidNextToken"}
      ],
      "documentation":"<p> Returns a list that contains the number of managed Contributor Insights rules in your account. </p>"
    },
    "ListMetricStreams":{
      "name":"ListMetricStreams",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListMetricStreamsInput"},
      "output":{
        "shape":"ListMetricStreamsOutput",
        "resultWrapper":"ListMetricStreamsResult"
      },
      "errors":[
        {"shape":"InvalidNextToken"},
        {"shape":"InternalServiceFault"},
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"}
      ],
      "documentation":"<p>Returns a list of metric streams in this account.</p>"
    },
    "ListMetrics":{
      "name":"ListMetrics",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListMetricsInput"},
      "output":{
        "shape":"ListMetricsOutput",
        "resultWrapper":"ListMetricsResult"
      },
      "errors":[
        {"shape":"InternalServiceFault"},
        {"shape":"InvalidParameterValueException"}
      ],
      "documentation":"<p>List the specified metrics. You can use the returned metrics with <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html\">GetMetricData</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html\">GetMetricStatistics</a> to get statistical data.</p> <p>Up to 500 results are returned for any one call. To retrieve additional results, use the returned token with subsequent calls.</p> <p>After you create a metric, allow up to 15 minutes for the metric to appear. To see metric statistics sooner, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html\">GetMetricData</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html\">GetMetricStatistics</a>.</p> <p>If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and view metrics from the linked source accounts. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html\">CloudWatch cross-account observability</a>.</p> <p> <code>ListMetrics</code> doesn't return information about metrics if those metrics haven't reported data in the past two weeks. To retrieve those metrics, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html\">GetMetricData</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html\">GetMetricStatistics</a>.</p>"
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListTagsForResourceInput"},
      "output":{
        "shape":"ListTagsForResourceOutput",
        "resultWrapper":"ListTagsForResourceResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"InternalServiceFault"}
      ],
      "documentation":"<p>Displays the tags associated with a CloudWatch resource. Currently, alarms, dashboards, metric streams and Contributor Insights rules support tagging.</p>"
    },
    "PutAlarmMuteRule":{
      "name":"PutAlarmMuteRule",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutAlarmMuteRuleInput"},
      "errors":[
        {"shape":"LimitExceededFault"}
      ],
      "documentation":"<p>Creates or updates an alarm mute rule.</p> <p>Alarm mute rules automatically mute alarm actions during predefined time windows. When a mute rule is active, targeted alarms continue to evaluate metrics and transition between states, but their configured actions (such as Amazon SNS notifications or Auto Scaling actions) are muted.</p> <p>You can create mute rules with recurring schedules using <code>cron</code> expressions or one-time mute windows using <code>at</code> expressions. Each mute rule can target up to 100 specific alarms by name.</p> <p>If you specify a rule name that already exists, this operation updates the existing rule with the new configuration.</p> <p> <b>Permissions</b> </p> <p>To create or update a mute rule, you must have the <code>cloudwatch:PutAlarmMuteRule</code> permission on two types of resources: the alarm mute rule resource itself, and each alarm that the rule targets.</p> <p>For example, If you want to allow a user to create mute rules that target only specific alarms named \"WebServerCPUAlarm\" and \"DatabaseConnectionAlarm\", you would create an IAM policy with one statement granting <code>cloudwatch:PutAlarmMuteRule</code> on the alarm mute rule resource (<code>arn:aws:cloudwatch:[REGION]:123456789012:alarm-mute-rule:*</code>), and another statement granting <code>cloudwatch:PutAlarmMuteRule</code> on the targeted alarm resources (<code>arn:aws:cloudwatch:[REGION]:123456789012:alarm:WebServerCPUAlarm</code> and <code>arn:aws:cloudwatch:[REGION]:123456789012:alarm:DatabaseConnectionAlarm</code>).</p> <p>You can also use IAM policy conditions to allow targeting alarms based on resource tags. For example, you can restrict users to create/update mute rules to only target alarms that have a specific tag key-value pair, such as <code>Team=TeamA</code>.</p>"
    },
    "PutAnomalyDetector":{
      "name":"PutAnomalyDetector",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutAnomalyDetectorInput"},
      "output":{
        "shape":"PutAnomalyDetectorOutput",
        "resultWrapper":"PutAnomalyDetectorResult"
      },
      "errors":[
        {"shape":"LimitExceededException"},
        {"shape":"InternalServiceFault"},
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"},
        {"shape":"InvalidParameterCombinationException"}
      ],
      "documentation":"<p>Creates an anomaly detection model for a CloudWatch metric. You can use the model to display a band of expected normal values when the metric is graphed.</p> <p>If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account. You can specify the account ID in the object you specify in the <code>SingleMetricAnomalyDetector</code> parameter.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Anomaly_Detection.html\">CloudWatch Anomaly Detection</a>.</p>"
    },
    "PutCompositeAlarm":{
      "name":"PutCompositeAlarm",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutCompositeAlarmInput"},
      "errors":[
        {"shape":"LimitExceededFault"}
      ],
      "documentation":"<p>Creates or updates a <i>composite alarm</i>. When you create a composite alarm, you specify a rule expression for the alarm that takes into account the alarm states of other alarms that you have created. The composite alarm goes into ALARM state only if all conditions of the rule are met.</p> <p>The alarms specified in a composite alarm's rule expression can include metric alarms and other composite alarms. The rule expression of a composite alarm can include as many as 100 underlying alarms. Any single alarm can be included in the rule expressions of as many as 150 composite alarms.</p> <p>Using composite alarms can reduce alarm noise. You can create multiple metric alarms, and also create a composite alarm and set up alerts only for the composite alarm. For example, you could create a composite alarm that goes into ALARM state only when more than one of the underlying metric alarms are in ALARM state.</p> <p>Composite alarms can take the following actions:</p> <ul> <li> <p>Notify Amazon SNS topics.</p> </li> <li> <p>Invoke Lambda functions.</p> </li> <li> <p>Create OpsItems in Systems Manager Ops Center.</p> </li> <li> <p>Create incidents in Systems Manager Incident Manager.</p> </li> </ul> <note> <p>It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle because there is always still a composite alarm that depends on that alarm that you want to delete.</p> <p>To get out of such a situation, you must break the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest change to make to break a cycle is to change the <code>AlarmRule</code> of one of the alarms to <code>false</code>. </p> <p>Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path. </p> </note> <p>When this operation creates an alarm, the alarm state is immediately set to <code>INSUFFICIENT_DATA</code>. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. For a composite alarm, this initial time after creation is the only time that the alarm can be in <code>INSUFFICIENT_DATA</code> state.</p> <p>When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm.</p> <p>To use this operation, you must be signed on with the <code>cloudwatch:PutCompositeAlarm</code> permission that is scoped to <code>*</code>. You can't create a composite alarms if your <code>cloudwatch:PutCompositeAlarm</code> permission has a narrower scope.</p> <p>If you are an IAM user, you must have <code>iam:CreateServiceLinkedRole</code> to create a composite alarm that has Systems Manager OpsItem actions.</p>"
    },
    "PutDashboard":{
      "name":"PutDashboard",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutDashboardInput"},
      "output":{
        "shape":"PutDashboardOutput",
        "resultWrapper":"PutDashboardResult"
      },
      "errors":[
        {"shape":"DashboardInvalidInputError"},
        {"shape":"InternalServiceFault"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Creates a dashboard if it does not already exist, or updates an existing dashboard. If you update a dashboard, the entire contents are replaced with what you specify here.</p> <p>All dashboards in your account are global, not region-specific.</p> <p>A simple way to create a dashboard using <code>PutDashboard</code> is to copy an existing dashboard. To copy an existing dashboard using the console, you can load the dashboard and then use the View/edit source command in the Actions menu to display the JSON block for that dashboard. Another way to copy a dashboard is to use <code>GetDashboard</code>, and then use the data returned within <code>DashboardBody</code> as the template for the new dashboard when you call <code>PutDashboard</code>.</p> <p>When you create a dashboard with <code>PutDashboard</code>, a good practice is to add a text widget at the top of the dashboard with a message that the dashboard was created by script and should not be changed in the console. This message could also point console users to the location of the <code>DashboardBody</code> script or the CloudFormation template used to create the dashboard.</p>"
    },
    "PutInsightRule":{
      "name":"PutInsightRule",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutInsightRuleInput"},
      "output":{
        "shape":"PutInsightRuleOutput",
        "resultWrapper":"PutInsightRuleResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"},
        {"shape":"LimitExceededException"}
      ],
      "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>"
    },
    "PutLogAlarm":{
      "name":"PutLogAlarm",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutLogAlarmInput"},
      "errors":[
        {"shape":"LimitExceededFault"},
        {"shape":"ResourceConflict"}
      ],
      "documentation":"<p>Creates or updates a log alarm. A log alarm evaluates the results of a CloudWatch Logs scheduled query against the configured threshold and comparison operator to determine its state.</p> <p>When you create a log alarm, the operation creates a service-managed CloudWatch Logs scheduled query that runs the query string you provide on the schedule you configure. Each scheduled query execution returns one or more aggregated values determined by the <code>AggregationExpression</code>, and each aggregated value is compared against the alarm <code>Threshold</code> to determine the alarm state. The alarm uses M-out-of-N evaluation: if <code>QueryResultsToAlarm</code> out of the most recent <code>QueryResultsToEvaluate</code> query results breach the threshold, the alarm transitions to <code>ALARM</code>.</p> <p>Log alarms support the alarm states (<code>OK</code>, <code>ALARM</code>, <code>INSUFFICIENT_DATA</code>). Configure transition actions using <code>OKActions</code>, <code>AlarmActions</code>, and <code>InsufficientDataActions</code>.</p> <p>If you call this operation with the name of an existing log alarm, the operation replaces the previous configuration of that alarm.</p> <p> <b>Permissions</b> </p> <p>To create or update a log alarm, you must have the <code>cloudwatch:PutLogAlarm</code> permission. The IAM role specified in <code>ScheduledQueryRoleARN</code> must grant the CloudWatch Alarms service permission to execute scheduled queries on the specified log groups. If you set <code>ActionLogLineCount</code>, the role specified in <code>ActionLogLineRoleArn</code> must grant permission to retrieve log events for inclusion in alarm notifications.</p>"
    },
    "PutManagedInsightRules":{
      "name":"PutManagedInsightRules",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutManagedInsightRulesInput"},
      "output":{
        "shape":"PutManagedInsightRulesOutput",
        "resultWrapper":"PutManagedInsightRulesResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"}
      ],
      "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>"
    },
    "PutMetricAlarm":{
      "name":"PutMetricAlarm",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutMetricAlarmInput"},
      "errors":[
        {"shape":"LimitExceededFault"}
      ],
      "documentation":"<p>Creates or updates an alarm and associates it with the specified metric, metric math expression, anomaly detection model, Metrics Insights query, or PromQL query. For more information about using a Metrics Insights query for an alarm, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Metrics_Insights_Alarm.html\">Create alarms on Metrics Insights queries</a>.</p> <p>Alarms based on anomaly detection models cannot have Auto Scaling actions.</p> <p>When this operation creates an alarm, the alarm state is immediately set to <code>INSUFFICIENT_DATA</code>. For PromQL alarms, the alarm state is instead immediately set to <code>OK</code>. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed.</p> <p>When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm.</p> <p>If you are an IAM user, you must have Amazon EC2 permissions for some alarm operations:</p> <ul> <li> <p>The <code>iam:CreateServiceLinkedRole</code> permission for all alarms with EC2 actions</p> </li> <li> <p>The <code>iam:CreateServiceLinkedRole</code> permissions to create an alarm with Systems Manager OpsItem or response plan actions.</p> </li> </ul> <p>The first time you create an alarm in the Amazon Web Services Management Console, the CLI, or by using the PutMetricAlarm API, CloudWatch creates the necessary service-linked role for you. The service-linked roles are called <code>AWSServiceRoleForCloudWatchEvents</code> and <code>AWSServiceRoleForCloudWatchAlarms_ActionSSM</code>. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html#iam-term-service-linked-role\">Amazon Web Services service-linked role</a>.</p> <p>Each <code>PutMetricAlarm</code> action has a maximum uncompressed payload of 120 KB.</p> <p> <b>Cross-account alarms</b> </p> <p>You can set an alarm on metrics in the current account, or in another account. To create a cross-account alarm that watches a metric in a different account, you must have completed the following pre-requisites:</p> <ul> <li> <p>The account where the metrics are located (the <i>sharing account</i>) must already have a sharing role named <b>CloudWatch-CrossAccountSharingRole</b>. If it does not already have this role, you must create it using the instructions in <b>Set up a sharing account</b> in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html#enable-cross-account-cross-Region\"> Cross-account cross-Region CloudWatch console</a>. The policy for that role must grant access to the ID of the account where you are creating the alarm. </p> </li> <li> <p>The account where you are creating the alarm (the <i>monitoring account</i>) must already have a service-linked role named <b>AWSServiceRoleForCloudWatchCrossAccount</b> to allow CloudWatch to assume the sharing role in the sharing account. If it does not, you must create it following the directions in <b>Set up a monitoring account</b> in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html#enable-cross-account-cross-Region\"> Cross-account cross-Region CloudWatch console</a>.</p> </li> </ul>"
    },
    "PutMetricData":{
      "name":"PutMetricData",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutMetricDataInput"},
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"},
        {"shape":"InvalidParameterCombinationException"},
        {"shape":"InternalServiceFault"}
      ],
      "documentation":"<p>Publishes metric data to Amazon CloudWatch. CloudWatch associates the data with the specified metric. If the specified metric does not exist, CloudWatch creates the metric. When CloudWatch creates a metric, it can take up to fifteen minutes for the metric to appear in calls to <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html\">ListMetrics</a>.</p> <p>You can publish metrics with associated entity data (so that related telemetry can be found and viewed together), or publish metric data by itself. To send entity data with your metrics, use the <code>EntityMetricData</code> parameter. To send metrics without entity data, use the <code>MetricData</code> parameter. The <code>EntityMetricData</code> structure includes <code>MetricData</code> structures for the metric data.</p> <p>You can publish either individual values in the <code>Value</code> field, or arrays of values and the number of times each value occurred during the period by using the <code>Values</code> and <code>Counts</code> fields in the <code>MetricData</code> structure. Using the <code>Values</code> and <code>Counts</code> method enables you to publish up to 150 values per metric with one <code>PutMetricData</code> request, and supports retrieving percentile statistics on this data.</p> <p>Each <code>PutMetricData</code> request is limited to 1 MB in size for HTTP POST requests. You can send a payload compressed by gzip. Each request is also limited to no more than 1000 different metrics (across both the <code>MetricData</code> and <code>EntityMetricData</code> properties).</p> <p>Although the <code>Value</code> parameter 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> <p>You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension consists of a Name and Value pair. For more information about specifying dimensions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html\">Publishing Metrics</a> in the <i>Amazon CloudWatch User Guide</i>.</p> <p>You specify the time stamp to be associated with each data point. You can specify time stamps that are as much as two weeks before the current date, and as much as 2 hours after the current day and time.</p> <p>Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html\">GetMetricData</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html\">GetMetricStatistics</a> from the time they are submitted. Data points with time stamps between 3 and 24 hours ago can take as much as 2 hours to become available for <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html\">GetMetricData</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html\">GetMetricStatistics</a>.</p> <p>CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true:</p> <ul> <li> <p>The <code>SampleCount</code> value of the statistic set is 1 and <code>Min</code>, <code>Max</code>, and <code>Sum</code> are all equal.</p> </li> <li> <p>The <code>Min</code> and <code>Max</code> are equal, and <code>Sum</code> is equal to <code>Min</code> multiplied by <code>SampleCount</code>.</p> </li> </ul>",
      "requestcompression":{"encodings":["gzip"]}
    },
    "PutMetricStream":{
      "name":"PutMetricStream",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutMetricStreamInput"},
      "output":{
        "shape":"PutMetricStreamOutput",
        "resultWrapper":"PutMetricStreamResult"
      },
      "errors":[
        {"shape":"ConcurrentModificationException"},
        {"shape":"InternalServiceFault"},
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"},
        {"shape":"InvalidParameterCombinationException"}
      ],
      "documentation":"<p>Creates or updates a metric stream. Metric streams can automatically stream CloudWatch metrics to Amazon Web Services destinations, including Amazon S3, and to many third-party solutions.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html\"> Using Metric Streams</a>.</p> <p>To create a metric stream, you must be signed in to an account that has the <code>iam:PassRole</code> permission and either the <code>CloudWatchFullAccess</code> policy or the <code>cloudwatch:PutMetricStream</code> permission.</p> <p>When you create or update a metric stream, you choose one of the following:</p> <ul> <li> <p>Stream metrics from all metric namespaces in the account.</p> </li> <li> <p>Stream metrics from all metric namespaces in the account, except for the namespaces that you list in <code>ExcludeFilters</code>.</p> </li> <li> <p>Stream metrics from only the metric namespaces that you list in <code>IncludeFilters</code>.</p> </li> </ul> <p>By default, a metric stream always sends the <code>MAX</code>, <code>MIN</code>, <code>SUM</code>, and <code>SAMPLECOUNT</code> statistics for each metric that is streamed. You can use the <code>StatisticsConfigurations</code> parameter to have the metric stream send additional statistics in the stream. Streaming additional statistics incurs additional costs. For more information, see <a href=\"https://aws.amazon.com/cloudwatch/pricing/\">Amazon CloudWatch Pricing</a>. </p> <p>When you use <code>PutMetricStream</code> to create a new metric stream, the stream is created in the <code>running</code> state. If you use it to update an existing stream, the state of the stream is not changed.</p> <p>If you are using CloudWatch cross-account observability and you create a metric stream in a monitoring account, you can choose whether to include metrics from source accounts in the stream. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html\">CloudWatch cross-account observability</a>.</p>"
    },
    "SetAlarmState":{
      "name":"SetAlarmState",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"SetAlarmStateInput"},
      "errors":[
        {"shape":"ResourceNotFound"},
        {"shape":"InvalidFormatFault"}
      ],
      "documentation":"<p>Temporarily sets the state of an alarm for testing purposes. When the updated state differs from the previous value, the action configured for the appropriate state is invoked. For example, if your alarm is configured to send an Amazon SNS message when an alarm is triggered, temporarily changing the alarm state to <code>ALARM</code> sends an SNS message.</p> <p>Metric alarms returns to their actual state quickly, often within seconds. Because the metric alarm state change happens quickly, it is typically only visible in the alarm's <b>History</b> tab in the Amazon CloudWatch console or through <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarmHistory.html\">DescribeAlarmHistory</a>.</p> <p>If you use <code>SetAlarmState</code> on a composite alarm, the composite alarm is not guaranteed to return to its actual state. It returns to its actual state only once any of its children alarms change state. It is also reevaluated if you update its configuration.</p> <p>If an alarm triggers EC2 Auto Scaling policies or application Auto Scaling policies, you must include information in the <code>StateReasonData</code> parameter to enable the policy to take the correct action.</p>"
    },
    "StartMetricStreams":{
      "name":"StartMetricStreams",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"StartMetricStreamsInput"},
      "output":{
        "shape":"StartMetricStreamsOutput",
        "resultWrapper":"StartMetricStreamsResult"
      },
      "errors":[
        {"shape":"InternalServiceFault"},
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"}
      ],
      "documentation":"<p>Starts the streaming of metrics for one or more of your metric streams.</p>"
    },
    "StartOTelEnrichment":{
      "name":"StartOTelEnrichment",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"StartOTelEnrichmentInput"},
      "output":{
        "shape":"StartOTelEnrichmentOutput",
        "resultWrapper":"StartOTelEnrichmentResult"
      },
      "documentation":"<p>Enables enrichment and PromQL access for CloudWatch vended metrics for <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/UsingResourceTagsForTelemetry.html\">supported Amazon Web Services resources</a> in the account. Once enabled, metrics that contain a resource identifier dimension (for example, EC2 <code>CPUUtilization</code> with an <code>InstanceId</code> dimension) are enriched with resource ARN and resource tag labels and become queryable using PromQL.</p> <p>Before calling this operation, you must enable resource tags on telemetry for your account. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/EnableResourceTagsOnTelemetry.html\">Enable resource tags on telemetry</a>.</p>"
    },
    "StopMetricStreams":{
      "name":"StopMetricStreams",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"StopMetricStreamsInput"},
      "output":{
        "shape":"StopMetricStreamsOutput",
        "resultWrapper":"StopMetricStreamsResult"
      },
      "errors":[
        {"shape":"InternalServiceFault"},
        {"shape":"InvalidParameterValueException"},
        {"shape":"MissingRequiredParameterException"}
      ],
      "documentation":"<p>Stops the streaming of metrics for one or more of your metric streams.</p>"
    },
    "StopOTelEnrichment":{
      "name":"StopOTelEnrichment",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"StopOTelEnrichmentInput"},
      "output":{
        "shape":"StopOTelEnrichmentOutput",
        "resultWrapper":"StopOTelEnrichmentResult"
      },
      "documentation":"<p>Disables enrichment and PromQL access for CloudWatch vended metrics for <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/UsingResourceTagsForTelemetry.html\">supported Amazon Web Services resources</a> in the account. After disabling, these metrics are no longer enriched with resource ARN and resource tag labels, and cannot be queried using PromQL.</p>"
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"TagResourceInput"},
      "output":{
        "shape":"TagResourceOutput",
        "resultWrapper":"TagResourceResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConcurrentModificationException"},
        {"shape":"InternalServiceFault"},
        {"shape":"ConflictException"}
      ],
      "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, dashboards, metric streams 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 Amazon Web Services 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>"
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UntagResourceInput"},
      "output":{
        "shape":"UntagResourceOutput",
        "resultWrapper":"UntagResourceResult"
      },
      "errors":[
        {"shape":"InvalidParameterValueException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ConcurrentModificationException"},
        {"shape":"InternalServiceFault"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Removes one or more tags from the specified resource. Currently, alarms, dashboards, metric streams and Contributor Insights rules support tagging.</p>"
    }
  },
  "shapes":{
    "AccountId":{
      "type":"string",
      "max":255,
      "min":1
    },
    "ActionLogLineCount":{"type":"integer"},
    "ActionLogLineRoleArn":{"type":"string"},
    "ActionPrefix":{
      "type":"string",
      "max":1024,
      "min":1
    },
    "ActionsEnabled":{"type":"boolean"},
    "ActionsSuppressedBy":{
      "type":"string",
      "enum":[
        "WaitPeriod",
        "ExtensionPeriod",
        "Alarm"
      ]
    },
    "ActionsSuppressedReason":{
      "type":"string",
      "max":1024,
      "min":0
    },
    "AggregationExpression":{
      "type":"string",
      "max":256,
      "min":1
    },
    "AlarmArn":{
      "type":"string",
      "max":1600,
      "min":1
    },
    "AlarmContributor":{
      "type":"structure",
      "required":[
        "ContributorId",
        "ContributorAttributes",
        "StateReason"
      ],
      "members":{
        "ContributorId":{
          "shape":"ContributorId",
          "documentation":"<p>The unique identifier for this alarm contributor.</p>"
        },
        "ContributorAttributes":{
          "shape":"ContributorAttributes",
          "documentation":"<p>A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.</p>"
        },
        "StateReason":{
          "shape":"StateReason",
          "documentation":"<p>An explanation for the contributor's current state, providing context about why it is in its current condition.</p>"
        },
        "StateTransitionedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp when the contributor last transitioned to its current state.</p>"
        }
      },
      "documentation":"<p>Represents an individual contributor to a multi-timeseries alarm, containing information about a specific time series and its contribution to the alarm's state.</p>",
      "xmlOrder":[
        "ContributorId",
        "ContributorAttributes",
        "StateReason",
        "StateTransitionedTimestamp"
      ]
    },
    "AlarmContributors":{
      "type":"list",
      "member":{"shape":"AlarmContributor"}
    },
    "AlarmDescription":{
      "type":"string",
      "max":1024,
      "min":0
    },
    "AlarmHistoryItem":{
      "type":"structure",
      "members":{
        "AlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>The descriptive name for the alarm.</p>"
        },
        "AlarmContributorId":{
          "shape":"ContributorId",
          "documentation":"<p>The unique identifier of the alarm contributor associated with this history item, if applicable.</p>"
        },
        "AlarmType":{
          "shape":"AlarmType",
          "documentation":"<p>The type of alarm, either metric alarm or composite alarm.</p>"
        },
        "Timestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time stamp for the alarm history item.</p>"
        },
        "HistoryItemType":{
          "shape":"HistoryItemType",
          "documentation":"<p>The type of alarm history item.</p>"
        },
        "HistorySummary":{
          "shape":"HistorySummary",
          "documentation":"<p>A summary of the alarm history, in text format.</p>"
        },
        "HistoryData":{
          "shape":"HistoryData",
          "documentation":"<p>Data about the alarm, in JSON format.</p>"
        },
        "AlarmContributorAttributes":{
          "shape":"ContributorAttributes",
          "documentation":"<p>A map of attributes that describe the alarm contributor associated with this history item, providing context about the contributor's characteristics at the time of the event.</p>"
        }
      },
      "documentation":"<p>Represents the history of a specific alarm.</p>"
    },
    "AlarmHistoryItems":{
      "type":"list",
      "member":{"shape":"AlarmHistoryItem"}
    },
    "AlarmMuteRuleStatus":{
      "type":"string",
      "enum":[
        "SCHEDULED",
        "ACTIVE",
        "EXPIRED"
      ]
    },
    "AlarmMuteRuleStatuses":{
      "type":"list",
      "member":{"shape":"AlarmMuteRuleStatus"}
    },
    "AlarmMuteRuleSummaries":{
      "type":"list",
      "member":{"shape":"AlarmMuteRuleSummary"}
    },
    "AlarmMuteRuleSummary":{
      "type":"structure",
      "members":{
        "AlarmMuteRuleArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the alarm mute rule.</p>"
        },
        "ExpireDate":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time when the mute rule expires and is no longer evaluated. This field is only present if an expiration date was configured.</p>"
        },
        "Status":{
          "shape":"AlarmMuteRuleStatus",
          "documentation":"<p>The current status of the alarm mute rule. Valid values are <code>SCHEDULED</code>, <code>ACTIVE</code>, or <code>EXPIRED</code>.</p>"
        },
        "MuteType":{
          "shape":"MuteType",
          "documentation":"<p>Indicates whether the mute rule is one-time or recurring. Valid values are <code>ONE_TIME</code> or <code>RECURRING</code>.</p>"
        },
        "LastUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time when the mute rule was last updated.</p>"
        }
      },
      "documentation":"<p>Summary information about an alarm mute rule, including its name, status, and configuration details.</p>"
    },
    "AlarmName":{
      "type":"string",
      "max":255,
      "min":1
    },
    "AlarmNamePrefix":{
      "type":"string",
      "max":255,
      "min":1
    },
    "AlarmNames":{
      "type":"list",
      "member":{"shape":"AlarmName"},
      "max":100
    },
    "AlarmPromQLCriteria":{
      "type":"structure",
      "required":["Query"],
      "members":{
        "Query":{
          "shape":"Query",
          "documentation":"<p>The PromQL query that the alarm evaluates. The query must return a result of vector type. Each entry in the vector result represents an alarm contributor.</p>"
        },
        "PendingPeriod":{
          "shape":"PendingPeriod",
          "documentation":"<p>The duration, in seconds, that a contributor must be continuously breaching before it transitions to the <code>ALARM</code> state.</p>"
        },
        "RecoveryPeriod":{
          "shape":"RecoveryPeriod",
          "documentation":"<p>The duration, in seconds, that a contributor must continuously not be breaching before it transitions back to the <code>OK</code> state.</p>"
        }
      },
      "documentation":"<p>Contains the configuration that determines how a PromQL alarm evaluates its contributors, including the query to run and the durations that define when contributors transition between states.</p>"
    },
    "AlarmRule":{
      "type":"string",
      "max":10240,
      "min":1
    },
    "AlarmType":{
      "type":"string",
      "enum":[
        "CompositeAlarm",
        "MetricAlarm",
        "LogAlarm"
      ]
    },
    "AlarmTypes":{
      "type":"list",
      "member":{"shape":"AlarmType"}
    },
    "AmazonResourceName":{
      "type":"string",
      "max":1024,
      "min":1
    },
    "AnomalyDetector":{
      "type":"structure",
      "members":{
        "AnomalyDetectorId":{
          "shape":"AnomalyDetectorId",
          "documentation":"<p>The unique identifier of the anomaly detector.</p> <note> <p>The identifier does not restrict access to a specific anomaly detector in an IAM policy. Permissions for anomaly detector operations apply to all anomaly detectors in the account.</p> </note>"
        },
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The namespace of the metric associated with the anomaly detection model.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector.Namespace property."
        },
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The name of the metric associated with the anomaly detection model.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector.MetricName property."
        },
        "Dimensions":{
          "shape":"Dimensions",
          "documentation":"<p>The metric dimensions associated with the anomaly detection model.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector.Dimensions property."
        },
        "Stat":{
          "shape":"AnomalyDetectorMetricStat",
          "documentation":"<p>The statistic associated with the anomaly detection model.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector.Stat property."
        },
        "Configuration":{
          "shape":"AnomalyDetectorConfiguration",
          "documentation":"<p>The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model, and the time zone to use for the metric.</p>"
        },
        "StateValue":{
          "shape":"AnomalyDetectorStateValue",
          "documentation":"<p>The current status of the anomaly detector's training.</p>"
        },
        "MetricCharacteristics":{
          "shape":"MetricCharacteristics",
          "documentation":"<p>This object includes parameters that you can use to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. Currently, it includes the <code>PeriodicSpikes</code> parameter.</p>"
        },
        "SingleMetricAnomalyDetector":{
          "shape":"SingleMetricAnomalyDetector",
          "documentation":"<p>The CloudWatch metric and statistic for this anomaly detector.</p>"
        },
        "MetricMathAnomalyDetector":{
          "shape":"MetricMathAnomalyDetector",
          "documentation":"<p>The CloudWatch metric math expression for this anomaly detector.</p>"
        }
      },
      "documentation":"<p>An anomaly detection model associated with a particular CloudWatch metric, statistic, or metric math expression. You can use the model to display a band of expected, normal values when the metric is graphed.</p> <p>If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account.</p>"
    },
    "AnomalyDetectorConfiguration":{
      "type":"structure",
      "members":{
        "ExcludedTimeRanges":{
          "shape":"AnomalyDetectorExcludedTimeRanges",
          "documentation":"<p>An array of time ranges to exclude from use when the anomaly detection model is trained. Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates the model.</p>"
        },
        "MetricTimezone":{
          "shape":"AnomalyDetectorMetricTimezone",
          "documentation":"<p>The time zone to use for the metric. This is useful to enable the model to automatically account for daylight savings time changes if the metric is sensitive to such time changes.</p> <p>To specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, see <a href=\"https://en.wikipedia.org/wiki/Tz_database\">tz database</a>.</p>"
        }
      },
      "documentation":"<p>The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model and the time zone to use for the metric.</p>"
    },
    "AnomalyDetectorExcludedTimeRanges":{
      "type":"list",
      "member":{"shape":"Range"}
    },
    "AnomalyDetectorId":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"[A-Za-z0-9_./:%()+-]+"
    },
    "AnomalyDetectorIds":{
      "type":"list",
      "member":{"shape":"AnomalyDetectorId"},
      "max":50
    },
    "AnomalyDetectorMetricStat":{
      "type":"string",
      "max":50,
      "pattern":"(SampleCount|Average|Sum|Minimum|Maximum|IQM|(p|tc|tm|ts|wm)(\\d{1,2}(\\.\\d{0,10})?|100)|[ou]\\d+(\\.\\d*)?)(_E|_L|_H)?|(TM|TC|TS|WM)\\(((((\\d{1,2})(\\.\\d{0,10})?|100(\\.0{0,10})?)%)?:((\\d{1,2})(\\.\\d{0,10})?|100(\\.0{0,10})?)%|((\\d{1,2})(\\.\\d{0,10})?|100(\\.0{0,10})?)%:(((\\d{1,2})(\\.\\d{0,10})?|100(\\.0{0,10})?)%)?)\\)|(TM|TC|TS|WM|PR)\\(((\\d+(\\.\\d{0,10})?|(\\d+(\\.\\d{0,10})?[Ee][+-]?\\d+)):((\\d+(\\.\\d{0,10})?|(\\d+(\\.\\d{0,10})?[Ee][+-]?\\d+)))?|((\\d+(\\.\\d{0,10})?|(\\d+(\\.\\d{0,10})?[Ee][+-]?\\d+)))?:(\\d+(\\.\\d{0,10})?|(\\d+(\\.\\d{0,10})?[Ee][+-]?\\d+)))\\)"
    },
    "AnomalyDetectorMetricTimezone":{
      "type":"string",
      "max":50,
      "pattern":".*"
    },
    "AnomalyDetectorStateValue":{
      "type":"string",
      "enum":[
        "PENDING_TRAINING",
        "TRAINED_INSUFFICIENT_DATA",
        "TRAINED"
      ]
    },
    "AnomalyDetectorType":{
      "type":"string",
      "enum":[
        "SINGLE_METRIC",
        "METRIC_MATH"
      ]
    },
    "AnomalyDetectorTypes":{
      "type":"list",
      "member":{"shape":"AnomalyDetectorType"},
      "max":2
    },
    "AnomalyDetectors":{
      "type":"list",
      "member":{"shape":"AnomalyDetector"}
    },
    "Arn":{
      "type":"string",
      "max":1600,
      "min":1
    },
    "AssociateDatasetKmsKeyInput":{
      "type":"structure",
      "required":[
        "DatasetIdentifier",
        "KmsKeyArn"
      ],
      "members":{
        "DatasetIdentifier":{
          "shape":"DatasetIdentifier",
          "documentation":"<p>Specifies the identifier of the dataset that you want to associate the KMS key with. For the <code>default</code> dataset, you can specify either <code>default</code> or the full dataset Amazon Resource Name (ARN) in the format <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:dataset/default</code>.</p>"
        },
        "KmsKeyArn":{
          "shape":"KmsKeyArn",
          "documentation":"<p>Specifies the Amazon Resource Name (ARN) of the customer managed KMS key to associate with the dataset. The key must be a symmetric encryption KMS key (<code>SYMMETRIC_DEFAULT</code>) in the same Amazon Web Services Region as the dataset.</p> <p>The ARN must be in the format <code>arn:aws:kms:<i>Region</i>:<i>account-id</i>:key/<i>key-id</i> </code>. Key IDs, aliases, and alias ARNs are not accepted.</p> <p>For more information about KMS key ARNs, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN\">Key ARN</a> in the <i>Amazon Web Services Key Management Service Developer Guide</i>.</p>"
        }
      }
    },
    "AssociateDatasetKmsKeyOutput":{
      "type":"structure",
      "members":{}
    },
    "AttributeName":{
      "type":"string",
      "max":255,
      "min":1
    },
    "AttributeValue":{
      "type":"string",
      "max":1024,
      "min":1
    },
    "AwsQueryErrorMessage":{"type":"string"},
    "BatchFailures":{
      "type":"list",
      "member":{"shape":"PartialFailure"}
    },
    "ComparisonOperator":{
      "type":"string",
      "enum":[
        "GreaterThanOrEqualToThreshold",
        "GreaterThanThreshold",
        "LessThanThreshold",
        "LessThanOrEqualToThreshold",
        "LessThanLowerOrGreaterThanUpperThreshold",
        "LessThanLowerThreshold",
        "GreaterThanUpperThreshold"
      ]
    },
    "CompositeAlarm":{
      "type":"structure",
      "members":{
        "ActionsEnabled":{
          "shape":"ActionsEnabled",
          "documentation":"<p>Indicates whether actions should be executed during any changes to the alarm state.</p>"
        },
        "AlarmActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>"
        },
        "AlarmArn":{
          "shape":"AlarmArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the alarm.</p>"
        },
        "AlarmConfigurationUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time stamp of the last update to the alarm configuration.</p>"
        },
        "AlarmDescription":{
          "shape":"AlarmDescription",
          "documentation":"<p>The description of the alarm.</p>"
        },
        "AlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>The name of the alarm.</p>"
        },
        "AlarmRule":{
          "shape":"AlarmRule",
          "documentation":"<p>The rule that this alarm uses to evaluate its alarm state.</p>"
        },
        "InsufficientDataActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>"
        },
        "OKActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>"
        },
        "StateReason":{
          "shape":"StateReason",
          "documentation":"<p>An explanation for the alarm state, in text format.</p>"
        },
        "StateReasonData":{
          "shape":"StateReasonData",
          "documentation":"<p>An explanation for the alarm state, in JSON format.</p>"
        },
        "StateUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>Tracks the timestamp of any state update, even if <code>StateValue</code> doesn't change.</p>"
        },
        "StateValue":{
          "shape":"StateValue",
          "documentation":"<p>The state value for the alarm.</p>"
        },
        "StateTransitionedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p> The timestamp of the last change to the alarm's <code>StateValue</code>. </p>"
        },
        "ActionsSuppressedBy":{
          "shape":"ActionsSuppressedBy",
          "documentation":"<p> When the value is <code>ALARM</code>, it means that the actions are suppressed because the suppressor alarm is in <code>ALARM</code> When the value is <code>WaitPeriod</code>, it means that the actions are suppressed because the composite alarm is waiting for the suppressor alarm to go into into the <code>ALARM</code> state. The maximum waiting time is as specified in <code>ActionsSuppressorWaitPeriod</code>. After this time, the composite alarm performs its actions. When the value is <code>ExtensionPeriod</code>, it means that the actions are suppressed because the composite alarm is waiting after the suppressor alarm went out of the <code>ALARM</code> state. The maximum waiting time is as specified in <code>ActionsSuppressorExtensionPeriod</code>. After this time, the composite alarm performs its actions. </p>"
        },
        "ActionsSuppressedReason":{
          "shape":"ActionsSuppressedReason",
          "documentation":"<p> Captures the reason for action suppression. </p>"
        },
        "ActionsSuppressor":{
          "shape":"AlarmArn",
          "documentation":"<p> Actions will be suppressed if the suppressor alarm is in the <code>ALARM</code> state. <code>ActionsSuppressor</code> can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm. </p>"
        },
        "ActionsSuppressorWaitPeriod":{
          "shape":"SuppressorPeriod",
          "documentation":"<p> The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the <code>ALARM</code> state. After this time, the composite alarm performs its actions. </p> <important> <p> <code>WaitPeriod</code> is required only when <code>ActionsSuppressor</code> is specified. </p> </important>"
        },
        "ActionsSuppressorExtensionPeriod":{
          "shape":"SuppressorPeriod",
          "documentation":"<p> The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the <code>ALARM</code> state. After this time, the composite alarm performs its actions. </p> <important> <p> <code>ExtensionPeriod</code> is required only when <code>ActionsSuppressor</code> is specified. </p> </important>"
        }
      },
      "documentation":"<p>The details about a composite alarm.</p>",
      "xmlOrder":[
        "ActionsEnabled",
        "AlarmActions",
        "AlarmArn",
        "AlarmConfigurationUpdatedTimestamp",
        "AlarmDescription",
        "AlarmName",
        "AlarmRule",
        "InsufficientDataActions",
        "OKActions",
        "StateReason",
        "StateReasonData",
        "StateUpdatedTimestamp",
        "StateValue",
        "StateTransitionedTimestamp",
        "ActionsSuppressedBy",
        "ActionsSuppressedReason",
        "ActionsSuppressor",
        "ActionsSuppressorWaitPeriod",
        "ActionsSuppressorExtensionPeriod"
      ]
    },
    "CompositeAlarms":{
      "type":"list",
      "member":{"shape":"CompositeAlarm"}
    },
    "ConcurrentModificationException":{
      "type":"structure",
      "members":{},
      "documentation":"<p>More than one process tried to modify a resource at the same time.</p>",
      "error":{
        "code":"ConcurrentModificationException",
        "httpStatusCode":429,
        "senderFault":true
      },
      "exception":true
    },
    "ConflictException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>This operation attempted to create a resource that already exists.</p>",
      "error":{"httpStatusCode":409},
      "exception":true
    },
    "ContributorAttributes":{
      "type":"map",
      "key":{"shape":"AttributeName"},
      "value":{"shape":"AttributeValue"},
      "max":150,
      "min":0
    },
    "ContributorId":{
      "type":"string",
      "max":16,
      "min":1
    },
    "Counts":{
      "type":"list",
      "member":{"shape":"DatapointValue"}
    },
    "DashboardArn":{"type":"string"},
    "DashboardBody":{"type":"string"},
    "DashboardEntries":{
      "type":"list",
      "member":{"shape":"DashboardEntry"}
    },
    "DashboardEntry":{
      "type":"structure",
      "members":{
        "DashboardName":{
          "shape":"DashboardName",
          "documentation":"<p>The name of the dashboard.</p>"
        },
        "DashboardArn":{
          "shape":"DashboardArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the dashboard.</p>"
        },
        "LastModified":{
          "shape":"LastModified",
          "documentation":"<p>The time stamp of when the dashboard was last modified, either by an API call or through the console. This number is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.</p>"
        },
        "Size":{
          "shape":"Size",
          "documentation":"<p>The size of the dashboard, in bytes.</p>"
        }
      },
      "documentation":"<p>Represents a specific dashboard.</p>"
    },
    "DashboardErrorMessage":{"type":"string"},
    "DashboardInvalidInputError":{
      "type":"structure",
      "members":{
        "message":{"shape":"DashboardErrorMessage"},
        "dashboardValidationMessages":{"shape":"DashboardValidationMessages"}
      },
      "documentation":"<p>Some part of the dashboard data is invalid.</p>",
      "error":{
        "code":"InvalidParameterInput",
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "DashboardName":{"type":"string"},
    "DashboardNamePrefix":{"type":"string"},
    "DashboardNames":{
      "type":"list",
      "member":{"shape":"DashboardName"}
    },
    "DashboardNotFoundError":{
      "type":"structure",
      "members":{
        "message":{"shape":"DashboardErrorMessage"}
      },
      "documentation":"<p>The specified dashboard does not exist.</p>",
      "error":{
        "code":"ResourceNotFound",
        "httpStatusCode":404,
        "senderFault":true
      },
      "exception":true
    },
    "DashboardValidationMessage":{
      "type":"structure",
      "members":{
        "DataPath":{
          "shape":"DataPath",
          "documentation":"<p>The data path related to the message.</p>"
        },
        "Message":{
          "shape":"Message",
          "documentation":"<p>A message describing the error or warning.</p>"
        }
      },
      "documentation":"<p>An error or warning for the operation.</p>"
    },
    "DashboardValidationMessages":{
      "type":"list",
      "member":{"shape":"DashboardValidationMessage"}
    },
    "DataPath":{"type":"string"},
    "Datapoint":{
      "type":"structure",
      "members":{
        "Timestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time stamp used for the data point.</p>"
        },
        "SampleCount":{
          "shape":"DatapointValue",
          "documentation":"<p>The number of metric values that contributed to the aggregate value of this data point.</p>"
        },
        "Average":{
          "shape":"DatapointValue",
          "documentation":"<p>The average of the metric values that correspond to the data point.</p>"
        },
        "Sum":{
          "shape":"DatapointValue",
          "documentation":"<p>The sum of the metric values for the data point.</p>"
        },
        "Minimum":{
          "shape":"DatapointValue",
          "documentation":"<p>The minimum metric value for the data point.</p>"
        },
        "Maximum":{
          "shape":"DatapointValue",
          "documentation":"<p>The maximum metric value for the data point.</p>"
        },
        "Unit":{
          "shape":"StandardUnit",
          "documentation":"<p>The standard unit for the data point.</p>"
        },
        "ExtendedStatistics":{
          "shape":"DatapointValueMap",
          "documentation":"<p>The percentile statistic for the data point.</p>"
        }
      },
      "documentation":"<p>Encapsulates the statistical data that CloudWatch computes from metric data.</p>",
      "xmlOrder":[
        "Timestamp",
        "SampleCount",
        "Average",
        "Sum",
        "Minimum",
        "Maximum",
        "Unit",
        "ExtendedStatistics"
      ]
    },
    "DatapointValue":{"type":"double"},
    "DatapointValueMap":{
      "type":"map",
      "key":{"shape":"ExtendedStatistic"},
      "value":{"shape":"DatapointValue"}
    },
    "DatapointValues":{
      "type":"list",
      "member":{"shape":"DatapointValue"}
    },
    "Datapoints":{
      "type":"list",
      "member":{"shape":"Datapoint"}
    },
    "DatapointsToAlarm":{
      "type":"integer",
      "min":1
    },
    "DatasetArn":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"arn:[a-zA-Z0-9-]+:cloudwatch:[a-zA-Z0-9-]*:\\d{12}:dataset/default"
    },
    "DatasetId":{
      "type":"string",
      "max":7,
      "min":7,
      "pattern":"default"
    },
    "DatasetIdentifier":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"(default|arn:[a-zA-Z0-9-]+:cloudwatch:[a-zA-Z0-9-]*:\\d{12}:dataset/default)"
    },
    "DeleteAlarmMuteRuleInput":{
      "type":"structure",
      "required":["AlarmMuteRuleName"],
      "members":{
        "AlarmMuteRuleName":{
          "shape":"Name",
          "documentation":"<p>The name of the alarm mute rule to delete.</p>"
        }
      }
    },
    "DeleteAlarmsInput":{
      "type":"structure",
      "required":["AlarmNames"],
      "members":{
        "AlarmNames":{
          "shape":"AlarmNames",
          "documentation":"<p>The alarms to be deleted. Do not enclose the alarm names in quote marks.</p>"
        }
      }
    },
    "DeleteAnomalyDetectorInput":{
      "type":"structure",
      "members":{
        "AnomalyDetectorId":{
          "shape":"AnomalyDetectorId",
          "documentation":"<p>Specifies the unique identifier of the anomaly detector to delete. If you specify this parameter, you do not need to specify a metric to identify the detector.</p>"
        },
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The namespace associated with the anomaly detection model to delete.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector."
        },
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The metric name associated with the anomaly detection model to delete.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector."
        },
        "Dimensions":{
          "shape":"Dimensions",
          "documentation":"<p>The metric dimensions associated with the anomaly detection model to delete.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector."
        },
        "Stat":{
          "shape":"AnomalyDetectorMetricStat",
          "documentation":"<p>The statistic associated with the anomaly detection model to delete.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector."
        },
        "SingleMetricAnomalyDetector":{
          "shape":"SingleMetricAnomalyDetector",
          "documentation":"<p>A single metric anomaly detector to be deleted.</p> <p>When using <code>SingleMetricAnomalyDetector</code>, you cannot include the following parameters in the same operation:</p> <ul> <li> <p> <code>Dimensions</code>,</p> </li> <li> <p> <code>MetricName</code> </p> </li> <li> <p> <code>Namespace</code> </p> </li> <li> <p> <code>Stat</code> </p> </li> <li> <p>the <code>MetricMathAnomalyDetector</code> parameters of <code>DeleteAnomalyDetectorInput</code> </p> </li> </ul> <p>Instead, specify the single metric anomaly detector attributes as part of the <code>SingleMetricAnomalyDetector</code> property.</p>"
        },
        "MetricMathAnomalyDetector":{
          "shape":"MetricMathAnomalyDetector",
          "documentation":"<p>The metric math anomaly detector to be deleted.</p> <p>When using <code>MetricMathAnomalyDetector</code>, you cannot include following parameters in the same operation:</p> <ul> <li> <p> <code>Dimensions</code>,</p> </li> <li> <p> <code>MetricName</code> </p> </li> <li> <p> <code>Namespace</code> </p> </li> <li> <p> <code>Stat</code> </p> </li> <li> <p>the <code>SingleMetricAnomalyDetector</code> parameters of <code>DeleteAnomalyDetectorInput</code> </p> </li> </ul> <p>Instead, specify the metric math anomaly detector attributes as part of the <code>MetricMathAnomalyDetector</code> property.</p>"
        }
      }
    },
    "DeleteAnomalyDetectorOutput":{
      "type":"structure",
      "members":{}
    },
    "DeleteDashboardsInput":{
      "type":"structure",
      "required":["DashboardNames"],
      "members":{
        "DashboardNames":{
          "shape":"DashboardNames",
          "documentation":"<p>The dashboards to be deleted. This parameter is required.</p>"
        }
      }
    },
    "DeleteDashboardsOutput":{
      "type":"structure",
      "members":{}
    },
    "DeleteInsightRulesInput":{
      "type":"structure",
      "required":["RuleNames"],
      "members":{
        "RuleNames":{
          "shape":"InsightRuleNames",
          "documentation":"<p>An array of the rule names to delete. If you need to find out the names of your rules, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeInsightRules.html\">DescribeInsightRules</a>.</p>"
        }
      }
    },
    "DeleteInsightRulesOutput":{
      "type":"structure",
      "members":{
        "Failures":{
          "shape":"BatchFailures",
          "documentation":"<p>An array listing the rules that could not be deleted. You cannot delete built-in rules.</p>"
        }
      }
    },
    "DeleteMetricStreamInput":{
      "type":"structure",
      "required":["Name"],
      "members":{
        "Name":{
          "shape":"MetricStreamName",
          "documentation":"<p>The name of the metric stream to delete.</p>"
        }
      }
    },
    "DeleteMetricStreamOutput":{
      "type":"structure",
      "members":{}
    },
    "DescribeAlarmContributorsInput":{
      "type":"structure",
      "required":["AlarmName"],
      "members":{
        "AlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>The name of the alarm for which to retrieve contributor information.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned by a previous call to indicate that there is more data available.</p>"
        }
      }
    },
    "DescribeAlarmContributorsOutput":{
      "type":"structure",
      "required":["AlarmContributors"],
      "members":{
        "AlarmContributors":{
          "shape":"AlarmContributors",
          "documentation":"<p>A list of alarm contributors that provide details about the individual time series contributing to the alarm's state.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token that marks the start of the next batch of returned results.</p>"
        }
      }
    },
    "DescribeAlarmHistoryInput":{
      "type":"structure",
      "members":{
        "AlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>The name of the alarm.</p>"
        },
        "AlarmContributorId":{
          "shape":"ContributorId",
          "documentation":"<p>The unique identifier of a specific alarm contributor to filter the alarm history results.</p>"
        },
        "AlarmTypes":{
          "shape":"AlarmTypes",
          "documentation":"<p>Use this parameter to specify whether you want the operation to return metric alarms, composite alarms, or log alarms. If you omit this parameter, only metric alarms are returned.</p>"
        },
        "HistoryItemType":{
          "shape":"HistoryItemType",
          "documentation":"<p>The type of alarm histories to retrieve.</p>"
        },
        "StartDate":{
          "shape":"Timestamp",
          "documentation":"<p>The starting date to retrieve alarm history.</p>"
        },
        "EndDate":{
          "shape":"Timestamp",
          "documentation":"<p>The ending date to retrieve alarm history.</p>"
        },
        "MaxRecords":{
          "shape":"MaxRecords",
          "documentation":"<p>The maximum number of alarm history records to retrieve.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned by a previous call to indicate that there is more data available.</p>"
        },
        "ScanBy":{
          "shape":"ScanBy",
          "documentation":"<p>Specified whether to return the newest or oldest alarm history first. Specify <code>TimestampDescending</code> to have the newest event history returned first, and specify <code>TimestampAscending</code> to have the oldest history returned first.</p>"
        }
      }
    },
    "DescribeAlarmHistoryOutput":{
      "type":"structure",
      "members":{
        "AlarmHistoryItems":{
          "shape":"AlarmHistoryItems",
          "documentation":"<p>The alarm histories, in JSON format.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token that marks the start of the next batch of returned results.</p>"
        }
      }
    },
    "DescribeAlarmsForMetricInput":{
      "type":"structure",
      "required":[
        "MetricName",
        "Namespace"
      ],
      "members":{
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The name of the metric.</p>"
        },
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The namespace of the metric.</p>"
        },
        "Statistic":{
          "shape":"Statistic",
          "documentation":"<p>The statistic for the metric, other than percentiles. For percentile statistics, use <code>ExtendedStatistics</code>.</p>"
        },
        "ExtendedStatistic":{
          "shape":"ExtendedStatistic",
          "documentation":"<p>The percentile statistic for the metric. Specify a value between p0.0 and p100.</p>"
        },
        "Dimensions":{
          "shape":"Dimensions",
          "documentation":"<p>The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed.</p>"
        },
        "Period":{
          "shape":"Period",
          "documentation":"<p>The period, in seconds, over which the statistic is applied.</p>"
        },
        "Unit":{
          "shape":"StandardUnit",
          "documentation":"<p>The unit for the metric.</p>"
        }
      }
    },
    "DescribeAlarmsForMetricOutput":{
      "type":"structure",
      "members":{
        "MetricAlarms":{
          "shape":"MetricAlarms",
          "documentation":"<p>The information for each alarm with the specified metric.</p>"
        }
      }
    },
    "DescribeAlarmsInput":{
      "type":"structure",
      "members":{
        "AlarmNames":{
          "shape":"AlarmNames",
          "documentation":"<p>The names of the alarms to retrieve information about.</p>"
        },
        "AlarmNamePrefix":{
          "shape":"AlarmNamePrefix",
          "documentation":"<p>An alarm name prefix. If you specify this parameter, you receive information about all alarms that have names that start with this prefix.</p> <p>If this parameter is specified, you cannot specify <code>AlarmNames</code>.</p>"
        },
        "AlarmTypes":{
          "shape":"AlarmTypes",
          "documentation":"<p>Use this parameter to specify whether you want the operation to return metric alarms, composite alarms, or log alarms. If you omit this parameter, only metric alarms are returned, even if composite alarms or log alarms exist in the account.</p> <p>For example, if you omit this parameter or specify <code>MetricAlarms</code>, the operation returns only a list of metric alarms. It does not return any composite alarms or log alarms, even if they exist in the account.</p> <p>If you specify <code>CompositeAlarms</code>, the operation returns only a list of composite alarms, and does not return any metric alarms or log alarms.</p> <p>If you specify <code>LogAlarms</code>, the operation returns only a list of log alarms, and does not return any metric alarms or composite alarms.</p>"
        },
        "ChildrenOfAlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>If you use this parameter and specify the name of a composite alarm, the operation returns information about the \"children\" alarms of the alarm you specify. These are the metric alarms and composite alarms referenced in the <code>AlarmRule</code> field of the composite alarm that you specify in <code>ChildrenOfAlarmName</code>. Information about the composite alarm that you name in <code>ChildrenOfAlarmName</code> is not returned.</p> <p>If you specify <code>ChildrenOfAlarmName</code>, you cannot specify any other parameters in the request except for <code>MaxRecords</code> and <code>NextToken</code>. If you do so, you receive a validation error.</p> <note> <p>Only the <code>Alarm Name</code>, <code>ARN</code>, <code>StateValue</code> (OK/ALARM/INSUFFICIENT_DATA), and <code>StateUpdatedTimestamp</code> information are returned by this operation when you use this parameter. To get complete information about these alarms, perform another <code>DescribeAlarms</code> operation and specify the parent alarm names in the <code>AlarmNames</code> parameter.</p> </note>"
        },
        "ParentsOfAlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>If you use this parameter and specify the name of a metric or composite alarm, the operation returns information about the \"parent\" alarms of the alarm you specify. These are the composite alarms that have <code>AlarmRule</code> parameters that reference the alarm named in <code>ParentsOfAlarmName</code>. Information about the alarm that you specify in <code>ParentsOfAlarmName</code> is not returned.</p> <p>If you specify <code>ParentsOfAlarmName</code>, you cannot specify any other parameters in the request except for <code>MaxRecords</code> and <code>NextToken</code>. If you do so, you receive a validation error.</p> <note> <p>Only the Alarm Name and ARN are returned by this operation when you use this parameter. To get complete information about these alarms, perform another <code>DescribeAlarms</code> operation and specify the parent alarm names in the <code>AlarmNames</code> parameter.</p> </note>"
        },
        "StateValue":{
          "shape":"StateValue",
          "documentation":"<p>Specify this parameter to receive information only about alarms that are currently in the state that you specify.</p>"
        },
        "ActionPrefix":{
          "shape":"ActionPrefix",
          "documentation":"<p>Use this parameter to filter the results of the operation to only those alarms that use a certain alarm action. For example, you could specify the ARN of an SNS topic to find all alarms that send notifications to that topic.</p>"
        },
        "MaxRecords":{
          "shape":"MaxRecords",
          "documentation":"<p>The maximum number of alarm descriptions to retrieve.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned by a previous call to indicate that there is more data available.</p>"
        }
      }
    },
    "DescribeAlarmsOutput":{
      "type":"structure",
      "members":{
        "CompositeAlarms":{
          "shape":"CompositeAlarms",
          "documentation":"<p>The information about any composite alarms returned by the operation.</p>"
        },
        "MetricAlarms":{
          "shape":"MetricAlarms",
          "documentation":"<p>The information about any metric alarms returned by the operation.</p>"
        },
        "LogAlarms":{
          "shape":"LogAlarms",
          "documentation":"<p>The information about any log alarms returned by the operation.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token that marks the start of the next batch of returned results.</p>"
        }
      }
    },
    "DescribeAnomalyDetectorsInput":{
      "type":"structure",
      "members":{
        "AnomalyDetectorIds":{
          "shape":"AnomalyDetectorIds",
          "documentation":"<p>Specifies the unique identifiers of the anomaly detectors to describe. You can specify up to 50 identifiers. If you specify this parameter, you cannot also specify the <code>Namespace</code>, <code>MetricName</code>, <code>Dimensions</code>, or <code>AnomalyDetectorTypes</code> metric filters.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>Use the token returned by the previous operation to request the next page of results.</p>"
        },
        "MaxResults":{
          "shape":"MaxReturnedResultsCount",
          "documentation":"<p>The maximum number of results to return in one operation. The maximum value that you can specify is 100.</p> <p>To retrieve the remaining results, make another call with the returned <code>NextToken</code> value. </p>"
        },
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>Limits the results to only the anomaly detection models that are associated with the specified namespace.</p>"
        },
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>Limits the results to only the anomaly detection models that are associated with the specified metric name. If there are multiple metrics with this name in different namespaces that have anomaly detection models, they're all returned.</p>"
        },
        "Dimensions":{
          "shape":"Dimensions",
          "documentation":"<p>Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.</p>"
        },
        "AnomalyDetectorTypes":{
          "shape":"AnomalyDetectorTypes",
          "documentation":"<p>The anomaly detector types to request when using <code>DescribeAnomalyDetectorsInput</code>. If empty, defaults to <code>SINGLE_METRIC</code>.</p>"
        }
      }
    },
    "DescribeAnomalyDetectorsOutput":{
      "type":"structure",
      "members":{
        "AnomalyDetectors":{
          "shape":"AnomalyDetectors",
          "documentation":"<p>The list of anomaly detection models returned by the operation.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>A token that you can use in a subsequent operation to retrieve the next set of results.</p>"
        }
      }
    },
    "DescribeInsightRulesInput":{
      "type":"structure",
      "members":{
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>Include this value, if it was returned by the previous operation, to get the next set of rules.</p>"
        },
        "MaxResults":{
          "shape":"InsightRuleMaxResults",
          "documentation":"<p>The maximum number of results to return in one operation. If you omit this parameter, the default of 500 is used.</p>"
        }
      }
    },
    "DescribeInsightRulesOutput":{
      "type":"structure",
      "members":{
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If this parameter is present, it is a token that marks the start of the next batch of returned results. </p>"
        },
        "InsightRules":{
          "shape":"InsightRules",
          "documentation":"<p>The rules returned by the operation.</p>"
        }
      }
    },
    "Dimension":{
      "type":"structure",
      "required":[
        "Name",
        "Value"
      ],
      "members":{
        "Name":{
          "shape":"DimensionName",
          "documentation":"<p>The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (<code>:</code>). ASCII control characters are not supported as part of dimension names.</p>"
        },
        "Value":{
          "shape":"DimensionValue",
          "documentation":"<p>The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values.</p>"
        }
      },
      "documentation":"<p>A dimension is a name/value pair that is part of the identity of a metric. Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish <code>InstanceId</code> as a dimension name, and the actual instance ID as the value for that dimension.</p> <p>You can assign up to 30 dimensions to a metric.</p>",
      "xmlOrder":[
        "Name",
        "Value"
      ]
    },
    "DimensionFilter":{
      "type":"structure",
      "required":["Name"],
      "members":{
        "Name":{
          "shape":"DimensionName",
          "documentation":"<p>The dimension name to be matched.</p>"
        },
        "Value":{
          "shape":"DimensionValue",
          "documentation":"<p>The value of the dimension to be matched.</p>"
        }
      },
      "documentation":"<p>Represents filters for a dimension.</p>"
    },
    "DimensionFilters":{
      "type":"list",
      "member":{"shape":"DimensionFilter"},
      "max":10
    },
    "DimensionName":{
      "type":"string",
      "max":255,
      "min":1
    },
    "DimensionValue":{
      "type":"string",
      "max":1024,
      "min":1
    },
    "Dimensions":{
      "type":"list",
      "member":{"shape":"Dimension"},
      "max":30
    },
    "DisableAlarmActionsInput":{
      "type":"structure",
      "required":["AlarmNames"],
      "members":{
        "AlarmNames":{
          "shape":"AlarmNames",
          "documentation":"<p>The names of the alarms.</p>"
        }
      }
    },
    "DisableInsightRulesInput":{
      "type":"structure",
      "required":["RuleNames"],
      "members":{
        "RuleNames":{
          "shape":"InsightRuleNames",
          "documentation":"<p>An array of the rule names to disable. If you need to find out the names of your rules, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeInsightRules.html\">DescribeInsightRules</a>.</p>"
        }
      }
    },
    "DisableInsightRulesOutput":{
      "type":"structure",
      "members":{
        "Failures":{
          "shape":"BatchFailures",
          "documentation":"<p>An array listing the rules that could not be disabled. You cannot disable built-in rules.</p>"
        }
      }
    },
    "DisassociateDatasetKmsKeyInput":{
      "type":"structure",
      "required":["DatasetIdentifier"],
      "members":{
        "DatasetIdentifier":{
          "shape":"DatasetIdentifier",
          "documentation":"<p>Specifies the identifier of the dataset from which to remove the KMS key association. For the <code>default</code> dataset, you can specify either <code>default</code> or the full dataset Amazon Resource Name (ARN) in the format <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:dataset/default</code>.</p>"
        }
      }
    },
    "DisassociateDatasetKmsKeyOutput":{
      "type":"structure",
      "members":{}
    },
    "Duration":{
      "type":"string",
      "max":50,
      "min":1
    },
    "EnableAlarmActionsInput":{
      "type":"structure",
      "required":["AlarmNames"],
      "members":{
        "AlarmNames":{
          "shape":"AlarmNames",
          "documentation":"<p>The names of the alarms.</p>"
        }
      }
    },
    "EnableInsightRulesInput":{
      "type":"structure",
      "required":["RuleNames"],
      "members":{
        "RuleNames":{
          "shape":"InsightRuleNames",
          "documentation":"<p>An array of the rule names to enable. If you need to find out the names of your rules, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeInsightRules.html\">DescribeInsightRules</a>.</p>"
        }
      }
    },
    "EnableInsightRulesOutput":{
      "type":"structure",
      "members":{
        "Failures":{
          "shape":"BatchFailures",
          "documentation":"<p>An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.</p>"
        }
      }
    },
    "EndTimeOffset":{"type":"long"},
    "Entity":{
      "type":"structure",
      "members":{
        "KeyAttributes":{
          "shape":"EntityKeyAttributesMap",
          "documentation":"<p>The attributes of the entity which identify the specific entity, as a list of key-value pairs. Entities with the same <code>KeyAttributes</code> are considered to be the same entity. For an entity to be valid, the <code>KeyAttributes</code> must exist and be formatted correctly.</p> <p>There are five allowed attributes (key names): <code>Type</code>, <code>ResourceType</code>, <code>Identifier</code>, <code>Name</code>, and <code>Environment</code>.</p> <p>For details about how to use the key attributes to specify an entity, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/adding-your-own-related-telemetry.html\">How to add related information to telemetry</a> in the <i>CloudWatch User Guide</i>.</p>"
        },
        "Attributes":{
          "shape":"EntityAttributesMap",
          "documentation":"<p>Additional attributes of the entity that are not used to specify the identity of the entity. A list of key-value pairs.</p> <p>For details about how to use the attributes, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/adding-your-own-related-telemetry.html\">How to add related information to telemetry</a> in the <i>CloudWatch User Guide</i>.</p>"
        }
      },
      "documentation":"<p>An entity associated with metrics, to allow for finding related telemetry. An entity is typically a resource or service within your system. For example, metrics from an Amazon EC2 instance could be associated with that instance as the entity. Similarly, metrics from a service that you own could be associated with that service as the entity.</p>"
    },
    "EntityAttributesMap":{
      "type":"map",
      "key":{"shape":"EntityAttributesMapKeyString"},
      "value":{"shape":"EntityAttributesMapValueString"},
      "max":10,
      "min":0
    },
    "EntityAttributesMapKeyString":{
      "type":"string",
      "max":256,
      "min":1
    },
    "EntityAttributesMapValueString":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "EntityKeyAttributesMap":{
      "type":"map",
      "key":{"shape":"EntityKeyAttributesMapKeyString"},
      "value":{"shape":"EntityKeyAttributesMapValueString"},
      "max":4,
      "min":2
    },
    "EntityKeyAttributesMapKeyString":{
      "type":"string",
      "max":32,
      "min":1
    },
    "EntityKeyAttributesMapValueString":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "EntityMetricData":{
      "type":"structure",
      "members":{
        "Entity":{
          "shape":"Entity",
          "documentation":"<p>The entity associated with the metrics.</p>"
        },
        "MetricData":{
          "shape":"MetricData",
          "documentation":"<p>The metric data.</p>"
        }
      },
      "documentation":"<p>A set of metrics that are associated with an entity, such as a specific service or resource. Contains the entity and the list of metric data associated with it.</p>"
    },
    "EntityMetricDataList":{
      "type":"list",
      "member":{"shape":"EntityMetricData"}
    },
    "ErrorMessage":{
      "type":"string",
      "max":255,
      "min":1
    },
    "EvaluateLowSampleCountPercentile":{
      "type":"string",
      "max":255,
      "min":1
    },
    "EvaluationCriteria":{
      "type":"structure",
      "members":{
        "PromQLCriteria":{
          "shape":"AlarmPromQLCriteria",
          "documentation":"<p>The PromQL criteria for the alarm evaluation.</p>"
        }
      },
      "documentation":"<p>The evaluation criteria for an alarm. This is a union type that currently supports <code>PromQLCriteria</code>.</p>",
      "union":true
    },
    "EvaluationInterval":{
      "type":"integer",
      "max":3600,
      "min":10
    },
    "EvaluationPeriods":{
      "type":"integer",
      "min":1
    },
    "EvaluationState":{
      "type":"string",
      "enum":[
        "PARTIAL_DATA",
        "EVALUATION_FAILURE",
        "EVALUATION_ERROR"
      ]
    },
    "EvaluationWindow":{
      "type":"structure",
      "members":{
        "WallClockWindow":{
          "shape":"WallClockWindow",
          "documentation":"<p>A wall clock window, which aligns the evaluated range to fixed clock boundaries that match the alarm's period, such as the top of the hour, midnight, or the start of the calendar week.</p>"
        },
        "SlidingWindow":{
          "shape":"SlidingWindow",
          "documentation":"<p>A sliding window, which advances each time the alarm is evaluated, forming a rolling time window. This is the default evaluation window.</p>"
        }
      },
      "documentation":"<p>The evaluation window that an alarm uses to select the range of metric data that it evaluates each time it runs. This is a union type. Set exactly one of its members, <code>SlidingWindow</code> or <code>WallClockWindow</code>. If you don't set <code>EvaluationWindow</code>, the alarm uses a <code>SlidingWindow</code> by default.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-evaluation-window.html\">Alarm evaluation windows</a> in the <i>CloudWatch User Guide</i>.</p>",
      "union":true
    },
    "ExceptionType":{"type":"string"},
    "Expression":{
      "type":"string",
      "max":256,
      "min":1
    },
    "ExtendedStatistic":{"type":"string"},
    "ExtendedStatistics":{
      "type":"list",
      "member":{"shape":"ExtendedStatistic"},
      "max":10,
      "min":1
    },
    "FailureCode":{"type":"string"},
    "FailureDescription":{"type":"string"},
    "FailureResource":{"type":"string"},
    "FaultDescription":{"type":"string"},
    "GetAlarmMuteRuleInput":{
      "type":"structure",
      "required":["AlarmMuteRuleName"],
      "members":{
        "AlarmMuteRuleName":{
          "shape":"Name",
          "documentation":"<p>The name of the alarm mute rule to retrieve.</p>"
        }
      }
    },
    "GetAlarmMuteRuleOutput":{
      "type":"structure",
      "members":{
        "Name":{
          "shape":"Name",
          "documentation":"<p>The name of the alarm mute rule.</p>"
        },
        "AlarmMuteRuleArn":{
          "shape":"Arn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the alarm mute rule.</p>"
        },
        "Description":{
          "shape":"AlarmDescription",
          "documentation":"<p>The description of the alarm mute rule.</p>"
        },
        "Rule":{
          "shape":"Rule",
          "documentation":"<p>The configuration that defines when and how long alarms are muted.</p>"
        },
        "MuteTargets":{
          "shape":"MuteTargets",
          "documentation":"<p>Specifies which alarms this rule applies to.</p>"
        },
        "StartDate":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time when the mute rule becomes active. If not set, the rule is active immediately.</p>"
        },
        "ExpireDate":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time when the mute rule expires and is no longer evaluated.</p>"
        },
        "Status":{
          "shape":"AlarmMuteRuleStatus",
          "documentation":"<p>The current status of the alarm mute rule. Valid values are <code>SCHEDULED</code>, <code>ACTIVE</code>, or <code>EXPIRED</code>.</p>"
        },
        "LastUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time when the mute rule was last updated.</p>"
        },
        "MuteType":{
          "shape":"MuteType",
          "documentation":"<p>Indicates whether the mute rule is one-time or recurring. Valid values are <code>ONE_TIME</code> or <code>RECURRING</code>.</p>"
        }
      }
    },
    "GetDashboardInput":{
      "type":"structure",
      "required":["DashboardName"],
      "members":{
        "DashboardName":{
          "shape":"DashboardName",
          "documentation":"<p>The name of the dashboard to be described.</p>"
        }
      }
    },
    "GetDashboardOutput":{
      "type":"structure",
      "members":{
        "DashboardArn":{
          "shape":"DashboardArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the dashboard.</p>"
        },
        "DashboardBody":{
          "shape":"DashboardBody",
          "documentation":"<p>The detailed information about the dashboard, including what widgets are included and their location on the dashboard. For more information about the <code>DashboardBody</code> syntax, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Dashboard-Body-Structure.html\">Dashboard Body Structure and Syntax</a>. </p>"
        },
        "DashboardName":{
          "shape":"DashboardName",
          "documentation":"<p>The name of the dashboard.</p>"
        }
      }
    },
    "GetDatasetInput":{
      "type":"structure",
      "required":["DatasetIdentifier"],
      "members":{
        "DatasetIdentifier":{
          "shape":"DatasetIdentifier",
          "documentation":"<p>Specifies the identifier of the dataset to retrieve. For the <code>default</code> dataset, you can specify either <code>default</code> or the full dataset Amazon Resource Name (ARN) in the format <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:dataset/default</code>.</p>"
        }
      }
    },
    "GetDatasetOutput":{
      "type":"structure",
      "required":[
        "DatasetId",
        "Arn"
      ],
      "members":{
        "DatasetId":{
          "shape":"DatasetId",
          "documentation":"<p>Returns the identifier of the dataset.</p>"
        },
        "Arn":{
          "shape":"DatasetArn",
          "documentation":"<p>Returns the Amazon Resource Name (ARN) of the dataset, in the format <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:dataset/<i>dataset-id</i> </code>.</p>"
        },
        "KmsKeyArn":{
          "shape":"KmsKeyArn",
          "documentation":"<p>Returns the Amazon Resource Name (ARN) of the customer managed Amazon Web Services KMS key that is currently associated with the dataset, if any. If the dataset is not associated with a customer managed KMS key, this field is not included in the response and the dataset is encrypted at rest using an Amazon Web Services owned key.</p>"
        }
      }
    },
    "GetInsightRuleReportInput":{
      "type":"structure",
      "required":[
        "RuleName",
        "StartTime",
        "EndTime",
        "Period"
      ],
      "members":{
        "RuleName":{
          "shape":"InsightRuleName",
          "documentation":"<p>The name of the rule that you want to see data from.</p>"
        },
        "StartTime":{
          "shape":"Timestamp",
          "documentation":"<p>The start time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as <code>yyyy-MM-dd'T'HH:mm:ss</code>. For example, <code>2019-07-01T23:59:59</code>.</p>"
        },
        "EndTime":{
          "shape":"Timestamp",
          "documentation":"<p>The end time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as <code>yyyy-MM-dd'T'HH:mm:ss</code>. For example, <code>2019-07-01T23:59:59</code>.</p>"
        },
        "Period":{
          "shape":"Period",
          "documentation":"<p>The period, in seconds, to use for the statistics in the <code>InsightRuleMetricDatapoint</code> results.</p>"
        },
        "MaxContributorCount":{
          "shape":"InsightRuleUnboundInteger",
          "documentation":"<p>The maximum number of contributors to include in the report. The range is 1 to 100. If you omit this, the default of 10 is used.</p>"
        },
        "Metrics":{
          "shape":"InsightRuleMetricList",
          "documentation":"<p>Specifies which metrics to use for aggregation of contributor values for the report. You can specify one or more of the following metrics:</p> <ul> <li> <p> <code>UniqueContributors</code> -- the number of unique contributors for each data point.</p> </li> <li> <p> <code>MaxContributorValue</code> -- the value of the top contributor for each data point. The identity of the contributor might change for each data point in the graph.</p> <p>If this rule aggregates by COUNT, the top contributor for each data point is the contributor with the most occurrences in that period. If the rule aggregates by SUM, the top contributor is the contributor with the highest sum in the log field specified by the rule's <code>Value</code>, during that period.</p> </li> <li> <p> <code>SampleCount</code> -- the number of data points matched by the rule.</p> </li> <li> <p> <code>Sum</code> -- the sum of the values from all contributors during the time period represented by that data point.</p> </li> <li> <p> <code>Minimum</code> -- the minimum value from a single observation during the time period represented by that data point.</p> </li> <li> <p> <code>Maximum</code> -- the maximum value from a single observation during the time period represented by that data point.</p> </li> <li> <p> <code>Average</code> -- the average value from all contributors during the time period represented by that data point.</p> </li> </ul>"
        },
        "OrderBy":{
          "shape":"InsightRuleOrderBy",
          "documentation":"<p>Determines what statistic to use to rank the contributors. Valid values are <code>Sum</code> and <code>Maximum</code>.</p>"
        }
      }
    },
    "GetInsightRuleReportOutput":{
      "type":"structure",
      "members":{
        "KeyLabels":{
          "shape":"InsightRuleContributorKeyLabels",
          "documentation":"<p>An array of the strings used as the keys for this rule. The keys are the dimensions used to classify contributors. If the rule contains more than one key, then each unique combination of values for the keys is counted as a unique contributor.</p>"
        },
        "AggregationStatistic":{
          "shape":"InsightRuleAggregationStatistic",
          "documentation":"<p>Specifies whether this rule aggregates contributor data by COUNT or SUM.</p>"
        },
        "AggregateValue":{
          "shape":"InsightRuleUnboundDouble",
          "documentation":"<p>The sum of the values from all individual contributors that match the rule.</p>"
        },
        "ApproximateUniqueCount":{
          "shape":"InsightRuleUnboundLong",
          "documentation":"<p>An approximate count of the unique contributors found by this rule in this time period.</p>"
        },
        "Contributors":{
          "shape":"InsightRuleContributors",
          "documentation":"<p>An array of the unique contributors found by this rule in this time period. If the rule contains multiple keys, each combination of values for the keys counts as a unique contributor.</p>"
        },
        "MetricDatapoints":{
          "shape":"InsightRuleMetricDatapoints",
          "documentation":"<p>A time series of metric data points that matches the time period in the rule request.</p>"
        }
      }
    },
    "GetMetricDataInput":{
      "type":"structure",
      "required":[
        "MetricDataQueries",
        "StartTime",
        "EndTime"
      ],
      "members":{
        "MetricDataQueries":{
          "shape":"MetricDataQueries",
          "documentation":"<p>The metric queries to be returned. A single <code>GetMetricData</code> call can include as many as 500 <code>MetricDataQuery</code> structures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query, or a math expression to perform on retrieved data. </p>"
        },
        "StartTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time stamp indicating the earliest data to be returned.</p> <p>The value specified is inclusive; results include data points with the specified time stamp. </p> <p>CloudWatch rounds the specified time stamp as follows:</p> <ul> <li> <p>Start time less than 15 days ago - Round down to the nearest whole minute. For example, 12:32:34 is rounded down to 12:32:00.</p> </li> <li> <p>Start time between 15 and 63 days ago - Round down to the nearest 5-minute clock interval. For example, 12:32:34 is rounded down to 12:30:00.</p> </li> <li> <p>Start time greater than 63 days ago - Round down to the nearest 1-hour clock interval. For example, 12:32:34 is rounded down to 12:00:00.</p> </li> </ul> <p>If you set <code>Period</code> to 5, 10, 20, or 30, the start time of your request is rounded down to the nearest time that corresponds to even 5-, 10-, 20-, or 30-second divisions of a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for the previous 10-second period, the start time of your request is rounded down and you receive data from 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the previous 5 minutes of data, using a period of 5 seconds, you receive data timestamped between 15:02:15 and 15:07:15. </p> <p>For better performance, specify <code>StartTime</code> and <code>EndTime</code> values that align with the value of the metric's <code>Period</code> and sync up with the beginning and end of an hour. For example, if the <code>Period</code> of a metric is 5 minutes, specifying 12:05 or 12:30 as <code>StartTime</code> can get a faster response from CloudWatch than setting 12:07 or 12:29 as the <code>StartTime</code>.</p>"
        },
        "EndTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time stamp indicating the latest data to be returned.</p> <p>The value specified is exclusive; results include data points up to the specified time stamp.</p> <p>For better performance, specify <code>StartTime</code> and <code>EndTime</code> values that align with the value of the metric's <code>Period</code> and sync up with the beginning and end of an hour. For example, if the <code>Period</code> of a metric is 5 minutes, specifying 12:05 or 12:30 as <code>EndTime</code> can get a faster response from CloudWatch than setting 12:07 or 12:29 as the <code>EndTime</code>.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>Include this value, if it was returned by the previous <code>GetMetricData</code> operation, to get the next set of data points.</p>"
        },
        "ScanBy":{
          "shape":"ScanBy",
          "documentation":"<p>The order in which data points should be returned. <code>TimestampDescending</code> returns the newest data first and paginates when the <code>MaxDatapoints</code> limit is reached. <code>TimestampAscending</code> returns the oldest data first and paginates when the <code>MaxDatapoints</code> limit is reached.</p> <p>If you omit this parameter, the default of <code>TimestampDescending</code> is used.</p>"
        },
        "MaxDatapoints":{
          "shape":"GetMetricDataMaxDatapoints",
          "documentation":"<p>The maximum number of data points the request should return before paginating. If you omit this, the default of 100,800 is used.</p>"
        },
        "LabelOptions":{
          "shape":"LabelOptions",
          "documentation":"<p>This structure includes the <code>Timezone</code> parameter, which you can use to specify your time zone so that the labels of returned data display the correct time for your time zone. </p>"
        }
      }
    },
    "GetMetricDataLabelTimezone":{"type":"string"},
    "GetMetricDataMaxDatapoints":{"type":"integer"},
    "GetMetricDataOutput":{
      "type":"structure",
      "members":{
        "MetricDataResults":{
          "shape":"MetricDataResults",
          "documentation":"<p>The metrics that are returned, including the metric name, namespace, and dimensions.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>A token that marks the next batch of returned results.</p>"
        },
        "Messages":{
          "shape":"MetricDataResultMessages",
          "documentation":"<p>Contains a message about this <code>GetMetricData</code> operation, if the operation results in such a message. An example of a message that might be returned is <code>Maximum number of allowed metrics exceeded</code>. If there is a message, as much of the operation as possible is still executed.</p> <p>A message appears here only if it is related to the global <code>GetMetricData</code> operation. Any message about a specific metric returned by the operation appears in the <code>MetricDataResult</code> object returned for that metric.</p>"
        }
      }
    },
    "GetMetricStatisticsInput":{
      "type":"structure",
      "required":[
        "Namespace",
        "MetricName",
        "StartTime",
        "EndTime",
        "Period"
      ],
      "members":{
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The namespace of the metric, with or without spaces.</p>"
        },
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The name of the metric, with or without spaces.</p>"
        },
        "Dimensions":{
          "shape":"Dimensions",
          "documentation":"<p>The dimensions. If the metric contains multiple dimensions, you must include a value for each dimension. CloudWatch treats each unique combination of dimensions as a separate metric. If a specific combination of dimensions was not published, you can't retrieve statistics for it. You must specify the same dimensions that were used when the metrics were created. For an example, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#dimension-combinations\">Dimension Combinations</a> in the <i>Amazon CloudWatch User Guide</i>. For more information about specifying dimensions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html\">Publishing Metrics</a> in the <i>Amazon CloudWatch User Guide</i>.</p>"
        },
        "StartTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time stamp that determines the first data point to return. Start times are evaluated relative to the time that CloudWatch receives the request.</p> <p>The value specified is inclusive; results include data points with the specified time stamp. In a raw HTTP query, the time stamp must be in ISO 8601 UTC format (for example, 2016-10-03T23:00:00Z).</p> <p>CloudWatch rounds the specified time stamp as follows:</p> <ul> <li> <p>Start time less than 15 days ago - Round down to the nearest whole minute. For example, 12:32:34 is rounded down to 12:32:00.</p> </li> <li> <p>Start time between 15 and 63 days ago - Round down to the nearest 5-minute clock interval. For example, 12:32:34 is rounded down to 12:30:00.</p> </li> <li> <p>Start time greater than 63 days ago - Round down to the nearest 1-hour clock interval. For example, 12:32:34 is rounded down to 12:00:00.</p> </li> </ul> <p>If you set <code>Period</code> to 5, 10, 20, or 30, the start time of your request is rounded down to the nearest time that corresponds to even 5-, 10-, 20-, or 30-second divisions of a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for the previous 10-second period, the start time of your request is rounded down and you receive data from 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the previous 5 minutes of data, using a period of 5 seconds, you receive data timestamped between 15:02:15 and 15:07:15. </p>"
        },
        "EndTime":{
          "shape":"Timestamp",
          "documentation":"<p>The time stamp that determines the last data point to return.</p> <p>The value specified is exclusive; results include data points up to the specified time stamp. In a raw HTTP query, the time stamp must be in ISO 8601 UTC format (for example, 2016-10-10T23:00:00Z).</p>"
        },
        "Period":{
          "shape":"Period",
          "documentation":"<p>The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a <code>PutMetricData</code> call that includes a <code>StorageResolution</code> of 1 second.</p> <p>If the <code>StartTime</code> parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned:</p> <ul> <li> <p>Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute).</p> </li> <li> <p>Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes).</p> </li> <li> <p>Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).</p> </li> </ul>"
        },
        "Statistics":{
          "shape":"Statistics",
          "documentation":"<p>The metric statistics, other than percentile. For percentile statistics, use <code>ExtendedStatistics</code>. When calling <code>GetMetricStatistics</code>, you must specify either <code>Statistics</code> or <code>ExtendedStatistics</code>, but not both.</p>"
        },
        "ExtendedStatistics":{
          "shape":"ExtendedStatistics",
          "documentation":"<p>The percentile statistics. Specify values between p0.0 and p100. When calling <code>GetMetricStatistics</code>, you must specify either <code>Statistics</code> or <code>ExtendedStatistics</code>, but not both. Percentile statistics are not available for metrics when any of the metric values are negative numbers.</p>"
        },
        "Unit":{
          "shape":"StandardUnit",
          "documentation":"<p>The unit for a given metric. If you omit <code>Unit</code>, all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.</p>"
        }
      }
    },
    "GetMetricStatisticsOutput":{
      "type":"structure",
      "members":{
        "Label":{
          "shape":"MetricLabel",
          "documentation":"<p>A label for the specified metric.</p>"
        },
        "Datapoints":{
          "shape":"Datapoints",
          "documentation":"<p>The data points for the specified metric.</p>"
        }
      }
    },
    "GetMetricStreamInput":{
      "type":"structure",
      "required":["Name"],
      "members":{
        "Name":{
          "shape":"MetricStreamName",
          "documentation":"<p>The name of the metric stream to retrieve information about.</p>"
        }
      }
    },
    "GetMetricStreamOutput":{
      "type":"structure",
      "members":{
        "Arn":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The ARN of the metric stream.</p>"
        },
        "Name":{
          "shape":"MetricStreamName",
          "documentation":"<p>The name of the metric stream.</p>"
        },
        "IncludeFilters":{
          "shape":"MetricStreamFilters",
          "documentation":"<p>If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.</p>"
        },
        "ExcludeFilters":{
          "shape":"MetricStreamFilters",
          "documentation":"<p>If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.</p>"
        },
        "FirehoseArn":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.</p>"
        },
        "RoleArn":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The ARN of the IAM role that is used by this metric stream.</p>"
        },
        "State":{
          "shape":"MetricStreamState",
          "documentation":"<p>The state of the metric stream. The possible values are <code>running</code> and <code>stopped</code>.</p>"
        },
        "CreationDate":{
          "shape":"Timestamp",
          "documentation":"<p>The date that the metric stream was created.</p>"
        },
        "LastUpdateDate":{
          "shape":"Timestamp",
          "documentation":"<p>The date of the most recent update to the metric stream's configuration.</p>"
        },
        "OutputFormat":{
          "shape":"MetricStreamOutputFormat",
          "documentation":"<p>The output format for the stream. Valid values are <code>json</code>, <code>opentelemetry1.0</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>"
        },
        "StatisticsConfigurations":{
          "shape":"MetricStreamStatisticsConfigurations",
          "documentation":"<p>Each entry in this array displays information about one or more metrics that include additional statistics in the metric stream. For more information about the additional statistics, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html\"> CloudWatch statistics definitions</a>. </p>"
        },
        "IncludeLinkedAccountsMetrics":{
          "shape":"IncludeLinkedAccountsMetrics",
          "documentation":"<p>If this is <code>true</code> and this metric stream is in a monitoring account, then the stream includes metrics from source accounts that the monitoring account is linked to.</p>"
        }
      }
    },
    "GetMetricWidgetImageInput":{
      "type":"structure",
      "required":["MetricWidget"],
      "members":{
        "MetricWidget":{
          "shape":"MetricWidget",
          "documentation":"<p>A JSON string that defines the bitmap graph to be retrieved. The string includes the metrics to include in the graph, statistics, annotations, title, axis limits, and so on. You can include only one <code>MetricWidget</code> parameter in each <code>GetMetricWidgetImage</code> call.</p> <p>For more information about the syntax of <code>MetricWidget</code> see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Widget-Structure.html\">GetMetricWidgetImage: Metric Widget Structure and Syntax</a>.</p> <p>If any metric on the graph could not load all the requested data points, an orange triangle with an exclamation point appears next to the graph legend.</p>"
        },
        "OutputFormat":{
          "shape":"OutputFormat",
          "documentation":"<p>The format of the resulting image. Only PNG images are supported.</p> <p>The default is <code>png</code>. If you specify <code>png</code>, the API returns an HTTP response with the content-type set to <code>text/xml</code>. The image data is in a <code>MetricWidgetImage</code> field. For example:</p> <p> <code> &lt;GetMetricWidgetImageResponse xmlns=&lt;URLstring&gt;&gt;</code> </p> <p> <code> &lt;GetMetricWidgetImageResult&gt;</code> </p> <p> <code> &lt;MetricWidgetImage&gt;</code> </p> <p> <code> iVBORw0KGgoAAAANSUhEUgAAAlgAAAGQEAYAAAAip...</code> </p> <p> <code> &lt;/MetricWidgetImage&gt;</code> </p> <p> <code> &lt;/GetMetricWidgetImageResult&gt;</code> </p> <p> <code> &lt;ResponseMetadata&gt;</code> </p> <p> <code> &lt;RequestId&gt;6f0d4192-4d42-11e8-82c1-f539a07e0e3b&lt;/RequestId&gt;</code> </p> <p> <code> &lt;/ResponseMetadata&gt;</code> </p> <p> <code>&lt;/GetMetricWidgetImageResponse&gt;</code> </p> <p>The <code>image/png</code> setting is intended only for custom HTTP requests. For most use cases, and all actions using an Amazon Web Services SDK, you should use <code>png</code>. If you specify <code>image/png</code>, the HTTP response has a content-type set to <code>image/png</code>, and the body of the response is a PNG image.</p>"
        }
      }
    },
    "GetMetricWidgetImageOutput":{
      "type":"structure",
      "members":{
        "MetricWidgetImage":{
          "shape":"MetricWidgetImage",
          "documentation":"<p>The image of the graph, in the output format specified. The output is base64-encoded.</p>"
        }
      }
    },
    "GetOTelEnrichmentInput":{
      "type":"structure",
      "members":{}
    },
    "GetOTelEnrichmentOutput":{
      "type":"structure",
      "required":["Status"],
      "members":{
        "Status":{
          "shape":"OTelEnrichmentStatus",
          "documentation":"<p>The status of OTel enrichment for the account. Valid values are <code>Running</code> (enrichment is enabled) and <code>Stopped</code> (enrichment is disabled).</p>"
        }
      }
    },
    "HistoryData":{
      "type":"string",
      "max":4095,
      "min":1
    },
    "HistoryItemType":{
      "type":"string",
      "enum":[
        "ConfigurationUpdate",
        "StateUpdate",
        "Action",
        "AlarmContributorStateUpdate",
        "AlarmContributorAction"
      ]
    },
    "HistorySummary":{
      "type":"string",
      "max":255,
      "min":1
    },
    "IncludeLinkedAccounts":{"type":"boolean"},
    "IncludeLinkedAccountsMetrics":{"type":"boolean"},
    "InsightRule":{
      "type":"structure",
      "required":[
        "Name",
        "State",
        "Schema",
        "Definition"
      ],
      "members":{
        "Name":{
          "shape":"InsightRuleName",
          "documentation":"<p>The name of the rule.</p>"
        },
        "State":{
          "shape":"InsightRuleState",
          "documentation":"<p>Indicates whether the rule is enabled or disabled.</p>"
        },
        "Schema":{
          "shape":"InsightRuleSchema",
          "documentation":"<p>For rules that you create, this is always <code>{\"Name\": \"CloudWatchLogRule\", \"Version\": 1}</code>. For managed rules, this is <code>{\"Name\": \"ServiceLogRule\", \"Version\": 1}</code> </p>"
        },
        "Definition":{
          "shape":"InsightRuleDefinition",
          "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>"
        },
        "ManagedRule":{
          "shape":"InsightRuleIsManaged",
          "documentation":"<p> An optional built-in rule that Amazon Web Services manages. </p>"
        },
        "ApplyOnTransformedLogs":{
          "shape":"InsightRuleOnTransformedLogs",
          "documentation":"<p>Displays whether the rule is evaluated on the transformed versions of logs, for log groups that have <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html\">Log transformation</a> enabled. If this is <code>false</code>, log events are evaluated before they are transformed.</p>"
        }
      },
      "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>"
    },
    "InsightRuleAggregationStatistic":{"type":"string"},
    "InsightRuleContributor":{
      "type":"structure",
      "required":[
        "Keys",
        "ApproximateAggregateValue",
        "Datapoints"
      ],
      "members":{
        "Keys":{
          "shape":"InsightRuleContributorKeys",
          "documentation":"<p>One of the log entry field keywords that is used to define contributors for this rule.</p>"
        },
        "ApproximateAggregateValue":{
          "shape":"InsightRuleUnboundDouble",
          "documentation":"<p>An approximation of the aggregate value that comes from this contributor.</p>"
        },
        "Datapoints":{
          "shape":"InsightRuleContributorDatapoints",
          "documentation":"<p>An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.</p>"
        }
      },
      "documentation":"<p>One of the unique contributors found by a Contributor Insights rule. If the rule contains multiple keys, then a unique contributor is a unique combination of values from all the keys in the rule.</p> <p>If the rule contains a single key, then each unique contributor is each unique value for this key.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetInsightRuleReport.html\">GetInsightRuleReport</a>.</p>"
    },
    "InsightRuleContributorDatapoint":{
      "type":"structure",
      "required":[
        "Timestamp",
        "ApproximateValue"
      ],
      "members":{
        "Timestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp of the data point.</p>"
        },
        "ApproximateValue":{
          "shape":"InsightRuleUnboundDouble",
          "documentation":"<p>The approximate value that this contributor added during this timestamp.</p>"
        }
      },
      "documentation":"<p>One data point related to one contributor.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetInsightRuleReport.html\">GetInsightRuleReport</a> and <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_InsightRuleContributor.html\">InsightRuleContributor</a>.</p>"
    },
    "InsightRuleContributorDatapoints":{
      "type":"list",
      "member":{"shape":"InsightRuleContributorDatapoint"}
    },
    "InsightRuleContributorKey":{"type":"string"},
    "InsightRuleContributorKeyLabel":{"type":"string"},
    "InsightRuleContributorKeyLabels":{
      "type":"list",
      "member":{"shape":"InsightRuleContributorKeyLabel"}
    },
    "InsightRuleContributorKeys":{
      "type":"list",
      "member":{"shape":"InsightRuleContributorKey"}
    },
    "InsightRuleContributors":{
      "type":"list",
      "member":{"shape":"InsightRuleContributor"}
    },
    "InsightRuleDefinition":{
      "type":"string",
      "max":8192,
      "min":1,
      "pattern":"[\\x00-\\x7F]+"
    },
    "InsightRuleIsManaged":{"type":"boolean"},
    "InsightRuleMaxResults":{
      "type":"integer",
      "max":500,
      "min":1
    },
    "InsightRuleMetricDatapoint":{
      "type":"structure",
      "required":["Timestamp"],
      "members":{
        "Timestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The timestamp of the data point.</p>"
        },
        "UniqueContributors":{
          "shape":"InsightRuleUnboundDouble",
          "documentation":"<p>The number of unique contributors who published data during this timestamp.</p> <p>This statistic is returned only if you included it in the <code>Metrics</code> array in your request.</p>"
        },
        "MaxContributorValue":{
          "shape":"InsightRuleUnboundDouble",
          "documentation":"<p>The maximum value provided by one contributor during this timestamp. Each timestamp is evaluated separately, so the identity of the max contributor could be different for each timestamp.</p> <p>This statistic is returned only if you included it in the <code>Metrics</code> array in your request.</p>"
        },
        "SampleCount":{
          "shape":"InsightRuleUnboundDouble",
          "documentation":"<p>The number of occurrences that matched the rule during this data point.</p> <p>This statistic is returned only if you included it in the <code>Metrics</code> array in your request.</p>"
        },
        "Average":{
          "shape":"InsightRuleUnboundDouble",
          "documentation":"<p>The average value from all contributors during the time period represented by that data point.</p> <p>This statistic is returned only if you included it in the <code>Metrics</code> array in your request.</p>"
        },
        "Sum":{
          "shape":"InsightRuleUnboundDouble",
          "documentation":"<p>The sum of the values from all contributors during the time period represented by that data point.</p> <p>This statistic is returned only if you included it in the <code>Metrics</code> array in your request.</p>"
        },
        "Minimum":{
          "shape":"InsightRuleUnboundDouble",
          "documentation":"<p>The minimum value from a single contributor during the time period represented by that data point.</p> <p>This statistic is returned only if you included it in the <code>Metrics</code> array in your request.</p>"
        },
        "Maximum":{
          "shape":"InsightRuleUnboundDouble",
          "documentation":"<p>The maximum value from a single occurence from a single contributor during the time period represented by that data point.</p> <p>This statistic is returned only if you included it in the <code>Metrics</code> array in your request.</p>"
        }
      },
      "documentation":"<p>One data point from the metric time series returned in a Contributor Insights rule report.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetInsightRuleReport.html\">GetInsightRuleReport</a>.</p>"
    },
    "InsightRuleMetricDatapoints":{
      "type":"list",
      "member":{"shape":"InsightRuleMetricDatapoint"}
    },
    "InsightRuleMetricList":{
      "type":"list",
      "member":{"shape":"InsightRuleMetricName"}
    },
    "InsightRuleMetricName":{
      "type":"string",
      "max":32,
      "min":1,
      "pattern":"[\\x20-\\x7E]+"
    },
    "InsightRuleName":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"[\\x20-\\x7E]+"
    },
    "InsightRuleNames":{
      "type":"list",
      "member":{"shape":"InsightRuleName"}
    },
    "InsightRuleOnTransformedLogs":{"type":"boolean"},
    "InsightRuleOrderBy":{
      "type":"string",
      "max":32,
      "min":1,
      "pattern":"[\\x20-\\x7E]+"
    },
    "InsightRuleSchema":{"type":"string"},
    "InsightRuleState":{
      "type":"string",
      "max":32,
      "min":1,
      "pattern":"[\\x20-\\x7E]+"
    },
    "InsightRuleUnboundDouble":{"type":"double"},
    "InsightRuleUnboundInteger":{"type":"integer"},
    "InsightRuleUnboundLong":{"type":"long"},
    "InsightRules":{
      "type":"list",
      "member":{"shape":"InsightRule"}
    },
    "InternalServiceFault":{
      "type":"structure",
      "members":{
        "Message":{
          "shape":"FaultDescription",
          "documentation":"<p/>"
        }
      },
      "documentation":"<p>Request processing has failed due to some unknown error, exception, or failure.</p>",
      "error":{
        "code":"InternalServiceError",
        "httpStatusCode":500
      },
      "exception":true,
      "xmlOrder":["Message"]
    },
    "InvalidFormatFault":{
      "type":"structure",
      "members":{
        "message":{
          "shape":"ErrorMessage",
          "documentation":"<p/>"
        }
      },
      "documentation":"<p>Data was not syntactically valid JSON.</p>",
      "error":{
        "code":"InvalidFormat",
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "InvalidNextToken":{
      "type":"structure",
      "members":{
        "message":{
          "shape":"ErrorMessage",
          "documentation":"<p/>"
        }
      },
      "documentation":"<p>The next token specified is invalid.</p>",
      "error":{
        "code":"InvalidNextToken",
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "InvalidParameterCombinationException":{
      "type":"structure",
      "members":{
        "message":{
          "shape":"AwsQueryErrorMessage",
          "documentation":"<p/>"
        }
      },
      "documentation":"<p>Parameters were used together that cannot be used together.</p>",
      "error":{
        "code":"InvalidParameterCombination",
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true,
      "synthetic":true
    },
    "InvalidParameterValueException":{
      "type":"structure",
      "members":{
        "message":{
          "shape":"AwsQueryErrorMessage",
          "documentation":"<p/>"
        }
      },
      "documentation":"<p>The value of an input parameter is bad or out-of-range.</p>",
      "error":{
        "code":"InvalidParameterValue",
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true,
      "synthetic":true
    },
    "KmsAccessDeniedException":{
      "type":"structure",
      "required":["Message"],
      "members":{
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The operation was denied because either the calling principal lacks the required Amazon Web Services Key Management Service (Amazon Web Services KMS) permission on the key, or the key policy does not grant Amazon CloudWatch the permissions it needs to use the key. Verify that the caller has <code>kms:Decrypt</code> permission on the key, and that the key policy grants the CloudWatch service principal the <code>kms:DescribeKey</code>, <code>kms:GenerateDataKey</code>, <code>kms:Encrypt</code>, <code>kms:Decrypt</code>, and <code>kms:ReEncrypt*</code> permissions described in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_AssociateDatasetKmsKey.html\">AssociateDatasetKmsKey</a>.</p>",
      "exception":true
    },
    "KmsKeyArn":{
      "type":"string",
      "max":2048,
      "min":20,
      "pattern":"arn:[a-zA-Z0-9-]+:kms:[a-zA-Z0-9-]+:\\d{12}:key/[a-f0-9-]+"
    },
    "KmsKeyDisabledException":{
      "type":"structure",
      "required":["Message"],
      "members":{
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The specified Amazon Web Services Key Management Service (Amazon Web Services KMS) key is disabled or pending deletion. Re-enable the key (or restore it, if it is pending deletion) and retry the operation.</p>",
      "exception":true
    },
    "KmsKeyNotFoundException":{
      "type":"structure",
      "required":["Message"],
      "members":{
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The specified Amazon Web Services Key Management Service (Amazon Web Services KMS) key could not be found. Verify that the key Amazon Resource Name (ARN) is correct, that the key exists, and that it is in the same Amazon Web Services Region as the resource.</p>",
      "exception":true
    },
    "LabelOptions":{
      "type":"structure",
      "members":{
        "Timezone":{
          "shape":"GetMetricDataLabelTimezone",
          "documentation":"<p>The time zone to use for metric data return in this operation. The format is <code>+</code> or <code>-</code> followed by four digits. The first two digits indicate the number of hours ahead or behind of UTC, and the final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 minutes ahead of UTC. The default is +0000. </p>"
        }
      },
      "documentation":"<p>This structure includes the <code>Timezone</code> parameter, which you can use to specify your time zone so that the labels that are associated with returned metrics display the correct time for your time zone. </p> <p>The <code>Timezone</code> value affects a label only if you have a time-based dynamic expression in the label. For more information about dynamic expressions in labels, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html\">Using Dynamic Labels</a>.</p>"
    },
    "LastModified":{"type":"timestamp"},
    "LimitExceededException":{
      "type":"structure",
      "members":{},
      "documentation":"<p>The operation exceeded one or more limits.</p>",
      "error":{
        "code":"LimitExceededException",
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "LimitExceededFault":{
      "type":"structure",
      "members":{
        "message":{
          "shape":"ErrorMessage",
          "documentation":"<p/>"
        }
      },
      "documentation":"<p>The quota for alarms for this customer has already been reached.</p>",
      "error":{
        "code":"LimitExceeded",
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true
    },
    "ListAlarmMuteRulesInput":{
      "type":"structure",
      "members":{
        "AlarmName":{
          "shape":"Name",
          "documentation":"<p>Filter results to show only mute rules that target the specified alarm name.</p>"
        },
        "Statuses":{
          "shape":"AlarmMuteRuleStatuses",
          "documentation":"<p>Filter results to show only mute rules with the specified statuses. Valid values are <code>SCHEDULED</code>, <code>ACTIVE</code>, or <code>EXPIRED</code>.</p>"
        },
        "MaxRecords":{
          "shape":"MaxRecords",
          "documentation":"<p>The maximum number of mute rules to return in one call. The default is 50.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned from a previous call to indicate where to continue retrieving results.</p>"
        }
      }
    },
    "ListAlarmMuteRulesOutput":{
      "type":"structure",
      "members":{
        "AlarmMuteRuleSummaries":{
          "shape":"AlarmMuteRuleSummaries",
          "documentation":"<p>A list of alarm mute rule summaries.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token to use when requesting the next set of results. If this field is absent, there are no more results to retrieve.</p>"
        }
      }
    },
    "ListDashboardsInput":{
      "type":"structure",
      "members":{
        "DashboardNamePrefix":{
          "shape":"DashboardNamePrefix",
          "documentation":"<p>If you specify this parameter, only the dashboards with names starting with the specified string are listed. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, \".\", \"-\", and \"_\". </p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned by a previous call to indicate that there is more data available.</p>"
        }
      }
    },
    "ListDashboardsOutput":{
      "type":"structure",
      "members":{
        "DashboardEntries":{
          "shape":"DashboardEntries",
          "documentation":"<p>The list of matching dashboards.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token that marks the start of the next batch of returned results.</p>"
        }
      }
    },
    "ListManagedInsightRulesInput":{
      "type":"structure",
      "required":["ResourceARN"],
      "members":{
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "documentation":"<p> The ARN of an Amazon Web Services resource that has managed Contributor Insights rules. </p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p> Include this value to get the next set of rules if the value was returned by the previous operation. </p>"
        },
        "MaxResults":{
          "shape":"InsightRuleMaxResults",
          "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>"
        }
      }
    },
    "ListManagedInsightRulesOutput":{
      "type":"structure",
      "members":{
        "ManagedRules":{
          "shape":"ManagedRuleDescriptions",
          "documentation":"<p> The managed rules that are available for the specified Amazon Web Services resource. </p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p> Include this value to get the next set of rules if the value was returned by the previous operation. </p>"
        }
      }
    },
    "ListMetricStreamsInput":{
      "type":"structure",
      "members":{
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>Include this value, if it was returned by the previous call, to get the next set of metric streams.</p>"
        },
        "MaxResults":{
          "shape":"ListMetricStreamsMaxResults",
          "documentation":"<p>The maximum number of results to return in one operation.</p>"
        }
      }
    },
    "ListMetricStreamsMaxResults":{
      "type":"integer",
      "max":500,
      "min":1
    },
    "ListMetricStreamsOutput":{
      "type":"structure",
      "members":{
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token that marks the start of the next batch of returned results. You can use this token in a subsequent operation to get the next batch of results.</p>"
        },
        "Entries":{
          "shape":"MetricStreamEntries",
          "documentation":"<p>The array of metric stream information.</p>"
        }
      }
    },
    "ListMetricsInput":{
      "type":"structure",
      "members":{
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The metric namespace to filter against. Only the namespace that matches exactly will be returned.</p>"
        },
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The name of the metric to filter against. Only the metrics with names that match exactly will be returned.</p>"
        },
        "Dimensions":{
          "shape":"DimensionFilters",
          "documentation":"<p>The dimensions to filter against. Only the dimension with names that match exactly will be returned. If you specify one dimension name and a metric has that dimension and also other dimensions, it will be returned.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned by a previous call to indicate that there is more data available.</p>"
        },
        "RecentlyActive":{
          "shape":"RecentlyActive",
          "documentation":"<p>To filter the results to show only metrics that have had data points published in the past three hours, specify this parameter with a value of <code>PT3H</code>. This is the only valid value for this parameter.</p> <p>The results that are returned are an approximation of the value you specify. There is a low probability that the returned results include metrics with last published data as much as 50 minutes more than the specified time interval.</p>"
        },
        "IncludeLinkedAccounts":{
          "shape":"IncludeLinkedAccounts",
          "documentation":"<p>If you are using this operation in a monitoring account, specify <code>true</code> to include metrics from source accounts in the returned data.</p> <p>The default is <code>false</code>.</p>"
        },
        "OwningAccount":{
          "shape":"AccountId",
          "documentation":"<p>When you use this operation in a monitoring account, use this field to return metrics only from one source account. To do so, specify that source account ID in this field, and also specify <code>true</code> for <code>IncludeLinkedAccounts</code>.</p>"
        }
      }
    },
    "ListMetricsOutput":{
      "type":"structure",
      "members":{
        "Metrics":{
          "shape":"Metrics",
          "documentation":"<p>The metrics that match your request. </p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token that marks the start of the next batch of returned results. </p>"
        },
        "OwningAccounts":{
          "shape":"OwningAccounts",
          "documentation":"<p>If you are using this operation in a monitoring account, this array contains the account IDs of the source accounts where the metrics in the returned data are from.</p> <p>This field is a 1:1 mapping between each metric that is returned and the ID of the owning account.</p>"
        }
      },
      "xmlOrder":[
        "Metrics",
        "NextToken",
        "OwningAccounts"
      ]
    },
    "ListTagsForResourceInput":{
      "type":"structure",
      "required":["ResourceARN"],
      "members":{
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "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>The ARN format of a dashboard is <code>arn:aws:cloudwatch::<i>account-id</i>:dashboard/<i>dashboard-name</i> </code> </p> <p>The ARN format of a metric stream is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:metric-stream/<i>metric-stream-name</i> </code> </p> <p>For more information about 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>"
        }
      }
    },
    "ListTagsForResourceOutput":{
      "type":"structure",
      "members":{
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>The list of tag keys and values associated with the resource you specified.</p>"
        }
      }
    },
    "LogAlarm":{
      "type":"structure",
      "members":{
        "AlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>The name of the alarm.</p>"
        },
        "AlarmArn":{
          "shape":"AlarmArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the alarm.</p>"
        },
        "AlarmDescription":{
          "shape":"AlarmDescription",
          "documentation":"<p>The description of the alarm.</p>"
        },
        "AlarmConfigurationUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time stamp of the last update to the alarm configuration.</p>"
        },
        "ActionsEnabled":{
          "shape":"ActionsEnabled",
          "documentation":"<p>Indicates whether actions should be executed during any changes to the alarm state.</p>"
        },
        "OKActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>OK</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>"
        },
        "AlarmActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>ALARM</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>"
        },
        "InsufficientDataActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>INSUFFICIENT_DATA</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>"
        },
        "StateValue":{
          "shape":"StateValue",
          "documentation":"<p>The state value for the alarm.</p>"
        },
        "StateReason":{
          "shape":"StateReason",
          "documentation":"<p>An explanation for the alarm state, in text format.</p>"
        },
        "StateReasonData":{
          "shape":"StateReasonData",
          "documentation":"<p>An explanation for the alarm state, in JSON format.</p>"
        },
        "StateUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time stamp of the last update to the value of either the <code>StateValue</code> or <code>EvaluationState</code> parameters.</p>"
        },
        "ScheduledQueryConfiguration":{
          "shape":"ScheduledQueryConfiguration",
          "documentation":"<p>The configuration of the underlying CloudWatch Logs scheduled query, including the query string, log groups, schedule, aggregation expression, and the ARN of the managed scheduled query.</p>"
        },
        "QueryResultsToEvaluate":{
          "shape":"QueryResultsToEvaluate",
          "documentation":"<p>The number of most recent scheduled query results that the alarm evaluates against the threshold (the N in M-of-N evaluation).</p>"
        },
        "QueryResultsToAlarm":{
          "shape":"QueryResultsToAlarm",
          "documentation":"<p>The number of query results, out of the most recent <code>QueryResultsToEvaluate</code> results, that must breach the threshold to trigger the alarm to transition to <code>ALARM</code> (the M in M-of-N evaluation).</p>"
        },
        "Threshold":{
          "shape":"Threshold",
          "documentation":"<p>The value to compare with the aggregated query result.</p>"
        },
        "ComparisonOperator":{
          "shape":"ComparisonOperator",
          "documentation":"<p>The arithmetic operation to use when comparing the aggregated query result and the threshold. The aggregated query result is used as the first operand.</p>"
        },
        "TreatMissingData":{
          "shape":"TreatMissingData",
          "documentation":"<p>How this alarm handles missing data points. Valid values are <code>breaching</code>, <code>notBreaching</code>, <code>ignore</code>, and <code>missing</code>.</p>"
        },
        "StateTransitionedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time that the alarm's <code>StateValue</code> most recently changed.</p>"
        },
        "EvaluationState":{
          "shape":"EvaluationState",
          "documentation":"<p>If the value of this field is <code>EVALUATION_ERROR</code>, it indicates configuration errors in the alarm setup that require review and correction. Refer to the <code>StateReason</code> field of the alarm for more details.</p> <p>If the value of this field is <code>EVALUATION_FAILURE</code>, it indicates temporary CloudWatch issues. We recommend manual monitoring until the issue is resolved.</p> <p>If the value of this field is <code>PARTIAL_DATA</code>, it indicates that the query returned the maximum 500 contributor groups but more matched. The alarm evaluates the available contributors, but results might be incomplete.</p>"
        },
        "ActionLogLineCount":{
          "shape":"ActionLogLineCount",
          "documentation":"<p>The number of log lines from the most recent scheduled query execution that are included in alarm action notifications. Valid range is 0 through 50. A value of 0 means no log lines are included.</p>"
        },
        "ActionLogLineRoleArn":{
          "shape":"ActionLogLineRoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to retrieve log events for inclusion in alarm action notifications. Set when <code>ActionLogLineCount</code> is greater than 0.</p>"
        }
      },
      "documentation":"<p>The details about a log alarm.</p>",
      "xmlOrder":[
        "AlarmName",
        "AlarmArn",
        "AlarmDescription",
        "AlarmConfigurationUpdatedTimestamp",
        "ActionsEnabled",
        "OKActions",
        "AlarmActions",
        "InsufficientDataActions",
        "StateValue",
        "StateReason",
        "StateReasonData",
        "StateUpdatedTimestamp",
        "StateTransitionedTimestamp",
        "ScheduledQueryConfiguration",
        "QueryResultsToEvaluate",
        "QueryResultsToAlarm",
        "Threshold",
        "ComparisonOperator",
        "TreatMissingData",
        "EvaluationState",
        "ActionLogLineCount",
        "ActionLogLineRoleArn"
      ]
    },
    "LogAlarms":{
      "type":"list",
      "member":{"shape":"LogAlarm"}
    },
    "LogGroupIdentifiers":{
      "type":"list",
      "member":{"shape":"AmazonResourceName"},
      "max":50,
      "min":1
    },
    "ManagedRule":{
      "type":"structure",
      "required":[
        "TemplateName",
        "ResourceARN"
      ],
      "members":{
        "TemplateName":{
          "shape":"TemplateName",
          "documentation":"<p> The template name for the managed Contributor Insights rule, as returned by <code>ListManagedInsightRules</code>. </p>"
        },
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "documentation":"<p> The ARN of an Amazon Web Services resource that has managed Contributor Insights rules. </p>"
        },
        "Tags":{
          "shape":"TagList",
          "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>"
        }
      },
      "documentation":"<p> Contains the information that's required to enable a managed Contributor Insights rule for an Amazon Web Services resource. </p>"
    },
    "ManagedRuleDescription":{
      "type":"structure",
      "members":{
        "TemplateName":{
          "shape":"TemplateName",
          "documentation":"<p> The template name for the managed rule. Used to enable managed rules using <code>PutManagedInsightRules</code>. </p>"
        },
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "documentation":"<p> If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource. </p>"
        },
        "RuleState":{
          "shape":"ManagedRuleState",
          "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>"
        }
      },
      "documentation":"<p> Contains information about managed Contributor Insights rules, as returned by <code>ListManagedInsightRules</code>. </p>"
    },
    "ManagedRuleDescriptions":{
      "type":"list",
      "member":{"shape":"ManagedRuleDescription"}
    },
    "ManagedRuleState":{
      "type":"structure",
      "required":[
        "RuleName",
        "State"
      ],
      "members":{
        "RuleName":{
          "shape":"InsightRuleName",
          "documentation":"<p> The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource. </p>"
        },
        "State":{
          "shape":"InsightRuleState",
          "documentation":"<p> Indicates whether the rule is enabled or disabled. </p>"
        }
      },
      "documentation":"<p> The status of a managed Contributor Insights rule. </p>"
    },
    "ManagedRules":{
      "type":"list",
      "member":{"shape":"ManagedRule"}
    },
    "MaxRecords":{
      "type":"integer",
      "max":100,
      "min":1
    },
    "MaxReturnedResultsCount":{
      "type":"integer",
      "min":1
    },
    "Message":{"type":"string"},
    "MessageData":{
      "type":"structure",
      "members":{
        "Code":{
          "shape":"MessageDataCode",
          "documentation":"<p>The error code or status code associated with the message.</p>"
        },
        "Value":{
          "shape":"MessageDataValue",
          "documentation":"<p>The message text.</p>"
        }
      },
      "documentation":"<p>A message returned by the <code>GetMetricData</code>API, including a code and a description.</p> <p>If a cross-Region <code>GetMetricData</code> operation fails with a code of <code>Forbidden</code> and a value of <code>Authentication too complex to retrieve cross region data</code>, you can correct the problem by running the <code>GetMetricData</code> operation in the same Region where the metric data is.</p>"
    },
    "MessageDataCode":{"type":"string"},
    "MessageDataValue":{"type":"string"},
    "Metric":{
      "type":"structure",
      "members":{
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The namespace of the metric.</p>"
        },
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The name of the metric. This is a required field.</p>"
        },
        "Dimensions":{
          "shape":"Dimensions",
          "documentation":"<p>The dimensions for the metric.</p>"
        }
      },
      "documentation":"<p>Represents a specific metric.</p>",
      "xmlOrder":[
        "Namespace",
        "MetricName",
        "Dimensions"
      ]
    },
    "MetricAlarm":{
      "type":"structure",
      "members":{
        "AlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>The name of the alarm.</p>"
        },
        "AlarmArn":{
          "shape":"AlarmArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the alarm.</p>"
        },
        "AlarmDescription":{
          "shape":"AlarmDescription",
          "documentation":"<p>The description of the alarm.</p>"
        },
        "AlarmConfigurationUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time stamp of the last update to the alarm configuration.</p>"
        },
        "ActionsEnabled":{
          "shape":"ActionsEnabled",
          "documentation":"<p>Indicates whether actions should be executed during any changes to the alarm state.</p>"
        },
        "OKActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>OK</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>"
        },
        "AlarmActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>ALARM</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>"
        },
        "InsufficientDataActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>INSUFFICIENT_DATA</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>"
        },
        "StateValue":{
          "shape":"StateValue",
          "documentation":"<p>The state value for the alarm.</p>"
        },
        "StateReason":{
          "shape":"StateReason",
          "documentation":"<p>An explanation for the alarm state, in text format.</p>"
        },
        "StateReasonData":{
          "shape":"StateReasonData",
          "documentation":"<p>An explanation for the alarm state, in JSON format.</p>"
        },
        "StateUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time stamp of the last update to the value of either the <code>StateValue</code> or <code>EvaluationState</code> parameters.</p>"
        },
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The name of the metric associated with the alarm, if this is an alarm based on a single metric.</p>"
        },
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The namespace of the metric associated with the alarm.</p>"
        },
        "Statistic":{
          "shape":"Statistic",
          "documentation":"<p>The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use <code>ExtendedStatistic</code>.</p>"
        },
        "ExtendedStatistic":{
          "shape":"ExtendedStatistic",
          "documentation":"<p>The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.</p>"
        },
        "Dimensions":{
          "shape":"Dimensions",
          "documentation":"<p>The dimensions for the metric associated with the alarm.</p>"
        },
        "Period":{
          "shape":"Period",
          "documentation":"<p>The period, in seconds, over which the statistic is applied.</p>"
        },
        "Unit":{
          "shape":"StandardUnit",
          "documentation":"<p>The unit of the metric associated with the alarm.</p>"
        },
        "EvaluationPeriods":{
          "shape":"EvaluationPeriods",
          "documentation":"<p>The number of periods over which data is compared to the specified threshold.</p>"
        },
        "DatapointsToAlarm":{
          "shape":"DatapointsToAlarm",
          "documentation":"<p>The number of data points that must be breaching to trigger the alarm.</p>"
        },
        "Threshold":{
          "shape":"Threshold",
          "documentation":"<p>The value to compare with the specified statistic.</p>"
        },
        "ComparisonOperator":{
          "shape":"ComparisonOperator",
          "documentation":"<p>The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.</p>"
        },
        "TreatMissingData":{
          "shape":"TreatMissingData",
          "documentation":"<p>Sets how this alarm is to handle missing data points. The valid values are <code>breaching</code>, <code>notBreaching</code>, <code>ignore</code>, and <code>missing</code>. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data\">Configuring how CloudWatch alarms treat missing data</a>.</p> <p>If this parameter is omitted, the default behavior of <code>missing</code> is used.</p> <note> <p>This parameter is not applicable to PromQL alarms.</p> </note>"
        },
        "EvaluateLowSampleCountPercentile":{
          "shape":"EvaluateLowSampleCountPercentile",
          "documentation":"<p>Used only for alarms based on percentiles. If <code>ignore</code>, the alarm state does not change during periods with too few data points to be statistically significant. If <code>evaluate</code> or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.</p>"
        },
        "Metrics":{
          "shape":"MetricDataQueries",
          "documentation":"<p>An array of MetricDataQuery structures, used in an alarm based on a metric math expression. Each structure either retrieves a metric or performs a math expression. One item in the Metrics array is the math expression that the alarm watches. This expression by designated by having <code>ReturnData</code> set to true.</p>"
        },
        "ThresholdMetricId":{
          "shape":"MetricId",
          "documentation":"<p>In an alarm based on an anomaly detection model, this is the ID of the <code>ANOMALY_DETECTION_BAND</code> function used as the threshold for the alarm.</p>"
        },
        "EvaluationState":{
          "shape":"EvaluationState",
          "documentation":"<p>If the value of this field is <code>PARTIAL_DATA</code>, it indicates that not all the available data was able to be retrieved due to quota limitations. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Metrics_Insights_Alarm.html\">Create alarms on Metrics Insights queries</a>.</p> <p>If the value of this field is <code>EVALUATION_ERROR</code>, it indicates configuration errors in alarm setup that require review and correction. Refer to StateReason field of the alarm for more details.</p> <p>If the value of this field is <code>EVALUATION_FAILURE</code>, it indicates temporary CloudWatch issues. We recommend manual monitoring until the issue is resolved </p>"
        },
        "StateTransitionedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time that the alarm's <code>StateValue</code> most recently changed.</p>"
        },
        "EvaluationWindow":{
          "shape":"EvaluationWindow",
          "documentation":"<p>The evaluation window that the alarm uses to select the range of metric data that it evaluates. This is either a sliding window or a wall clock window. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-evaluation-window.html\">Alarm evaluation windows</a> in the <i>CloudWatch User Guide</i>.</p>"
        },
        "EvaluationCriteria":{
          "shape":"EvaluationCriteria",
          "documentation":"<p>The evaluation criteria for the alarm.</p>"
        },
        "EvaluationInterval":{
          "shape":"EvaluationInterval",
          "documentation":"<p>The frequency, in seconds, at which the alarm is evaluated.</p>"
        }
      },
      "documentation":"<p>The details about a metric alarm.</p>",
      "xmlOrder":[
        "AlarmName",
        "AlarmArn",
        "AlarmDescription",
        "AlarmConfigurationUpdatedTimestamp",
        "ActionsEnabled",
        "OKActions",
        "AlarmActions",
        "InsufficientDataActions",
        "StateValue",
        "StateReason",
        "StateReasonData",
        "StateUpdatedTimestamp",
        "MetricName",
        "Namespace",
        "Statistic",
        "Dimensions",
        "Period",
        "Unit",
        "EvaluationPeriods",
        "Threshold",
        "ComparisonOperator",
        "ExtendedStatistic",
        "TreatMissingData",
        "EvaluateLowSampleCountPercentile",
        "DatapointsToAlarm",
        "Metrics",
        "ThresholdMetricId",
        "EvaluationState",
        "StateTransitionedTimestamp",
        "EvaluationWindow",
        "EvaluationCriteria",
        "EvaluationInterval"
      ]
    },
    "MetricAlarms":{
      "type":"list",
      "member":{"shape":"MetricAlarm"}
    },
    "MetricCharacteristics":{
      "type":"structure",
      "members":{
        "PeriodicSpikes":{
          "shape":"PeriodicSpikes",
          "documentation":"<p>Set this parameter to <code>true</code> if values for this metric consistently include spikes that should not be considered to be anomalies. With this set to <code>true</code>, CloudWatch will expect to see spikes that occurred consistently during the model training period, and won't flag future similar spikes as anomalies.</p>"
        }
      },
      "documentation":"<p>This object includes parameters that you can use to provide information to CloudWatch to help it build more accurate anomaly detection models.</p>"
    },
    "MetricData":{
      "type":"list",
      "member":{"shape":"MetricDatum"}
    },
    "MetricDataQueries":{
      "type":"list",
      "member":{"shape":"MetricDataQuery"}
    },
    "MetricDataQuery":{
      "type":"structure",
      "required":["Id"],
      "members":{
        "Id":{
          "shape":"MetricId",
          "documentation":"<p>A short name used to tie this object to the results in the response. This name must be unique within a single call to <code>GetMetricData</code>. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.</p>"
        },
        "MetricStat":{
          "shape":"MetricStat",
          "documentation":"<p>The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.</p> <p>Within one MetricDataQuery object, you must specify either <code>Expression</code> or <code>MetricStat</code> but not both.</p>"
        },
        "Expression":{
          "shape":"MetricExpression",
          "documentation":"<p>This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. For more information about Metrics Insights queries, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch-metrics-insights-querylanguage\">Metrics Insights query components and syntax</a> in the <i>Amazon CloudWatch User Guide</i>.</p> <p>A math expression can use the <code>Id</code> of the other metrics or queries to refer to those metrics, and can also use the <code>Id</code> of other expressions to use the result of those expressions. For more information about metric math expressions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax\">Metric Math Syntax and Functions</a> in the <i>Amazon CloudWatch User Guide</i>.</p> <p>Within each MetricDataQuery object, you must specify either <code>Expression</code> or <code>MetricStat</code> but not both.</p>"
        },
        "Label":{
          "shape":"MetricLabel",
          "documentation":"<p>A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown. If Label is omitted, CloudWatch generates a default.</p> <p>You can put dynamic expressions into a label, so that it is more descriptive. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html\">Using Dynamic Labels</a>.</p>"
        },
        "ReturnData":{
          "shape":"ReturnData",
          "documentation":"<p>When used in <code>GetMetricData</code>, this option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify <code>false</code>. If you omit this, the default of <code>true</code> is used.</p> <p>When used in <code>PutMetricAlarm</code>, specify <code>true</code> for the one expression result to use as the alarm. For all other metrics and expressions in the same <code>PutMetricAlarm</code> operation, specify <code>ReturnData</code> as False.</p>"
        },
        "Period":{
          "shape":"Period",
          "documentation":"<p>The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a <code>PutMetricData</code> operation that includes a <code>StorageResolution of 1 second</code>.</p>"
        },
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>The ID of the account where the metrics are located.</p> <p>If you are performing a <code>GetMetricData</code> operation in a monitoring account, use this to specify which account to retrieve this metric from.</p> <p>If you are performing a <code>PutMetricAlarm</code> operation, use this to specify which account contains the metric that the alarm is watching.</p>"
        }
      },
      "documentation":"<p>This structure is used in both <code>GetMetricData</code> and <code>PutMetricAlarm</code>. The supported use of this structure is different for those two operations.</p> <p>When used in <code>GetMetricData</code>, it indicates the metric data to return, and whether this call is just retrieving a batch set of data for one metric, or is performing a Metrics Insights query or a math expression. A single <code>GetMetricData</code> call can include up to 500 <code>MetricDataQuery</code> structures.</p> <p>When used in <code>PutMetricAlarm</code>, it enables you to create an alarm based on a metric math expression. Each <code>MetricDataQuery</code> in the array specifies either a metric to retrieve, or a math expression to be performed on retrieved metrics. A single <code>PutMetricAlarm</code> call can include up to 20 <code>MetricDataQuery</code> structures in the array. The 20 structures can include as many as 10 structures that contain a <code>MetricStat</code> parameter to retrieve a metric, and as many as 10 structures that contain the <code>Expression</code> parameter to perform a math expression. Of those <code>Expression</code> structures, one must have <code>true</code> as the value for <code>ReturnData</code>. The result of this expression is the value the alarm watches.</p> <p>Any expression used in a <code>PutMetricAlarm</code> operation must return a single time series. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax\">Metric Math Syntax and Functions</a> in the <i>Amazon CloudWatch User Guide</i>.</p> <p>Some of the parameters of this structure also have different uses whether you are using this structure in a <code>GetMetricData</code> operation or a <code>PutMetricAlarm</code> operation. These differences are explained in the following parameter list.</p>"
    },
    "MetricDataResult":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"MetricId",
          "documentation":"<p>The short name you specified to represent this metric.</p>"
        },
        "Label":{
          "shape":"MetricLabel",
          "documentation":"<p>The human-readable label associated with the data.</p>"
        },
        "Timestamps":{
          "shape":"Timestamps",
          "documentation":"<p>The timestamps for the data points, formatted in Unix timestamp format. The number of timestamps always matches the number of values and the value for Timestamps[x] is Values[x].</p>"
        },
        "Values":{
          "shape":"DatapointValues",
          "documentation":"<p>The data points for the metric corresponding to <code>Timestamps</code>. The number of values always matches the number of timestamps and the timestamp for Values[x] is Timestamps[x].</p>"
        },
        "StatusCode":{
          "shape":"StatusCode",
          "documentation":"<p>The status of the returned data. <code>Complete</code> indicates that all data points in the requested time range were returned. <code>PartialData</code> means that an incomplete set of data points were returned. You can use the <code>NextToken</code> value that was returned and repeat your request to get more data points. <code>NextToken</code> is not returned if you are performing a math expression. <code>InternalError</code> indicates that an error occurred. Retry your request using <code>NextToken</code>, if present.</p>"
        },
        "Messages":{
          "shape":"MetricDataResultMessages",
          "documentation":"<p>A list of messages with additional information about the data returned.</p>"
        }
      },
      "documentation":"<p>A <code>GetMetricData</code> call returns an array of <code>MetricDataResult</code> structures. Each of these structures includes the data points for that metric, along with the timestamps of those data points and other identifying information.</p>"
    },
    "MetricDataResultMessages":{
      "type":"list",
      "member":{"shape":"MessageData"}
    },
    "MetricDataResults":{
      "type":"list",
      "member":{"shape":"MetricDataResult"}
    },
    "MetricDatum":{
      "type":"structure",
      "required":["MetricName"],
      "members":{
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The name of the metric.</p>"
        },
        "Dimensions":{
          "shape":"Dimensions",
          "documentation":"<p>The dimensions associated with the metric. </p>"
        },
        "Timestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.</p>"
        },
        "Value":{
          "shape":"DatapointValue",
          "documentation":"<p>The value for the metric.</p> <p>Although the parameter accepts numbers of type Double, 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>"
        },
        "StatisticValues":{
          "shape":"StatisticSet",
          "documentation":"<p>The statistical values for the metric.</p>"
        },
        "Values":{
          "shape":"Values",
          "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>"
        },
        "Counts":{
          "shape":"Counts",
          "documentation":"<p>Array of numbers that is used along with the <code>Values</code> array. Each number in the <code>Count</code> array is the number of times the corresponding value in the <code>Values</code> array occurred during the period. </p> <p>If you omit the <code>Counts</code> array, the default of 1 is used as the value for each count. If you include a <code>Counts</code> array, it must include the same amount of values as the <code>Values</code> array.</p>"
        },
        "Unit":{
          "shape":"StandardUnit",
          "documentation":"<p>When you are using a <code>Put</code> operation, this defines what unit you want to use when storing the metric.</p> <p>In a <code>Get</code> operation, this displays the unit that is used for the metric.</p>"
        },
        "StorageResolution":{
          "shape":"StorageResolution",
          "documentation":"<p>Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution down to one second. Setting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available only for custom metrics. For more information about high-resolution metrics, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html#high-resolution-metrics\">High-Resolution Metrics</a> in the <i>Amazon CloudWatch User Guide</i>. </p> <p>This field is optional, if you do not specify it the default of 60 is used.</p>"
        }
      },
      "documentation":"<p>Encapsulates the information sent to either create a metric or add new values to be aggregated into an existing metric.</p>"
    },
    "MetricExpression":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "MetricId":{
      "type":"string",
      "max":255,
      "min":1
    },
    "MetricLabel":{"type":"string"},
    "MetricMathAnomalyDetector":{
      "type":"structure",
      "members":{
        "MetricDataQueries":{
          "shape":"MetricDataQueries",
          "documentation":"<p>An array of metric data query structures that enables you to create an anomaly detector based on the result of a metric math expression. Each item in <code>MetricDataQueries</code> gets a metric or performs a math expression. One item in <code>MetricDataQueries</code> is the expression that provides the time series that the anomaly detector uses as input. Designate the expression by setting <code>ReturnData</code> to <code>true</code> for this object in the array. For all other expressions and metrics, set <code>ReturnData</code> to <code>false</code>. The designated expression must return a single time series.</p>"
        }
      },
      "documentation":"<p>Indicates the CloudWatch math expression that provides the time series the anomaly detector uses as input. The designated math expression must return a single time series.</p>"
    },
    "MetricName":{
      "type":"string",
      "max":255,
      "min":1
    },
    "MetricStat":{
      "type":"structure",
      "required":[
        "Metric",
        "Period",
        "Stat"
      ],
      "members":{
        "Metric":{
          "shape":"Metric",
          "documentation":"<p>The metric to return, including the metric name, namespace, and dimensions.</p>"
        },
        "Period":{
          "shape":"Period",
          "documentation":"<p>The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a <code>PutMetricData</code> call that includes a <code>StorageResolution</code> of 1 second.</p> <p>If the <code>StartTime</code> parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned:</p> <ul> <li> <p>Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute).</p> </li> <li> <p>Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes).</p> </li> <li> <p>Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).</p> </li> </ul>"
        },
        "Stat":{
          "shape":"Stat",
          "documentation":"<p>The statistic to return. It can include any CloudWatch statistic or extended statistic.</p>"
        },
        "Unit":{
          "shape":"StandardUnit",
          "documentation":"<p>When you are using a <code>Put</code> operation, this defines what unit you want to use when storing the metric.</p> <p>In a <code>Get</code> operation, if you omit <code>Unit</code> then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.</p>"
        }
      },
      "documentation":"<p>This structure defines the metric to be returned, along with the statistics, period, and units.</p>"
    },
    "MetricStreamEntries":{
      "type":"list",
      "member":{"shape":"MetricStreamEntry"}
    },
    "MetricStreamEntry":{
      "type":"structure",
      "members":{
        "Arn":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The ARN of the metric stream.</p>"
        },
        "CreationDate":{
          "shape":"Timestamp",
          "documentation":"<p>The date that the metric stream was originally created.</p>"
        },
        "LastUpdateDate":{
          "shape":"Timestamp",
          "documentation":"<p>The date that the configuration of this metric stream was most recently updated.</p>"
        },
        "Name":{
          "shape":"MetricStreamName",
          "documentation":"<p>The name of the metric stream.</p>"
        },
        "FirehoseArn":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.</p>"
        },
        "State":{
          "shape":"MetricStreamState",
          "documentation":"<p>The current state of this stream. Valid values are <code>running</code> and <code>stopped</code>.</p>"
        },
        "OutputFormat":{
          "shape":"MetricStreamOutputFormat",
          "documentation":"<p>The output format of this metric stream. Valid values are <code>json</code>, <code>opentelemetry1.0</code>, and <code>opentelemetry0.7</code>.</p>"
        }
      },
      "documentation":"<p>This structure contains the configuration information about one metric stream.</p>"
    },
    "MetricStreamFilter":{
      "type":"structure",
      "members":{
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The name of the metric namespace for this filter.</p> <p>The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must contain at least one non-whitespace character.</p>"
        },
        "MetricNames":{
          "shape":"MetricStreamFilterMetricNames",
          "documentation":"<p>The names of the metrics to either include or exclude from the metric stream. </p> <p>If you omit this parameter, all metrics in the namespace are included or excluded, depending on whether this filter is specified as an exclude filter or an include filter.</p> <p>Each metric name can contain only ASCII printable characters (ASCII range 32 through 126). Each metric name must contain at least one non-whitespace character.</p>"
        }
      },
      "documentation":"<p>This structure contains a metric namespace and optionally, a list of metric names, to either include in a metric stream or exclude from a metric stream.</p> <p>A metric stream's filters can include up to 1000 total names. This limit applies to the sum of namespace names and metric names in the filters. For example, this could include 10 metric namespace filters with 99 metrics each, or 20 namespace filters with 49 metrics specified in each filter.</p>"
    },
    "MetricStreamFilterMetricNames":{
      "type":"list",
      "member":{"shape":"MetricName"}
    },
    "MetricStreamFilters":{
      "type":"list",
      "member":{"shape":"MetricStreamFilter"}
    },
    "MetricStreamName":{
      "type":"string",
      "max":255,
      "min":1
    },
    "MetricStreamNames":{
      "type":"list",
      "member":{"shape":"MetricStreamName"}
    },
    "MetricStreamOutputFormat":{
      "type":"string",
      "enum":[
        "json",
        "opentelemetry0.7",
        "opentelemetry1.0"
      ],
      "max":255,
      "min":1
    },
    "MetricStreamState":{"type":"string"},
    "MetricStreamStatistic":{"type":"string"},
    "MetricStreamStatisticsAdditionalStatistics":{
      "type":"list",
      "member":{"shape":"MetricStreamStatistic"}
    },
    "MetricStreamStatisticsConfiguration":{
      "type":"structure",
      "required":[
        "IncludeMetrics",
        "AdditionalStatistics"
      ],
      "members":{
        "IncludeMetrics":{
          "shape":"MetricStreamStatisticsIncludeMetrics",
          "documentation":"<p>An array of metric name and namespace pairs that stream the additional statistics listed in the value of the <code>AdditionalStatistics</code> parameter. There can be as many as 100 pairs in the array.</p> <p>All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.</p>"
        },
        "AdditionalStatistics":{
          "shape":"MetricStreamStatisticsAdditionalStatistics",
          "documentation":"<p>The list of additional statistics that are to be streamed for the metrics listed in the <code>IncludeMetrics</code> array in this structure. This list can include as many as 20 statistics.</p> <p>If the <code>OutputFormat</code> for the stream is <code>opentelemetry1.0</code> or <code>opentelemetry0.7</code>, the only valid values are <code>p<i>??</i> </code> percentile statistics such as <code>p90</code>, <code>p99</code> and so on.</p> <p>If the <code>OutputFormat</code> for the stream is <code>json</code>, the valid values include the abbreviations for all of the statistics listed in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html\"> CloudWatch statistics definitions</a>. For example, this includes <code>tm98, </code> <code>wm90</code>, <code>PR(:300)</code>, and so on.</p>"
        }
      },
      "documentation":"<p>By default, a metric stream always sends the <code>MAX</code>, <code>MIN</code>, <code>SUM</code>, and <code>SAMPLECOUNT</code> statistics for each metric that is streamed. This structure contains information for one metric that includes additional statistics in the stream. For more information about statistics, see CloudWatch, listed in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html\"> CloudWatch statistics definitions</a>.</p>"
    },
    "MetricStreamStatisticsConfigurations":{
      "type":"list",
      "member":{"shape":"MetricStreamStatisticsConfiguration"}
    },
    "MetricStreamStatisticsIncludeMetrics":{
      "type":"list",
      "member":{"shape":"MetricStreamStatisticsMetric"}
    },
    "MetricStreamStatisticsMetric":{
      "type":"structure",
      "required":[
        "Namespace",
        "MetricName"
      ],
      "members":{
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The namespace of the metric.</p>"
        },
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The name of the metric.</p>"
        }
      },
      "documentation":"<p>This object contains the information for one metric that is to be streamed with additional statistics.</p>"
    },
    "MetricWidget":{"type":"string"},
    "MetricWidgetImage":{"type":"blob"},
    "Metrics":{
      "type":"list",
      "member":{"shape":"Metric"}
    },
    "MissingRequiredParameterException":{
      "type":"structure",
      "members":{
        "message":{
          "shape":"AwsQueryErrorMessage",
          "documentation":"<p/>"
        }
      },
      "documentation":"<p>An input parameter that is required is missing.</p>",
      "error":{
        "code":"MissingParameter",
        "httpStatusCode":400,
        "senderFault":true
      },
      "exception":true,
      "synthetic":true
    },
    "MuteTargetAlarmNameList":{
      "type":"list",
      "member":{"shape":"Name"},
      "max":100
    },
    "MuteTargets":{
      "type":"structure",
      "required":["AlarmNames"],
      "members":{
        "AlarmNames":{
          "shape":"MuteTargetAlarmNameList",
          "documentation":"<p>The list of alarm names that this mute rule targets. You can specify up to 100 alarm names.</p> <p>Each alarm name must be between 1 and 255 characters in length. The alarm names must match existing alarms in your Amazon Web Services account and region.</p>"
        }
      },
      "documentation":"<p>Specifies which alarms an alarm mute rule applies to.</p> <p>You can target up to 100 specific alarms by name. When a mute rule is active, the targeted alarms continue to evaluate metrics and transition between states, but their configured actions are muted.</p>"
    },
    "MuteType":{"type":"string"},
    "Name":{
      "type":"string",
      "max":255,
      "min":1
    },
    "Namespace":{
      "type":"string",
      "max":255,
      "min":1,
      "pattern":"[^:].*"
    },
    "NextToken":{"type":"string"},
    "OTelEnrichmentStatus":{
      "type":"string",
      "documentation":"<p>The status of OTel enrichment for the account.</p>",
      "enum":[
        "Running",
        "Stopped"
      ]
    },
    "OutputFormat":{"type":"string"},
    "OwningAccounts":{
      "type":"list",
      "member":{"shape":"AccountId"}
    },
    "PartialFailure":{
      "type":"structure",
      "members":{
        "FailureResource":{
          "shape":"FailureResource",
          "documentation":"<p>The specified rule that could not be deleted.</p>"
        },
        "ExceptionType":{
          "shape":"ExceptionType",
          "documentation":"<p>The type of error.</p>"
        },
        "FailureCode":{
          "shape":"FailureCode",
          "documentation":"<p>The code of the error.</p>"
        },
        "FailureDescription":{
          "shape":"FailureDescription",
          "documentation":"<p>A description of the error.</p>"
        }
      },
      "documentation":"<p>This array is empty if the API operation was successful for all the rules specified in the request. If the operation could not process one of the rules, the following data is returned for each of those rules.</p>"
    },
    "PendingPeriod":{
      "type":"integer",
      "max":86400,
      "min":0
    },
    "Period":{
      "type":"integer",
      "min":1
    },
    "PeriodicSpikes":{"type":"boolean"},
    "PutAlarmMuteRuleInput":{
      "type":"structure",
      "required":[
        "Name",
        "Rule"
      ],
      "members":{
        "Name":{
          "shape":"Name",
          "documentation":"<p>The name of the alarm mute rule. This name must be unique within your Amazon Web Services account and region.</p>"
        },
        "Description":{
          "shape":"AlarmDescription",
          "documentation":"<p>A description of the alarm mute rule that helps you identify its purpose.</p>"
        },
        "Rule":{
          "shape":"Rule",
          "documentation":"<p>The configuration that defines when and how long alarms should be muted.</p>"
        },
        "MuteTargets":{
          "shape":"MuteTargets",
          "documentation":"<p>Specifies which alarms this rule applies to.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of key-value pairs to associate with the alarm mute rule. You can use tags to categorize and manage your mute rules.</p>"
        },
        "StartDate":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time after which the mute rule takes effect, specified as a timestamp in ISO 8601 format (for example, <code>2026-04-15T08:00:00Z</code>). If not specified, the mute rule takes effect immediately upon creation and the mutes are applied as per the schedule expression.</p>"
        },
        "ExpireDate":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time when the mute rule expires and is no longer evaluated, specified as a timestamp in ISO 8601 format (for example, <code>2026-12-31T23:59:59Z</code>). After this time, the rule status becomes EXPIRED and will no longer mute the targeted alarms.</p>"
        }
      }
    },
    "PutAnomalyDetectorInput":{
      "type":"structure",
      "members":{
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The namespace of the metric to create the anomaly detection model for.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector."
        },
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The name of the metric to create the anomaly detection model for.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector."
        },
        "Dimensions":{
          "shape":"Dimensions",
          "documentation":"<p>The metric dimensions to create the anomaly detection model for.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector."
        },
        "Stat":{
          "shape":"AnomalyDetectorMetricStat",
          "documentation":"<p>The statistic to use for the metric and the anomaly detection model.</p>",
          "deprecated":true,
          "deprecatedMessage":"Use SingleMetricAnomalyDetector."
        },
        "Configuration":{
          "shape":"AnomalyDetectorConfiguration",
          "documentation":"<p>The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. You can specify as many as 10 time ranges.</p> <p>The configuration can also include the time zone to use for the metric.</p>"
        },
        "MetricCharacteristics":{
          "shape":"MetricCharacteristics",
          "documentation":"<p>Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. Currently, it includes the <code>PeriodicSpikes</code> parameter.</p>"
        },
        "SingleMetricAnomalyDetector":{
          "shape":"SingleMetricAnomalyDetector",
          "documentation":"<p>A single metric anomaly detector to be created.</p> <p>When using <code>SingleMetricAnomalyDetector</code>, you cannot include the following parameters in the same operation:</p> <ul> <li> <p> <code>Dimensions</code> </p> </li> <li> <p> <code>MetricName</code> </p> </li> <li> <p> <code>Namespace</code> </p> </li> <li> <p> <code>Stat</code> </p> </li> <li> <p>the <code>MetricMathAnomalyDetector</code> parameters of <code>PutAnomalyDetectorInput</code> </p> </li> </ul> <p>Instead, specify the single metric anomaly detector attributes as part of the property <code>SingleMetricAnomalyDetector</code>.</p>"
        },
        "MetricMathAnomalyDetector":{
          "shape":"MetricMathAnomalyDetector",
          "documentation":"<p>The metric math anomaly detector to be created.</p> <p>When using <code>MetricMathAnomalyDetector</code>, you cannot include the following parameters in the same operation:</p> <ul> <li> <p> <code>Dimensions</code> </p> </li> <li> <p> <code>MetricName</code> </p> </li> <li> <p> <code>Namespace</code> </p> </li> <li> <p> <code>Stat</code> </p> </li> <li> <p>the <code>SingleMetricAnomalyDetector</code> parameters of <code>PutAnomalyDetectorInput</code> </p> </li> </ul> <p>Instead, specify the metric math anomaly detector attributes as part of the property <code>MetricMathAnomalyDetector</code>.</p>"
        }
      }
    },
    "PutAnomalyDetectorOutput":{
      "type":"structure",
      "members":{
        "AnomalyDetectorId":{
          "shape":"AnomalyDetectorId",
          "documentation":"<p>The unique identifier of the anomaly detector that you created or updated.</p>"
        }
      }
    },
    "PutCompositeAlarmInput":{
      "type":"structure",
      "required":[
        "AlarmName",
        "AlarmRule"
      ],
      "members":{
        "ActionsEnabled":{
          "shape":"ActionsEnabled",
          "documentation":"<p>Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. The default is <code>TRUE</code>.</p>"
        },
        "AlarmActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>ALARM</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p> <p>Valid Values: ]</p> <p> <b>Amazon SNS actions:</b> </p> <p> <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i> </code> </p> <p> <b>Lambda actions:</b> </p> <ul> <li> <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i> </code> </p> </li> <li> <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i> </code> </p> </li> <li> <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i> </code> </p> </li> </ul> <p> <b>Systems Manager actions:</b> </p> <p> <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:opsitem:<i>severity</i> </code> </p> <p> <b>Start a Amazon Q Developer operational investigation</b> </p> <p> <code>arn:aws:aiops:<i>region</i>:<i>account-id</i>:investigation-group:<i>investigation-group-id</i> </code> </p>"
        },
        "AlarmDescription":{
          "shape":"AlarmDescription",
          "documentation":"<p>The description for the composite alarm.</p>"
        },
        "AlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>The name for the composite alarm. This name must be unique within the Region.</p>"
        },
        "AlarmRule":{
          "shape":"AlarmRule",
          "documentation":"<p>An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For each alarm that you reference, you designate a function that specifies whether that alarm needs to be in ALARM state, OK state, or INSUFFICIENT_DATA state. You can use operators (AND, OR and NOT) to combine multiple functions in a single expression. You can use parenthesis to logically group the functions in your expression.</p> <p>You can use either alarm names or ARNs to reference the other alarms that are to be evaluated.</p> <p>Functions can include the following:</p> <ul> <li> <p> <code>ALARM(\"<i>alarm-name</i> or <i>alarm-ARN</i>\")</code> is TRUE if the named alarm is in ALARM state.</p> </li> <li> <p> <code>OK(\"<i>alarm-name</i> or <i>alarm-ARN</i>\")</code> is TRUE if the named alarm is in OK state.</p> </li> <li> <p> <code>INSUFFICIENT_DATA(\"<i>alarm-name</i> or <i>alarm-ARN</i>\")</code> is TRUE if the named alarm is in INSUFFICIENT_DATA state.</p> </li> <li> <p> <code>TRUE</code> always evaluates to TRUE.</p> </li> <li> <p> <code>FALSE</code> always evaluates to FALSE.</p> </li> </ul> <p>TRUE and FALSE are useful for testing a complex <code>AlarmRule</code> structure, and for testing your alarm actions.</p> <p>Alarm names specified in <code>AlarmRule</code> can be surrounded with double-quotes (\"), but do not have to be.</p> <p>The following are some examples of <code>AlarmRule</code>:</p> <ul> <li> <p> <code>ALARM(CPUUtilizationTooHigh) AND ALARM(DiskReadOpsTooHigh)</code> specifies that the composite alarm goes into ALARM state only if both CPUUtilizationTooHigh and DiskReadOpsTooHigh alarms are in ALARM state.</p> </li> <li> <p> <code>ALARM(CPUUtilizationTooHigh) AND NOT ALARM(DeploymentInProgress)</code> specifies that the alarm goes to ALARM state if CPUUtilizationTooHigh is in ALARM state and DeploymentInProgress is not in ALARM state. This example reduces alarm noise during a known deployment window.</p> </li> <li> <p> <code>(ALARM(CPUUtilizationTooHigh) OR ALARM(DiskReadOpsTooHigh)) AND OK(NetworkOutTooHigh)</code> goes into ALARM state if CPUUtilizationTooHigh OR DiskReadOpsTooHigh is in ALARM state, and if NetworkOutTooHigh is in OK state. This provides another example of using a composite alarm to prevent noise. This rule ensures that you are not notified with an alarm action on high CPU or disk usage if a known network problem is also occurring.</p> </li> </ul> <p>The <code>AlarmRule</code> can specify as many as 100 \"children\" alarms. The <code>AlarmRule</code> expression can have as many as 500 elements. Elements are child alarms, TRUE or FALSE statements, and parentheses.</p>"
        },
        "InsufficientDataActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>INSUFFICIENT_DATA</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p> <p>Valid Values: ]</p> <p> <b>Amazon SNS actions:</b> </p> <p> <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i> </code> </p> <p> <b>Lambda actions:</b> </p> <ul> <li> <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i> </code> </p> </li> <li> <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i> </code> </p> </li> <li> <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i> </code> </p> </li> </ul>"
        },
        "OKActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to an <code>OK</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p> <p>Valid Values: ]</p> <p> <b>Amazon SNS actions:</b> </p> <p> <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i> </code> </p> <p> <b>Lambda actions:</b> </p> <ul> <li> <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i> </code> </p> </li> <li> <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i> </code> </p> </li> <li> <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i> </code> </p> </li> </ul>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the <code>cloudwatch:TagResource</code> permission.</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>If you are using this operation to update an existing alarm, any tags you specify in this parameter are ignored. To change the tags of an existing alarm, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html\">TagResource</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html\">UntagResource</a>.</p>"
        },
        "ActionsSuppressor":{
          "shape":"AlarmArn",
          "documentation":"<p> Actions will be suppressed if the suppressor alarm is in the <code>ALARM</code> state. <code>ActionsSuppressor</code> can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm. </p>"
        },
        "ActionsSuppressorWaitPeriod":{
          "shape":"SuppressorPeriod",
          "documentation":"<p> The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the <code>ALARM</code> state. After this time, the composite alarm performs its actions. </p> <important> <p> <code>WaitPeriod</code> is required only when <code>ActionsSuppressor</code> is specified. </p> </important>"
        },
        "ActionsSuppressorExtensionPeriod":{
          "shape":"SuppressorPeriod",
          "documentation":"<p> The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the <code>ALARM</code> state. After this time, the composite alarm performs its actions. </p> <important> <p> <code>ExtensionPeriod</code> is required only when <code>ActionsSuppressor</code> is specified. </p> </important>"
        }
      }
    },
    "PutDashboardInput":{
      "type":"structure",
      "required":[
        "DashboardName",
        "DashboardBody"
      ],
      "members":{
        "DashboardName":{
          "shape":"DashboardName",
          "documentation":"<p>The name of the dashboard. If a dashboard with this name already exists, this call modifies that dashboard, replacing its current contents. Otherwise, a new dashboard is created. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, \"-\", and \"_\". This parameter is required.</p>"
        },
        "DashboardBody":{
          "shape":"DashboardBody",
          "documentation":"<p>The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard. This parameter is required.</p> <p>For more information about the syntax, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Dashboard-Body-Structure.html\">Dashboard Body Structure and Syntax</a>.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of key-value pairs to associate with the dashboard. You can associate as many as 50 tags with a dashboard.</p> <p>Tags can help you organize and categorize your dashboards. You can also use them to scope user permissions by granting a user permission to access or change only dashboards with certain tag values.</p> <p>You can use this parameter only when creating a new dashboard. If you specify <code>Tags</code> when updating an existing dashboard, the tag updates are ignored. To add or update tags on an existing dashboard, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html\">TagResource</a>. To remove tags, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html\">UntagResource</a>.</p>"
        }
      }
    },
    "PutDashboardOutput":{
      "type":"structure",
      "members":{
        "DashboardValidationMessages":{
          "shape":"DashboardValidationMessages",
          "documentation":"<p>If the input for <code>PutDashboard</code> was correct and the dashboard was successfully created or modified, this result is empty.</p> <p>If this result includes only warning messages, then the input was valid enough for the dashboard to be created or modified, but some elements of the dashboard might not render.</p> <p>If this result includes error messages, the input was not valid and the operation failed.</p>"
        }
      }
    },
    "PutInsightRuleInput":{
      "type":"structure",
      "required":[
        "RuleName",
        "RuleDefinition"
      ],
      "members":{
        "RuleName":{
          "shape":"InsightRuleName",
          "documentation":"<p>A unique name for the rule.</p>"
        },
        "RuleState":{
          "shape":"InsightRuleState",
          "documentation":"<p>The state of the rule. Valid values are ENABLED and DISABLED.</p>"
        },
        "RuleDefinition":{
          "shape":"InsightRuleDefinition",
          "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>"
        },
        "Tags":{
          "shape":"TagList",
          "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>"
        },
        "ApplyOnTransformedLogs":{
          "shape":"InsightRuleOnTransformedLogs",
          "documentation":"<p>Specify <code>true</code> to have this rule evaluate log events after they have been transformed by <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html\">Log transformation</a>. If you specify <code>true</code>, then the log events in log groups that have transformers will be evaluated by Contributor Insights after being transformed. Log groups that don't have transformers will still have their original log events evaluated by Contributor Insights.</p> <p>The default is <code>false</code> </p> <note> <p>If a log group has a transformer, and transformation fails for some log events, those log events won't be evaluated by Contributor Insights. For information about investigating log transformation failures, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Transformation-Errors-Metrics.html\">Transformation metrics and errors</a>.</p> </note>"
        }
      }
    },
    "PutInsightRuleOutput":{
      "type":"structure",
      "members":{}
    },
    "PutLogAlarmInput":{
      "type":"structure",
      "required":[
        "AlarmName",
        "ScheduledQueryConfiguration",
        "QueryResultsToEvaluate",
        "QueryResultsToAlarm",
        "Threshold",
        "ComparisonOperator"
      ],
      "members":{
        "AlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>The name for the alarm. This name must be unique within the Amazon Web Services account and Region.</p>"
        },
        "AlarmDescription":{
          "shape":"AlarmDescription",
          "documentation":"<p>The description for the alarm.</p>"
        },
        "ScheduledQueryConfiguration":{
          "shape":"ScheduledQueryConfiguration",
          "documentation":"<p>The configuration of the underlying CloudWatch Logs scheduled query that this alarm evaluates, including the query string, log groups, schedule, and aggregation expression.</p>"
        },
        "ActionLogLineCount":{
          "shape":"ActionLogLineCount",
          "documentation":"<p>The number of log lines from the most recent scheduled query execution to include in alarm action notifications. Valid range is 0 through 50. The default is 0, which means no log lines are included.</p>"
        },
        "ActionLogLineRoleArn":{
          "shape":"ActionLogLineRoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role that CloudWatch assumes to retrieve log events for inclusion in alarm action notifications. Required when <code>ActionLogLineCount</code> is greater than 0.</p>"
        },
        "ActionsEnabled":{
          "shape":"ActionsEnabled",
          "documentation":"<p>Indicates whether actions should be executed during any changes to the alarm state. The default is <code>true</code>.</p>"
        },
        "OKActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>OK</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p> <p>Valid Values:</p> <p> <b>Amazon SNS actions:</b> </p> <p> <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i> </code> </p> <p> <b>Lambda actions:</b> </p> <ul> <li> <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i> </code> </p> </li> <li> <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i> </code> </p> </li> <li> <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i> </code> </p> </li> </ul>"
        },
        "AlarmActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>ALARM</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p> <p>Valid Values:</p> <p> <b>Amazon SNS actions:</b> </p> <p> <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i> </code> </p> <p> <b>Lambda actions:</b> </p> <ul> <li> <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i> </code> </p> </li> <li> <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i> </code> </p> </li> <li> <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i> </code> </p> </li> </ul> <p> <b>Systems Manager actions:</b> </p> <p> <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:opsitem:<i>severity</i> </code> </p>"
        },
        "InsufficientDataActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>INSUFFICIENT_DATA</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN).</p> <p>Valid Values:</p> <p> <b>Amazon SNS actions:</b> </p> <p> <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i> </code> </p> <p> <b>Lambda actions:</b> </p> <ul> <li> <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i> </code> </p> </li> <li> <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i> </code> </p> </li> <li> <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i> </code> </p> </li> </ul>"
        },
        "QueryResultsToEvaluate":{
          "shape":"QueryResultsToEvaluate",
          "documentation":"<p>The number of most recent scheduled query results to evaluate against the threshold (the N in M-of-N evaluation). Valid range is 1 through 100.</p>"
        },
        "QueryResultsToAlarm":{
          "shape":"QueryResultsToAlarm",
          "documentation":"<p>The number of query results, out of the most recent <code>QueryResultsToEvaluate</code> results, that must breach the threshold to trigger the alarm to transition to <code>ALARM</code> (the M in M-of-N evaluation). Must be less than or equal to <code>QueryResultsToEvaluate</code>.</p>"
        },
        "Threshold":{
          "shape":"Threshold",
          "documentation":"<p>The value to compare with the aggregated query result.</p>"
        },
        "ComparisonOperator":{
          "shape":"ComparisonOperator",
          "documentation":"<p>The arithmetic operation to use when comparing the aggregated query result and the threshold. The aggregated query result is used as the first operand. Valid values are <code>GreaterThanThreshold</code>, <code>GreaterThanOrEqualToThreshold</code>, <code>LessThanThreshold</code>, and <code>LessThanOrEqualToThreshold</code>.</p>"
        },
        "TreatMissingData":{
          "shape":"TreatMissingData",
          "documentation":"<p>Sets how this alarm is to handle missing data points. Valid values are <code>breaching</code>, <code>notBreaching</code>, <code>ignore</code>, and <code>missing</code>. If this parameter is omitted, the default behavior of <code>missing</code> is used.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of key-value pairs to associate with the alarm. You can use tags to categorize and manage your alarms.</p>"
        }
      }
    },
    "PutManagedInsightRulesInput":{
      "type":"structure",
      "required":["ManagedRules"],
      "members":{
        "ManagedRules":{
          "shape":"ManagedRules",
          "documentation":"<p> A list of <code>ManagedRules</code> to enable. </p>"
        }
      }
    },
    "PutManagedInsightRulesOutput":{
      "type":"structure",
      "members":{
        "Failures":{
          "shape":"BatchFailures",
          "documentation":"<p> An array that lists the rules that could not be enabled. </p>"
        }
      }
    },
    "PutMetricAlarmInput":{
      "type":"structure",
      "required":["AlarmName"],
      "members":{
        "AlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>The name for the alarm. This name must be unique within the Region.</p> <p>The name must contain only UTF-8 characters, and can't contain ASCII control characters</p>"
        },
        "AlarmDescription":{
          "shape":"AlarmDescription",
          "documentation":"<p>The description for the alarm.</p>"
        },
        "ActionsEnabled":{
          "shape":"ActionsEnabled",
          "documentation":"<p>Indicates whether actions should be executed during any changes to the alarm state. The default is <code>TRUE</code>.</p>"
        },
        "OKActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to an <code>OK</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:</p> <p> <b>EC2 actions:</b> </p> <ul> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:stop</code> </p> </li> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:terminate</code> </p> </li> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:reboot</code> </p> </li> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:recover</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Stop/1.0</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Terminate/1.0</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Reboot/1.0</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Recover/1.0</code> </p> </li> </ul> <p> <b>Autoscaling action:</b> </p> <ul> <li> <p> <code>arn:aws:autoscaling:<i>region</i>:<i>account-id</i>:scalingPolicy:<i>policy-id</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i> </code> </p> </li> </ul> <p> <b>Lambda actions:</b> </p> <ul> <li> <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i> </code> </p> </li> <li> <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i> </code> </p> </li> <li> <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i> </code> </p> </li> </ul> <p> <b>SNS notification action:</b> </p> <ul> <li> <p> <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i> </code> </p> </li> </ul> <p> <b>SSM integration actions:</b> </p> <ul> <li> <p> <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:opsitem:<i>severity</i>#CATEGORY=<i>category-name</i> </code> </p> </li> <li> <p> <code>arn:aws:ssm-incidents::<i>account-id</i>:responseplan/<i>response-plan-name</i> </code> </p> </li> </ul>"
        },
        "AlarmActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>ALARM</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:</p> <p> <b>EC2 actions:</b> </p> <ul> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:stop</code> </p> </li> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:terminate</code> </p> </li> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:reboot</code> </p> </li> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:recover</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Stop/1.0</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Terminate/1.0</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Reboot/1.0</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Recover/1.0</code> </p> </li> </ul> <p> <b>Autoscaling action:</b> </p> <ul> <li> <p> <code>arn:aws:autoscaling:<i>region</i>:<i>account-id</i>:scalingPolicy:<i>policy-id</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i> </code> </p> </li> </ul> <p> <b>Lambda actions:</b> </p> <ul> <li> <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i> </code> </p> </li> <li> <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i> </code> </p> </li> <li> <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i> </code> </p> </li> </ul> <p> <b>SNS notification action:</b> </p> <ul> <li> <p> <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i> </code> </p> </li> </ul> <p> <b>SSM integration actions:</b> </p> <ul> <li> <p> <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:opsitem:<i>severity</i>#CATEGORY=<i>category-name</i> </code> </p> </li> <li> <p> <code>arn:aws:ssm-incidents::<i>account-id</i>:responseplan/<i>response-plan-name</i> </code> </p> </li> </ul> <p> <b>Start a Amazon Q Developer operational investigation</b> </p> <p> <code>arn:aws:aiops:<i>region</i>:<i>account-id</i>:investigation-group:<i>investigation-group-id</i> </code> </p>"
        },
        "InsufficientDataActions":{
          "shape":"ResourceList",
          "documentation":"<p>The actions to execute when this alarm transitions to the <code>INSUFFICIENT_DATA</code> state from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:</p> <p> <b>EC2 actions:</b> </p> <ul> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:stop</code> </p> </li> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:terminate</code> </p> </li> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:reboot</code> </p> </li> <li> <p> <code>arn:aws:automate:<i>region</i>:ec2:recover</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Stop/1.0</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Terminate/1.0</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Reboot/1.0</code> </p> </li> <li> <p> <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Recover/1.0</code> </p> </li> </ul> <p> <b>Autoscaling action:</b> </p> <ul> <li> <p> <code>arn:aws:autoscaling:<i>region</i>:<i>account-id</i>:scalingPolicy:<i>policy-id</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i> </code> </p> </li> </ul> <p> <b>Lambda actions:</b> </p> <ul> <li> <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i> </code> </p> </li> <li> <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i> </code> </p> </li> <li> <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i> </code> </p> </li> </ul> <p> <b>SNS notification action:</b> </p> <ul> <li> <p> <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i> </code> </p> </li> </ul> <p> <b>SSM integration actions:</b> </p> <ul> <li> <p> <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:opsitem:<i>severity</i>#CATEGORY=<i>category-name</i> </code> </p> </li> <li> <p> <code>arn:aws:ssm-incidents::<i>account-id</i>:responseplan/<i>response-plan-name</i> </code> </p> </li> </ul>"
        },
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The name for the metric associated with the alarm. For each <code>PutMetricAlarm</code> operation, you must specify either <code>MetricName</code>, a <code>Metrics</code> array, or an <code>EvaluationCriteria</code>.</p> <p>If you are creating an alarm based on a math expression, you cannot specify this parameter, or any of the <code>Namespace</code>, <code>Dimensions</code>, <code>Period</code>, <code>Unit</code>, <code>Statistic</code>, or <code>ExtendedStatistic</code> parameters. Instead, you specify all this information in the <code>Metrics</code> array.</p>"
        },
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The namespace for the metric associated specified in <code>MetricName</code>.</p>"
        },
        "Statistic":{
          "shape":"Statistic",
          "documentation":"<p>The statistic for the metric specified in <code>MetricName</code>, other than percentile. For percentile statistics, use <code>ExtendedStatistic</code>. When you call <code>PutMetricAlarm</code> and specify a <code>MetricName</code>, you must specify either <code>Statistic</code> or <code>ExtendedStatistic,</code> but not both.</p>"
        },
        "ExtendedStatistic":{
          "shape":"ExtendedStatistic",
          "documentation":"<p>The extended statistic for the metric specified in <code>MetricName</code>. When you call <code>PutMetricAlarm</code> and specify a <code>MetricName</code>, you must specify either <code>Statistic</code> or <code>ExtendedStatistic</code> but not both.</p> <p>If you specify <code>ExtendedStatistic</code>, the following are valid values:</p> <ul> <li> <p> <code>p90</code> </p> </li> <li> <p> <code>tm90</code> </p> </li> <li> <p> <code>tc90</code> </p> </li> <li> <p> <code>ts90</code> </p> </li> <li> <p> <code>wm90</code> </p> </li> <li> <p> <code>IQM</code> </p> </li> <li> <p> <code>PR(<i>n</i>:<i>m</i>)</code> where n and m are values of the metric</p> </li> <li> <p> <code>TC(<i>X</i>%:<i>X</i>%)</code> where X is between 10 and 90 inclusive.</p> </li> <li> <p> <code>TM(<i>X</i>%:<i>X</i>%)</code> where X is between 10 and 90 inclusive.</p> </li> <li> <p> <code>TS(<i>X</i>%:<i>X</i>%)</code> where X is between 10 and 90 inclusive.</p> </li> <li> <p> <code>WM(<i>X</i>%:<i>X</i>%)</code> where X is between 10 and 90 inclusive.</p> </li> </ul> <p>For more information about these extended statistics, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html\">CloudWatch statistics definitions</a>.</p>"
        },
        "Dimensions":{
          "shape":"Dimensions",
          "documentation":"<p>The dimensions for the metric specified in <code>MetricName</code>.</p>"
        },
        "Period":{
          "shape":"Period",
          "documentation":"<p>The length, in seconds, used each time the metric specified in <code>MetricName</code> is evaluated. Valid values are 10, 20, 30, and any multiple of 60.</p> <p> <code>Period</code> is required for alarms based on static thresholds. If you are creating an alarm based on a metric math expression, you specify the period for each metric within the objects in the <code>Metrics</code> array.</p> <p>Be sure to specify 10, 20, or 30 only for metrics that are stored by a <code>PutMetricData</code> call with a <code>StorageResolution</code> of 1. If you specify a period of 10, 20, or 30 for a metric that does not have sub-minute resolution, the alarm still attempts to gather data at the period rate that you specify. In this case, it does not receive data for the attempts that do not correspond to a one-minute data resolution, and the alarm might often lapse into INSUFFICENT_DATA status. Specifying 10, 20, or 30 also sets this alarm as a high-resolution alarm, which has a higher charge than other alarms. For more information about pricing, see <a href=\"https://aws.amazon.com/cloudwatch/pricing/\">Amazon CloudWatch Pricing</a>.</p> <p>An alarm's total current evaluation period can be no longer than seven days, so <code>Period</code> multiplied by <code>EvaluationPeriods</code> can't be more than 604,800 seconds. For alarms with a period of less than one hour (3,600 seconds), the total evaluation period can't be longer than one day (86,400 seconds).</p>"
        },
        "Unit":{
          "shape":"StandardUnit",
          "documentation":"<p>The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data points that specify a unit of measure, such as Percent, are aggregated separately. If you are creating an alarm based on a metric math expression, you can specify the unit for each metric (if needed) within the objects in the <code>Metrics</code> array.</p> <p>If you don't specify <code>Unit</code>, CloudWatch retrieves all unit types that have been published for the metric and attempts to evaluate the alarm. Usually, metrics are published with only one unit, so the alarm works as intended.</p> <p>However, if the metric is published with multiple types of units and you don't specify a unit, the alarm's behavior is not defined and it behaves unpredictably.</p> <p>We recommend omitting <code>Unit</code> so that you don't inadvertently specify an incorrect unit that is not published for this metric. Doing so causes the alarm to be stuck in the <code>INSUFFICIENT DATA</code> state.</p>"
        },
        "EvaluationPeriods":{
          "shape":"EvaluationPeriods",
          "documentation":"<p>The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an \"M out of N\" alarm, this value is the N.</p>"
        },
        "DatapointsToAlarm":{
          "shape":"DatapointsToAlarm",
          "documentation":"<p>The number of data points that must be breaching to trigger the alarm. This is used only if you are setting an \"M out of N\" alarm. In that case, this value is the M. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation\">Evaluating an Alarm</a> in the <i>Amazon CloudWatch User Guide</i>.</p>"
        },
        "Threshold":{
          "shape":"Threshold",
          "documentation":"<p>The value against which the specified statistic is compared.</p> <p>This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models.</p>"
        },
        "ComparisonOperator":{
          "shape":"ComparisonOperator",
          "documentation":"<p> The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.</p> <p>The values <code>LessThanLowerOrGreaterThanUpperThreshold</code>, <code>LessThanLowerThreshold</code>, and <code>GreaterThanUpperThreshold</code> are used only for alarms based on anomaly detection models.</p>"
        },
        "TreatMissingData":{
          "shape":"TreatMissingData",
          "documentation":"<p> Sets how this alarm is to handle missing data points. If <code>TreatMissingData</code> is omitted, the default behavior of <code>missing</code> is used. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data\">Configuring How CloudWatch Alarms Treats Missing Data</a>.</p> <p>Valid Values: <code>breaching | notBreaching | ignore | missing</code> </p> <note> <p>Alarms that evaluate metrics in the <code>AWS/DynamoDB</code> namespace always <code>ignore</code> missing data even if you choose a different option for <code>TreatMissingData</code>. When an <code>AWS/DynamoDB</code> metric has missing data, alarms that evaluate that metric remain in their current state.</p> </note> <note> <p>This parameter is not applicable to PromQL alarms.</p> </note>"
        },
        "EvaluateLowSampleCountPercentile":{
          "shape":"EvaluateLowSampleCountPercentile",
          "documentation":"<p> Used only for alarms based on percentiles. If you specify <code>ignore</code>, the alarm state does not change during periods with too few data points to be statistically significant. If you specify <code>evaluate</code> or omit this parameter, the alarm is always evaluated and possibly changes state no matter how many data points are available. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#percentiles-with-low-samples\">Percentile-Based CloudWatch Alarms and Low Data Samples</a>.</p> <p>Valid Values: <code>evaluate | ignore</code> </p>"
        },
        "Metrics":{
          "shape":"MetricDataQueries",
          "documentation":"<p>An array of <code>MetricDataQuery</code> structures that enable you to create an alarm based on the result of a metric math expression. For each <code>PutMetricAlarm</code> operation, you must specify either <code>MetricName</code>, a <code>Metrics</code> array, or an <code>EvaluationCriteria</code>.</p> <p>Each item in the <code>Metrics</code> array either retrieves a metric or performs a math expression.</p> <p>One item in the <code>Metrics</code> array is the expression that the alarm watches. You designate this expression by setting <code>ReturnData</code> to true for this object in the array. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDataQuery.html\">MetricDataQuery</a>.</p> <p>If you use the <code>Metrics</code> parameter, you cannot include the <code>Namespace</code>, <code>MetricName</code>, <code>Dimensions</code>, <code>Period</code>, <code>Unit</code>, <code>Statistic</code>, or <code>ExtendedStatistic</code> parameters of <code>PutMetricAlarm</code> in the same operation. Instead, you retrieve the metrics you are using in your math expression as part of the <code>Metrics</code> array.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the <code>cloudwatch:TagResource</code> permission.</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>If you are using this operation to update an existing alarm, any tags you specify in this parameter are ignored. To change the tags of an existing alarm, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html\">TagResource</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html\">UntagResource</a>.</p> <p>To use this field to set tags for an alarm when you create it, you must be signed on with both the <code>cloudwatch:PutMetricAlarm</code> and <code>cloudwatch:TagResource</code> permissions.</p>"
        },
        "ThresholdMetricId":{
          "shape":"MetricId",
          "documentation":"<p>If this is an alarm based on an anomaly detection model, make this value match the ID of the <code>ANOMALY_DETECTION_BAND</code> function.</p> <p>For an example of how to use this parameter, see the <b>Anomaly Detection Model Alarm</b> example on this page.</p> <p>If your alarm uses this parameter, it cannot have Auto Scaling actions.</p>"
        },
        "EvaluationWindow":{
          "shape":"EvaluationWindow",
          "documentation":"<p>The evaluation window that the alarm uses to select the range of metric data that it evaluates. Specify either a sliding window or a wall clock window. If you omit this parameter, the alarm uses a sliding window.</p> <p>A sliding window advances each time the alarm is evaluated, forming a rolling time window. A wall clock window aligns the evaluated range to fixed clock boundaries, such as the top of the hour or the start of the day.</p> <p>You can use <code>EvaluationWindow</code> with any type of metric alarm except alarms that are based on a PromQL query.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-evaluation-window.html\">Alarm evaluation windows</a> in the <i>CloudWatch User Guide</i>.</p>"
        },
        "EvaluationCriteria":{
          "shape":"EvaluationCriteria",
          "documentation":"<p>The evaluation criteria for the alarm. For each <code>PutMetricAlarm</code> operation, you must specify either <code>MetricName</code>, a <code>Metrics</code> array, or an <code>EvaluationCriteria</code>.</p> <p>If you use the <code>EvaluationCriteria</code> parameter, you cannot include the <code>Namespace</code>, <code>MetricName</code>, <code>Dimensions</code>, <code>Period</code>, <code>Unit</code>, <code>Statistic</code>, <code>ExtendedStatistic</code>, <code>Metrics</code>, <code>Threshold</code>, <code>ComparisonOperator</code>, <code>ThresholdMetricId</code>, <code>EvaluationPeriods</code>, or <code>DatapointsToAlarm</code> parameters of <code>PutMetricAlarm</code> in the same operation. Instead, all evaluation parameters are defined within this structure.</p> <p>For an example of how to use this parameter, see the <b>PromQL alarm</b> example on this page.</p>"
        },
        "EvaluationInterval":{
          "shape":"EvaluationInterval",
          "documentation":"<p>The frequency, in seconds, at which the alarm is evaluated. Valid values are 10, 20, 30, and any multiple of 60.</p> <p>This parameter is required for alarms that use <code>EvaluationCriteria</code>, and cannot be specified for alarms configured with <code>MetricName</code> or <code>Metrics</code>.</p>"
        }
      }
    },
    "PutMetricDataInput":{
      "type":"structure",
      "required":["Namespace"],
      "members":{
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The namespace for the metric data. You can use ASCII characters for the namespace, except for control characters which are not supported.</p> <p>To avoid conflicts with Amazon Web Services service namespaces, you should not specify a namespace that begins with <code>AWS/</code> </p>"
        },
        "MetricData":{
          "shape":"MetricData",
          "documentation":"<p>The data for the metrics. Use this parameter if your metrics do not contain associated entities. The array can include no more than 1000 metrics per call.</p> <p>The limit of metrics allowed, 1000, is the sum of both <code>EntityMetricData</code> and <code>MetricData</code> metrics.</p>"
        },
        "EntityMetricData":{
          "shape":"EntityMetricDataList",
          "documentation":"<p>Data for metrics that contain associated entity information. You can include up to two <code>EntityMetricData</code> objects, each of which can contain a single <code>Entity</code> and associated metrics.</p> <p>The limit of metrics allowed, 1000, is the sum of both <code>EntityMetricData</code> and <code>MetricData</code> metrics.</p>"
        },
        "StrictEntityValidation":{
          "shape":"StrictEntityValidation",
          "documentation":"<p>Whether to accept valid metric data when an invalid entity is sent.</p> <ul> <li> <p>When set to <code>true</code>: Any validation error (for entity or metric data) will fail the entire request, and no data will be ingested. The failed operation will return a 400 result with the error.</p> </li> <li> <p>When set to <code>false</code>: Validation errors in the entity will not associate the metric with the entity, but the metric data will still be accepted and ingested. Validation errors in the metric data will fail the entire request, and no data will be ingested.</p> <p>In the case of an invalid entity, the operation will return a <code>200</code> status, but an additional response header will contain information about the validation errors. The new header, <code>X-Amzn-Failure-Message</code> is an enumeration of the following values:</p> <ul> <li> <p> <code>InvalidEntity</code> - The provided entity is invalid.</p> </li> <li> <p> <code>InvalidKeyAttributes</code> - The provided <code>KeyAttributes</code> of an entity is invalid.</p> </li> <li> <p> <code>InvalidAttributes</code> - The provided <code>Attributes</code> of an entity is invalid.</p> </li> <li> <p> <code>InvalidTypeValue</code> - The provided <code>Type</code> in the <code>KeyAttributes</code> of an entity is invalid.</p> </li> <li> <p> <code>EntitySizeTooLarge</code> - The number of <code>EntityMetricData</code> objects allowed is 2.</p> </li> <li> <p> <code>MissingRequiredFields</code> - There are missing required fields in the <code>KeyAttributes</code> for the provided <code>Type</code>.</p> </li> </ul> <p>For details of the requirements for specifying an entity, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/adding-your-own-related-telemetry.html\">How to add related information to telemetry</a> in the <i>CloudWatch User Guide</i>.</p> </li> </ul> <p>This parameter is <i>required</i> when <code>EntityMetricData</code> is included.</p>",
          "box":true
        }
      }
    },
    "PutMetricStreamInput":{
      "type":"structure",
      "required":[
        "Name",
        "FirehoseArn",
        "RoleArn",
        "OutputFormat"
      ],
      "members":{
        "Name":{
          "shape":"MetricStreamName",
          "documentation":"<p>If you are creating a new metric stream, this is the name for the new stream. The name must be different than the names of other metric streams in this account and Region.</p> <p>If you are updating a metric stream, specify the name of that stream here.</p> <p>Valid characters are A-Z, a-z, 0-9, \"-\" and \"_\".</p>"
        },
        "IncludeFilters":{
          "shape":"MetricStreamFilters",
          "documentation":"<p>If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here.</p> <p>You cannot include <code>IncludeFilters</code> and <code>ExcludeFilters</code> in the same operation.</p>"
        },
        "ExcludeFilters":{
          "shape":"MetricStreamFilters",
          "documentation":"<p>If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here.</p> <p>You cannot include <code>ExcludeFilters</code> and <code>IncludeFilters</code> in the same operation.</p>"
        },
        "FirehoseArn":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The ARN of the Amazon Kinesis Data Firehose delivery stream to use for this metric stream. This Amazon Kinesis Data Firehose delivery stream must already exist and must be in the same account as the metric stream.</p>"
        },
        "RoleArn":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Data Firehose resources. This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the following permissions:</p> <ul> <li> <p>firehose:PutRecord</p> </li> <li> <p>firehose:PutRecordBatch</p> </li> </ul>"
        },
        "OutputFormat":{
          "shape":"MetricStreamOutputFormat",
          "documentation":"<p>The output format for the stream. Valid values are <code>json</code>, <code>opentelemetry1.0</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>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of key-value pairs to associate with the metric stream. You can associate as many as 50 tags with a metric stream.</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>You can use this parameter only when you are creating a new metric stream. If you are using this operation to update an existing metric stream, any tags you specify in this parameter are ignored. To change the tags of an existing metric stream, use <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html\">TagResource</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html\">UntagResource</a>.</p>"
        },
        "StatisticsConfigurations":{
          "shape":"MetricStreamStatisticsConfigurations",
          "documentation":"<p>By default, a metric stream always sends the <code>MAX</code>, <code>MIN</code>, <code>SUM</code>, and <code>SAMPLECOUNT</code> statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.</p> <p>For each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's <code>OutputFormat</code>. If the <code>OutputFormat</code> is <code>json</code>, you can stream any additional statistic that is supported by CloudWatch, listed in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html\"> CloudWatch statistics definitions</a>. If the <code>OutputFormat</code> is <code>opentelemetry1.0</code> or <code>opentelemetry0.7</code>, you can stream percentile statistics such as p95, p99.9, and so on.</p>"
        },
        "IncludeLinkedAccountsMetrics":{
          "shape":"IncludeLinkedAccountsMetrics",
          "documentation":"<p>If you are creating a metric stream in a monitoring account, specify <code>true</code> to include metrics from source accounts in the metric stream.</p>"
        }
      }
    },
    "PutMetricStreamOutput":{
      "type":"structure",
      "members":{
        "Arn":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The ARN of the metric stream.</p>"
        }
      }
    },
    "Query":{
      "type":"string",
      "max":10000,
      "min":1
    },
    "QueryResultsToAlarm":{
      "type":"integer",
      "min":1
    },
    "QueryResultsToEvaluate":{
      "type":"integer",
      "min":1
    },
    "QueryString":{
      "type":"string",
      "max":10000,
      "min":0
    },
    "Range":{
      "type":"structure",
      "required":[
        "StartTime",
        "EndTime"
      ],
      "members":{
        "StartTime":{
          "shape":"Timestamp",
          "documentation":"<p>The start time of the range to exclude. The format is <code>yyyy-MM-dd'T'HH:mm:ss</code>. For example, <code>2019-07-01T23:59:59</code>.</p>"
        },
        "EndTime":{
          "shape":"Timestamp",
          "documentation":"<p>The end time of the range to exclude. The format is <code>yyyy-MM-dd'T'HH:mm:ss</code>. For example, <code>2019-07-01T23:59:59</code>.</p>"
        }
      },
      "documentation":"<p>Specifies one range of days or times to exclude from use for training an anomaly detection model.</p>",
      "xmlOrder":[
        "StartTime",
        "EndTime"
      ]
    },
    "RecentlyActive":{
      "type":"string",
      "enum":["PT3H"]
    },
    "RecoveryPeriod":{
      "type":"integer",
      "max":86400,
      "min":0
    },
    "ResourceConflict":{
      "type":"structure",
      "members":{
        "message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p>The operation could not be completed because the request conflicts with the current state of the alarm or its underlying scheduled query resource.</p>",
      "error":{
        "code":"ResourceConflict",
        "httpStatusCode":409,
        "senderFault":true
      },
      "exception":true
    },
    "ResourceId":{"type":"string"},
    "ResourceList":{
      "type":"list",
      "member":{"shape":"ResourceName"},
      "max":5
    },
    "ResourceName":{
      "type":"string",
      "max":1024,
      "min":1
    },
    "ResourceNotFound":{
      "type":"structure",
      "members":{
        "message":{
          "shape":"ErrorMessage",
          "documentation":"<p/>"
        }
      },
      "documentation":"<p>The named resource does not exist.</p>",
      "error":{
        "code":"ResourceNotFound",
        "httpStatusCode":404,
        "senderFault":true
      },
      "exception":true
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "members":{
        "ResourceType":{"shape":"ResourceType"},
        "ResourceId":{"shape":"ResourceId"}
      },
      "documentation":"<p>The named resource does not exist.</p>",
      "error":{
        "code":"ResourceNotFoundException",
        "httpStatusCode":404,
        "senderFault":true
      },
      "exception":true
    },
    "ResourceType":{"type":"string"},
    "ReturnData":{"type":"boolean"},
    "Rule":{
      "type":"structure",
      "required":["Schedule"],
      "members":{
        "Schedule":{
          "shape":"Schedule",
          "documentation":"<p>The schedule configuration that defines when the mute rule activates and how long it remains active.</p>"
        }
      },
      "documentation":"<p>Defines the schedule configuration for an alarm mute rule.</p> <p>The rule contains a schedule that specifies when and how long alarms should be muted. The schedule can be a recurring pattern using cron expressions or a one-time mute window using at expressions.</p>"
    },
    "ScanBy":{
      "type":"string",
      "enum":[
        "TimestampDescending",
        "TimestampAscending"
      ]
    },
    "Schedule":{
      "type":"structure",
      "required":[
        "Expression",
        "Duration"
      ],
      "members":{
        "Expression":{
          "shape":"Expression",
          "documentation":"<p>The schedule expression that defines when the mute rule activates. The expression must be between 1 and 256 characters in length.</p> <p>You can use one of two expression formats:</p> <ul> <li> <p> <b>Cron expressions</b> - For recurring mute windows. Format: <code>cron(Minutes Hours Day-of-month Month Day-of-week)</code> </p> <p>Examples:</p> <ul> <li> <p> <code>cron(0 2 * * *)</code> - Activates daily at 2:00 AM</p> </li> <li> <p> <code>cron(0 2 * * SUN)</code> - Activates every Sunday at 2:00 AM for weekly system maintenance</p> </li> <li> <p> <code>cron(0 1 1 * *)</code> - Activates on the first day of each month at 1:00 AM for monthly database maintenance</p> </li> <li> <p> <code>cron(0 18 * * FRI)</code> - Activates every Friday at 6:00 PM</p> </li> <li> <p> <code>cron(0 23 * * *)</code> - Activates every day at 11:00 PM during nightly backup operations</p> </li> </ul> <p>The characters <code>*</code>, <code>-</code>, and <code>,</code> are supported in all fields. English names can be used for the month (JAN-DEC) and day of week (SUN-SAT) fields.</p> </li> <li> <p> <b>At expressions</b> - For one-time mute windows. Format: <code>at(yyyy-MM-ddThh:mm)</code> </p> <p>Examples:</p> <ul> <li> <p> <code>at(2024-05-10T14:00)</code> - Activates once on May 10, 2024 at 2:00 PM during an active incident response session</p> </li> <li> <p> <code>at(2024-12-23T00:00)</code> - Activates once on December 23, 2024 at midnight during annual company shutdown</p> </li> </ul> </li> </ul>"
        },
        "Duration":{
          "shape":"Duration",
          "documentation":"<p>The length of time that alarms remain muted when the schedule activates. The duration must be between 1 and 50 characters in length.</p> <p>Specify the duration using ISO 8601 duration format with a minimum of 1 minute (<code>PT1M</code>) and maximum of 15 days (<code>P15D</code>).</p> <p>Examples:</p> <ul> <li> <p> <code>PT4H</code> - 4 hours for weekly system maintenance</p> </li> <li> <p> <code>P2DT12H</code> - 2 days and 12 hours for weekend muting from Friday 6:00 PM to Monday 6:00 AM</p> </li> <li> <p> <code>PT6H</code> - 6 hours for monthly database maintenance</p> </li> <li> <p> <code>PT2H</code> - 2 hours for nightly backup operations</p> </li> <li> <p> <code>P7D</code> - 7 days for annual company shutdown</p> </li> </ul> <p>The duration begins when the schedule expression time is reached. For recurring schedules, the duration applies to each occurrence.</p>"
        },
        "Timezone":{
          "shape":"Timezone",
          "documentation":"<p>The time zone to use when evaluating the schedule expression. The time zone must be between 1 and 50 characters in length.</p> <p>Specify the time zone using standard timezone identifiers (for example, <code>America/New_York</code>, <code>Europe/London</code>, or <code>Asia/Tokyo</code>).</p> <p>If you don't specify a time zone, UTC is used by default. The time zone affects how cron and at expressions are interpreted, as well as start and expire dates you specify</p> <p>Examples:</p> <ul> <li> <p> <code>America/New_York</code> - Eastern Time (US)</p> </li> <li> <p> <code>America/Los_Angeles</code> - Pacific Time (US)</p> </li> <li> <p> <code>Europe/London</code> - British Time</p> </li> <li> <p> <code>Asia/Tokyo</code> - Japan Standard Time</p> </li> <li> <p> <code>UTC</code> - Coordinated Universal Time</p> </li> </ul>"
        }
      },
      "documentation":"<p>Specifies when and how long an alarm mute rule is active.</p> <p>The schedule uses either a cron expression for recurring mute windows or an at expression for one-time mute windows. When the schedule activates, the mute rule mutes alarm actions for the specified duration.</p>"
    },
    "ScheduleConfiguration":{
      "type":"structure",
      "required":["ScheduleExpression"],
      "members":{
        "ScheduleExpression":{
          "shape":"ScheduleExpression",
          "documentation":"<p>The schedule expression that defines how often the underlying CloudWatch Logs scheduled query runs. Specify a <code>rate()</code> expression, for example <code>rate(5 minutes)</code>.</p>"
        },
        "StartTimeOffset":{
          "shape":"StartTimeOffset",
          "documentation":"<p>The offset, in seconds, before the scheduled execution time at which the query time range begins. For example, an offset of 360 (6 minutes) on a query running at 12:05:00 starts the query time range at 11:59:00.</p>"
        },
        "EndTimeOffset":{
          "shape":"EndTimeOffset",
          "documentation":"<p>The offset, in seconds, before the scheduled execution time at which the query time range ends. Must be non-negative and less than <code>StartTimeOffset</code>. The default is 0.</p>"
        }
      },
      "documentation":"<p>Contains the schedule expression and time-range offsets that define when a scheduled query runs and what time range each execution covers.</p>"
    },
    "ScheduleExpression":{
      "type":"string",
      "max":256,
      "min":1
    },
    "ScheduledQueryConfiguration":{
      "type":"structure",
      "required":[
        "QueryString",
        "ScheduledQueryRoleARN",
        "ScheduleConfiguration",
        "AggregationExpression"
      ],
      "members":{
        "QueryString":{
          "shape":"QueryString",
          "documentation":"<p>The CloudWatch Logs query to execute on each scheduled run. Length constraints: maximum of 10,000 characters.</p>"
        },
        "LogGroupIdentifiers":{
          "shape":"LogGroupIdentifiers",
          "documentation":"<p>The log groups to query. Each entry can be a log group name or ARN. Use the ARN form when querying log groups in a different account (for example, when running cross-account queries from a monitoring account). The list must contain between 1 and 50 entries.</p>"
        },
        "QueryARN":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The Amazon Resource Name (ARN) of the CloudWatch Logs scheduled query that the alarm uses. This field is populated in <code>DescribeAlarms</code> responses.</p>"
        },
        "ScheduledQueryRoleARN":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes when executing the scheduled query against the configured log groups.</p>"
        },
        "ScheduleConfiguration":{
          "shape":"ScheduleConfiguration",
          "documentation":"<p>The schedule and time-range offset configuration for the underlying scheduled query.</p>"
        },
        "AggregationExpression":{
          "shape":"AggregationExpression",
          "documentation":"<p>The expression that defines how to aggregate query results into one or more scalar values for alarm evaluation. For example, <code>count(*)</code> or <code>avg(latency) by host | sort desc</code>. Length constraints: minimum 1 character, maximum 2048 characters.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of key-value pairs to associate with the underlying scheduled query resource.</p>"
        }
      },
      "documentation":"<p>The configuration of the CloudWatch Logs scheduled query that backs a log alarm.</p>"
    },
    "SetAlarmStateInput":{
      "type":"structure",
      "required":[
        "AlarmName",
        "StateValue",
        "StateReason"
      ],
      "members":{
        "AlarmName":{
          "shape":"AlarmName",
          "documentation":"<p>The name of the alarm.</p>"
        },
        "StateValue":{
          "shape":"StateValue",
          "documentation":"<p>The value of the state.</p>"
        },
        "StateReason":{
          "shape":"StateReason",
          "documentation":"<p>The reason that this alarm is set to this specific state, in text format.</p>"
        },
        "StateReasonData":{
          "shape":"StateReasonData",
          "documentation":"<p>The reason that this alarm is set to this specific state, in JSON format.</p> <p>For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.</p>"
        }
      }
    },
    "SingleMetricAnomalyDetector":{
      "type":"structure",
      "members":{
        "AccountId":{
          "shape":"AccountId",
          "documentation":"<p>If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.</p>"
        },
        "Namespace":{
          "shape":"Namespace",
          "documentation":"<p>The namespace of the metric to create the anomaly detection model for.</p>"
        },
        "MetricName":{
          "shape":"MetricName",
          "documentation":"<p>The name of the metric to create the anomaly detection model for.</p>"
        },
        "Dimensions":{
          "shape":"Dimensions",
          "documentation":"<p>The metric dimensions to create the anomaly detection model for.</p>"
        },
        "Stat":{
          "shape":"AnomalyDetectorMetricStat",
          "documentation":"<p>The statistic to use for the metric and anomaly detection model.</p>"
        }
      },
      "documentation":"<p>Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input. If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account.</p>"
    },
    "Size":{"type":"long"},
    "SlidingWindow":{
      "type":"structure",
      "members":{},
      "documentation":"<p>An evaluation window that advances each time the alarm is evaluated, forming a rolling time window. This is the default evaluation window. A sliding window has no additional configuration options.</p> <p>Choose a sliding window when you need the fastest detection and the calendar boundaries of the data don't matter, such as for continuous performance, latency, or resource-exhaustion monitoring.</p>"
    },
    "StandardUnit":{
      "type":"string",
      "enum":[
        "Seconds",
        "Microseconds",
        "Milliseconds",
        "Bytes",
        "Kilobytes",
        "Megabytes",
        "Gigabytes",
        "Terabytes",
        "Bits",
        "Kilobits",
        "Megabits",
        "Gigabits",
        "Terabits",
        "Percent",
        "Count",
        "Bytes/Second",
        "Kilobytes/Second",
        "Megabytes/Second",
        "Gigabytes/Second",
        "Terabytes/Second",
        "Bits/Second",
        "Kilobits/Second",
        "Megabits/Second",
        "Gigabits/Second",
        "Terabits/Second",
        "Count/Second",
        "None"
      ]
    },
    "StartMetricStreamsInput":{
      "type":"structure",
      "required":["Names"],
      "members":{
        "Names":{
          "shape":"MetricStreamNames",
          "documentation":"<p>The array of the names of metric streams to start streaming.</p> <p>This is an \"all or nothing\" operation. If you do not have permission to access all of the metric streams that you list here, then none of the streams that you list in the operation will start streaming.</p>"
        }
      }
    },
    "StartMetricStreamsOutput":{
      "type":"structure",
      "members":{}
    },
    "StartOTelEnrichmentInput":{
      "type":"structure",
      "members":{}
    },
    "StartOTelEnrichmentOutput":{
      "type":"structure",
      "members":{}
    },
    "StartTimeOffset":{"type":"long"},
    "Stat":{"type":"string"},
    "StateReason":{
      "type":"string",
      "max":1023,
      "min":0
    },
    "StateReasonData":{
      "type":"string",
      "max":4000,
      "min":0
    },
    "StateValue":{
      "type":"string",
      "enum":[
        "OK",
        "ALARM",
        "INSUFFICIENT_DATA"
      ]
    },
    "Statistic":{
      "type":"string",
      "enum":[
        "SampleCount",
        "Average",
        "Sum",
        "Minimum",
        "Maximum"
      ]
    },
    "StatisticSet":{
      "type":"structure",
      "required":[
        "SampleCount",
        "Sum",
        "Minimum",
        "Maximum"
      ],
      "members":{
        "SampleCount":{
          "shape":"DatapointValue",
          "documentation":"<p>The number of samples used for the statistic set.</p>"
        },
        "Sum":{
          "shape":"DatapointValue",
          "documentation":"<p>The sum of values for the sample set.</p>"
        },
        "Minimum":{
          "shape":"DatapointValue",
          "documentation":"<p>The minimum value of the sample set.</p>"
        },
        "Maximum":{
          "shape":"DatapointValue",
          "documentation":"<p>The maximum value of the sample set.</p>"
        }
      },
      "documentation":"<p>Represents a set of statistics that describes a specific metric. </p>"
    },
    "Statistics":{
      "type":"list",
      "member":{"shape":"Statistic"},
      "max":5,
      "min":1
    },
    "StatusCode":{
      "type":"string",
      "enum":[
        "Complete",
        "InternalError",
        "PartialData",
        "Forbidden"
      ]
    },
    "StopMetricStreamsInput":{
      "type":"structure",
      "required":["Names"],
      "members":{
        "Names":{
          "shape":"MetricStreamNames",
          "documentation":"<p>The array of the names of metric streams to stop streaming.</p> <p>This is an \"all or nothing\" operation. If you do not have permission to access all of the metric streams that you list here, then none of the streams that you list in the operation will stop streaming.</p>"
        }
      }
    },
    "StopMetricStreamsOutput":{
      "type":"structure",
      "members":{}
    },
    "StopOTelEnrichmentInput":{
      "type":"structure",
      "members":{}
    },
    "StopOTelEnrichmentOutput":{
      "type":"structure",
      "members":{}
    },
    "StorageResolution":{
      "type":"integer",
      "min":1
    },
    "StrictEntityValidation":{"type":"boolean"},
    "String":{"type":"string"},
    "SuppressorPeriod":{"type":"integer"},
    "Tag":{
      "type":"structure",
      "required":[
        "Key",
        "Value"
      ],
      "members":{
        "Key":{
          "shape":"TagKey",
          "documentation":"<p>A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.</p>"
        },
        "Value":{
          "shape":"TagValue",
          "documentation":"<p>The value for the specified tag key.</p>"
        }
      },
      "documentation":"<p>A key-value pair associated with a CloudWatch resource.</p>"
    },
    "TagKey":{
      "type":"string",
      "max":128,
      "min":1
    },
    "TagKeyList":{
      "type":"list",
      "member":{"shape":"TagKey"}
    },
    "TagList":{
      "type":"list",
      "member":{"shape":"Tag"}
    },
    "TagResourceInput":{
      "type":"structure",
      "required":[
        "ResourceARN",
        "Tags"
      ],
      "members":{
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "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>The ARN format of a dashboard is <code>arn:aws:cloudwatch::<i>account-id</i>:dashboard/<i>dashboard-name</i> </code> </p> <p>The ARN format of a metric stream is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:metric-stream/<i>metric-stream-name</i> </code> </p> <p>For more information about 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>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>The list of key-value pairs to associate with the alarm.</p>"
        }
      }
    },
    "TagResourceOutput":{
      "type":"structure",
      "members":{}
    },
    "TagValue":{
      "type":"string",
      "max":256,
      "min":0
    },
    "TemplateName":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"[0-9A-Za-z][\\-\\.\\_0-9A-Za-z]{0,126}[0-9A-Za-z]"
    },
    "Threshold":{"type":"double"},
    "Timestamp":{"type":"timestamp"},
    "Timestamps":{
      "type":"list",
      "member":{"shape":"Timestamp"}
    },
    "Timezone":{
      "type":"string",
      "max":50,
      "min":1
    },
    "TreatMissingData":{
      "type":"string",
      "max":255,
      "min":1
    },
    "UntagResourceInput":{
      "type":"structure",
      "required":[
        "ResourceARN",
        "TagKeys"
      ],
      "members":{
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "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>The ARN format of a dashboard is <code>arn:aws:cloudwatch::<i>account-id</i>:dashboard/<i>dashboard-name</i> </code> </p> <p>The ARN format of a metric stream is <code>arn:aws:cloudwatch:<i>Region</i>:<i>account-id</i>:metric-stream/<i>metric-stream-name</i> </code> </p> <p>For more information about 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>"
        },
        "TagKeys":{
          "shape":"TagKeyList",
          "documentation":"<p>The list of tag keys to remove from the resource.</p>"
        }
      }
    },
    "UntagResourceOutput":{
      "type":"structure",
      "members":{}
    },
    "Values":{
      "type":"list",
      "member":{"shape":"DatapointValue"}
    },
    "WallClockWindow":{
      "type":"structure",
      "members":{
        "Timezone":{
          "shape":"Timezone",
          "documentation":"<p>The time zone to use when the alarm aligns the evaluation window to clock boundaries. You can specify an IANA time zone name (for example, <code>America/New_York</code>), a fixed UTC offset (for example, <code>+05:30</code>), or an offset-prefixed identifier (for example, <code>UTC+05:30</code>). The offset must be aligned to a multiple of 5 minutes. If you don't specify a time zone, CloudWatch uses <code>UTC</code>.</p> <p>The time zone affects window alignment for all periods, including periods of one hour or shorter.</p>"
        }
      },
      "documentation":"<p>An evaluation window that aligns the evaluated range to fixed clock boundaries that match the alarm's period, such as the top of the hour, midnight, or the start of the calendar week, optionally in a specific time zone.</p> <p>When you use a wall clock window, the alarm's period must be 1 minute (60 seconds), 5 minutes (300 seconds), 1 hour (3,600 seconds), 1 day (86,400 seconds), or 1 week (604,800 seconds). Other period values aren't supported with a wall clock window.</p> <p>Choose a wall clock window when your monitoring is tied to a business or calendar period, such as daily reports, batch jobs, or backups, or when you want alarm evaluations to match the periods shown on a metric dashboard.</p>"
    }
  },
  "documentation":"<p>Amazon CloudWatch enables you to publish, monitor, and manage various metrics, as well as configure alarm actions based on data from metrics. This guide provides detailed information about CloudWatch actions, data types, parameters, and errors. For more information about CloudWatch features, see <a href=\"https://aws.amazon.com/cloudwatch\">Amazon CloudWatch</a> and the <i>Amazon CloudWatch User Guide</i>.</p> <p>For information about the metrics that other Amazon Web Services products send to CloudWatch, see the <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html\">Amazon CloudWatch Metrics and Dimensions Reference</a> in the <i>Amazon CloudWatch User Guide</i>.</p> <p>Use the following links to get started using the CloudWatch Query API:</p> <p>: An alphabetical list of all CloudWatch actions.</p> <p>: An alphabetical list of all CloudWatch data types.</p> <p> <a>CommonParameters</a>: Parameters that all Query actions can use.</p> <p> <a>CommonErrors</a>: Client and server errors that all actions can return.</p> <p> <a href=\"https://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region\">Regions and Endpoints</a>: Supported regions and endpoints for all Amazon Web Services products.</p> <p>Alternatively, you can use one of the <a href=\"https://aws.amazon.com/tools/#sdk\">Amazon Web Services SDKs</a> to access CloudWatch using an API tailored to your programming language or platform.</p> <p>Developers in the Amazon Web Services developer community also provide their own libraries, which you can find at the following Amazon Web Services developer centers:</p> <p> <a href=\"http://aws.amazon.com/java/\">Java Developer Center</a> </p> <p> <a href=\"http://aws.amazon.com/javascript/\">JavaScript Developer Center</a> </p> <p> <a href=\"http://aws.amazon.com/mobile/\">Amazon Web Services Mobile Services</a> </p> <p> <a href=\"http://aws.amazon.com/php/\">PHP Developer Center</a> </p> <p> <a href=\"http://aws.amazon.com/python/\">Python Developer Center</a> </p> <p> <a href=\"http://aws.amazon.com/ruby/\">Ruby Developer Center</a> </p> <p> <a href=\"http://aws.amazon.com/net/\">Windows and .NET Developer Center</a> </p>"
}
