Skip to content

Commit 6a9aedd

Browse files
author
AWS
committed
AWS Fault Injection Simulator Update: This release adds support for additional error information on experiment failure. It adds the error code, location, and account id on relevant failures to the GetExperiment and ListExperiment API responses.
1 parent 2ac5d3f commit 6a9aedd

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
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": "AWS Fault Injection Simulator",
4+
"contributor": "",
5+
"description": "This release adds support for additional error information on experiment failure. It adds the error code, location, and account id on relevant failures to the GetExperiment and ListExperiment API responses."
6+
}

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

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
"endpointPrefix":"fis",
66
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceAbbreviation":"FIS",
910
"serviceFullName":"AWS Fault Injection Simulator",
1011
"serviceId":"fis",
1112
"signatureVersion":"v4",
1213
"signingName":"fis",
13-
"uid":"fis-2020-12-01"
14+
"uid":"fis-2020-12-01",
15+
"auth":["aws.auth#sigv4"]
1416
},
1517
"operations":{
1618
"CreateExperimentTemplate":{
@@ -1010,6 +1012,31 @@
10101012
"documentation":"<p>Describes the configuration for experiment logging to Amazon CloudWatch Logs.</p>"
10111013
},
10121014
"ExperimentEndTime":{"type":"timestamp"},
1015+
"ExperimentError":{
1016+
"type":"structure",
1017+
"members":{
1018+
"accountId":{
1019+
"shape":"ExperimentErrorAccountId",
1020+
"documentation":"<p>The Amazon Web Services Account ID where the experiment failure occurred.</p>"
1021+
},
1022+
"code":{
1023+
"shape":"ExperimentErrorCode",
1024+
"documentation":"<p>The error code for the failed experiment.</p>"
1025+
},
1026+
"location":{
1027+
"shape":"ExperimentErrorLocation",
1028+
"documentation":"<p>Context for the section of the experiment template that failed.</p>"
1029+
}
1030+
},
1031+
"documentation":"<p>Describes the error when an experiment has <code>failed</code>.</p>"
1032+
},
1033+
"ExperimentErrorAccountId":{"type":"string"},
1034+
"ExperimentErrorCode":{
1035+
"type":"string",
1036+
"max":128,
1037+
"pattern":"[\\S]+"
1038+
},
1039+
"ExperimentErrorLocation":{"type":"string"},
10131040
"ExperimentId":{
10141041
"type":"string",
10151042
"max":64,
@@ -1076,6 +1103,10 @@
10761103
"reason":{
10771104
"shape":"ExperimentStatusReason",
10781105
"documentation":"<p>The reason for the state.</p>"
1106+
},
1107+
"error":{
1108+
"shape":"ExperimentError",
1109+
"documentation":"<p>The error information of the experiment when the action has <code>failed</code>.</p>"
10791110
}
10801111
},
10811112
"documentation":"<p>Describes the state of an experiment.</p>"
@@ -2702,5 +2733,5 @@
27022733
"exception":true
27032734
}
27042735
},
2705-
"documentation":"<p>Fault Injection Service is a managed service that enables you to perform fault injection experiments on your Amazon Web Services workloads. For more information, see the <a href=\"https://docs.aws.amazon.com/fis/latest/userguide/\">Fault Injection Service User Guide</a>.</p>"
2736+
"documentation":"<p>Amazon Web Services Fault Injection Service is a managed service that enables you to perform fault injection experiments on your Amazon Web Services workloads. For more information, see the <a href=\"https://docs.aws.amazon.com/fis/latest/userguide/\">Fault Injection Service User Guide</a>.</p>"
27062737
}

0 commit comments

Comments
 (0)