xref: /aosp_15_r20/external/aws-sdk-java-v2/services/pi/src/main/resources/codegen-resources/api-2.json (revision 8a52c7834d808308836a99fc2a6e0ed8db339086)
1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2018-02-27",
5    "endpointPrefix":"pi",
6    "jsonVersion":"1.1",
7    "protocol":"json",
8    "serviceAbbreviation":"AWS PI",
9    "serviceFullName":"AWS Performance Insights",
10    "serviceId":"PI",
11    "signatureVersion":"v4",
12    "signingName":"pi",
13    "targetPrefix":"PerformanceInsightsv20180227",
14    "uid":"pi-2018-02-27"
15  },
16  "operations":{
17    "DescribeDimensionKeys":{
18      "name":"DescribeDimensionKeys",
19      "http":{
20        "method":"POST",
21        "requestUri":"/"
22      },
23      "input":{"shape":"DescribeDimensionKeysRequest"},
24      "output":{"shape":"DescribeDimensionKeysResponse"},
25      "errors":[
26        {"shape":"InvalidArgumentException"},
27        {"shape":"InternalServiceError"},
28        {"shape":"NotAuthorizedException"}
29      ]
30    },
31    "GetResourceMetrics":{
32      "name":"GetResourceMetrics",
33      "http":{
34        "method":"POST",
35        "requestUri":"/"
36      },
37      "input":{"shape":"GetResourceMetricsRequest"},
38      "output":{"shape":"GetResourceMetricsResponse"},
39      "errors":[
40        {"shape":"InvalidArgumentException"},
41        {"shape":"InternalServiceError"},
42        {"shape":"NotAuthorizedException"}
43      ]
44    }
45  },
46  "shapes":{
47    "DataPoint":{
48      "type":"structure",
49      "required":[
50        "Timestamp",
51        "Value"
52      ],
53      "members":{
54        "Timestamp":{"shape":"ISOTimestamp"},
55        "Value":{"shape":"Double"}
56      }
57    },
58    "DataPointsList":{
59      "type":"list",
60      "member":{"shape":"DataPoint"}
61    },
62    "DescribeDimensionKeysRequest":{
63      "type":"structure",
64      "required":[
65        "ServiceType",
66        "Identifier",
67        "StartTime",
68        "EndTime",
69        "Metric",
70        "GroupBy"
71      ],
72      "members":{
73        "ServiceType":{"shape":"ServiceType"},
74        "Identifier":{"shape":"String"},
75        "StartTime":{"shape":"ISOTimestamp"},
76        "EndTime":{"shape":"ISOTimestamp"},
77        "Metric":{"shape":"String"},
78        "PeriodInSeconds":{"shape":"Integer"},
79        "GroupBy":{"shape":"DimensionGroup"},
80        "PartitionBy":{"shape":"DimensionGroup"},
81        "Filter":{"shape":"MetricQueryFilterMap"},
82        "MaxResults":{"shape":"MaxResults"},
83        "NextToken":{"shape":"String"}
84      }
85    },
86    "DescribeDimensionKeysResponse":{
87      "type":"structure",
88      "members":{
89        "AlignedStartTime":{"shape":"ISOTimestamp"},
90        "AlignedEndTime":{"shape":"ISOTimestamp"},
91        "PartitionKeys":{"shape":"ResponsePartitionKeyList"},
92        "Keys":{"shape":"DimensionKeyDescriptionList"},
93        "NextToken":{"shape":"String"}
94      }
95    },
96    "DimensionGroup":{
97      "type":"structure",
98      "required":["Group"],
99      "members":{
100        "Group":{"shape":"String"},
101        "Dimensions":{"shape":"StringList"},
102        "Limit":{"shape":"Limit"}
103      }
104    },
105    "DimensionKeyDescription":{
106      "type":"structure",
107      "members":{
108        "Dimensions":{"shape":"DimensionMap"},
109        "Total":{"shape":"Double"},
110        "Partitions":{"shape":"MetricValuesList"}
111      }
112    },
113    "DimensionKeyDescriptionList":{
114      "type":"list",
115      "member":{"shape":"DimensionKeyDescription"}
116    },
117    "DimensionMap":{
118      "type":"map",
119      "key":{"shape":"String"},
120      "value":{"shape":"String"}
121    },
122    "Double":{"type":"double"},
123    "GetResourceMetricsRequest":{
124      "type":"structure",
125      "required":[
126        "ServiceType",
127        "Identifier",
128        "MetricQueries",
129        "StartTime",
130        "EndTime"
131      ],
132      "members":{
133        "ServiceType":{"shape":"ServiceType"},
134        "Identifier":{"shape":"String"},
135        "MetricQueries":{"shape":"MetricQueryList"},
136        "StartTime":{"shape":"ISOTimestamp"},
137        "EndTime":{"shape":"ISOTimestamp"},
138        "PeriodInSeconds":{"shape":"Integer"},
139        "MaxResults":{"shape":"MaxResults"},
140        "NextToken":{"shape":"String"}
141      }
142    },
143    "GetResourceMetricsResponse":{
144      "type":"structure",
145      "members":{
146        "AlignedStartTime":{"shape":"ISOTimestamp"},
147        "AlignedEndTime":{"shape":"ISOTimestamp"},
148        "Identifier":{"shape":"String"},
149        "MetricList":{"shape":"MetricKeyDataPointsList"},
150        "NextToken":{"shape":"String"}
151      }
152    },
153    "ISOTimestamp":{"type":"timestamp"},
154    "Integer":{"type":"integer"},
155    "InternalServiceError":{
156      "type":"structure",
157      "members":{
158        "Message":{"shape":"String"}
159      },
160      "exception":true,
161      "fault":true
162    },
163    "InvalidArgumentException":{
164      "type":"structure",
165      "members":{
166        "Message":{"shape":"String"}
167      },
168      "exception":true
169    },
170    "Limit":{
171      "type":"integer",
172      "max":10,
173      "min":1
174    },
175    "MaxResults":{
176      "type":"integer",
177      "max":20,
178      "min":0
179    },
180    "MetricKeyDataPoints":{
181      "type":"structure",
182      "members":{
183        "Key":{"shape":"ResponseResourceMetricKey"},
184        "DataPoints":{"shape":"DataPointsList"}
185      }
186    },
187    "MetricKeyDataPointsList":{
188      "type":"list",
189      "member":{"shape":"MetricKeyDataPoints"}
190    },
191    "MetricQuery":{
192      "type":"structure",
193      "required":["Metric"],
194      "members":{
195        "Metric":{"shape":"String"},
196        "GroupBy":{"shape":"DimensionGroup"},
197        "Filter":{"shape":"MetricQueryFilterMap"}
198      }
199    },
200    "MetricQueryFilterMap":{
201      "type":"map",
202      "key":{"shape":"String"},
203      "value":{"shape":"String"}
204    },
205    "MetricQueryList":{
206      "type":"list",
207      "member":{"shape":"MetricQuery"},
208      "max":15,
209      "min":1
210    },
211    "MetricValuesList":{
212      "type":"list",
213      "member":{"shape":"Double"}
214    },
215    "NotAuthorizedException":{
216      "type":"structure",
217      "members":{
218        "Message":{"shape":"String"}
219      },
220      "exception":true
221    },
222    "ResponsePartitionKey":{
223      "type":"structure",
224      "required":["Dimensions"],
225      "members":{
226        "Dimensions":{"shape":"DimensionMap"}
227      }
228    },
229    "ResponsePartitionKeyList":{
230      "type":"list",
231      "member":{"shape":"ResponsePartitionKey"}
232    },
233    "ResponseResourceMetricKey":{
234      "type":"structure",
235      "required":["Metric"],
236      "members":{
237        "Metric":{"shape":"String"},
238        "Dimensions":{"shape":"DimensionMap"}
239      }
240    },
241    "ServiceType":{
242      "type":"string",
243      "enum":["RDS"]
244    },
245    "String":{"type":"string"},
246    "StringList":{
247      "type":"list",
248      "member":{"shape":"String"},
249      "max":10,
250      "min":1
251    }
252  }
253}
254