@aws-sdk/client-fis 3.53.0 → 3.54.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/CHANGELOG.md +11 -0
- package/dist-cjs/models/models_0.js +62 -2
- package/dist-cjs/protocols/Aws_restJson1.js +97 -0
- package/dist-es/models/models_0.js +40 -0
- package/dist-es/protocols/Aws_restJson1.js +87 -5
- package/dist-types/FisClient.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +210 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/FisClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +120 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateExperimentTemplateResponse = exports.UpdateExperimentTemplateRequest = exports.UpdateExperimentTemplateTargetInput = exports.UpdateExperimentTemplateStopConditionInput = exports.UpdateExperimentTemplateActionInputItem = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopExperimentResponse = exports.StopExperimentRequest = exports.StartExperimentResponse = exports.StartExperimentRequest = exports.ListTargetResourceTypesResponse = exports.TargetResourceTypeSummary = exports.ListTargetResourceTypesRequest = void 0;
|
|
3
|
+
exports.TargetResourceType = exports.TargetResourceTypeParameter = exports.GetTargetResourceTypeRequest = exports.GetExperimentTemplateResponse = exports.GetExperimentTemplateRequest = exports.GetExperimentResponse = exports.GetExperimentRequest = exports.GetActionResponse = exports.GetActionRequest = exports.ExperimentTemplateSummary = exports.ExperimentSummary = exports.Experiment = exports.ExperimentTarget = exports.ExperimentTargetFilter = exports.ExperimentStopCondition = exports.ExperimentState = exports.ExperimentStatus = exports.ExperimentLogConfiguration = exports.ExperimentS3LogConfiguration = exports.ExperimentCloudWatchLogsLogConfiguration = exports.ExperimentAction = exports.ExperimentActionState = exports.ExperimentActionStatus = exports.DeleteExperimentTemplateResponse = exports.DeleteExperimentTemplateRequest = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.CreateExperimentTemplateResponse = exports.ExperimentTemplate = exports.ExperimentTemplateTarget = exports.ExperimentTemplateTargetFilter = exports.ExperimentTemplateStopCondition = exports.ExperimentTemplateLogConfiguration = exports.ExperimentTemplateS3LogConfiguration = exports.ExperimentTemplateCloudWatchLogsLogConfiguration = exports.ExperimentTemplateAction = exports.CreateExperimentTemplateRequest = exports.CreateExperimentTemplateTargetInput = exports.ExperimentTemplateTargetInputFilter = exports.CreateExperimentTemplateStopConditionInput = exports.CreateExperimentTemplateLogConfigurationInput = exports.ExperimentTemplateS3LogConfigurationInput = exports.ExperimentTemplateCloudWatchLogsLogConfigurationInput = exports.CreateExperimentTemplateActionInput = exports.ConflictException = exports.ActionSummary = exports.Action = exports.ActionTarget = exports.ActionParameter = void 0;
|
|
4
|
+
exports.UpdateExperimentTemplateResponse = exports.UpdateExperimentTemplateRequest = exports.UpdateExperimentTemplateTargetInput = exports.UpdateExperimentTemplateStopConditionInput = exports.UpdateExperimentTemplateLogConfigurationInput = exports.UpdateExperimentTemplateActionInputItem = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopExperimentResponse = exports.StopExperimentRequest = exports.StartExperimentResponse = exports.StartExperimentRequest = exports.ListTargetResourceTypesResponse = exports.TargetResourceTypeSummary = exports.ListTargetResourceTypesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListExperimentTemplatesResponse = exports.ListExperimentTemplatesRequest = exports.ListExperimentsResponse = exports.ListExperimentsRequest = exports.ListActionsResponse = exports.ListActionsRequest = exports.GetTargetResourceTypeResponse = void 0;
|
|
5
5
|
const FisServiceException_1 = require("./FisServiceException");
|
|
6
6
|
var ActionParameter;
|
|
7
7
|
(function (ActionParameter) {
|
|
@@ -46,6 +46,24 @@ var CreateExperimentTemplateActionInput;
|
|
|
46
46
|
...obj,
|
|
47
47
|
});
|
|
48
48
|
})(CreateExperimentTemplateActionInput = exports.CreateExperimentTemplateActionInput || (exports.CreateExperimentTemplateActionInput = {}));
|
|
49
|
+
var ExperimentTemplateCloudWatchLogsLogConfigurationInput;
|
|
50
|
+
(function (ExperimentTemplateCloudWatchLogsLogConfigurationInput) {
|
|
51
|
+
ExperimentTemplateCloudWatchLogsLogConfigurationInput.filterSensitiveLog = (obj) => ({
|
|
52
|
+
...obj,
|
|
53
|
+
});
|
|
54
|
+
})(ExperimentTemplateCloudWatchLogsLogConfigurationInput = exports.ExperimentTemplateCloudWatchLogsLogConfigurationInput || (exports.ExperimentTemplateCloudWatchLogsLogConfigurationInput = {}));
|
|
55
|
+
var ExperimentTemplateS3LogConfigurationInput;
|
|
56
|
+
(function (ExperimentTemplateS3LogConfigurationInput) {
|
|
57
|
+
ExperimentTemplateS3LogConfigurationInput.filterSensitiveLog = (obj) => ({
|
|
58
|
+
...obj,
|
|
59
|
+
});
|
|
60
|
+
})(ExperimentTemplateS3LogConfigurationInput = exports.ExperimentTemplateS3LogConfigurationInput || (exports.ExperimentTemplateS3LogConfigurationInput = {}));
|
|
61
|
+
var CreateExperimentTemplateLogConfigurationInput;
|
|
62
|
+
(function (CreateExperimentTemplateLogConfigurationInput) {
|
|
63
|
+
CreateExperimentTemplateLogConfigurationInput.filterSensitiveLog = (obj) => ({
|
|
64
|
+
...obj,
|
|
65
|
+
});
|
|
66
|
+
})(CreateExperimentTemplateLogConfigurationInput = exports.CreateExperimentTemplateLogConfigurationInput || (exports.CreateExperimentTemplateLogConfigurationInput = {}));
|
|
49
67
|
var CreateExperimentTemplateStopConditionInput;
|
|
50
68
|
(function (CreateExperimentTemplateStopConditionInput) {
|
|
51
69
|
CreateExperimentTemplateStopConditionInput.filterSensitiveLog = (obj) => ({
|
|
@@ -76,6 +94,24 @@ var ExperimentTemplateAction;
|
|
|
76
94
|
...obj,
|
|
77
95
|
});
|
|
78
96
|
})(ExperimentTemplateAction = exports.ExperimentTemplateAction || (exports.ExperimentTemplateAction = {}));
|
|
97
|
+
var ExperimentTemplateCloudWatchLogsLogConfiguration;
|
|
98
|
+
(function (ExperimentTemplateCloudWatchLogsLogConfiguration) {
|
|
99
|
+
ExperimentTemplateCloudWatchLogsLogConfiguration.filterSensitiveLog = (obj) => ({
|
|
100
|
+
...obj,
|
|
101
|
+
});
|
|
102
|
+
})(ExperimentTemplateCloudWatchLogsLogConfiguration = exports.ExperimentTemplateCloudWatchLogsLogConfiguration || (exports.ExperimentTemplateCloudWatchLogsLogConfiguration = {}));
|
|
103
|
+
var ExperimentTemplateS3LogConfiguration;
|
|
104
|
+
(function (ExperimentTemplateS3LogConfiguration) {
|
|
105
|
+
ExperimentTemplateS3LogConfiguration.filterSensitiveLog = (obj) => ({
|
|
106
|
+
...obj,
|
|
107
|
+
});
|
|
108
|
+
})(ExperimentTemplateS3LogConfiguration = exports.ExperimentTemplateS3LogConfiguration || (exports.ExperimentTemplateS3LogConfiguration = {}));
|
|
109
|
+
var ExperimentTemplateLogConfiguration;
|
|
110
|
+
(function (ExperimentTemplateLogConfiguration) {
|
|
111
|
+
ExperimentTemplateLogConfiguration.filterSensitiveLog = (obj) => ({
|
|
112
|
+
...obj,
|
|
113
|
+
});
|
|
114
|
+
})(ExperimentTemplateLogConfiguration = exports.ExperimentTemplateLogConfiguration || (exports.ExperimentTemplateLogConfiguration = {}));
|
|
79
115
|
var ExperimentTemplateStopCondition;
|
|
80
116
|
(function (ExperimentTemplateStopCondition) {
|
|
81
117
|
ExperimentTemplateStopCondition.filterSensitiveLog = (obj) => ({
|
|
@@ -180,6 +216,24 @@ var ExperimentAction;
|
|
|
180
216
|
...obj,
|
|
181
217
|
});
|
|
182
218
|
})(ExperimentAction = exports.ExperimentAction || (exports.ExperimentAction = {}));
|
|
219
|
+
var ExperimentCloudWatchLogsLogConfiguration;
|
|
220
|
+
(function (ExperimentCloudWatchLogsLogConfiguration) {
|
|
221
|
+
ExperimentCloudWatchLogsLogConfiguration.filterSensitiveLog = (obj) => ({
|
|
222
|
+
...obj,
|
|
223
|
+
});
|
|
224
|
+
})(ExperimentCloudWatchLogsLogConfiguration = exports.ExperimentCloudWatchLogsLogConfiguration || (exports.ExperimentCloudWatchLogsLogConfiguration = {}));
|
|
225
|
+
var ExperimentS3LogConfiguration;
|
|
226
|
+
(function (ExperimentS3LogConfiguration) {
|
|
227
|
+
ExperimentS3LogConfiguration.filterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
});
|
|
230
|
+
})(ExperimentS3LogConfiguration = exports.ExperimentS3LogConfiguration || (exports.ExperimentS3LogConfiguration = {}));
|
|
231
|
+
var ExperimentLogConfiguration;
|
|
232
|
+
(function (ExperimentLogConfiguration) {
|
|
233
|
+
ExperimentLogConfiguration.filterSensitiveLog = (obj) => ({
|
|
234
|
+
...obj,
|
|
235
|
+
});
|
|
236
|
+
})(ExperimentLogConfiguration = exports.ExperimentLogConfiguration || (exports.ExperimentLogConfiguration = {}));
|
|
183
237
|
var ExperimentStatus;
|
|
184
238
|
(function (ExperimentStatus) {
|
|
185
239
|
ExperimentStatus["completed"] = "completed";
|
|
@@ -412,6 +466,12 @@ var UpdateExperimentTemplateActionInputItem;
|
|
|
412
466
|
...obj,
|
|
413
467
|
});
|
|
414
468
|
})(UpdateExperimentTemplateActionInputItem = exports.UpdateExperimentTemplateActionInputItem || (exports.UpdateExperimentTemplateActionInputItem = {}));
|
|
469
|
+
var UpdateExperimentTemplateLogConfigurationInput;
|
|
470
|
+
(function (UpdateExperimentTemplateLogConfigurationInput) {
|
|
471
|
+
UpdateExperimentTemplateLogConfigurationInput.filterSensitiveLog = (obj) => ({
|
|
472
|
+
...obj,
|
|
473
|
+
});
|
|
474
|
+
})(UpdateExperimentTemplateLogConfigurationInput = exports.UpdateExperimentTemplateLogConfigurationInput || (exports.UpdateExperimentTemplateLogConfigurationInput = {}));
|
|
415
475
|
var UpdateExperimentTemplateStopConditionInput;
|
|
416
476
|
(function (UpdateExperimentTemplateStopConditionInput) {
|
|
417
477
|
UpdateExperimentTemplateStopConditionInput.filterSensitiveLog = (obj) => ({
|
|
@@ -21,6 +21,10 @@ const serializeAws_restJson1CreateExperimentTemplateCommand = async (input, cont
|
|
|
21
21
|
}),
|
|
22
22
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
23
23
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
24
|
+
...(input.logConfiguration !== undefined &&
|
|
25
|
+
input.logConfiguration !== null && {
|
|
26
|
+
logConfiguration: serializeAws_restJson1CreateExperimentTemplateLogConfigurationInput(input.logConfiguration, context),
|
|
27
|
+
}),
|
|
24
28
|
...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
|
|
25
29
|
...(input.stopConditions !== undefined &&
|
|
26
30
|
input.stopConditions !== null && {
|
|
@@ -418,6 +422,10 @@ const serializeAws_restJson1UpdateExperimentTemplateCommand = async (input, cont
|
|
|
418
422
|
actions: serializeAws_restJson1UpdateExperimentTemplateActionInputMap(input.actions, context),
|
|
419
423
|
}),
|
|
420
424
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
425
|
+
...(input.logConfiguration !== undefined &&
|
|
426
|
+
input.logConfiguration !== null && {
|
|
427
|
+
logConfiguration: serializeAws_restJson1UpdateExperimentTemplateLogConfigurationInput(input.logConfiguration, context),
|
|
428
|
+
}),
|
|
421
429
|
...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
|
|
422
430
|
...(input.stopConditions !== undefined &&
|
|
423
431
|
input.stopConditions !== null && {
|
|
@@ -1149,6 +1157,20 @@ const serializeAws_restJson1CreateExperimentTemplateActionInputMap = (input, con
|
|
|
1149
1157
|
};
|
|
1150
1158
|
}, {});
|
|
1151
1159
|
};
|
|
1160
|
+
const serializeAws_restJson1CreateExperimentTemplateLogConfigurationInput = (input, context) => {
|
|
1161
|
+
return {
|
|
1162
|
+
...(input.cloudWatchLogsConfiguration !== undefined &&
|
|
1163
|
+
input.cloudWatchLogsConfiguration !== null && {
|
|
1164
|
+
cloudWatchLogsConfiguration: serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput(input.cloudWatchLogsConfiguration, context),
|
|
1165
|
+
}),
|
|
1166
|
+
...(input.logSchemaVersion !== undefined &&
|
|
1167
|
+
input.logSchemaVersion !== null && { logSchemaVersion: input.logSchemaVersion }),
|
|
1168
|
+
...(input.s3Configuration !== undefined &&
|
|
1169
|
+
input.s3Configuration !== null && {
|
|
1170
|
+
s3Configuration: serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput(input.s3Configuration, context),
|
|
1171
|
+
}),
|
|
1172
|
+
};
|
|
1173
|
+
};
|
|
1152
1174
|
const serializeAws_restJson1CreateExperimentTemplateStopConditionInput = (input, context) => {
|
|
1153
1175
|
return {
|
|
1154
1176
|
...(input.source !== undefined && input.source !== null && { source: input.source }),
|
|
@@ -1228,6 +1250,17 @@ const serializeAws_restJson1ExperimentTemplateActionTargetMap = (input, context)
|
|
|
1228
1250
|
};
|
|
1229
1251
|
}, {});
|
|
1230
1252
|
};
|
|
1253
|
+
const serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput = (input, context) => {
|
|
1254
|
+
return {
|
|
1255
|
+
...(input.logGroupArn !== undefined && input.logGroupArn !== null && { logGroupArn: input.logGroupArn }),
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1258
|
+
const serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput = (input, context) => {
|
|
1259
|
+
return {
|
|
1260
|
+
...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
|
|
1261
|
+
...(input.prefix !== undefined && input.prefix !== null && { prefix: input.prefix }),
|
|
1262
|
+
};
|
|
1263
|
+
};
|
|
1231
1264
|
const serializeAws_restJson1ExperimentTemplateTargetFilterInputList = (input, context) => {
|
|
1232
1265
|
return input
|
|
1233
1266
|
.filter((e) => e != null)
|
|
@@ -1318,6 +1351,20 @@ const serializeAws_restJson1UpdateExperimentTemplateActionInputMap = (input, con
|
|
|
1318
1351
|
};
|
|
1319
1352
|
}, {});
|
|
1320
1353
|
};
|
|
1354
|
+
const serializeAws_restJson1UpdateExperimentTemplateLogConfigurationInput = (input, context) => {
|
|
1355
|
+
return {
|
|
1356
|
+
...(input.cloudWatchLogsConfiguration !== undefined &&
|
|
1357
|
+
input.cloudWatchLogsConfiguration !== null && {
|
|
1358
|
+
cloudWatchLogsConfiguration: serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput(input.cloudWatchLogsConfiguration, context),
|
|
1359
|
+
}),
|
|
1360
|
+
...(input.logSchemaVersion !== undefined &&
|
|
1361
|
+
input.logSchemaVersion !== null && { logSchemaVersion: input.logSchemaVersion }),
|
|
1362
|
+
...(input.s3Configuration !== undefined &&
|
|
1363
|
+
input.s3Configuration !== null && {
|
|
1364
|
+
s3Configuration: serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput(input.s3Configuration, context),
|
|
1365
|
+
}),
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1321
1368
|
const serializeAws_restJson1UpdateExperimentTemplateStopConditionInput = (input, context) => {
|
|
1322
1369
|
return {
|
|
1323
1370
|
...(input.source !== undefined && input.source !== null && { source: input.source }),
|
|
@@ -1449,6 +1496,9 @@ const deserializeAws_restJson1Experiment = (output, context) => {
|
|
|
1449
1496
|
: undefined,
|
|
1450
1497
|
experimentTemplateId: smithy_client_1.expectString(output.experimentTemplateId),
|
|
1451
1498
|
id: smithy_client_1.expectString(output.id),
|
|
1499
|
+
logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
|
|
1500
|
+
? deserializeAws_restJson1ExperimentLogConfiguration(output.logConfiguration, context)
|
|
1501
|
+
: undefined,
|
|
1452
1502
|
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
1453
1503
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
1454
1504
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
@@ -1541,6 +1591,28 @@ const deserializeAws_restJson1ExperimentActionTargetMap = (output, context) => {
|
|
|
1541
1591
|
};
|
|
1542
1592
|
}, {});
|
|
1543
1593
|
};
|
|
1594
|
+
const deserializeAws_restJson1ExperimentCloudWatchLogsLogConfiguration = (output, context) => {
|
|
1595
|
+
return {
|
|
1596
|
+
logGroupArn: smithy_client_1.expectString(output.logGroupArn),
|
|
1597
|
+
};
|
|
1598
|
+
};
|
|
1599
|
+
const deserializeAws_restJson1ExperimentLogConfiguration = (output, context) => {
|
|
1600
|
+
return {
|
|
1601
|
+
cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration !== undefined && output.cloudWatchLogsConfiguration !== null
|
|
1602
|
+
? deserializeAws_restJson1ExperimentCloudWatchLogsLogConfiguration(output.cloudWatchLogsConfiguration, context)
|
|
1603
|
+
: undefined,
|
|
1604
|
+
logSchemaVersion: smithy_client_1.expectInt32(output.logSchemaVersion),
|
|
1605
|
+
s3Configuration: output.s3Configuration !== undefined && output.s3Configuration !== null
|
|
1606
|
+
? deserializeAws_restJson1ExperimentS3LogConfiguration(output.s3Configuration, context)
|
|
1607
|
+
: undefined,
|
|
1608
|
+
};
|
|
1609
|
+
};
|
|
1610
|
+
const deserializeAws_restJson1ExperimentS3LogConfiguration = (output, context) => {
|
|
1611
|
+
return {
|
|
1612
|
+
bucketName: smithy_client_1.expectString(output.bucketName),
|
|
1613
|
+
prefix: smithy_client_1.expectString(output.prefix),
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1544
1616
|
const deserializeAws_restJson1ExperimentState = (output, context) => {
|
|
1545
1617
|
return {
|
|
1546
1618
|
reason: smithy_client_1.expectString(output.reason),
|
|
@@ -1673,6 +1745,9 @@ const deserializeAws_restJson1ExperimentTemplate = (output, context) => {
|
|
|
1673
1745
|
lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
|
|
1674
1746
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdateTime)))
|
|
1675
1747
|
: undefined,
|
|
1748
|
+
logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
|
|
1749
|
+
? deserializeAws_restJson1ExperimentTemplateLogConfiguration(output.logConfiguration, context)
|
|
1750
|
+
: undefined,
|
|
1676
1751
|
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
1677
1752
|
stopConditions: output.stopConditions !== undefined && output.stopConditions !== null
|
|
1678
1753
|
? deserializeAws_restJson1ExperimentTemplateStopConditionList(output.stopConditions, context)
|
|
@@ -1744,6 +1819,28 @@ const deserializeAws_restJson1ExperimentTemplateActionTargetMap = (output, conte
|
|
|
1744
1819
|
};
|
|
1745
1820
|
}, {});
|
|
1746
1821
|
};
|
|
1822
|
+
const deserializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfiguration = (output, context) => {
|
|
1823
|
+
return {
|
|
1824
|
+
logGroupArn: smithy_client_1.expectString(output.logGroupArn),
|
|
1825
|
+
};
|
|
1826
|
+
};
|
|
1827
|
+
const deserializeAws_restJson1ExperimentTemplateLogConfiguration = (output, context) => {
|
|
1828
|
+
return {
|
|
1829
|
+
cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration !== undefined && output.cloudWatchLogsConfiguration !== null
|
|
1830
|
+
? deserializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfiguration(output.cloudWatchLogsConfiguration, context)
|
|
1831
|
+
: undefined,
|
|
1832
|
+
logSchemaVersion: smithy_client_1.expectInt32(output.logSchemaVersion),
|
|
1833
|
+
s3Configuration: output.s3Configuration !== undefined && output.s3Configuration !== null
|
|
1834
|
+
? deserializeAws_restJson1ExperimentTemplateS3LogConfiguration(output.s3Configuration, context)
|
|
1835
|
+
: undefined,
|
|
1836
|
+
};
|
|
1837
|
+
};
|
|
1838
|
+
const deserializeAws_restJson1ExperimentTemplateS3LogConfiguration = (output, context) => {
|
|
1839
|
+
return {
|
|
1840
|
+
bucketName: smithy_client_1.expectString(output.bucketName),
|
|
1841
|
+
prefix: smithy_client_1.expectString(output.prefix),
|
|
1842
|
+
};
|
|
1843
|
+
};
|
|
1747
1844
|
const deserializeAws_restJson1ExperimentTemplateStopCondition = (output, context) => {
|
|
1748
1845
|
return {
|
|
1749
1846
|
source: smithy_client_1.expectString(output.source),
|
|
@@ -32,6 +32,18 @@ export var CreateExperimentTemplateActionInput;
|
|
|
32
32
|
(function (CreateExperimentTemplateActionInput) {
|
|
33
33
|
CreateExperimentTemplateActionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
34
34
|
})(CreateExperimentTemplateActionInput || (CreateExperimentTemplateActionInput = {}));
|
|
35
|
+
export var ExperimentTemplateCloudWatchLogsLogConfigurationInput;
|
|
36
|
+
(function (ExperimentTemplateCloudWatchLogsLogConfigurationInput) {
|
|
37
|
+
ExperimentTemplateCloudWatchLogsLogConfigurationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
38
|
+
})(ExperimentTemplateCloudWatchLogsLogConfigurationInput || (ExperimentTemplateCloudWatchLogsLogConfigurationInput = {}));
|
|
39
|
+
export var ExperimentTemplateS3LogConfigurationInput;
|
|
40
|
+
(function (ExperimentTemplateS3LogConfigurationInput) {
|
|
41
|
+
ExperimentTemplateS3LogConfigurationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
42
|
+
})(ExperimentTemplateS3LogConfigurationInput || (ExperimentTemplateS3LogConfigurationInput = {}));
|
|
43
|
+
export var CreateExperimentTemplateLogConfigurationInput;
|
|
44
|
+
(function (CreateExperimentTemplateLogConfigurationInput) {
|
|
45
|
+
CreateExperimentTemplateLogConfigurationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
46
|
+
})(CreateExperimentTemplateLogConfigurationInput || (CreateExperimentTemplateLogConfigurationInput = {}));
|
|
35
47
|
export var CreateExperimentTemplateStopConditionInput;
|
|
36
48
|
(function (CreateExperimentTemplateStopConditionInput) {
|
|
37
49
|
CreateExperimentTemplateStopConditionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -52,6 +64,18 @@ export var ExperimentTemplateAction;
|
|
|
52
64
|
(function (ExperimentTemplateAction) {
|
|
53
65
|
ExperimentTemplateAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
66
|
})(ExperimentTemplateAction || (ExperimentTemplateAction = {}));
|
|
67
|
+
export var ExperimentTemplateCloudWatchLogsLogConfiguration;
|
|
68
|
+
(function (ExperimentTemplateCloudWatchLogsLogConfiguration) {
|
|
69
|
+
ExperimentTemplateCloudWatchLogsLogConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
70
|
+
})(ExperimentTemplateCloudWatchLogsLogConfiguration || (ExperimentTemplateCloudWatchLogsLogConfiguration = {}));
|
|
71
|
+
export var ExperimentTemplateS3LogConfiguration;
|
|
72
|
+
(function (ExperimentTemplateS3LogConfiguration) {
|
|
73
|
+
ExperimentTemplateS3LogConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
74
|
+
})(ExperimentTemplateS3LogConfiguration || (ExperimentTemplateS3LogConfiguration = {}));
|
|
75
|
+
export var ExperimentTemplateLogConfiguration;
|
|
76
|
+
(function (ExperimentTemplateLogConfiguration) {
|
|
77
|
+
ExperimentTemplateLogConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
78
|
+
})(ExperimentTemplateLogConfiguration || (ExperimentTemplateLogConfiguration = {}));
|
|
55
79
|
export var ExperimentTemplateStopCondition;
|
|
56
80
|
(function (ExperimentTemplateStopCondition) {
|
|
57
81
|
ExperimentTemplateStopCondition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -135,6 +159,18 @@ export var ExperimentAction;
|
|
|
135
159
|
(function (ExperimentAction) {
|
|
136
160
|
ExperimentAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
161
|
})(ExperimentAction || (ExperimentAction = {}));
|
|
162
|
+
export var ExperimentCloudWatchLogsLogConfiguration;
|
|
163
|
+
(function (ExperimentCloudWatchLogsLogConfiguration) {
|
|
164
|
+
ExperimentCloudWatchLogsLogConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
+
})(ExperimentCloudWatchLogsLogConfiguration || (ExperimentCloudWatchLogsLogConfiguration = {}));
|
|
166
|
+
export var ExperimentS3LogConfiguration;
|
|
167
|
+
(function (ExperimentS3LogConfiguration) {
|
|
168
|
+
ExperimentS3LogConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
|
+
})(ExperimentS3LogConfiguration || (ExperimentS3LogConfiguration = {}));
|
|
170
|
+
export var ExperimentLogConfiguration;
|
|
171
|
+
(function (ExperimentLogConfiguration) {
|
|
172
|
+
ExperimentLogConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
|
+
})(ExperimentLogConfiguration || (ExperimentLogConfiguration = {}));
|
|
138
174
|
export var ExperimentStatus;
|
|
139
175
|
(function (ExperimentStatus) {
|
|
140
176
|
ExperimentStatus["completed"] = "completed";
|
|
@@ -293,6 +329,10 @@ export var UpdateExperimentTemplateActionInputItem;
|
|
|
293
329
|
(function (UpdateExperimentTemplateActionInputItem) {
|
|
294
330
|
UpdateExperimentTemplateActionInputItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
295
331
|
})(UpdateExperimentTemplateActionInputItem || (UpdateExperimentTemplateActionInputItem = {}));
|
|
332
|
+
export var UpdateExperimentTemplateLogConfigurationInput;
|
|
333
|
+
(function (UpdateExperimentTemplateLogConfigurationInput) {
|
|
334
|
+
UpdateExperimentTemplateLogConfigurationInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
335
|
+
})(UpdateExperimentTemplateLogConfigurationInput || (UpdateExperimentTemplateLogConfigurationInput = {}));
|
|
296
336
|
export var UpdateExperimentTemplateStopConditionInput;
|
|
297
337
|
(function (UpdateExperimentTemplateStopConditionInput) {
|
|
298
338
|
UpdateExperimentTemplateStopConditionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { FisServiceException as __BaseException } from "../models/FisServiceException";
|
|
6
6
|
import { ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/models_0";
|
|
@@ -16,10 +16,13 @@ export var serializeAws_restJson1CreateExperimentTemplateCommand = function (inp
|
|
|
16
16
|
"content-type": "application/json",
|
|
17
17
|
};
|
|
18
18
|
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates";
|
|
19
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actions !== undefined &&
|
|
19
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actions !== undefined &&
|
|
20
20
|
input.actions !== null && {
|
|
21
21
|
actions: serializeAws_restJson1CreateExperimentTemplateActionInputMap(input.actions, context),
|
|
22
|
-
})), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.description !== undefined && input.description !== null && { description: input.description })), (input.
|
|
22
|
+
})), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.description !== undefined && input.description !== null && { description: input.description })), (input.logConfiguration !== undefined &&
|
|
23
|
+
input.logConfiguration !== null && {
|
|
24
|
+
logConfiguration: serializeAws_restJson1CreateExperimentTemplateLogConfigurationInput(input.logConfiguration, context),
|
|
25
|
+
})), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.stopConditions !== undefined &&
|
|
23
26
|
input.stopConditions !== null && {
|
|
24
27
|
stopConditions: serializeAws_restJson1CreateExperimentTemplateStopConditionInputList(input.stopConditions, context),
|
|
25
28
|
})), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })), (input.targets !== undefined &&
|
|
@@ -461,10 +464,13 @@ export var serializeAws_restJson1UpdateExperimentTemplateCommand = function (inp
|
|
|
461
464
|
else {
|
|
462
465
|
throw new Error("No value provided for input HTTP label: id.");
|
|
463
466
|
}
|
|
464
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.actions !== undefined &&
|
|
467
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actions !== undefined &&
|
|
465
468
|
input.actions !== null && {
|
|
466
469
|
actions: serializeAws_restJson1UpdateExperimentTemplateActionInputMap(input.actions, context),
|
|
467
|
-
})), (input.description !== undefined && input.description !== null && { description: input.description })), (input.
|
|
470
|
+
})), (input.description !== undefined && input.description !== null && { description: input.description })), (input.logConfiguration !== undefined &&
|
|
471
|
+
input.logConfiguration !== null && {
|
|
472
|
+
logConfiguration: serializeAws_restJson1UpdateExperimentTemplateLogConfigurationInput(input.logConfiguration, context),
|
|
473
|
+
})), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.stopConditions !== undefined &&
|
|
468
474
|
input.stopConditions !== null && {
|
|
469
475
|
stopConditions: serializeAws_restJson1UpdateExperimentTemplateStopConditionInputList(input.stopConditions, context),
|
|
470
476
|
})), (input.targets !== undefined &&
|
|
@@ -1494,6 +1500,16 @@ var serializeAws_restJson1CreateExperimentTemplateActionInputMap = function (inp
|
|
|
1494
1500
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = serializeAws_restJson1CreateExperimentTemplateActionInput(value, context), _b));
|
|
1495
1501
|
}, {});
|
|
1496
1502
|
};
|
|
1503
|
+
var serializeAws_restJson1CreateExperimentTemplateLogConfigurationInput = function (input, context) {
|
|
1504
|
+
return __assign(__assign(__assign({}, (input.cloudWatchLogsConfiguration !== undefined &&
|
|
1505
|
+
input.cloudWatchLogsConfiguration !== null && {
|
|
1506
|
+
cloudWatchLogsConfiguration: serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput(input.cloudWatchLogsConfiguration, context),
|
|
1507
|
+
})), (input.logSchemaVersion !== undefined &&
|
|
1508
|
+
input.logSchemaVersion !== null && { logSchemaVersion: input.logSchemaVersion })), (input.s3Configuration !== undefined &&
|
|
1509
|
+
input.s3Configuration !== null && {
|
|
1510
|
+
s3Configuration: serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput(input.s3Configuration, context),
|
|
1511
|
+
}));
|
|
1512
|
+
};
|
|
1497
1513
|
var serializeAws_restJson1CreateExperimentTemplateStopConditionInput = function (input, context) {
|
|
1498
1514
|
return __assign(__assign({}, (input.source !== undefined && input.source !== null && { source: input.source })), (input.value !== undefined && input.value !== null && { value: input.value }));
|
|
1499
1515
|
};
|
|
@@ -1560,6 +1576,12 @@ var serializeAws_restJson1ExperimentTemplateActionTargetMap = function (input, c
|
|
|
1560
1576
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
1561
1577
|
}, {});
|
|
1562
1578
|
};
|
|
1579
|
+
var serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput = function (input, context) {
|
|
1580
|
+
return __assign({}, (input.logGroupArn !== undefined && input.logGroupArn !== null && { logGroupArn: input.logGroupArn }));
|
|
1581
|
+
};
|
|
1582
|
+
var serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput = function (input, context) {
|
|
1583
|
+
return __assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.prefix !== undefined && input.prefix !== null && { prefix: input.prefix }));
|
|
1584
|
+
};
|
|
1563
1585
|
var serializeAws_restJson1ExperimentTemplateTargetFilterInputList = function (input, context) {
|
|
1564
1586
|
return input
|
|
1565
1587
|
.filter(function (e) { return e != null; })
|
|
@@ -1638,6 +1660,16 @@ var serializeAws_restJson1UpdateExperimentTemplateActionInputMap = function (inp
|
|
|
1638
1660
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = serializeAws_restJson1UpdateExperimentTemplateActionInputItem(value, context), _b));
|
|
1639
1661
|
}, {});
|
|
1640
1662
|
};
|
|
1663
|
+
var serializeAws_restJson1UpdateExperimentTemplateLogConfigurationInput = function (input, context) {
|
|
1664
|
+
return __assign(__assign(__assign({}, (input.cloudWatchLogsConfiguration !== undefined &&
|
|
1665
|
+
input.cloudWatchLogsConfiguration !== null && {
|
|
1666
|
+
cloudWatchLogsConfiguration: serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput(input.cloudWatchLogsConfiguration, context),
|
|
1667
|
+
})), (input.logSchemaVersion !== undefined &&
|
|
1668
|
+
input.logSchemaVersion !== null && { logSchemaVersion: input.logSchemaVersion })), (input.s3Configuration !== undefined &&
|
|
1669
|
+
input.s3Configuration !== null && {
|
|
1670
|
+
s3Configuration: serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput(input.s3Configuration, context),
|
|
1671
|
+
}));
|
|
1672
|
+
};
|
|
1641
1673
|
var serializeAws_restJson1UpdateExperimentTemplateStopConditionInput = function (input, context) {
|
|
1642
1674
|
return __assign(__assign({}, (input.source !== undefined && input.source !== null && { source: input.source })), (input.value !== undefined && input.value !== null && { value: input.value }));
|
|
1643
1675
|
};
|
|
@@ -1756,6 +1788,9 @@ var deserializeAws_restJson1Experiment = function (output, context) {
|
|
|
1756
1788
|
: undefined,
|
|
1757
1789
|
experimentTemplateId: __expectString(output.experimentTemplateId),
|
|
1758
1790
|
id: __expectString(output.id),
|
|
1791
|
+
logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
|
|
1792
|
+
? deserializeAws_restJson1ExperimentLogConfiguration(output.logConfiguration, context)
|
|
1793
|
+
: undefined,
|
|
1759
1794
|
roleArn: __expectString(output.roleArn),
|
|
1760
1795
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
1761
1796
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
@@ -1845,6 +1880,28 @@ var deserializeAws_restJson1ExperimentActionTargetMap = function (output, contex
|
|
|
1845
1880
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
1846
1881
|
}, {});
|
|
1847
1882
|
};
|
|
1883
|
+
var deserializeAws_restJson1ExperimentCloudWatchLogsLogConfiguration = function (output, context) {
|
|
1884
|
+
return {
|
|
1885
|
+
logGroupArn: __expectString(output.logGroupArn),
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1888
|
+
var deserializeAws_restJson1ExperimentLogConfiguration = function (output, context) {
|
|
1889
|
+
return {
|
|
1890
|
+
cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration !== undefined && output.cloudWatchLogsConfiguration !== null
|
|
1891
|
+
? deserializeAws_restJson1ExperimentCloudWatchLogsLogConfiguration(output.cloudWatchLogsConfiguration, context)
|
|
1892
|
+
: undefined,
|
|
1893
|
+
logSchemaVersion: __expectInt32(output.logSchemaVersion),
|
|
1894
|
+
s3Configuration: output.s3Configuration !== undefined && output.s3Configuration !== null
|
|
1895
|
+
? deserializeAws_restJson1ExperimentS3LogConfiguration(output.s3Configuration, context)
|
|
1896
|
+
: undefined,
|
|
1897
|
+
};
|
|
1898
|
+
};
|
|
1899
|
+
var deserializeAws_restJson1ExperimentS3LogConfiguration = function (output, context) {
|
|
1900
|
+
return {
|
|
1901
|
+
bucketName: __expectString(output.bucketName),
|
|
1902
|
+
prefix: __expectString(output.prefix),
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1848
1905
|
var deserializeAws_restJson1ExperimentState = function (output, context) {
|
|
1849
1906
|
return {
|
|
1850
1907
|
reason: __expectString(output.reason),
|
|
@@ -1975,6 +2032,9 @@ var deserializeAws_restJson1ExperimentTemplate = function (output, context) {
|
|
|
1975
2032
|
lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
|
|
1976
2033
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateTime)))
|
|
1977
2034
|
: undefined,
|
|
2035
|
+
logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
|
|
2036
|
+
? deserializeAws_restJson1ExperimentTemplateLogConfiguration(output.logConfiguration, context)
|
|
2037
|
+
: undefined,
|
|
1978
2038
|
roleArn: __expectString(output.roleArn),
|
|
1979
2039
|
stopConditions: output.stopConditions !== undefined && output.stopConditions !== null
|
|
1980
2040
|
? deserializeAws_restJson1ExperimentTemplateStopConditionList(output.stopConditions, context)
|
|
@@ -2043,6 +2103,28 @@ var deserializeAws_restJson1ExperimentTemplateActionTargetMap = function (output
|
|
|
2043
2103
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
2044
2104
|
}, {});
|
|
2045
2105
|
};
|
|
2106
|
+
var deserializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfiguration = function (output, context) {
|
|
2107
|
+
return {
|
|
2108
|
+
logGroupArn: __expectString(output.logGroupArn),
|
|
2109
|
+
};
|
|
2110
|
+
};
|
|
2111
|
+
var deserializeAws_restJson1ExperimentTemplateLogConfiguration = function (output, context) {
|
|
2112
|
+
return {
|
|
2113
|
+
cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration !== undefined && output.cloudWatchLogsConfiguration !== null
|
|
2114
|
+
? deserializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfiguration(output.cloudWatchLogsConfiguration, context)
|
|
2115
|
+
: undefined,
|
|
2116
|
+
logSchemaVersion: __expectInt32(output.logSchemaVersion),
|
|
2117
|
+
s3Configuration: output.s3Configuration !== undefined && output.s3Configuration !== null
|
|
2118
|
+
? deserializeAws_restJson1ExperimentTemplateS3LogConfiguration(output.s3Configuration, context)
|
|
2119
|
+
: undefined,
|
|
2120
|
+
};
|
|
2121
|
+
};
|
|
2122
|
+
var deserializeAws_restJson1ExperimentTemplateS3LogConfiguration = function (output, context) {
|
|
2123
|
+
return {
|
|
2124
|
+
bucketName: __expectString(output.bucketName),
|
|
2125
|
+
prefix: __expectString(output.prefix),
|
|
2126
|
+
};
|
|
2127
|
+
};
|
|
2046
2128
|
var deserializeAws_restJson1ExperimentTemplateStopCondition = function (output, context) {
|
|
2047
2129
|
return {
|
|
2048
2130
|
source: __expectString(output.source),
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateExperimentTemplateCommandInput, CreateExperimentTemplateCommandOutput } from "./commands/CreateExperimentTemplateCommand";
|
|
10
10
|
import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOutput } from "./commands/DeleteExperimentTemplateCommand";
|
|
11
11
|
import { GetActionCommandInput, GetActionCommandOutput } from "./commands/GetActionCommand";
|
|
@@ -44,7 +44,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
44
44
|
* A function that can calculate the length of a request body.
|
|
45
45
|
* @internal
|
|
46
46
|
*/
|
|
47
|
-
bodyLengthChecker?:
|
|
47
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
48
48
|
/**
|
|
49
49
|
* A function that converts a stream into an array of bytes.
|
|
50
50
|
* @internal
|
|
@@ -151,6 +151,63 @@ export declare namespace CreateExperimentTemplateActionInput {
|
|
|
151
151
|
*/
|
|
152
152
|
const filterSensitiveLog: (obj: CreateExperimentTemplateActionInput) => any;
|
|
153
153
|
}
|
|
154
|
+
/**
|
|
155
|
+
* <p>Specifies the configuration for experiment logging to Amazon CloudWatch Logs.</p>
|
|
156
|
+
*/
|
|
157
|
+
export interface ExperimentTemplateCloudWatchLogsLogConfigurationInput {
|
|
158
|
+
/**
|
|
159
|
+
* <p>The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.</p>
|
|
160
|
+
*/
|
|
161
|
+
logGroupArn: string | undefined;
|
|
162
|
+
}
|
|
163
|
+
export declare namespace ExperimentTemplateCloudWatchLogsLogConfigurationInput {
|
|
164
|
+
/**
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
167
|
+
const filterSensitiveLog: (obj: ExperimentTemplateCloudWatchLogsLogConfigurationInput) => any;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* <p>Specifies the configuration for experiment logging to Amazon S3.</p>
|
|
171
|
+
*/
|
|
172
|
+
export interface ExperimentTemplateS3LogConfigurationInput {
|
|
173
|
+
/**
|
|
174
|
+
* <p>The name of the destination bucket.</p>
|
|
175
|
+
*/
|
|
176
|
+
bucketName: string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* <p>The bucket prefix.</p>
|
|
179
|
+
*/
|
|
180
|
+
prefix?: string;
|
|
181
|
+
}
|
|
182
|
+
export declare namespace ExperimentTemplateS3LogConfigurationInput {
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
const filterSensitiveLog: (obj: ExperimentTemplateS3LogConfigurationInput) => any;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* <p>Specifies the configuration for experiment logging.</p>
|
|
190
|
+
*/
|
|
191
|
+
export interface CreateExperimentTemplateLogConfigurationInput {
|
|
192
|
+
/**
|
|
193
|
+
* <p>The configuration for experiment logging to Amazon CloudWatch Logs.</p>
|
|
194
|
+
*/
|
|
195
|
+
cloudWatchLogsConfiguration?: ExperimentTemplateCloudWatchLogsLogConfigurationInput;
|
|
196
|
+
/**
|
|
197
|
+
* <p>The configuration for experiment logging to Amazon S3.</p>
|
|
198
|
+
*/
|
|
199
|
+
s3Configuration?: ExperimentTemplateS3LogConfigurationInput;
|
|
200
|
+
/**
|
|
201
|
+
* <p>The schema version.</p>
|
|
202
|
+
*/
|
|
203
|
+
logSchemaVersion: number | undefined;
|
|
204
|
+
}
|
|
205
|
+
export declare namespace CreateExperimentTemplateLogConfigurationInput {
|
|
206
|
+
/**
|
|
207
|
+
* @internal
|
|
208
|
+
*/
|
|
209
|
+
const filterSensitiveLog: (obj: CreateExperimentTemplateLogConfigurationInput) => any;
|
|
210
|
+
}
|
|
154
211
|
/**
|
|
155
212
|
* <p>Specifies a stop condition for an experiment template.</p>
|
|
156
213
|
*/
|
|
@@ -284,6 +341,10 @@ export interface CreateExperimentTemplateRequest {
|
|
|
284
341
|
tags?: {
|
|
285
342
|
[key: string]: string;
|
|
286
343
|
};
|
|
344
|
+
/**
|
|
345
|
+
* <p>The configuration for experiment logging.</p>
|
|
346
|
+
*/
|
|
347
|
+
logConfiguration?: CreateExperimentTemplateLogConfigurationInput;
|
|
287
348
|
}
|
|
288
349
|
export declare namespace CreateExperimentTemplateRequest {
|
|
289
350
|
/**
|
|
@@ -326,6 +387,63 @@ export declare namespace ExperimentTemplateAction {
|
|
|
326
387
|
*/
|
|
327
388
|
const filterSensitiveLog: (obj: ExperimentTemplateAction) => any;
|
|
328
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
* <p>Describes the configuration for experiment logging to Amazon CloudWatch Logs.</p>
|
|
392
|
+
*/
|
|
393
|
+
export interface ExperimentTemplateCloudWatchLogsLogConfiguration {
|
|
394
|
+
/**
|
|
395
|
+
* <p>The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.</p>
|
|
396
|
+
*/
|
|
397
|
+
logGroupArn?: string;
|
|
398
|
+
}
|
|
399
|
+
export declare namespace ExperimentTemplateCloudWatchLogsLogConfiguration {
|
|
400
|
+
/**
|
|
401
|
+
* @internal
|
|
402
|
+
*/
|
|
403
|
+
const filterSensitiveLog: (obj: ExperimentTemplateCloudWatchLogsLogConfiguration) => any;
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* <p>Describes the configuration for experiment logging to Amazon S3.</p>
|
|
407
|
+
*/
|
|
408
|
+
export interface ExperimentTemplateS3LogConfiguration {
|
|
409
|
+
/**
|
|
410
|
+
* <p>The name of the destination bucket.</p>
|
|
411
|
+
*/
|
|
412
|
+
bucketName?: string;
|
|
413
|
+
/**
|
|
414
|
+
* <p>The bucket prefix.</p>
|
|
415
|
+
*/
|
|
416
|
+
prefix?: string;
|
|
417
|
+
}
|
|
418
|
+
export declare namespace ExperimentTemplateS3LogConfiguration {
|
|
419
|
+
/**
|
|
420
|
+
* @internal
|
|
421
|
+
*/
|
|
422
|
+
const filterSensitiveLog: (obj: ExperimentTemplateS3LogConfiguration) => any;
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* <p>Describes the configuration for experiment logging.</p>
|
|
426
|
+
*/
|
|
427
|
+
export interface ExperimentTemplateLogConfiguration {
|
|
428
|
+
/**
|
|
429
|
+
* <p>The configuration for experiment logging to Amazon CloudWatch Logs.</p>
|
|
430
|
+
*/
|
|
431
|
+
cloudWatchLogsConfiguration?: ExperimentTemplateCloudWatchLogsLogConfiguration;
|
|
432
|
+
/**
|
|
433
|
+
* <p>The configuration for experiment logging to Amazon S3.</p>
|
|
434
|
+
*/
|
|
435
|
+
s3Configuration?: ExperimentTemplateS3LogConfiguration;
|
|
436
|
+
/**
|
|
437
|
+
* <p>The schema version.</p>
|
|
438
|
+
*/
|
|
439
|
+
logSchemaVersion?: number;
|
|
440
|
+
}
|
|
441
|
+
export declare namespace ExperimentTemplateLogConfiguration {
|
|
442
|
+
/**
|
|
443
|
+
* @internal
|
|
444
|
+
*/
|
|
445
|
+
const filterSensitiveLog: (obj: ExperimentTemplateLogConfiguration) => any;
|
|
446
|
+
}
|
|
329
447
|
/**
|
|
330
448
|
* <p>Describes a stop condition for an experiment template.</p>
|
|
331
449
|
*/
|
|
@@ -449,6 +567,10 @@ export interface ExperimentTemplate {
|
|
|
449
567
|
tags?: {
|
|
450
568
|
[key: string]: string;
|
|
451
569
|
};
|
|
570
|
+
/**
|
|
571
|
+
* <p>The configuration for experiment logging.</p>
|
|
572
|
+
*/
|
|
573
|
+
logConfiguration?: ExperimentTemplateLogConfiguration;
|
|
452
574
|
}
|
|
453
575
|
export declare namespace ExperimentTemplate {
|
|
454
576
|
/**
|
|
@@ -601,6 +723,63 @@ export declare namespace ExperimentAction {
|
|
|
601
723
|
*/
|
|
602
724
|
const filterSensitiveLog: (obj: ExperimentAction) => any;
|
|
603
725
|
}
|
|
726
|
+
/**
|
|
727
|
+
* <p>Describes the configuration for experiment logging to Amazon CloudWatch Logs.</p>
|
|
728
|
+
*/
|
|
729
|
+
export interface ExperimentCloudWatchLogsLogConfiguration {
|
|
730
|
+
/**
|
|
731
|
+
* <p>The Amazon Resource Name (ARN) of the destination Amazon CloudWatch Logs log group.</p>
|
|
732
|
+
*/
|
|
733
|
+
logGroupArn?: string;
|
|
734
|
+
}
|
|
735
|
+
export declare namespace ExperimentCloudWatchLogsLogConfiguration {
|
|
736
|
+
/**
|
|
737
|
+
* @internal
|
|
738
|
+
*/
|
|
739
|
+
const filterSensitiveLog: (obj: ExperimentCloudWatchLogsLogConfiguration) => any;
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
* <p>Describes the configuration for experiment logging to Amazon S3.</p>
|
|
743
|
+
*/
|
|
744
|
+
export interface ExperimentS3LogConfiguration {
|
|
745
|
+
/**
|
|
746
|
+
* <p>The name of the destination bucket.</p>
|
|
747
|
+
*/
|
|
748
|
+
bucketName?: string;
|
|
749
|
+
/**
|
|
750
|
+
* <p>The bucket prefix.</p>
|
|
751
|
+
*/
|
|
752
|
+
prefix?: string;
|
|
753
|
+
}
|
|
754
|
+
export declare namespace ExperimentS3LogConfiguration {
|
|
755
|
+
/**
|
|
756
|
+
* @internal
|
|
757
|
+
*/
|
|
758
|
+
const filterSensitiveLog: (obj: ExperimentS3LogConfiguration) => any;
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* <p>Describes the configuration for experiment logging.</p>
|
|
762
|
+
*/
|
|
763
|
+
export interface ExperimentLogConfiguration {
|
|
764
|
+
/**
|
|
765
|
+
* <p>The configuration for experiment logging to Amazon CloudWatch Logs.</p>
|
|
766
|
+
*/
|
|
767
|
+
cloudWatchLogsConfiguration?: ExperimentCloudWatchLogsLogConfiguration;
|
|
768
|
+
/**
|
|
769
|
+
* <p>The configuration for experiment logging to Amazon S3.</p>
|
|
770
|
+
*/
|
|
771
|
+
s3Configuration?: ExperimentS3LogConfiguration;
|
|
772
|
+
/**
|
|
773
|
+
* <p>The schema version.</p>
|
|
774
|
+
*/
|
|
775
|
+
logSchemaVersion?: number;
|
|
776
|
+
}
|
|
777
|
+
export declare namespace ExperimentLogConfiguration {
|
|
778
|
+
/**
|
|
779
|
+
* @internal
|
|
780
|
+
*/
|
|
781
|
+
const filterSensitiveLog: (obj: ExperimentLogConfiguration) => any;
|
|
782
|
+
}
|
|
604
783
|
export declare enum ExperimentStatus {
|
|
605
784
|
completed = "completed",
|
|
606
785
|
failed = "failed",
|
|
@@ -760,6 +939,10 @@ export interface Experiment {
|
|
|
760
939
|
tags?: {
|
|
761
940
|
[key: string]: string;
|
|
762
941
|
};
|
|
942
|
+
/**
|
|
943
|
+
* <p>The configuration for experiment logging.</p>
|
|
944
|
+
*/
|
|
945
|
+
logConfiguration?: ExperimentLogConfiguration;
|
|
763
946
|
}
|
|
764
947
|
export declare namespace Experiment {
|
|
765
948
|
/**
|
|
@@ -1290,6 +1473,29 @@ export declare namespace UpdateExperimentTemplateActionInputItem {
|
|
|
1290
1473
|
*/
|
|
1291
1474
|
const filterSensitiveLog: (obj: UpdateExperimentTemplateActionInputItem) => any;
|
|
1292
1475
|
}
|
|
1476
|
+
/**
|
|
1477
|
+
* <p>Specifies the configuration for experiment logging.</p>
|
|
1478
|
+
*/
|
|
1479
|
+
export interface UpdateExperimentTemplateLogConfigurationInput {
|
|
1480
|
+
/**
|
|
1481
|
+
* <p>The configuration for experiment logging to Amazon CloudWatch Logs.</p>
|
|
1482
|
+
*/
|
|
1483
|
+
cloudWatchLogsConfiguration?: ExperimentTemplateCloudWatchLogsLogConfigurationInput;
|
|
1484
|
+
/**
|
|
1485
|
+
* <p>The configuration for experiment logging to Amazon S3.</p>
|
|
1486
|
+
*/
|
|
1487
|
+
s3Configuration?: ExperimentTemplateS3LogConfigurationInput;
|
|
1488
|
+
/**
|
|
1489
|
+
* <p>The schema version.</p>
|
|
1490
|
+
*/
|
|
1491
|
+
logSchemaVersion?: number;
|
|
1492
|
+
}
|
|
1493
|
+
export declare namespace UpdateExperimentTemplateLogConfigurationInput {
|
|
1494
|
+
/**
|
|
1495
|
+
* @internal
|
|
1496
|
+
*/
|
|
1497
|
+
const filterSensitiveLog: (obj: UpdateExperimentTemplateLogConfigurationInput) => any;
|
|
1498
|
+
}
|
|
1293
1499
|
/**
|
|
1294
1500
|
* <p>Specifies a stop condition for an experiment. You can define a stop condition as a CloudWatch alarm.</p>
|
|
1295
1501
|
*/
|
|
@@ -1379,6 +1585,10 @@ export interface UpdateExperimentTemplateRequest {
|
|
|
1379
1585
|
* <p>The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.</p>
|
|
1380
1586
|
*/
|
|
1381
1587
|
roleArn?: string;
|
|
1588
|
+
/**
|
|
1589
|
+
* <p>The configuration for experiment logging.</p>
|
|
1590
|
+
*/
|
|
1591
|
+
logConfiguration?: UpdateExperimentTemplateLogConfigurationInput;
|
|
1382
1592
|
}
|
|
1383
1593
|
export declare namespace UpdateExperimentTemplateRequest {
|
|
1384
1594
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateExperimentTemplateCommandInput, CreateExperimentTemplateCommandOutput } from "./commands/CreateExperimentTemplateCommand";
|
|
10
10
|
import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOutput } from "./commands/DeleteExperimentTemplateCommand";
|
|
11
11
|
import { GetActionCommandInput, GetActionCommandOutput } from "./commands/GetActionCommand";
|
|
@@ -32,7 +32,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
32
32
|
|
|
33
33
|
urlParser?: __UrlParser;
|
|
34
34
|
|
|
35
|
-
bodyLengthChecker?:
|
|
35
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
36
36
|
|
|
37
37
|
streamCollector?: __StreamCollector;
|
|
38
38
|
|
|
@@ -91,6 +91,39 @@ export declare namespace CreateExperimentTemplateActionInput {
|
|
|
91
91
|
const filterSensitiveLog: (obj: CreateExperimentTemplateActionInput) => any;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
export interface ExperimentTemplateCloudWatchLogsLogConfigurationInput {
|
|
95
|
+
|
|
96
|
+
logGroupArn: string | undefined;
|
|
97
|
+
}
|
|
98
|
+
export declare namespace ExperimentTemplateCloudWatchLogsLogConfigurationInput {
|
|
99
|
+
|
|
100
|
+
const filterSensitiveLog: (obj: ExperimentTemplateCloudWatchLogsLogConfigurationInput) => any;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export interface ExperimentTemplateS3LogConfigurationInput {
|
|
104
|
+
|
|
105
|
+
bucketName: string | undefined;
|
|
106
|
+
|
|
107
|
+
prefix?: string;
|
|
108
|
+
}
|
|
109
|
+
export declare namespace ExperimentTemplateS3LogConfigurationInput {
|
|
110
|
+
|
|
111
|
+
const filterSensitiveLog: (obj: ExperimentTemplateS3LogConfigurationInput) => any;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface CreateExperimentTemplateLogConfigurationInput {
|
|
115
|
+
|
|
116
|
+
cloudWatchLogsConfiguration?: ExperimentTemplateCloudWatchLogsLogConfigurationInput;
|
|
117
|
+
|
|
118
|
+
s3Configuration?: ExperimentTemplateS3LogConfigurationInput;
|
|
119
|
+
|
|
120
|
+
logSchemaVersion: number | undefined;
|
|
121
|
+
}
|
|
122
|
+
export declare namespace CreateExperimentTemplateLogConfigurationInput {
|
|
123
|
+
|
|
124
|
+
const filterSensitiveLog: (obj: CreateExperimentTemplateLogConfigurationInput) => any;
|
|
125
|
+
}
|
|
126
|
+
|
|
94
127
|
export interface CreateExperimentTemplateStopConditionInput {
|
|
95
128
|
|
|
96
129
|
source: string | undefined;
|
|
@@ -156,6 +189,8 @@ export interface CreateExperimentTemplateRequest {
|
|
|
156
189
|
tags?: {
|
|
157
190
|
[key: string]: string;
|
|
158
191
|
};
|
|
192
|
+
|
|
193
|
+
logConfiguration?: CreateExperimentTemplateLogConfigurationInput;
|
|
159
194
|
}
|
|
160
195
|
export declare namespace CreateExperimentTemplateRequest {
|
|
161
196
|
|
|
@@ -183,6 +218,39 @@ export declare namespace ExperimentTemplateAction {
|
|
|
183
218
|
const filterSensitiveLog: (obj: ExperimentTemplateAction) => any;
|
|
184
219
|
}
|
|
185
220
|
|
|
221
|
+
export interface ExperimentTemplateCloudWatchLogsLogConfiguration {
|
|
222
|
+
|
|
223
|
+
logGroupArn?: string;
|
|
224
|
+
}
|
|
225
|
+
export declare namespace ExperimentTemplateCloudWatchLogsLogConfiguration {
|
|
226
|
+
|
|
227
|
+
const filterSensitiveLog: (obj: ExperimentTemplateCloudWatchLogsLogConfiguration) => any;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export interface ExperimentTemplateS3LogConfiguration {
|
|
231
|
+
|
|
232
|
+
bucketName?: string;
|
|
233
|
+
|
|
234
|
+
prefix?: string;
|
|
235
|
+
}
|
|
236
|
+
export declare namespace ExperimentTemplateS3LogConfiguration {
|
|
237
|
+
|
|
238
|
+
const filterSensitiveLog: (obj: ExperimentTemplateS3LogConfiguration) => any;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export interface ExperimentTemplateLogConfiguration {
|
|
242
|
+
|
|
243
|
+
cloudWatchLogsConfiguration?: ExperimentTemplateCloudWatchLogsLogConfiguration;
|
|
244
|
+
|
|
245
|
+
s3Configuration?: ExperimentTemplateS3LogConfiguration;
|
|
246
|
+
|
|
247
|
+
logSchemaVersion?: number;
|
|
248
|
+
}
|
|
249
|
+
export declare namespace ExperimentTemplateLogConfiguration {
|
|
250
|
+
|
|
251
|
+
const filterSensitiveLog: (obj: ExperimentTemplateLogConfiguration) => any;
|
|
252
|
+
}
|
|
253
|
+
|
|
186
254
|
export interface ExperimentTemplateStopCondition {
|
|
187
255
|
|
|
188
256
|
source?: string;
|
|
@@ -253,6 +321,8 @@ export interface ExperimentTemplate {
|
|
|
253
321
|
tags?: {
|
|
254
322
|
[key: string]: string;
|
|
255
323
|
};
|
|
324
|
+
|
|
325
|
+
logConfiguration?: ExperimentTemplateLogConfiguration;
|
|
256
326
|
}
|
|
257
327
|
export declare namespace ExperimentTemplate {
|
|
258
328
|
|
|
@@ -351,6 +421,39 @@ export declare namespace ExperimentAction {
|
|
|
351
421
|
|
|
352
422
|
const filterSensitiveLog: (obj: ExperimentAction) => any;
|
|
353
423
|
}
|
|
424
|
+
|
|
425
|
+
export interface ExperimentCloudWatchLogsLogConfiguration {
|
|
426
|
+
|
|
427
|
+
logGroupArn?: string;
|
|
428
|
+
}
|
|
429
|
+
export declare namespace ExperimentCloudWatchLogsLogConfiguration {
|
|
430
|
+
|
|
431
|
+
const filterSensitiveLog: (obj: ExperimentCloudWatchLogsLogConfiguration) => any;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export interface ExperimentS3LogConfiguration {
|
|
435
|
+
|
|
436
|
+
bucketName?: string;
|
|
437
|
+
|
|
438
|
+
prefix?: string;
|
|
439
|
+
}
|
|
440
|
+
export declare namespace ExperimentS3LogConfiguration {
|
|
441
|
+
|
|
442
|
+
const filterSensitiveLog: (obj: ExperimentS3LogConfiguration) => any;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export interface ExperimentLogConfiguration {
|
|
446
|
+
|
|
447
|
+
cloudWatchLogsConfiguration?: ExperimentCloudWatchLogsLogConfiguration;
|
|
448
|
+
|
|
449
|
+
s3Configuration?: ExperimentS3LogConfiguration;
|
|
450
|
+
|
|
451
|
+
logSchemaVersion?: number;
|
|
452
|
+
}
|
|
453
|
+
export declare namespace ExperimentLogConfiguration {
|
|
454
|
+
|
|
455
|
+
const filterSensitiveLog: (obj: ExperimentLogConfiguration) => any;
|
|
456
|
+
}
|
|
354
457
|
export declare enum ExperimentStatus {
|
|
355
458
|
completed = "completed",
|
|
356
459
|
failed = "failed",
|
|
@@ -446,6 +549,8 @@ export interface Experiment {
|
|
|
446
549
|
tags?: {
|
|
447
550
|
[key: string]: string;
|
|
448
551
|
};
|
|
552
|
+
|
|
553
|
+
logConfiguration?: ExperimentLogConfiguration;
|
|
449
554
|
}
|
|
450
555
|
export declare namespace Experiment {
|
|
451
556
|
|
|
@@ -782,6 +887,19 @@ export declare namespace UpdateExperimentTemplateActionInputItem {
|
|
|
782
887
|
const filterSensitiveLog: (obj: UpdateExperimentTemplateActionInputItem) => any;
|
|
783
888
|
}
|
|
784
889
|
|
|
890
|
+
export interface UpdateExperimentTemplateLogConfigurationInput {
|
|
891
|
+
|
|
892
|
+
cloudWatchLogsConfiguration?: ExperimentTemplateCloudWatchLogsLogConfigurationInput;
|
|
893
|
+
|
|
894
|
+
s3Configuration?: ExperimentTemplateS3LogConfigurationInput;
|
|
895
|
+
|
|
896
|
+
logSchemaVersion?: number;
|
|
897
|
+
}
|
|
898
|
+
export declare namespace UpdateExperimentTemplateLogConfigurationInput {
|
|
899
|
+
|
|
900
|
+
const filterSensitiveLog: (obj: UpdateExperimentTemplateLogConfigurationInput) => any;
|
|
901
|
+
}
|
|
902
|
+
|
|
785
903
|
export interface UpdateExperimentTemplateStopConditionInput {
|
|
786
904
|
|
|
787
905
|
source: string | undefined;
|
|
@@ -832,6 +950,8 @@ export interface UpdateExperimentTemplateRequest {
|
|
|
832
950
|
};
|
|
833
951
|
|
|
834
952
|
roleArn?: string;
|
|
953
|
+
|
|
954
|
+
logConfiguration?: UpdateExperimentTemplateLogConfigurationInput;
|
|
835
955
|
}
|
|
836
956
|
export declare namespace UpdateExperimentTemplateRequest {
|
|
837
957
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
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.54.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
39
|
+
"@aws-sdk/types": "3.54.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0",
|