aws-sdk-core 2.2.17 → 2.2.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": "1.0",
3
+ "examples": {
4
+ }
5
+ }
@@ -48,6 +48,7 @@
48
48
  "monthly_revenue_billing_and_revenue_data",
49
49
  "monthly_revenue_annual_subscriptions",
50
50
  "disbursed_amount_by_product",
51
+ "disbursed_amount_by_product_with_uncollected_funds",
51
52
  "disbursed_amount_by_customer_geo",
52
53
  "disbursed_amount_by_age_of_uncollected_funds",
53
54
  "disbursed_amount_by_age_of_disbursed_funds",
@@ -1,12 +1,13 @@
1
1
  {
2
+ "version":"2.0",
2
3
  "metadata":{
3
4
  "apiVersion":"2010-08-01",
4
5
  "endpointPrefix":"monitoring",
6
+ "protocol":"query",
5
7
  "serviceAbbreviation":"CloudWatch",
6
8
  "serviceFullName":"Amazon CloudWatch",
7
9
  "signatureVersion":"v4",
8
- "xmlNamespace":"http://monitoring.amazonaws.com/doc/2010-08-01/",
9
- "protocol":"query"
10
+ "xmlNamespace":"http://monitoring.amazonaws.com/doc/2010-08-01/"
10
11
  },
11
12
  "operations":{
12
13
  "DeleteAlarms":{
@@ -17,15 +18,7 @@
17
18
  },
18
19
  "input":{"shape":"DeleteAlarmsInput"},
19
20
  "errors":[
20
- {
21
- "shape":"ResourceNotFound",
22
- "error":{
23
- "code":"ResourceNotFound",
24
- "httpStatusCode":404,
25
- "senderFault":true
26
- },
27
- "exception":true
28
- }
21
+ {"shape":"ResourceNotFound"}
29
22
  ]
30
23
  },
31
24
  "DescribeAlarmHistory":{
@@ -40,15 +33,7 @@
40
33
  "resultWrapper":"DescribeAlarmHistoryResult"
41
34
  },
42
35
  "errors":[
43
- {
44
- "shape":"InvalidNextToken",
45
- "error":{
46
- "code":"InvalidNextToken",
47
- "httpStatusCode":400,
48
- "senderFault":true
49
- },
50
- "exception":true
51
- }
36
+ {"shape":"InvalidNextToken"}
52
37
  ]
53
38
  },
54
39
  "DescribeAlarms":{
@@ -63,15 +48,7 @@
63
48
  "resultWrapper":"DescribeAlarmsResult"
64
49
  },
65
50
  "errors":[
66
- {
67
- "shape":"InvalidNextToken",
68
- "error":{
69
- "code":"InvalidNextToken",
70
- "httpStatusCode":400,
71
- "senderFault":true
72
- },
73
- "exception":true
74
- }
51
+ {"shape":"InvalidNextToken"}
75
52
  ]
76
53
  },
77
54
  "DescribeAlarmsForMetric":{
@@ -114,42 +91,10 @@
114
91
  "resultWrapper":"GetMetricStatisticsResult"
115
92
  },
116
93
  "errors":[
117
- {
118
- "shape":"InvalidParameterValueException",
119
- "error":{
120
- "code":"InvalidParameterValue",
121
- "httpStatusCode":400,
122
- "senderFault":true
123
- },
124
- "exception":true
125
- },
126
- {
127
- "shape":"MissingRequiredParameterException",
128
- "error":{
129
- "code":"MissingParameter",
130
- "httpStatusCode":400,
131
- "senderFault":true
132
- },
133
- "exception":true
134
- },
135
- {
136
- "shape":"InvalidParameterCombinationException",
137
- "error":{
138
- "code":"InvalidParameterCombination",
139
- "httpStatusCode":400,
140
- "senderFault":true
141
- },
142
- "exception":true
143
- },
144
- {
145
- "shape":"InternalServiceFault",
146
- "error":{
147
- "code":"InternalServiceError",
148
- "httpStatusCode":500
149
- },
150
- "exception":true,
151
- "xmlOrder":["Message"]
152
- }
94
+ {"shape":"InvalidParameterValueException"},
95
+ {"shape":"MissingRequiredParameterException"},
96
+ {"shape":"InvalidParameterCombinationException"},
97
+ {"shape":"InternalServiceFault"}
153
98
  ]
154
99
  },
