mirror of
https://github.com/cderche/greenlock-storage-s3
synced 2025-05-13 16:16:32 +00:00
858 lines
19 KiB
JSON
858 lines
19 KiB
JSON
{
|
|
"version": "2.0",
|
|
"metadata": {
|
|
"apiVersion": "2010-08-01",
|
|
"endpointPrefix": "monitoring",
|
|
"protocol": "query",
|
|
"serviceAbbreviation": "CloudWatch",
|
|
"serviceFullName": "Amazon CloudWatch",
|
|
"serviceId": "CloudWatch",
|
|
"signatureVersion": "v4",
|
|
"uid": "monitoring-2010-08-01",
|
|
"xmlNamespace": "http://monitoring.amazonaws.com/doc/2010-08-01/"
|
|
},
|
|
"operations": {
|
|
"DeleteAlarms": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AlarmNames"
|
|
],
|
|
"members": {
|
|
"AlarmNames": {
|
|
"shape": "S2"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DeleteDashboards": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"DashboardNames"
|
|
],
|
|
"members": {
|
|
"DashboardNames": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "DeleteDashboardsResult",
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
},
|
|
"DescribeAlarmHistory": {
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AlarmName": {},
|
|
"HistoryItemType": {},
|
|
"StartDate": {
|
|
"type": "timestamp"
|
|
},
|
|
"EndDate": {
|
|
"type": "timestamp"
|
|
},
|
|
"MaxRecords": {
|
|
"type": "integer"
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "DescribeAlarmHistoryResult",
|
|
"type": "structure",
|
|
"members": {
|
|
"AlarmHistoryItems": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AlarmName": {},
|
|
"Timestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"HistoryItemType": {},
|
|
"HistorySummary": {},
|
|
"HistoryData": {}
|
|
}
|
|
}
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"DescribeAlarms": {
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AlarmNames": {
|
|
"shape": "S2"
|
|
},
|
|
"AlarmNamePrefix": {},
|
|
"StateValue": {},
|
|
"ActionPrefix": {},
|
|
"MaxRecords": {
|
|
"type": "integer"
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "DescribeAlarmsResult",
|
|
"type": "structure",
|
|
"members": {
|
|
"MetricAlarms": {
|
|
"shape": "Sn"
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"DescribeAlarmsForMetric": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"MetricName",
|
|
"Namespace"
|
|
],
|
|
"members": {
|
|
"MetricName": {},
|
|
"Namespace": {},
|
|
"Statistic": {},
|
|
"ExtendedStatistic": {},
|
|
"Dimensions": {
|
|
"shape": "S10"
|
|
},
|
|
"Period": {
|
|
"type": "integer"
|
|
},
|
|
"Unit": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "DescribeAlarmsForMetricResult",
|
|
"type": "structure",
|
|
"members": {
|
|
"MetricAlarms": {
|
|
"shape": "Sn"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DisableAlarmActions": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AlarmNames"
|
|
],
|
|
"members": {
|
|
"AlarmNames": {
|
|
"shape": "S2"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"EnableAlarmActions": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AlarmNames"
|
|
],
|
|
"members": {
|
|
"AlarmNames": {
|
|
"shape": "S2"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetDashboard": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"DashboardName"
|
|
],
|
|
"members": {
|
|
"DashboardName": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "GetDashboardResult",
|
|
"type": "structure",
|
|
"members": {
|
|
"DashboardArn": {},
|
|
"DashboardBody": {},
|
|
"DashboardName": {}
|
|
}
|
|
}
|
|
},
|
|
"GetMetricData": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"MetricDataQueries",
|
|
"StartTime",
|
|
"EndTime"
|
|
],
|
|
"members": {
|
|
"MetricDataQueries": {
|
|
"shape": "S1c"
|
|
},
|
|
"StartTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"EndTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"NextToken": {},
|
|
"ScanBy": {},
|
|
"MaxDatapoints": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "GetMetricDataResult",
|
|
"type": "structure",
|
|
"members": {
|
|
"MetricDataResults": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Id": {},
|
|
"Label": {},
|
|
"Timestamps": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "timestamp"
|
|
}
|
|
},
|
|
"Values": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "double"
|
|
}
|
|
},
|
|
"StatusCode": {},
|
|
"Messages": {
|
|
"shape": "S23"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"NextToken": {},
|
|
"Messages": {
|
|
"shape": "S23"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetMetricStatistics": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Namespace",
|
|
"MetricName",
|
|
"StartTime",
|
|
"EndTime",
|
|
"Period"
|
|
],
|
|
"members": {
|
|
"Namespace": {},
|
|
"MetricName": {},
|
|
"Dimensions": {
|
|
"shape": "S10"
|
|
},
|
|
"StartTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"EndTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"Period": {
|
|
"type": "integer"
|
|
},
|
|
"Statistics": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"ExtendedStatistics": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"Unit": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "GetMetricStatisticsResult",
|
|
"type": "structure",
|
|
"members": {
|
|
"Label": {},
|
|
"Datapoints": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Timestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"SampleCount": {
|
|
"type": "double"
|
|
},
|
|
"Average": {
|
|
"type": "double"
|
|
},
|
|
"Sum": {
|
|
"type": "double"
|
|
},
|
|
"Minimum": {
|
|
"type": "double"
|
|
},
|
|
"Maximum": {
|
|
"type": "double"
|
|
},
|
|
"Unit": {},
|
|
"ExtendedStatistics": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {
|
|
"type": "double"
|
|
}
|
|
}
|
|
},
|
|
"xmlOrder": [
|
|
"Timestamp",
|
|
"SampleCount",
|
|
"Average",
|
|
"Sum",
|
|
"Minimum",
|
|
"Maximum",
|
|
"Unit",
|
|
"ExtendedStatistics"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetMetricWidgetImage": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"MetricWidget"
|
|
],
|
|
"members": {
|
|
"MetricWidget": {},
|
|
"OutputFormat": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "GetMetricWidgetImageResult",
|
|
"type": "structure",
|
|
"members": {
|
|
"MetricWidgetImage": {
|
|
"type": "blob"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ListDashboards": {
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DashboardNamePrefix": {},
|
|
"NextToken": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "ListDashboardsResult",
|
|
"type": "structure",
|
|
"members": {
|
|
"DashboardEntries": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DashboardName": {},
|
|
"DashboardArn": {},
|
|
"LastModified": {
|
|
"type": "timestamp"
|
|
},
|
|
"Size": {
|
|
"type": "long"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListMetrics": {
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Namespace": {},
|
|
"MetricName": {},
|
|
"Dimensions": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Name"
|
|
],
|
|
"members": {
|
|
"Name": {},
|
|
"Value": {}
|
|
}
|
|
}
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "ListMetricsResult",
|
|
"type": "structure",
|
|
"members": {
|
|
"Metrics": {
|
|
"type": "list",
|
|
"member": {
|
|
"shape": "S1g"
|
|
}
|
|
},
|
|
"NextToken": {}
|
|
},
|
|
"xmlOrder": [
|
|
"Metrics",
|
|
"NextToken"
|
|
]
|
|
}
|
|
},
|
|
"ListTagsForResource": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ResourceARN"
|
|
],
|
|
"members": {
|
|
"ResourceARN": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "ListTagsForResourceResult",
|
|
"type": "structure",
|
|
"members": {
|
|
"Tags": {
|
|
"shape": "S2y"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"PutDashboard": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"DashboardName",
|
|
"DashboardBody"
|
|
],
|
|
"members": {
|
|
"DashboardName": {},
|
|
"DashboardBody": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "PutDashboardResult",
|
|
"type": "structure",
|
|
"members": {
|
|
"DashboardValidationMessages": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DataPath": {},
|
|
"Message": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"PutMetricAlarm": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AlarmName",
|
|
"EvaluationPeriods",
|
|
"Threshold",
|
|
"ComparisonOperator"
|
|
],
|
|
"members": {
|
|
"AlarmName": {},
|
|
"AlarmDescription": {},
|
|
"ActionsEnabled": {
|
|
"type": "boolean"
|
|
},
|
|
"OKActions": {
|
|
"shape": "Ss"
|
|
},
|
|
"AlarmActions": {
|
|
"shape": "Ss"
|
|
},
|
|
"InsufficientDataActions": {
|
|
"shape": "Ss"
|
|
},
|
|
"MetricName": {},
|
|
"Namespace": {},
|
|
"Statistic": {},
|
|
"ExtendedStatistic": {},
|
|
"Dimensions": {
|
|
"shape": "S10"
|
|
},
|
|
"Period": {
|
|
"type": "integer"
|
|
},
|
|
"Unit": {},
|
|
"EvaluationPeriods": {
|
|
"type": "integer"
|
|
},
|
|
"DatapointsToAlarm": {
|
|
"type": "integer"
|
|
},
|
|
"Threshold": {
|
|
"type": "double"
|
|
},
|
|
"ComparisonOperator": {},
|
|
"TreatMissingData": {},
|
|
"EvaluateLowSampleCountPercentile": {},
|
|
"Metrics": {
|
|
"shape": "S1c"
|
|
},
|
|
"Tags": {
|
|
"shape": "S2y"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"PutMetricData": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Namespace",
|
|
"MetricData"
|
|
],
|
|
"members": {
|
|
"Namespace": {},
|
|
"MetricData": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"MetricName"
|
|
],
|
|
"members": {
|
|
"MetricName": {},
|
|
"Dimensions": {
|
|
"shape": "S10"
|
|
},
|
|
"Timestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"Value": {
|
|
"type": "double"
|
|
},
|
|
"StatisticValues": {
|
|
"type": "structure",
|
|
"required": [
|
|
"SampleCount",
|
|
"Sum",
|
|
"Minimum",
|
|
"Maximum"
|
|
],
|
|
"members": {
|
|
"SampleCount": {
|
|
"type": "double"
|
|
},
|
|
"Sum": {
|
|
"type": "double"
|
|
},
|
|
"Minimum": {
|
|
"type": "double"
|
|
},
|
|
"Maximum": {
|
|
"type": "double"
|
|
}
|
|
}
|
|
},
|
|
"Values": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "double"
|
|
}
|
|
},
|
|
"Counts": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "double"
|
|
}
|
|
},
|
|
"Unit": {},
|
|
"StorageResolution": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"SetAlarmState": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AlarmName",
|
|
"StateValue",
|
|
"StateReason"
|
|
],
|
|
"members": {
|
|
"AlarmName": {},
|
|
"StateValue": {},
|
|
"StateReason": {},
|
|
"StateReasonData": {}
|
|
}
|
|
}
|
|
},
|
|
"TagResource": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ResourceARN",
|
|
"Tags"
|
|
],
|
|
"members": {
|
|
"ResourceARN": {},
|
|
"Tags": {
|
|
"shape": "S2y"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "TagResourceResult",
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
},
|
|
"UntagResource": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ResourceARN",
|
|
"TagKeys"
|
|
],
|
|
"members": {
|
|
"ResourceARN": {},
|
|
"TagKeys": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"resultWrapper": "UntagResourceResult",
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
}
|
|
},
|
|
"shapes": {
|
|
"S2": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"Sn": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AlarmName": {},
|
|
"AlarmArn": {},
|
|
"AlarmDescription": {},
|
|
"AlarmConfigurationUpdatedTimestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"ActionsEnabled": {
|
|
"type": "boolean"
|
|
},
|
|
"OKActions": {
|
|
"shape": "Ss"
|
|
},
|
|
"AlarmActions": {
|
|
"shape": "Ss"
|
|
},
|
|
"InsufficientDataActions": {
|
|
"shape": "Ss"
|
|
},
|
|
"StateValue": {},
|
|
"StateReason": {},
|
|
"StateReasonData": {},
|
|
"StateUpdatedTimestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"MetricName": {},
|
|
"Namespace": {},
|
|
"Statistic": {},
|
|
"ExtendedStatistic": {},
|
|
"Dimensions": {
|
|
"shape": "S10"
|
|
},
|
|
"Period": {
|
|
"type": "integer"
|
|
},
|
|
"Unit": {},
|
|
"EvaluationPeriods": {
|
|
"type": "integer"
|
|
},
|
|
"DatapointsToAlarm": {
|
|
"type": "integer"
|
|
},
|
|
"Threshold": {
|
|
"type": "double"
|
|
},
|
|
"ComparisonOperator": {},
|
|
"TreatMissingData": {},
|
|
"EvaluateLowSampleCountPercentile": {},
|
|
"Metrics": {
|
|
"shape": "S1c"
|
|
}
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"Ss": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"S10": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Name",
|
|
"Value"
|
|
],
|
|
"members": {
|
|
"Name": {},
|
|
"Value": {}
|
|
},
|
|
"xmlOrder": [
|
|
"Name",
|
|
"Value"
|
|
]
|
|
}
|
|
},
|
|
"S1c": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Id"
|
|
],
|
|
"members": {
|
|
"Id": {},
|
|
"MetricStat": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Metric",
|
|
"Period",
|
|
"Stat"
|
|
],
|
|
"members": {
|
|
"Metric": {
|
|
"shape": "S1g"
|
|
},
|
|
"Period": {
|
|
"type": "integer"
|
|
},
|
|
"Stat": {},
|
|
"Unit": {}
|
|
}
|
|
},
|
|
"Expression": {},
|
|
"Label": {},
|
|
"ReturnData": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"S1g": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Namespace": {},
|
|
"MetricName": {},
|
|
"Dimensions": {
|
|
"shape": "S10"
|
|
}
|
|
},
|
|
"xmlOrder": [
|
|
"Namespace",
|
|
"MetricName",
|
|
"Dimensions"
|
|
]
|
|
},
|
|
"S23": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Code": {},
|
|
"Value": {}
|
|
}
|
|
}
|
|
},
|
|
"S2y": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Key",
|
|
"Value"
|
|
],
|
|
"members": {
|
|
"Key": {},
|
|
"Value": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |