230 lines
5.2 KiB
JSON
230 lines
5.2 KiB
JSON
{
|
|
"version": "2.0",
|
|
"metadata": {
|
|
"apiVersion": "2018-02-27",
|
|
"endpointPrefix": "pi",
|
|
"jsonVersion": "1.1",
|
|
"protocol": "json",
|
|
"serviceAbbreviation": "AWS PI",
|
|
"serviceFullName": "AWS Performance Insights",
|
|
"serviceId": "PI",
|
|
"signatureVersion": "v4",
|
|
"signingName": "pi",
|
|
"targetPrefix": "PerformanceInsightsv20180227",
|
|
"uid": "pi-2018-02-27"
|
|
},
|
|
"operations": {
|
|
"DescribeDimensionKeys": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ServiceType",
|
|
"Identifier",
|
|
"StartTime",
|
|
"EndTime",
|
|
"Metric",
|
|
"GroupBy"
|
|
],
|
|
"members": {
|
|
"ServiceType": {},
|
|
"Identifier": {},
|
|
"StartTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"EndTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"Metric": {},
|
|
"PeriodInSeconds": {
|
|
"type": "integer"
|
|
},
|
|
"GroupBy": {
|
|
"shape": "S6"
|
|
},
|
|
"PartitionBy": {
|
|
"shape": "S6"
|
|
},
|
|
"Filter": {
|
|
"shape": "S9"
|
|
},
|
|
"MaxResults": {
|
|
"type": "integer"
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AlignedStartTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"AlignedEndTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"PartitionKeys": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Dimensions"
|
|
],
|
|
"members": {
|
|
"Dimensions": {
|
|
"shape": "Se"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Keys": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Dimensions": {
|
|
"shape": "Se"
|
|
},
|
|
"Total": {
|
|
"type": "double"
|
|
},
|
|
"Partitions": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "double"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"GetResourceMetrics": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ServiceType",
|
|
"Identifier",
|
|
"MetricQueries",
|
|
"StartTime",
|
|
"EndTime"
|
|
],
|
|
"members": {
|
|
"ServiceType": {},
|
|
"Identifier": {},
|
|
"MetricQueries": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Metric"
|
|
],
|
|
"members": {
|
|
"Metric": {},
|
|
"GroupBy": {
|
|
"shape": "S6"
|
|
},
|
|
"Filter": {
|
|
"shape": "S9"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"StartTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"EndTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"PeriodInSeconds": {
|
|
"type": "integer"
|
|
},
|
|
"MaxResults": {
|
|
"type": "integer"
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AlignedStartTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"AlignedEndTime": {
|
|
"type": "timestamp"
|
|
},
|
|
"Identifier": {},
|
|
"MetricList": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Key": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Metric"
|
|
],
|
|
"members": {
|
|
"Metric": {},
|
|
"Dimensions": {
|
|
"shape": "Se"
|
|
}
|
|
}
|
|
},
|
|
"DataPoints": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Timestamp",
|
|
"Value"
|
|
],
|
|
"members": {
|
|
"Timestamp": {
|
|
"type": "timestamp"
|
|
},
|
|
"Value": {
|
|
"type": "double"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"shapes": {
|
|
"S6": {
|
|
"type": "structure",
|
|
"required": [
|
|
"Group"
|
|
],
|
|
"members": {
|
|
"Group": {},
|
|
"Dimensions": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"Limit": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"S9": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
},
|
|
"Se": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
}
|
|
}
|
|
} |