155
100
  "ListMetrics":{
@@ -161,31 +106,11 @@
161
106
  "input":{"shape":"ListMetricsInput"},
162
107
  "output":{
163
108
  "shape":"ListMetricsOutput",
164
- "xmlOrder":[
165
- "Metrics",
166
- "NextToken"
167
- ],
168
109
  "resultWrapper":"ListMetricsResult"
169
110
  },
170
111
  "errors":[
171
- {
172
- "shape":"InternalServiceFault",
173
- "error":{
174
- "code":"InternalServiceError",
175
- "httpStatusCode":500
176
- },
177
- "exception":true,
178
- "xmlOrder":["Message"]
179
- },
180
- {
181
- "shape":"InvalidParameterValueException",
182
- "error":{
183
- "code":"InvalidParameterValue",
184
- "httpStatusCode":400,
185
- "senderFault":true
186
- },
187
- "exception":true
188
- }
112
+ {"shape":"InternalServiceFault"},
113
+ {"shape":"InvalidParameterValueException"}
189
114
  ]
190
115
  },
191
116
  "PutMetricAlarm":{
@@ -196,15 +121,7 @@
196
121
  },
197
122
  "input":{"shape":"PutMetricAlarmInput"},
198
123
  "errors":[
199
- {
200
- "shape":"LimitExceededFault",
201
- "error":{
202
- "code":"LimitExceeded",
203
- "httpStatusCode":400,
204
- "senderFault":true
205
- },
206
- "exception":true
207
- }
124
+ {"shape":"LimitExceededFault"}
208
125
  ]
209
126
  },
210
127
  "PutMetricData":{
@@ -215,42 +132,10 @@
215
132
  },
216
133
  "input":{"shape":"PutMetricDataInput"},
217
134
  "errors":[
218
- {
219
- "shape":"InvalidParameterValueException",
220
- "error":{
221
- "code":"InvalidParameterValue",
222
- "httpStatusCode":400,
223
- "senderFault":true
224
- },
225
- "exception":true
226
- },
227
- {
228
- "shape":"MissingRequiredParameterException",
229
- "error":{
230
- "code":"MissingParameter",
231
- "httpStatusCode":400,
232
- "senderFault":true
233
- },
234
- "exception":true
235
- },
236
- {
237
- "shape":"InvalidParameterCombinationException",
238
- "error":{
239
- "code":"InvalidParameterCombination",
240
- "httpStatusCode":400,
241
- "senderFault":true
242
- },
243
- "exception":true
244
- },
245
- {
246
- "shape":"InternalServiceFault",
247
- "error":{
248
- "code":"InternalServiceError",
249
- "httpStatusCode":500
250
- },
251
- "exception":true,
252
- "xmlOrder":["Message"]
253
- }
135
+ {"shape":"InvalidParameterValueException"},
136
+ {"shape":"MissingRequiredParameterException"},
137
+ {"shape":"InvalidParameterCombinationException"},
138
+ {"shape":"InternalServiceFault"}
254
139
  ]
255
140
  },
256
141
  "SetAlarmState":{
@@ -261,43 +146,27 @@
261
146
  },
262
147
  "input":{"shape":"SetAlarmStateInput"},
263
148
  "errors":[
264
- {
265
- "shape":"ResourceNotFound",
266
- "error":{
267
- "code":"ResourceNotFound",
268
- "httpStatusCode":404,
269
- "senderFault":true
270
- },
271
- "exception":true
272
- },
273
- {
274
- "shape":"InvalidFormatFault",
275
- "error":{
276
- "code":"InvalidFormat",
277
- "httpStatusCode":400,
278
- "senderFault":true
279
- },
280
- "exception":true
281
- }
149
+ {"shape":"ResourceNotFound"},
150
+ {"shape":"InvalidFormatFault"}
282
151
  ]
283
152
  }
284
153
  },
