@aws-sdk/client-fis 3.686.0 → 3.690.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +14 -0
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +5 -0
- package/dist-types/commands/CreateExperimentTemplateCommand.d.ts +34 -0
- package/dist-types/commands/DeleteExperimentTemplateCommand.d.ts +17 -0
- package/dist-types/commands/GetExperimentCommand.d.ts +32 -0
- package/dist-types/commands/GetExperimentTemplateCommand.d.ts +17 -0
- package/dist-types/commands/StartExperimentCommand.d.ts +32 -0
- package/dist-types/commands/StopExperimentCommand.d.ts +32 -0
- package/dist-types/commands/UpdateExperimentTemplateCommand.d.ts +34 -0
- package/dist-types/models/models_0.d.ts +356 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -30,6 +30,7 @@ __export(src_exports, {
|
|
|
30
30
|
DeleteTargetAccountConfigurationCommand: () => DeleteTargetAccountConfigurationCommand,
|
|
31
31
|
EmptyTargetResolutionMode: () => EmptyTargetResolutionMode,
|
|
32
32
|
ExperimentActionStatus: () => ExperimentActionStatus,
|
|
33
|
+
ExperimentReportStatus: () => ExperimentReportStatus,
|
|
33
34
|
ExperimentStatus: () => ExperimentStatus,
|
|
34
35
|
Fis: () => Fis,
|
|
35
36
|
FisClient: () => FisClient,
|
|
@@ -328,6 +329,13 @@ var ExperimentActionStatus = {
|
|
|
328
329
|
stopped: "stopped",
|
|
329
330
|
stopping: "stopping"
|
|
330
331
|
};
|
|
332
|
+
var ExperimentReportStatus = {
|
|
333
|
+
cancelled: "cancelled",
|
|
334
|
+
completed: "completed",
|
|
335
|
+
failed: "failed",
|
|
336
|
+
pending: "pending",
|
|
337
|
+
running: "running"
|
|
338
|
+
};
|
|
331
339
|
var ExperimentStatus = {
|
|
332
340
|
cancelled: "cancelled",
|
|
333
341
|
completed: "completed",
|
|
@@ -362,6 +370,7 @@ var se_CreateExperimentTemplateCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
362
370
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
363
371
|
description: [],
|
|
364
372
|
experimentOptions: (_) => (0, import_smithy_client._json)(_),
|
|
373
|
+
experimentReportConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
365
374
|
logConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
366
375
|
roleArn: [],
|
|
367
376
|
stopConditions: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -640,6 +649,7 @@ var se_UpdateExperimentTemplateCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
640
649
|
actions: (_) => (0, import_smithy_client._json)(_),
|
|
641
650
|
description: [],
|
|
642
651
|
experimentOptions: (_) => (0, import_smithy_client._json)(_),
|
|
652
|
+
experimentReportConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
643
653
|
logConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
644
654
|
roleArn: [],
|
|
645
655
|
stopConditions: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -1134,6 +1144,8 @@ var de_Experiment = /* @__PURE__ */ __name((output, context) => {
|
|
|
1134
1144
|
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1135
1145
|
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1136
1146
|
experimentOptions: import_smithy_client._json,
|
|
1147
|
+
experimentReport: import_smithy_client._json,
|
|
1148
|
+
experimentReportConfiguration: import_smithy_client._json,
|
|
1137
1149
|
experimentTemplateId: import_smithy_client.expectString,
|
|
1138
1150
|
id: import_smithy_client.expectString,
|
|
1139
1151
|
logConfiguration: import_smithy_client._json,
|
|
@@ -1191,6 +1203,7 @@ var de_ExperimentTemplate = /* @__PURE__ */ __name((output, context) => {
|
|
|
1191
1203
|
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1192
1204
|
description: import_smithy_client.expectString,
|
|
1193
1205
|
experimentOptions: import_smithy_client._json,
|
|
1206
|
+
experimentReportConfiguration: import_smithy_client._json,
|
|
1194
1207
|
id: import_smithy_client.expectString,
|
|
1195
1208
|
lastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1196
1209
|
logConfiguration: import_smithy_client._json,
|
|
@@ -1696,6 +1709,7 @@ var paginateListTargetResourceTypes = (0, import_core.createPaginator)(FisClient
|
|
|
1696
1709
|
ServiceQuotaExceededException,
|
|
1697
1710
|
ValidationException,
|
|
1698
1711
|
ExperimentActionStatus,
|
|
1712
|
+
ExperimentReportStatus,
|
|
1699
1713
|
ExperimentStatus,
|
|
1700
1714
|
SafetyLeverStatus,
|
|
1701
1715
|
SafetyLeverStatusInput
|
|
@@ -70,6 +70,13 @@ export const ExperimentActionStatus = {
|
|
|
70
70
|
stopped: "stopped",
|
|
71
71
|
stopping: "stopping",
|
|
72
72
|
};
|
|
73
|
+
export const ExperimentReportStatus = {
|
|
74
|
+
cancelled: "cancelled",
|
|
75
|
+
completed: "completed",
|
|
76
|
+
failed: "failed",
|
|
77
|
+
pending: "pending",
|
|
78
|
+
running: "running",
|
|
79
|
+
};
|
|
73
80
|
export const ExperimentStatus = {
|
|
74
81
|
cancelled: "cancelled",
|
|
75
82
|
completed: "completed",
|
|
@@ -16,6 +16,7 @@ export const se_CreateExperimentTemplateCommand = async (input, context) => {
|
|
|
16
16
|
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
17
17
|
description: [],
|
|
18
18
|
experimentOptions: (_) => _json(_),
|
|
19
|
+
experimentReportConfiguration: (_) => _json(_),
|
|
19
20
|
logConfiguration: (_) => _json(_),
|
|
20
21
|
roleArn: [],
|
|
21
22
|
stopConditions: (_) => _json(_),
|
|
@@ -286,6 +287,7 @@ export const se_UpdateExperimentTemplateCommand = async (input, context) => {
|
|
|
286
287
|
actions: (_) => _json(_),
|
|
287
288
|
description: [],
|
|
288
289
|
experimentOptions: (_) => _json(_),
|
|
290
|
+
experimentReportConfiguration: (_) => _json(_),
|
|
289
291
|
logConfiguration: (_) => _json(_),
|
|
290
292
|
roleArn: [],
|
|
291
293
|
stopConditions: (_) => _json(_),
|
|
@@ -775,6 +777,8 @@ const de_Experiment = (output, context) => {
|
|
|
775
777
|
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
776
778
|
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
777
779
|
experimentOptions: _json,
|
|
780
|
+
experimentReport: _json,
|
|
781
|
+
experimentReportConfiguration: _json,
|
|
778
782
|
experimentTemplateId: __expectString,
|
|
779
783
|
id: __expectString,
|
|
780
784
|
logConfiguration: _json,
|
|
@@ -834,6 +838,7 @@ const de_ExperimentTemplate = (output, context) => {
|
|
|
834
838
|
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
835
839
|
description: __expectString,
|
|
836
840
|
experimentOptions: _json,
|
|
841
|
+
experimentReportConfiguration: _json,
|
|
837
842
|
id: __expectString,
|
|
838
843
|
lastUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
839
844
|
logConfiguration: _json,
|
|
@@ -121,6 +121,23 @@ declare const CreateExperimentTemplateCommand_base: {
|
|
|
121
121
|
* accountTargeting: "single-account" || "multi-account",
|
|
122
122
|
* emptyTargetResolutionMode: "fail" || "skip",
|
|
123
123
|
* },
|
|
124
|
+
* experimentReportConfiguration: { // CreateExperimentTemplateReportConfigurationInput
|
|
125
|
+
* outputs: { // ExperimentTemplateReportConfigurationOutputsInput
|
|
126
|
+
* s3Configuration: { // ReportConfigurationS3OutputInput
|
|
127
|
+
* bucketName: "STRING_VALUE",
|
|
128
|
+
* prefix: "STRING_VALUE",
|
|
129
|
+
* },
|
|
130
|
+
* },
|
|
131
|
+
* dataSources: { // ExperimentTemplateReportConfigurationDataSourcesInput
|
|
132
|
+
* cloudWatchDashboards: [ // ReportConfigurationCloudWatchDashboardInputList
|
|
133
|
+
* { // ReportConfigurationCloudWatchDashboardInput
|
|
134
|
+
* dashboardIdentifier: "STRING_VALUE",
|
|
135
|
+
* },
|
|
136
|
+
* ],
|
|
137
|
+
* },
|
|
138
|
+
* preExperimentDuration: "STRING_VALUE",
|
|
139
|
+
* postExperimentDuration: "STRING_VALUE",
|
|
140
|
+
* },
|
|
124
141
|
* };
|
|
125
142
|
* const command = new CreateExperimentTemplateCommand(input);
|
|
126
143
|
* const response = await client.send(command);
|
|
@@ -194,6 +211,23 @@ declare const CreateExperimentTemplateCommand_base: {
|
|
|
194
211
|
* // emptyTargetResolutionMode: "fail" || "skip",
|
|
195
212
|
* // },
|
|
196
213
|
* // targetAccountConfigurationsCount: Number("long"),
|
|
214
|
+
* // experimentReportConfiguration: { // ExperimentTemplateReportConfiguration
|
|
215
|
+
* // outputs: { // ExperimentTemplateReportConfigurationOutputs
|
|
216
|
+
* // s3Configuration: { // ReportConfigurationS3Output
|
|
217
|
+
* // bucketName: "STRING_VALUE",
|
|
218
|
+
* // prefix: "STRING_VALUE",
|
|
219
|
+
* // },
|
|
220
|
+
* // },
|
|
221
|
+
* // dataSources: { // ExperimentTemplateReportConfigurationDataSources
|
|
222
|
+
* // cloudWatchDashboards: [ // ExperimentTemplateReportConfigurationCloudWatchDashboardList
|
|
223
|
+
* // { // ExperimentTemplateReportConfigurationCloudWatchDashboard
|
|
224
|
+
* // dashboardIdentifier: "STRING_VALUE",
|
|
225
|
+
* // },
|
|
226
|
+
* // ],
|
|
227
|
+
* // },
|
|
228
|
+
* // preExperimentDuration: "STRING_VALUE",
|
|
229
|
+
* // postExperimentDuration: "STRING_VALUE",
|
|
230
|
+
* // },
|
|
197
231
|
* // },
|
|
198
232
|
* // };
|
|
199
233
|
*
|
|
@@ -109,6 +109,23 @@ declare const DeleteExperimentTemplateCommand_base: {
|
|
|
109
109
|
* // emptyTargetResolutionMode: "fail" || "skip",
|
|
110
110
|
* // },
|
|
111
111
|
* // targetAccountConfigurationsCount: Number("long"),
|
|
112
|
+
* // experimentReportConfiguration: { // ExperimentTemplateReportConfiguration
|
|
113
|
+
* // outputs: { // ExperimentTemplateReportConfigurationOutputs
|
|
114
|
+
* // s3Configuration: { // ReportConfigurationS3Output
|
|
115
|
+
* // bucketName: "STRING_VALUE",
|
|
116
|
+
* // prefix: "STRING_VALUE",
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // dataSources: { // ExperimentTemplateReportConfigurationDataSources
|
|
120
|
+
* // cloudWatchDashboards: [ // ExperimentTemplateReportConfigurationCloudWatchDashboardList
|
|
121
|
+
* // { // ExperimentTemplateReportConfigurationCloudWatchDashboard
|
|
122
|
+
* // dashboardIdentifier: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // },
|
|
126
|
+
* // preExperimentDuration: "STRING_VALUE",
|
|
127
|
+
* // postExperimentDuration: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
112
129
|
* // },
|
|
113
130
|
* // };
|
|
114
131
|
*
|
|
@@ -126,6 +126,38 @@ declare const GetExperimentCommand_base: {
|
|
|
126
126
|
* // actionsMode: "skip-all" || "run-all",
|
|
127
127
|
* // },
|
|
128
128
|
* // targetAccountConfigurationsCount: Number("long"),
|
|
129
|
+
* // experimentReportConfiguration: { // ExperimentReportConfiguration
|
|
130
|
+
* // outputs: { // ExperimentReportConfigurationOutputs
|
|
131
|
+
* // s3Configuration: { // ExperimentReportConfigurationOutputsS3Configuration
|
|
132
|
+
* // bucketName: "STRING_VALUE",
|
|
133
|
+
* // prefix: "STRING_VALUE",
|
|
134
|
+
* // },
|
|
135
|
+
* // },
|
|
136
|
+
* // dataSources: { // ExperimentReportConfigurationDataSources
|
|
137
|
+
* // cloudWatchDashboards: [ // ExperimentReportConfigurationCloudWatchDashboardList
|
|
138
|
+
* // { // ExperimentReportConfigurationCloudWatchDashboard
|
|
139
|
+
* // dashboardIdentifier: "STRING_VALUE",
|
|
140
|
+
* // },
|
|
141
|
+
* // ],
|
|
142
|
+
* // },
|
|
143
|
+
* // preExperimentDuration: "STRING_VALUE",
|
|
144
|
+
* // postExperimentDuration: "STRING_VALUE",
|
|
145
|
+
* // },
|
|
146
|
+
* // experimentReport: { // ExperimentReport
|
|
147
|
+
* // state: { // ExperimentReportState
|
|
148
|
+
* // status: "pending" || "running" || "completed" || "cancelled" || "failed",
|
|
149
|
+
* // reason: "STRING_VALUE",
|
|
150
|
+
* // error: { // ExperimentReportError
|
|
151
|
+
* // code: "STRING_VALUE",
|
|
152
|
+
* // },
|
|
153
|
+
* // },
|
|
154
|
+
* // s3Reports: [ // ExperimentReportS3ReportList
|
|
155
|
+
* // { // ExperimentReportS3Report
|
|
156
|
+
* // arn: "STRING_VALUE",
|
|
157
|
+
* // reportType: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
160
|
+
* // },
|
|
129
161
|
* // },
|
|
130
162
|
* // };
|
|
131
163
|
*
|
|
@@ -109,6 +109,23 @@ declare const GetExperimentTemplateCommand_base: {
|
|
|
109
109
|
* // emptyTargetResolutionMode: "fail" || "skip",
|
|
110
110
|
* // },
|
|
111
111
|
* // targetAccountConfigurationsCount: Number("long"),
|
|
112
|
+
* // experimentReportConfiguration: { // ExperimentTemplateReportConfiguration
|
|
113
|
+
* // outputs: { // ExperimentTemplateReportConfigurationOutputs
|
|
114
|
+
* // s3Configuration: { // ReportConfigurationS3Output
|
|
115
|
+
* // bucketName: "STRING_VALUE",
|
|
116
|
+
* // prefix: "STRING_VALUE",
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // dataSources: { // ExperimentTemplateReportConfigurationDataSources
|
|
120
|
+
* // cloudWatchDashboards: [ // ExperimentTemplateReportConfigurationCloudWatchDashboardList
|
|
121
|
+
* // { // ExperimentTemplateReportConfigurationCloudWatchDashboard
|
|
122
|
+
* // dashboardIdentifier: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // },
|
|
126
|
+
* // preExperimentDuration: "STRING_VALUE",
|
|
127
|
+
* // postExperimentDuration: "STRING_VALUE",
|
|
128
|
+
* // },
|
|
112
129
|
* // },
|
|
113
130
|
* // };
|
|
114
131
|
*
|
|
@@ -133,6 +133,38 @@ declare const StartExperimentCommand_base: {
|
|
|
133
133
|
* // actionsMode: "skip-all" || "run-all",
|
|
134
134
|
* // },
|
|
135
135
|
* // targetAccountConfigurationsCount: Number("long"),
|
|
136
|
+
* // experimentReportConfiguration: { // ExperimentReportConfiguration
|
|
137
|
+
* // outputs: { // ExperimentReportConfigurationOutputs
|
|
138
|
+
* // s3Configuration: { // ExperimentReportConfigurationOutputsS3Configuration
|
|
139
|
+
* // bucketName: "STRING_VALUE",
|
|
140
|
+
* // prefix: "STRING_VALUE",
|
|
141
|
+
* // },
|
|
142
|
+
* // },
|
|
143
|
+
* // dataSources: { // ExperimentReportConfigurationDataSources
|
|
144
|
+
* // cloudWatchDashboards: [ // ExperimentReportConfigurationCloudWatchDashboardList
|
|
145
|
+
* // { // ExperimentReportConfigurationCloudWatchDashboard
|
|
146
|
+
* // dashboardIdentifier: "STRING_VALUE",
|
|
147
|
+
* // },
|
|
148
|
+
* // ],
|
|
149
|
+
* // },
|
|
150
|
+
* // preExperimentDuration: "STRING_VALUE",
|
|
151
|
+
* // postExperimentDuration: "STRING_VALUE",
|
|
152
|
+
* // },
|
|
153
|
+
* // experimentReport: { // ExperimentReport
|
|
154
|
+
* // state: { // ExperimentReportState
|
|
155
|
+
* // status: "pending" || "running" || "completed" || "cancelled" || "failed",
|
|
156
|
+
* // reason: "STRING_VALUE",
|
|
157
|
+
* // error: { // ExperimentReportError
|
|
158
|
+
* // code: "STRING_VALUE",
|
|
159
|
+
* // },
|
|
160
|
+
* // },
|
|
161
|
+
* // s3Reports: [ // ExperimentReportS3ReportList
|
|
162
|
+
* // { // ExperimentReportS3Report
|
|
163
|
+
* // arn: "STRING_VALUE",
|
|
164
|
+
* // reportType: "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // ],
|
|
167
|
+
* // },
|
|
136
168
|
* // },
|
|
137
169
|
* // };
|
|
138
170
|
*
|
|
@@ -126,6 +126,38 @@ declare const StopExperimentCommand_base: {
|
|
|
126
126
|
* // actionsMode: "skip-all" || "run-all",
|
|
127
127
|
* // },
|
|
128
128
|
* // targetAccountConfigurationsCount: Number("long"),
|
|
129
|
+
* // experimentReportConfiguration: { // ExperimentReportConfiguration
|
|
130
|
+
* // outputs: { // ExperimentReportConfigurationOutputs
|
|
131
|
+
* // s3Configuration: { // ExperimentReportConfigurationOutputsS3Configuration
|
|
132
|
+
* // bucketName: "STRING_VALUE",
|
|
133
|
+
* // prefix: "STRING_VALUE",
|
|
134
|
+
* // },
|
|
135
|
+
* // },
|
|
136
|
+
* // dataSources: { // ExperimentReportConfigurationDataSources
|
|
137
|
+
* // cloudWatchDashboards: [ // ExperimentReportConfigurationCloudWatchDashboardList
|
|
138
|
+
* // { // ExperimentReportConfigurationCloudWatchDashboard
|
|
139
|
+
* // dashboardIdentifier: "STRING_VALUE",
|
|
140
|
+
* // },
|
|
141
|
+
* // ],
|
|
142
|
+
* // },
|
|
143
|
+
* // preExperimentDuration: "STRING_VALUE",
|
|
144
|
+
* // postExperimentDuration: "STRING_VALUE",
|
|
145
|
+
* // },
|
|
146
|
+
* // experimentReport: { // ExperimentReport
|
|
147
|
+
* // state: { // ExperimentReportState
|
|
148
|
+
* // status: "pending" || "running" || "completed" || "cancelled" || "failed",
|
|
149
|
+
* // reason: "STRING_VALUE",
|
|
150
|
+
* // error: { // ExperimentReportError
|
|
151
|
+
* // code: "STRING_VALUE",
|
|
152
|
+
* // },
|
|
153
|
+
* // },
|
|
154
|
+
* // s3Reports: [ // ExperimentReportS3ReportList
|
|
155
|
+
* // { // ExperimentReportS3Report
|
|
156
|
+
* // arn: "STRING_VALUE",
|
|
157
|
+
* // reportType: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
160
|
+
* // },
|
|
129
161
|
* // },
|
|
130
162
|
* // };
|
|
131
163
|
*
|
|
@@ -95,6 +95,23 @@ declare const UpdateExperimentTemplateCommand_base: {
|
|
|
95
95
|
* experimentOptions: { // UpdateExperimentTemplateExperimentOptionsInput
|
|
96
96
|
* emptyTargetResolutionMode: "fail" || "skip",
|
|
97
97
|
* },
|
|
98
|
+
* experimentReportConfiguration: { // UpdateExperimentTemplateReportConfigurationInput
|
|
99
|
+
* outputs: { // ExperimentTemplateReportConfigurationOutputsInput
|
|
100
|
+
* s3Configuration: { // ReportConfigurationS3OutputInput
|
|
101
|
+
* bucketName: "STRING_VALUE",
|
|
102
|
+
* prefix: "STRING_VALUE",
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
105
|
+
* dataSources: { // ExperimentTemplateReportConfigurationDataSourcesInput
|
|
106
|
+
* cloudWatchDashboards: [ // ReportConfigurationCloudWatchDashboardInputList
|
|
107
|
+
* { // ReportConfigurationCloudWatchDashboardInput
|
|
108
|
+
* dashboardIdentifier: "STRING_VALUE",
|
|
109
|
+
* },
|
|
110
|
+
* ],
|
|
111
|
+
* },
|
|
112
|
+
* preExperimentDuration: "STRING_VALUE",
|
|
113
|
+
* postExperimentDuration: "STRING_VALUE",
|
|
114
|
+
* },
|
|
98
115
|
* };
|
|
99
116
|
* const command = new UpdateExperimentTemplateCommand(input);
|
|
100
117
|
* const response = await client.send(command);
|
|
@@ -168,6 +185,23 @@ declare const UpdateExperimentTemplateCommand_base: {
|
|
|
168
185
|
* // emptyTargetResolutionMode: "fail" || "skip",
|
|
169
186
|
* // },
|
|
170
187
|
* // targetAccountConfigurationsCount: Number("long"),
|
|
188
|
+
* // experimentReportConfiguration: { // ExperimentTemplateReportConfiguration
|
|
189
|
+
* // outputs: { // ExperimentTemplateReportConfigurationOutputs
|
|
190
|
+
* // s3Configuration: { // ReportConfigurationS3Output
|
|
191
|
+
* // bucketName: "STRING_VALUE",
|
|
192
|
+
* // prefix: "STRING_VALUE",
|
|
193
|
+
* // },
|
|
194
|
+
* // },
|
|
195
|
+
* // dataSources: { // ExperimentTemplateReportConfigurationDataSources
|
|
196
|
+
* // cloudWatchDashboards: [ // ExperimentTemplateReportConfigurationCloudWatchDashboardList
|
|
197
|
+
* // { // ExperimentTemplateReportConfigurationCloudWatchDashboard
|
|
198
|
+
* // dashboardIdentifier: "STRING_VALUE",
|
|
199
|
+
* // },
|
|
200
|
+
* // ],
|
|
201
|
+
* // },
|
|
202
|
+
* // preExperimentDuration: "STRING_VALUE",
|
|
203
|
+
* // postExperimentDuration: "STRING_VALUE",
|
|
204
|
+
* // },
|
|
171
205
|
* // },
|
|
172
206
|
* // };
|
|
173
207
|
*
|
|
@@ -192,6 +192,81 @@ export interface CreateExperimentTemplateExperimentOptionsInput {
|
|
|
192
192
|
*/
|
|
193
193
|
emptyTargetResolutionMode?: EmptyTargetResolutionMode;
|
|
194
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* <p>Specifies the CloudWatch dashboard for the experiment report.</p>
|
|
197
|
+
* @public
|
|
198
|
+
*/
|
|
199
|
+
export interface ReportConfigurationCloudWatchDashboardInput {
|
|
200
|
+
/**
|
|
201
|
+
* <p>The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.</p>
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
dashboardIdentifier?: string;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* <p>Specifies the data sources for the experiment report.</p>
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
export interface ExperimentTemplateReportConfigurationDataSourcesInput {
|
|
211
|
+
/**
|
|
212
|
+
* <p>The CloudWatch dashboards to include as data sources in the experiment report.</p>
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
cloudWatchDashboards?: ReportConfigurationCloudWatchDashboardInput[];
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* <p>Specifies the S3 destination for the experiment report.</p>
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export interface ReportConfigurationS3OutputInput {
|
|
222
|
+
/**
|
|
223
|
+
* <p>The name of the S3 bucket where the experiment report will be stored.</p>
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
bucketName?: string;
|
|
227
|
+
/**
|
|
228
|
+
* <p>The prefix of the S3 bucket where the experiment report will be stored.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
prefix?: string;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* <p>Specifies the outputs for the experiment templates.</p>
|
|
235
|
+
* @public
|
|
236
|
+
*/
|
|
237
|
+
export interface ExperimentTemplateReportConfigurationOutputsInput {
|
|
238
|
+
/**
|
|
239
|
+
* <p>The S3 destination for the experiment report.</p>
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
s3Configuration?: ReportConfigurationS3OutputInput;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* <p>Specifies the configuration for experiment reports.</p>
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
export interface CreateExperimentTemplateReportConfigurationInput {
|
|
249
|
+
/**
|
|
250
|
+
* <p>The output destinations of the experiment report. </p>
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
outputs?: ExperimentTemplateReportConfigurationOutputsInput;
|
|
254
|
+
/**
|
|
255
|
+
* <p>The data sources for the experiment report.</p>
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
dataSources?: ExperimentTemplateReportConfigurationDataSourcesInput;
|
|
259
|
+
/**
|
|
260
|
+
* <p>The duration before the experiment start time for the data sources to include in the report. </p>
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
263
|
+
preExperimentDuration?: string;
|
|
264
|
+
/**
|
|
265
|
+
* <p>The duration after the experiment end time for the data sources to include in the report. </p>
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
postExperimentDuration?: string;
|
|
269
|
+
}
|
|
195
270
|
/**
|
|
196
271
|
* <p>Specifies the configuration for experiment logging to Amazon CloudWatch Logs.</p>
|
|
197
272
|
* @public
|
|
@@ -378,6 +453,11 @@ export interface CreateExperimentTemplateRequest {
|
|
|
378
453
|
* @public
|
|
379
454
|
*/
|
|
380
455
|
experimentOptions?: CreateExperimentTemplateExperimentOptionsInput;
|
|
456
|
+
/**
|
|
457
|
+
* <p>The experiment report configuration for the experiment template.</p>
|
|
458
|
+
* @public
|
|
459
|
+
*/
|
|
460
|
+
experimentReportConfiguration?: CreateExperimentTemplateReportConfigurationInput;
|
|
381
461
|
}
|
|
382
462
|
/**
|
|
383
463
|
* <p>Describes an action for an experiment template.</p>
|
|
@@ -426,6 +506,81 @@ export interface ExperimentTemplateExperimentOptions {
|
|
|
426
506
|
*/
|
|
427
507
|
emptyTargetResolutionMode?: EmptyTargetResolutionMode;
|
|
428
508
|
}
|
|
509
|
+
/**
|
|
510
|
+
* <p>The CloudWatch dashboards to include as data sources in the experiment report.</p>
|
|
511
|
+
* @public
|
|
512
|
+
*/
|
|
513
|
+
export interface ExperimentTemplateReportConfigurationCloudWatchDashboard {
|
|
514
|
+
/**
|
|
515
|
+
* <p>The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.</p>
|
|
516
|
+
* @public
|
|
517
|
+
*/
|
|
518
|
+
dashboardIdentifier?: string;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* <p>Describes the data sources for the experiment report.</p>
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
export interface ExperimentTemplateReportConfigurationDataSources {
|
|
525
|
+
/**
|
|
526
|
+
* <p>The CloudWatch dashboards to include as data sources in the experiment report.</p>
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
cloudWatchDashboards?: ExperimentTemplateReportConfigurationCloudWatchDashboard[];
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* <p>Describes the S3 destination for the experiment report.</p>
|
|
533
|
+
* @public
|
|
534
|
+
*/
|
|
535
|
+
export interface ReportConfigurationS3Output {
|
|
536
|
+
/**
|
|
537
|
+
* <p>The name of the S3 bucket where the experiment report will be stored.</p>
|
|
538
|
+
* @public
|
|
539
|
+
*/
|
|
540
|
+
bucketName?: string;
|
|
541
|
+
/**
|
|
542
|
+
* <p>The prefix of the S3 bucket where the experiment report will be stored.</p>
|
|
543
|
+
* @public
|
|
544
|
+
*/
|
|
545
|
+
prefix?: string;
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* <p>The output destinations of the experiment report.</p>
|
|
549
|
+
* @public
|
|
550
|
+
*/
|
|
551
|
+
export interface ExperimentTemplateReportConfigurationOutputs {
|
|
552
|
+
/**
|
|
553
|
+
* <p>The S3 destination for the experiment report.</p>
|
|
554
|
+
* @public
|
|
555
|
+
*/
|
|
556
|
+
s3Configuration?: ReportConfigurationS3Output;
|
|
557
|
+
}
|
|
558
|
+
/**
|
|
559
|
+
* <p>Describes the experiment report configuration. For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/experiment-report-configuration">Experiment report configurations for AWS FIS</a>.</p>
|
|
560
|
+
* @public
|
|
561
|
+
*/
|
|
562
|
+
export interface ExperimentTemplateReportConfiguration {
|
|
563
|
+
/**
|
|
564
|
+
* <p>Describes the output destinations of the experiment report.</p>
|
|
565
|
+
* @public
|
|
566
|
+
*/
|
|
567
|
+
outputs?: ExperimentTemplateReportConfigurationOutputs;
|
|
568
|
+
/**
|
|
569
|
+
* <p>The data sources for the experiment report.</p>
|
|
570
|
+
* @public
|
|
571
|
+
*/
|
|
572
|
+
dataSources?: ExperimentTemplateReportConfigurationDataSources;
|
|
573
|
+
/**
|
|
574
|
+
* <p>The duration before the experiment start time for the data sources to include in the report.</p>
|
|
575
|
+
* @public
|
|
576
|
+
*/
|
|
577
|
+
preExperimentDuration?: string;
|
|
578
|
+
/**
|
|
579
|
+
* <p>The duration after the experiment end time for the data sources to include in the report.</p>
|
|
580
|
+
* @public
|
|
581
|
+
*/
|
|
582
|
+
postExperimentDuration?: string;
|
|
583
|
+
}
|
|
429
584
|
/**
|
|
430
585
|
* <p>Describes the configuration for experiment logging to Amazon CloudWatch Logs.</p>
|
|
431
586
|
* @public
|
|
@@ -612,6 +767,11 @@ export interface ExperimentTemplate {
|
|
|
612
767
|
* @public
|
|
613
768
|
*/
|
|
614
769
|
targetAccountConfigurationsCount?: number;
|
|
770
|
+
/**
|
|
771
|
+
* <p>Describes the report configuration for the experiment template.</p>
|
|
772
|
+
* @public
|
|
773
|
+
*/
|
|
774
|
+
experimentReportConfiguration?: ExperimentTemplateReportConfiguration;
|
|
615
775
|
}
|
|
616
776
|
/**
|
|
617
777
|
* @public
|
|
@@ -867,6 +1027,160 @@ export interface ExperimentOptions {
|
|
|
867
1027
|
*/
|
|
868
1028
|
actionsMode?: ActionsMode;
|
|
869
1029
|
}
|
|
1030
|
+
/**
|
|
1031
|
+
* <p>Describes the S3 destination for the report.</p>
|
|
1032
|
+
* @public
|
|
1033
|
+
*/
|
|
1034
|
+
export interface ExperimentReportS3Report {
|
|
1035
|
+
/**
|
|
1036
|
+
* <p>The Amazon Resource Name (ARN) of the generated report.</p>
|
|
1037
|
+
* @public
|
|
1038
|
+
*/
|
|
1039
|
+
arn?: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* <p>The report type for the experiment report.</p>
|
|
1042
|
+
* @public
|
|
1043
|
+
*/
|
|
1044
|
+
reportType?: string;
|
|
1045
|
+
}
|
|
1046
|
+
/**
|
|
1047
|
+
* <p>Describes the error when experiment report generation has failed.</p>
|
|
1048
|
+
* @public
|
|
1049
|
+
*/
|
|
1050
|
+
export interface ExperimentReportError {
|
|
1051
|
+
/**
|
|
1052
|
+
* <p>The error code for the failed experiment report generation.</p>
|
|
1053
|
+
* @public
|
|
1054
|
+
*/
|
|
1055
|
+
code?: string;
|
|
1056
|
+
}
|
|
1057
|
+
/**
|
|
1058
|
+
* @public
|
|
1059
|
+
* @enum
|
|
1060
|
+
*/
|
|
1061
|
+
export declare const ExperimentReportStatus: {
|
|
1062
|
+
readonly cancelled: "cancelled";
|
|
1063
|
+
readonly completed: "completed";
|
|
1064
|
+
readonly failed: "failed";
|
|
1065
|
+
readonly pending: "pending";
|
|
1066
|
+
readonly running: "running";
|
|
1067
|
+
};
|
|
1068
|
+
/**
|
|
1069
|
+
* @public
|
|
1070
|
+
*/
|
|
1071
|
+
export type ExperimentReportStatus = (typeof ExperimentReportStatus)[keyof typeof ExperimentReportStatus];
|
|
1072
|
+
/**
|
|
1073
|
+
* <p>Describes the state of the experiment report generation.</p>
|
|
1074
|
+
* @public
|
|
1075
|
+
*/
|
|
1076
|
+
export interface ExperimentReportState {
|
|
1077
|
+
/**
|
|
1078
|
+
* <p>The state of the experiment report generation.</p>
|
|
1079
|
+
* @public
|
|
1080
|
+
*/
|
|
1081
|
+
status?: ExperimentReportStatus;
|
|
1082
|
+
/**
|
|
1083
|
+
* <p>The reason for the state of the experiment report generation.</p>
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
reason?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* <p>The error information of the experiment when the experiment report generation has failed.</p>
|
|
1089
|
+
* @public
|
|
1090
|
+
*/
|
|
1091
|
+
error?: ExperimentReportError;
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
* <p>Describes the experiment report.</p>
|
|
1095
|
+
* @public
|
|
1096
|
+
*/
|
|
1097
|
+
export interface ExperimentReport {
|
|
1098
|
+
/**
|
|
1099
|
+
* <p>The state of the experiment report.</p>
|
|
1100
|
+
* @public
|
|
1101
|
+
*/
|
|
1102
|
+
state?: ExperimentReportState;
|
|
1103
|
+
/**
|
|
1104
|
+
* <p>The S3 destination of the experiment report.</p>
|
|
1105
|
+
* @public
|
|
1106
|
+
*/
|
|
1107
|
+
s3Reports?: ExperimentReportS3Report[];
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
* <p>Specifies the CloudWatch dashboard to include in the experiment report. The dashboard widgets will be captured as snapshot graphs within the report.</p>
|
|
1111
|
+
* @public
|
|
1112
|
+
*/
|
|
1113
|
+
export interface ExperimentReportConfigurationCloudWatchDashboard {
|
|
1114
|
+
/**
|
|
1115
|
+
* <p>The Amazon Resource Name (ARN) of the CloudWatch dashboard to include in the experiment report.</p>
|
|
1116
|
+
* @public
|
|
1117
|
+
*/
|
|
1118
|
+
dashboardIdentifier?: string;
|
|
1119
|
+
}
|
|
1120
|
+
/**
|
|
1121
|
+
* <p>Describes the data sources for the experiment report.</p>
|
|
1122
|
+
* @public
|
|
1123
|
+
*/
|
|
1124
|
+
export interface ExperimentReportConfigurationDataSources {
|
|
1125
|
+
/**
|
|
1126
|
+
* <p>The CloudWatch dashboards to include as data sources in the experiment report.</p>
|
|
1127
|
+
* @public
|
|
1128
|
+
*/
|
|
1129
|
+
cloudWatchDashboards?: ExperimentReportConfigurationCloudWatchDashboard[];
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* <p>Specifies the S3 destination for the experiment report.</p>
|
|
1133
|
+
* @public
|
|
1134
|
+
*/
|
|
1135
|
+
export interface ExperimentReportConfigurationOutputsS3Configuration {
|
|
1136
|
+
/**
|
|
1137
|
+
* <p>The name of the S3 bucket where the experiment report will be stored.</p>
|
|
1138
|
+
* @public
|
|
1139
|
+
*/
|
|
1140
|
+
bucketName?: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* <p>The prefix of the S3 bucket where the experiment report will be stored.</p>
|
|
1143
|
+
* @public
|
|
1144
|
+
*/
|
|
1145
|
+
prefix?: string;
|
|
1146
|
+
}
|
|
1147
|
+
/**
|
|
1148
|
+
* <p>Describes the output destinations of the experiment report.</p>
|
|
1149
|
+
* @public
|
|
1150
|
+
*/
|
|
1151
|
+
export interface ExperimentReportConfigurationOutputs {
|
|
1152
|
+
/**
|
|
1153
|
+
* <p>The S3 destination for the experiment report.</p>
|
|
1154
|
+
* @public
|
|
1155
|
+
*/
|
|
1156
|
+
s3Configuration?: ExperimentReportConfigurationOutputsS3Configuration;
|
|
1157
|
+
}
|
|
1158
|
+
/**
|
|
1159
|
+
* <p>Describes the report configuration for the experiment. For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/experiment-report-configuration">Experiment report configurations for AWS FIS</a>.</p>
|
|
1160
|
+
* @public
|
|
1161
|
+
*/
|
|
1162
|
+
export interface ExperimentReportConfiguration {
|
|
1163
|
+
/**
|
|
1164
|
+
* <p>The output destinations of the experiment report.</p>
|
|
1165
|
+
* @public
|
|
1166
|
+
*/
|
|
1167
|
+
outputs?: ExperimentReportConfigurationOutputs;
|
|
1168
|
+
/**
|
|
1169
|
+
* <p>The data sources for the experiment report.</p>
|
|
1170
|
+
* @public
|
|
1171
|
+
*/
|
|
1172
|
+
dataSources?: ExperimentReportConfigurationDataSources;
|
|
1173
|
+
/**
|
|
1174
|
+
* <p>The duration before the experiment start time for the data sources to include in the report.</p>
|
|
1175
|
+
* @public
|
|
1176
|
+
*/
|
|
1177
|
+
preExperimentDuration?: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* <p>The duration after the experiment end time for the data sources to include in the report.</p>
|
|
1180
|
+
* @public
|
|
1181
|
+
*/
|
|
1182
|
+
postExperimentDuration?: string;
|
|
1183
|
+
}
|
|
870
1184
|
/**
|
|
871
1185
|
* <p>Describes the configuration for experiment logging to Amazon CloudWatch Logs.</p>
|
|
872
1186
|
* @public
|
|
@@ -1123,6 +1437,16 @@ export interface Experiment {
|
|
|
1123
1437
|
* @public
|
|
1124
1438
|
*/
|
|
1125
1439
|
targetAccountConfigurationsCount?: number;
|
|
1440
|
+
/**
|
|
1441
|
+
* <p>The experiment report configuration for the experiment.</p>
|
|
1442
|
+
* @public
|
|
1443
|
+
*/
|
|
1444
|
+
experimentReportConfiguration?: ExperimentReportConfiguration;
|
|
1445
|
+
/**
|
|
1446
|
+
* <p>The experiment report for the experiment.</p>
|
|
1447
|
+
* @public
|
|
1448
|
+
*/
|
|
1449
|
+
experimentReport?: ExperimentReport;
|
|
1126
1450
|
}
|
|
1127
1451
|
/**
|
|
1128
1452
|
* <p>Provides a summary of an experiment.</p>
|
|
@@ -1960,6 +2284,33 @@ export interface UpdateExperimentTemplateExperimentOptionsInput {
|
|
|
1960
2284
|
*/
|
|
1961
2285
|
emptyTargetResolutionMode?: EmptyTargetResolutionMode;
|
|
1962
2286
|
}
|
|
2287
|
+
/**
|
|
2288
|
+
* <p>
|
|
2289
|
+
* Specifies the input for the experiment report configuration.</p>
|
|
2290
|
+
* @public
|
|
2291
|
+
*/
|
|
2292
|
+
export interface UpdateExperimentTemplateReportConfigurationInput {
|
|
2293
|
+
/**
|
|
2294
|
+
* <p>Describes the output destinations of the experiment report. </p>
|
|
2295
|
+
* @public
|
|
2296
|
+
*/
|
|
2297
|
+
outputs?: ExperimentTemplateReportConfigurationOutputsInput;
|
|
2298
|
+
/**
|
|
2299
|
+
* <p>The data sources for the experiment report.</p>
|
|
2300
|
+
* @public
|
|
2301
|
+
*/
|
|
2302
|
+
dataSources?: ExperimentTemplateReportConfigurationDataSourcesInput;
|
|
2303
|
+
/**
|
|
2304
|
+
* <p>The duration before the experiment start time for the data sources to include in the report. </p>
|
|
2305
|
+
* @public
|
|
2306
|
+
*/
|
|
2307
|
+
preExperimentDuration?: string;
|
|
2308
|
+
/**
|
|
2309
|
+
* <p>The duration after the experiment end time for the data sources to include in the report. </p>
|
|
2310
|
+
* @public
|
|
2311
|
+
*/
|
|
2312
|
+
postExperimentDuration?: string;
|
|
2313
|
+
}
|
|
1963
2314
|
/**
|
|
1964
2315
|
* <p>Specifies the configuration for experiment logging.</p>
|
|
1965
2316
|
* @public
|
|
@@ -2079,6 +2430,11 @@ export interface UpdateExperimentTemplateRequest {
|
|
|
2079
2430
|
* @public
|
|
2080
2431
|
*/
|
|
2081
2432
|
experimentOptions?: UpdateExperimentTemplateExperimentOptionsInput;
|
|
2433
|
+
/**
|
|
2434
|
+
* <p>The experiment report configuration for the experiment template.</p>
|
|
2435
|
+
* @public
|
|
2436
|
+
*/
|
|
2437
|
+
experimentReportConfiguration?: UpdateExperimentTemplateReportConfigurationInput;
|
|
2082
2438
|
}
|
|
2083
2439
|
/**
|
|
2084
2440
|
* @public
|
|
@@ -55,6 +55,25 @@ export interface CreateExperimentTemplateExperimentOptionsInput {
|
|
|
55
55
|
accountTargeting?: AccountTargeting;
|
|
56
56
|
emptyTargetResolutionMode?: EmptyTargetResolutionMode;
|
|
57
57
|
}
|
|
58
|
+
export interface ReportConfigurationCloudWatchDashboardInput {
|
|
59
|
+
dashboardIdentifier?: string;
|
|
60
|
+
}
|
|
61
|
+
export interface ExperimentTemplateReportConfigurationDataSourcesInput {
|
|
62
|
+
cloudWatchDashboards?: ReportConfigurationCloudWatchDashboardInput[];
|
|
63
|
+
}
|
|
64
|
+
export interface ReportConfigurationS3OutputInput {
|
|
65
|
+
bucketName?: string;
|
|
66
|
+
prefix?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface ExperimentTemplateReportConfigurationOutputsInput {
|
|
69
|
+
s3Configuration?: ReportConfigurationS3OutputInput;
|
|
70
|
+
}
|
|
71
|
+
export interface CreateExperimentTemplateReportConfigurationInput {
|
|
72
|
+
outputs?: ExperimentTemplateReportConfigurationOutputsInput;
|
|
73
|
+
dataSources?: ExperimentTemplateReportConfigurationDataSourcesInput;
|
|
74
|
+
preExperimentDuration?: string;
|
|
75
|
+
postExperimentDuration?: string;
|
|
76
|
+
}
|
|
58
77
|
export interface ExperimentTemplateCloudWatchLogsLogConfigurationInput {
|
|
59
78
|
logGroupArn: string | undefined;
|
|
60
79
|
}
|
|
@@ -93,6 +112,7 @@ export interface CreateExperimentTemplateRequest {
|
|
|
93
112
|
tags?: Record<string, string>;
|
|
94
113
|
logConfiguration?: CreateExperimentTemplateLogConfigurationInput;
|
|
95
114
|
experimentOptions?: CreateExperimentTemplateExperimentOptionsInput;
|
|
115
|
+
experimentReportConfiguration?: CreateExperimentTemplateReportConfigurationInput;
|
|
96
116
|
}
|
|
97
117
|
export interface ExperimentTemplateAction {
|
|
98
118
|
actionId?: string;
|
|
@@ -105,6 +125,25 @@ export interface ExperimentTemplateExperimentOptions {
|
|
|
105
125
|
accountTargeting?: AccountTargeting;
|
|
106
126
|
emptyTargetResolutionMode?: EmptyTargetResolutionMode;
|
|
107
127
|
}
|
|
128
|
+
export interface ExperimentTemplateReportConfigurationCloudWatchDashboard {
|
|
129
|
+
dashboardIdentifier?: string;
|
|
130
|
+
}
|
|
131
|
+
export interface ExperimentTemplateReportConfigurationDataSources {
|
|
132
|
+
cloudWatchDashboards?: ExperimentTemplateReportConfigurationCloudWatchDashboard[];
|
|
133
|
+
}
|
|
134
|
+
export interface ReportConfigurationS3Output {
|
|
135
|
+
bucketName?: string;
|
|
136
|
+
prefix?: string;
|
|
137
|
+
}
|
|
138
|
+
export interface ExperimentTemplateReportConfigurationOutputs {
|
|
139
|
+
s3Configuration?: ReportConfigurationS3Output;
|
|
140
|
+
}
|
|
141
|
+
export interface ExperimentTemplateReportConfiguration {
|
|
142
|
+
outputs?: ExperimentTemplateReportConfigurationOutputs;
|
|
143
|
+
dataSources?: ExperimentTemplateReportConfigurationDataSources;
|
|
144
|
+
preExperimentDuration?: string;
|
|
145
|
+
postExperimentDuration?: string;
|
|
146
|
+
}
|
|
108
147
|
export interface ExperimentTemplateCloudWatchLogsLogConfiguration {
|
|
109
148
|
logGroupArn?: string;
|
|
110
149
|
}
|
|
@@ -147,6 +186,7 @@ export interface ExperimentTemplate {
|
|
|
147
186
|
logConfiguration?: ExperimentTemplateLogConfiguration;
|
|
148
187
|
experimentOptions?: ExperimentTemplateExperimentOptions;
|
|
149
188
|
targetAccountConfigurationsCount?: number;
|
|
189
|
+
experimentReportConfiguration?: ExperimentTemplateReportConfiguration;
|
|
150
190
|
}
|
|
151
191
|
export interface CreateExperimentTemplateResponse {
|
|
152
192
|
experimentTemplate?: ExperimentTemplate;
|
|
@@ -232,6 +272,50 @@ export interface ExperimentOptions {
|
|
|
232
272
|
emptyTargetResolutionMode?: EmptyTargetResolutionMode;
|
|
233
273
|
actionsMode?: ActionsMode;
|
|
234
274
|
}
|
|
275
|
+
export interface ExperimentReportS3Report {
|
|
276
|
+
arn?: string;
|
|
277
|
+
reportType?: string;
|
|
278
|
+
}
|
|
279
|
+
export interface ExperimentReportError {
|
|
280
|
+
code?: string;
|
|
281
|
+
}
|
|
282
|
+
export declare const ExperimentReportStatus: {
|
|
283
|
+
readonly cancelled: "cancelled";
|
|
284
|
+
readonly completed: "completed";
|
|
285
|
+
readonly failed: "failed";
|
|
286
|
+
readonly pending: "pending";
|
|
287
|
+
readonly running: "running";
|
|
288
|
+
};
|
|
289
|
+
export type ExperimentReportStatus =
|
|
290
|
+
(typeof ExperimentReportStatus)[keyof typeof ExperimentReportStatus];
|
|
291
|
+
export interface ExperimentReportState {
|
|
292
|
+
status?: ExperimentReportStatus;
|
|
293
|
+
reason?: string;
|
|
294
|
+
error?: ExperimentReportError;
|
|
295
|
+
}
|
|
296
|
+
export interface ExperimentReport {
|
|
297
|
+
state?: ExperimentReportState;
|
|
298
|
+
s3Reports?: ExperimentReportS3Report[];
|
|
299
|
+
}
|
|
300
|
+
export interface ExperimentReportConfigurationCloudWatchDashboard {
|
|
301
|
+
dashboardIdentifier?: string;
|
|
302
|
+
}
|
|
303
|
+
export interface ExperimentReportConfigurationDataSources {
|
|
304
|
+
cloudWatchDashboards?: ExperimentReportConfigurationCloudWatchDashboard[];
|
|
305
|
+
}
|
|
306
|
+
export interface ExperimentReportConfigurationOutputsS3Configuration {
|
|
307
|
+
bucketName?: string;
|
|
308
|
+
prefix?: string;
|
|
309
|
+
}
|
|
310
|
+
export interface ExperimentReportConfigurationOutputs {
|
|
311
|
+
s3Configuration?: ExperimentReportConfigurationOutputsS3Configuration;
|
|
312
|
+
}
|
|
313
|
+
export interface ExperimentReportConfiguration {
|
|
314
|
+
outputs?: ExperimentReportConfigurationOutputs;
|
|
315
|
+
dataSources?: ExperimentReportConfigurationDataSources;
|
|
316
|
+
preExperimentDuration?: string;
|
|
317
|
+
postExperimentDuration?: string;
|
|
318
|
+
}
|
|
235
319
|
export interface ExperimentCloudWatchLogsLogConfiguration {
|
|
236
320
|
logGroupArn?: string;
|
|
237
321
|
}
|
|
@@ -298,6 +382,8 @@ export interface Experiment {
|
|
|
298
382
|
logConfiguration?: ExperimentLogConfiguration;
|
|
299
383
|
experimentOptions?: ExperimentOptions;
|
|
300
384
|
targetAccountConfigurationsCount?: number;
|
|
385
|
+
experimentReportConfiguration?: ExperimentReportConfiguration;
|
|
386
|
+
experimentReport?: ExperimentReport;
|
|
301
387
|
}
|
|
302
388
|
export interface ExperimentSummary {
|
|
303
389
|
id?: string;
|
|
@@ -513,6 +599,12 @@ export interface UpdateExperimentTemplateActionInputItem {
|
|
|
513
599
|
export interface UpdateExperimentTemplateExperimentOptionsInput {
|
|
514
600
|
emptyTargetResolutionMode?: EmptyTargetResolutionMode;
|
|
515
601
|
}
|
|
602
|
+
export interface UpdateExperimentTemplateReportConfigurationInput {
|
|
603
|
+
outputs?: ExperimentTemplateReportConfigurationOutputsInput;
|
|
604
|
+
dataSources?: ExperimentTemplateReportConfigurationDataSourcesInput;
|
|
605
|
+
preExperimentDuration?: string;
|
|
606
|
+
postExperimentDuration?: string;
|
|
607
|
+
}
|
|
516
608
|
export interface UpdateExperimentTemplateLogConfigurationInput {
|
|
517
609
|
cloudWatchLogsConfiguration?: ExperimentTemplateCloudWatchLogsLogConfigurationInput;
|
|
518
610
|
s3Configuration?: ExperimentTemplateS3LogConfigurationInput;
|
|
@@ -539,6 +631,7 @@ export interface UpdateExperimentTemplateRequest {
|
|
|
539
631
|
roleArn?: string;
|
|
540
632
|
logConfiguration?: UpdateExperimentTemplateLogConfigurationInput;
|
|
541
633
|
experimentOptions?: UpdateExperimentTemplateExperimentOptionsInput;
|
|
634
|
+
experimentReportConfiguration?: UpdateExperimentTemplateReportConfigurationInput;
|
|
542
635
|
}
|
|
543
636
|
export interface UpdateExperimentTemplateResponse {
|
|
544
637
|
experimentTemplate?: ExperimentTemplate;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-fis",
|
|
3
3
|
"description": "AWS SDK for JavaScript Fis Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.690.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-fis",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.687.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.687.0",
|
|
25
25
|
"@aws-sdk/core": "3.686.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.687.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.687.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.687.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|