Skip to content

Commit 7825e58

Browse files
author
AWS
committed
Amazon CloudWatch Evidently Update: Add support for filtering list of experiments and launches by status
1 parent c9ee886 commit 7825e58

File tree

2 files changed

+36
-8
lines changed

2 files changed

+36
-8
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon CloudWatch Evidently",
4+
"contributor": "",
5+
"description": "Add support for filtering list of experiments and launches by status"
6+
}

services/evidently/src/main/resources/codegen-resources/service-2.json

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
"input":{"shape":"DeleteExperimentRequest"},
113113
"output":{"shape":"DeleteExperimentResponse"},
114114
"errors":[
115+
{"shape":"ValidationException"},
115116
{"shape":"InternalServerException"},
116117
{"shape":"ConflictException"},
117118
{"shape":"ServiceUnavailableException"},
@@ -207,6 +208,7 @@
207208
"output":{"shape":"GetExperimentResponse"},
208209
"errors":[
209210
{"shape":"ThrottlingException"},
211+
{"shape":"ValidationException"},
210212
{"shape":"ResourceNotFoundException"},
211213
{"shape":"AccessDeniedException"}
212214
],
@@ -258,6 +260,7 @@
258260
"output":{"shape":"GetLaunchResponse"},
259261
"errors":[
260262
{"shape":"ThrottlingException"},
263+
{"shape":"ValidationException"},
261264
{"shape":"ResourceNotFoundException"},
262265
{"shape":"AccessDeniedException"}
263266
],
@@ -291,7 +294,8 @@
291294
"output":{"shape":"ListExperimentsResponse"},
292295
"errors":[
293296
{"shape":"ValidationException"},
294-
{"shape":"ResourceNotFoundException"}
297+
{"shape":"ResourceNotFoundException"},
298+
{"shape":"AccessDeniedException"}
295299
],
296300
"documentation":"<p>Returns configuration details about all the experiments in the specified project.</p>"
297301
},
@@ -409,6 +413,7 @@
409413
"errors":[
410414
{"shape":"ThrottlingException"},
411415
{"shape":"ValidationException"},
416+
{"shape":"ConflictException"},
412417
{"shape":"ServiceQuotaExceededException"},
413418
{"shape":"ResourceNotFoundException"},
414419
{"shape":"AccessDeniedException"}
@@ -1313,7 +1318,7 @@
13131318
"type":"string",
13141319
"max":127,
13151320
"min":1,
1316-
"pattern":"[-a-zA-Z0-9._]*"
1321+
"pattern":"^[-a-zA-Z0-9._]*$"
13171322
},
13181323
"ExperimentReport":{
13191324
"type":"structure",
@@ -1527,7 +1532,7 @@
15271532
"type":"string",
15281533
"max":127,
15291534
"min":1,
1530-
"pattern":"[-a-zA-Z0-9._]*"
1535+
"pattern":"^[-a-zA-Z0-9._]*$"
15311536
},
15321537
"FeatureStatus":{
15331538
"type":"string",
@@ -1788,7 +1793,7 @@
17881793
"type":"string",
17891794
"max":127,
17901795
"min":1,
1791-
"pattern":"[-a-zA-Z0-9._]*"
1796+
"pattern":"^[-a-zA-Z0-9._]*$"
17921797
},
17931798
"GroupToWeightMap":{
17941799
"type":"map",
@@ -1975,7 +1980,7 @@
19751980
"type":"string",
19761981
"max":127,
19771982
"min":1,
1978-
"pattern":"[-a-zA-Z0-9._]*"
1983+
"pattern":"^[-a-zA-Z0-9._]*$"
19791984
},
19801985
"LaunchStatus":{
19811986
"type":"string",
@@ -2023,6 +2028,12 @@
20232028
"documentation":"<p>The name or ARN of the project to return the experiment list from.</p>",
20242029
"location":"uri",
20252030
"locationName":"project"
2031+
},
2032+
"status":{
2033+
"shape":"ExperimentStatus",
2034+
"documentation":"<p>Use this optional parameter to limit the returned results to only the experiments with the status that you specify here.</p>",
2035+
"location":"querystring",
2036+
"locationName":"status"
20262037
}
20272038
}
20282039
},
@@ -2097,6 +2108,12 @@
20972108
"documentation":"<p>The name or ARN of the project to return the launch list from.</p>",
20982109
"location":"uri",
20992110
"locationName":"project"
2111+
},
2112+
"status":{
2113+
"shape":"LaunchStatus",
2114+
"documentation":"<p>Use this optional parameter to limit the returned results to only the launches with the status that you specify here.</p>",
2115+
"location":"querystring",
2116+
"locationName":"status"
21002117
}
21012118
}
21022119
},
@@ -2221,6 +2238,11 @@
22212238
},
22222239
"MetricDefinitionConfig":{
22232240
"type":"structure",
2241+
"required":[
2242+
"entityIdKey",
2243+
"name",
2244+
"valueKey"
2245+
],
22242246
"members":{
22252247
"entityIdKey":{
22262248
"shape":"JsonPath",
@@ -2476,7 +2498,7 @@
24762498
"type":"string",
24772499
"max":127,
24782500
"min":1,
2479-
"pattern":"[-a-zA-Z0-9._]*"
2501+
"pattern":"^[-a-zA-Z0-9._]*$"
24802502
},
24812503
"ProjectRef":{
24822504
"type":"string",
@@ -3078,7 +3100,7 @@
30783100
"type":"string",
30793101
"max":127,
30803102
"min":1,
3081-
"pattern":"[-a-zA-Z0-9._]*"
3103+
"pattern":"^[-a-zA-Z0-9._]*$"
30823104
},
30833105
"TreatmentNameList":{
30843106
"type":"list",
@@ -3468,7 +3490,7 @@
34683490
"type":"string",
34693491
"max":127,
34703492
"min":1,
3471-
"pattern":"[-a-zA-Z0-9._]*"
3493+
"pattern":"^[-a-zA-Z0-9._]*$"
34723494
},
34733495
"VariationNameList":{
34743496
"type":"list",

0 commit comments

Comments
 (0)