285
154
  "shapes":{
286
155
  "ActionPrefix":{
287
156
  "type":"string",
288
- "min":1,
289
- "max":1024
157
+ "max":1024,
158
+ "min":1
290
159
  },
291
160
  "ActionsEnabled":{"type":"boolean"},
292
161
  "AlarmArn":{
293
162
  "type":"string",
294
- "min":1,
295
- "max":1600
163
+ "max":1600,
164
+ "min":1
296
165
  },
297
166
  "AlarmDescription":{
298
167
  "type":"string",
299
- "min":0,
300
- "max":255
168
+ "max":1024,
169
+ "min":0
301
170
  },
302
171
  "AlarmHistoryItem":{
303
172
  "type":"structure",
@@ -315,13 +184,13 @@
315
184
  },
316
185
  "AlarmName":{
317
186
  "type":"string",
318
- "min":1,
319
- "max":255
187
+ "max":255,
188
+ "min":1
320
189
  },
321
190
  "AlarmNamePrefix":{
322
191
  "type":"string",
323
- "min":1,
324
- "max":255
192
+ "max":255,
193
+ "min":1
325
194
  },
326
195
  "AlarmNames":{
327
196
  "type":"list",
@@ -458,13 +327,13 @@
458
327
  },
459
328
  "DimensionName":{
460
329
  "type":"string",
461
- "min":1,
462
- "max":255
330
+ "max":255,
331
+ "min":1
463
332
  },
464
333
  "DimensionValue":{
465
334
  "type":"string",
466
- "min":1,
467
- "max":255
335
+ "max":255,
336
+ "min":1
468
337
  },
469
338
  "Dimensions":{
470
339
  "type":"list",
@@ -487,8 +356,8 @@
487
356
  },
488
357
  "ErrorMessage":{
489
358
  "type":"string",
490
- "min":1,
491
- "max":255
359
+ "max":255,
360
+ "min":1
492
361
  },
493
362
  "EvaluationPeriods":{
494
363
  "type":"integer",
@@ -525,8 +394,8 @@
525
394
  },
526
395
  "HistoryData":{
527
396
  "type":"string",
528
- "min":1,
529
- "max":4095
397
+ "max":4095,
398
+ "min":1
530
399
  },
531
400
  "HistoryItemType":{
532
401
  "type":"string",
@@ -538,8 +407,8 @@
538
407
  },
539
408
  "HistorySummary":{
540
409
  "type":"string",
541
- "min":1,
542
- "max":255
410
+ "max":255,
411
+ "min":1
543
412
  },
544
413
  "InternalServiceFault":{
545
414
  "type":"structure",
@@ -635,8 +504,8 @@
635
504
  },
636
505
  "MaxRecords":{
637
506
  "type":"integer",
638
- "min":1,
639
- "max":100
507
+ "max":100,
508
+ "min":1
640
509
  },
641
510
  "Metric":{
642
511
  "type":"structure",
@@ -723,8 +592,8 @@
723
592
  "MetricLabel":{"type":"string"},
724
593
  "MetricName":{
725
594
  "type":"string",
726
- "min":1,
727
- "max":255
595
+ "max":255,
596
+ "min":1
728
597
  },
729
598
  "Metrics":{
730
599
  "type":"list",
@@ -744,11 +613,15 @@
744
613
  },
745
614
  "Namespace":{
746
615
  "type":"string",
747
- "min":1,
748
616
  "max":255,
617
+ "min":1,
749
618
  "pattern":"[^:].*"
750
619
  },
751
- "NextToken":{"type":"string"},
620
+ "NextToken":{
621
+ "type":"string",
622
+ "max":1024,
623
+ "min":0
624
+ },
752
625
  "Period":{
753
626
  "type":"integer",
754
627
  "min":60
@@ -801,8 +674,8 @@
801
674
  },
802
675
  "ResourceName":{
803
676
  "type":"string",
804
- "min":1,
805
- "max":1024
677
+ "max":1024,
678
+ "min":1
806
679
  },
807
680
  "ResourceNotFound":{
808
681
  "type":"structure",
@@ -864,13 +737,13 @@
864
737
  },
865
738
  "StateReason":{
866
739
  "type":"string",
867
- "min":0,
868
- "max":1023
740
+ "max":1023,
741
+ "min":0
869
742
  },
870
743
  "StateReasonData":{
871
744
  "type":"string",
872
- "min":0,
873
- "max":4000
745
+ "max":4000,
746
+ "min":0
874
747
  },
875
748
  "StateValue":{
876
749
  "type":"string",
@@ -908,8 +781,8 @@
908
781
  "Statistics":{
909
782
  "type":"list",
910
783
  "member":{"shape":"Statistic"},
911
- "min":1,
912
- "max":5
784
+ "max":5,
785
+ "min":1
913
786
  },
914
787
  "Threshold":{"type":"double"},
915
788
  "Timestamp":{"type":"timestamp"}
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": "1.0",
3
+ "examples": {
4
+ }
5
+ }
@@ -0,0 +1,334 @@
1
+ {
2
+ "service": {
3
+ "has": {
4
+ "Alarm": {
5
+ "resource": {
6
+ "type": "Alarm",
7
+ "identifiers": [
8
+ {
9
+ "target": "Name",
10
+ "source": "input"
11
+ }
12
+ ]
13
+ }
14
+ },
15
+ "Metric": {
16
+ "resource": {
17
+ "type": "Metric",
18
+ "identifiers": [
19
+ {
20
+ "target": "Namespace",
21
+ "source": "input"
22
+ },
23
+ {
24
+ "target": "Name",
25
+ "source": "input"
26
+ }
27
+ ]
28
+ }
29
+ }
30
+ },
31
+ "hasMany": {
32
+ "Alarms": {
33
+ "request": { "operation": "DescribeAlarms" },
34
+ "resource": {
35
+ "type": "Alarm",
36
+ "identifiers": [
37
+ {
38
+ "target": "Name",
39
+ "source": "response",
40
+ "path": "MetricAlarms[].AlarmName"
41
+ }
42
+ ],
43
+ "path": "MetricAlarms[]"
44
+ }
45
+ },
46
+ "Metrics": {
47
+ "request": { "operation": "ListMetrics" },
48
+ "resource": {
49
+ "type": "Metric",
50
+ "identifiers": [
51
+ {
52
+ "target": "Namespace",
53
+ "source": "response",
54
+ "path": "Metrics[].Namespace"
55
+ },
56
+ {
57
+ "target": "Name",
58
+ "source": "response",
59
+ "path": "Metrics[].MetricName"
60
+ }
61
+ ],
62
+ "path": "Metrics[]"
63
+ }
64
+ }
65
+ }
66
+ },
67
+ "resources": {
68
+ "Alarm": {
69
+ "identifiers": [
70
+ {
71
+ "name": "Name",
72
+ "memberName": "AlarmName"
73
+ }
74
+ ],
75
+ "shape": "MetricAlarm",
76
+ "load": {
77
+ "request": {
78
+ "operation": "DescribeAlarms",
79
+ "params": [
80
+ {
81
+ "target": "AlarmNames[0]",
82
+ "source": "identifier",
83
+ "name": "Name"
84
+ }
85
+ ]
86
+ },
87
+ "path": "MetricAlarms[0]"
88
+ },
89
+ "actions": {
90
+ "Delete": {
91
+ "request": {
92
+ "operation": "DeleteAlarms",
93
+ "params": [
94
+ {
95
+ "target": "AlarmNames[0]",
96
+ "source": "identifier",
97
+ "name": "Name"
98
+ }
99
+ ]
100
+ }
101
+ },
102
+ "DescribeHistory": {
103
+ "request": {
104
+ "operation": "DescribeAlarmHistory",
105
+ "params": [
106
+ {
107
+ "target": "AlarmName",
108
+ "source": "identifier",
109
+ "name": "Name"
110
+ }
111
+ ]
112
+ }
113
+ },
114
+ "DisableActions": {
115
+ "request": {
116
+ "operation": "DisableAlarmActions",
117
+ "params": [
118
+ {
119
+ "target": "AlarmNames[0]",
120
+ "source": "identifier",
121
+ "name": "Name"
122
+ }
123
+ ]
124
+ }
125
+ },
126
+ "EnableActions": {
127
+ "request": {
128
+ "operation": "EnableAlarmActions",
129
+ "params": [
130
+ {
131
+ "target": "AlarmNames[0]",
132
+ "source": "identifier",
133
+ "name": "Name"
134
+ }
135
+ ]
136
+ }
137
+ },
138
+ "SetState": {
139
+ "request": {
140
+ "operation": "SetAlarmState",
141
+ "params": [
142
+ {
143
+ "target": "AlarmName",
144
+ "source": "identifier",
145
+ "name": "Name"
146
+ }
147
+ ]
148
+ }
149
+ }
150
+ },
151
+ "batchActions": {
152
+ "Delete": {
153
+ "request": {
154
+ "operation": "DeleteAlarms",
155
+ "params": [
156
+ {
157
+ "target": "AlarmNames[]",
158
+ "source": "identifier",
159
+ "name": "Name"
160
+ }
161
+ ]
162
+ }
163
+ },
164
+ "DisableActions": {
165
+ "request": {
166
+ "operation": "DisableAlarmActions",
167
+ "params": [
168
+ {
169
+ "target": "AlarmNames[]",
170
+ "source": "identifier",
171
+ "name": "Name"
172
+ }
173
+ ]
174
+ }
175
+ },
176
+ "EnableActions": {
177
+ "request": {
178
+ "operation": "EnableAlarmActions",
179
+ "params": [
180
+ {
181
+ "target": "AlarmNames[]",
182
+ "source": "identifier",
183
+ "name": "Name"
184
+ }
185
+ ]
186
+ }
187
+ }
188
+ },
189
+ "has": {
190
+ "Metric": {
191
+ "resource": {
192
+ "type": "Metric",
193
+ "identifiers": [
194
+ {
195
+ "target": "Namespace",
196
+ "source": "data",
197
+ "path": "Namespace"
198
+ },
199
+ {
200
+ "target": "Name",
201
+ "source": "data",
202
+ "path": "MetricName"
203
+ }
204
+ ]
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "Metric": {
210
+ "identifiers": [
211
+ {
212
+ "name": "Namespace",
213
+ "memberName": "Namespace"
214
+ },
215
+ {
216
+ "name": "Name",
217
+ "memberName": "MetricName"
218
+ }
219
+ ],
220
+ "shape": "Metric",
221
+ "load": {
222
+ "request": {
223
+ "operation": "ListMetrics",
224
+ "params": [
225
+ {
226
+ "target": "MetricName",
227
+ "source": "identifier",
228
+ "name": "Name"
229
+ },
230
+ {
231
+ "target": "Namespace",
232
+ "source": "identifier",
233
+ "name": "Namespace"
234
+ }
235
+ ]
236
+ },
237
+ "path": "Metrics[0]"
238
+ },
239
+ "actions": {
240
+ "GetStatistics": {
241
+ "request": {
242
+ "operation": "GetMetricStatistics",
243
+ "params": [
244
+ {
245
+ "target": "Namespace",
246
+ "source": "identifier",
247
+ "name": "Namespace"
248
+ },
249
+ {
250
+ "target": "MetricName",
251
+ "source": "identifier",
252
+ "name": "Name"
253
+ }
254
+ ]
255
+ }
256
+ },
257
+ "PutAlarm": {
258
+ "request": {
259
+ "operation": "PutMetricAlarm",
260
+ "params": [
261
+ {
262
+ "target": "Namespace",
263
+ "source": "identifier",
264
+ "name": "Namespace"
265
+ },
266
+ {
267
+ "target": "MetricName",
268
+ "source": "identifier",
269
+ "name": "Name"
270
+ }
271
+ ]
272
+ },
273
+ "resource": {
274
+ "type": "Alarm",
275
+ "identifiers": [
276
+ {
277
+ "target": "Name",
278
+ "source": "requestParameter",
279
+ "path": "AlarmName"
280
+ }
281
+ ]
282
+ }
283
+ },
284
+ "PutData": {
285
+ "request": {
286
+ "operation": "PutMetricData",
287
+ "params": [
288
+ {
289
+ "target": "Namespace",
290
+ "source": "identifier",
291
+ "name": "Namespace"
292
+ },
293
+ {
294
+ "target": "MetricData[].MetricName",
295
+ "source": "identifier",
296
+ "name": "Name"
297
+ }
298
+ ]
299
+ }
300
+ }
301
+ },
302
+ "hasMany": {
303
+ "Alarms": {
304
+ "request": {
305
+ "operation": "DescribeAlarmsForMetric",
306
+ "params": [
307
+ {
308
+ "target": "Namespace",
309
+ "source": "identifier",
310
+ "name": "Namespace"
311
+ },
312
+ {
313
+ "target": "MetricName",
314
+ "source": "identifier",
315
+ "name": "Name"
316
+ }
317
+ ]
318
+ },
319
+ "resource": {
320
+ "type": "Alarm",
321
+ "identifiers": [
322
+ {
323
+ "target": "Name",
324
+ "source": "response",
325
+ "path": "MetricAlarms[].AlarmName"
326
+ }
327
+ ],
328
+ "path": "MetricAlarms[]"
329
+ }
330
+ }
331
+ }
332
+ }
333
+ }
334
+ }