@aws-sdk/client-fis 3.490.0 → 3.495.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/Fis.js +1 -59
- package/dist-cjs/FisClient.js +1 -43
- package/dist-cjs/commands/CreateExperimentTemplateCommand.js +1 -28
- package/dist-cjs/commands/CreateTargetAccountConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DeleteExperimentTemplateCommand.js +1 -28
- package/dist-cjs/commands/DeleteTargetAccountConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetActionCommand.js +1 -28
- package/dist-cjs/commands/GetExperimentCommand.js +1 -28
- package/dist-cjs/commands/GetExperimentTargetAccountConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetExperimentTemplateCommand.js +1 -28
- package/dist-cjs/commands/GetTargetAccountConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetTargetResourceTypeCommand.js +1 -28
- package/dist-cjs/commands/ListActionsCommand.js +1 -28
- package/dist-cjs/commands/ListExperimentResolvedTargetsCommand.js +1 -28
- package/dist-cjs/commands/ListExperimentTargetAccountConfigurationsCommand.js +1 -28
- package/dist-cjs/commands/ListExperimentTemplatesCommand.js +1 -28
- package/dist-cjs/commands/ListExperimentsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/ListTargetAccountConfigurationsCommand.js +1 -28
- package/dist-cjs/commands/ListTargetResourceTypesCommand.js +1 -28
- package/dist-cjs/commands/StartExperimentCommand.js +1 -28
- package/dist-cjs/commands/StopExperimentCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateExperimentTemplateCommand.js +1 -28
- package/dist-cjs/commands/UpdateTargetAccountConfigurationCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -27
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2129 -11
- package/dist-cjs/models/FisServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -84
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListActionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListExperimentResolvedTargetsPaginator.js +1 -7
- package/dist-cjs/pagination/ListExperimentTemplatesPaginator.js +1 -7
- package/dist-cjs/pagination/ListExperimentsPaginator.js +1 -7
- package/dist-cjs/pagination/ListTargetAccountConfigurationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListTargetResourceTypesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -10
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1394
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,2130 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccountTargeting: () => AccountTargeting,
|
|
25
|
+
ConflictException: () => ConflictException,
|
|
26
|
+
CreateExperimentTemplateCommand: () => CreateExperimentTemplateCommand,
|
|
27
|
+
CreateTargetAccountConfigurationCommand: () => CreateTargetAccountConfigurationCommand,
|
|
28
|
+
DeleteExperimentTemplateCommand: () => DeleteExperimentTemplateCommand,
|
|
29
|
+
DeleteTargetAccountConfigurationCommand: () => DeleteTargetAccountConfigurationCommand,
|
|
30
|
+
EmptyTargetResolutionMode: () => EmptyTargetResolutionMode,
|
|
31
|
+
ExperimentActionStatus: () => ExperimentActionStatus,
|
|
32
|
+
ExperimentStatus: () => ExperimentStatus,
|
|
33
|
+
Fis: () => Fis,
|
|
34
|
+
FisClient: () => FisClient,
|
|
35
|
+
FisServiceException: () => FisServiceException,
|
|
36
|
+
GetActionCommand: () => GetActionCommand,
|
|
37
|
+
GetExperimentCommand: () => GetExperimentCommand,
|
|
38
|
+
GetExperimentTargetAccountConfigurationCommand: () => GetExperimentTargetAccountConfigurationCommand,
|
|
39
|
+
GetExperimentTemplateCommand: () => GetExperimentTemplateCommand,
|
|
40
|
+
GetTargetAccountConfigurationCommand: () => GetTargetAccountConfigurationCommand,
|
|
41
|
+
GetTargetResourceTypeCommand: () => GetTargetResourceTypeCommand,
|
|
42
|
+
ListActionsCommand: () => ListActionsCommand,
|
|
43
|
+
ListExperimentResolvedTargetsCommand: () => ListExperimentResolvedTargetsCommand,
|
|
44
|
+
ListExperimentTargetAccountConfigurationsCommand: () => ListExperimentTargetAccountConfigurationsCommand,
|
|
45
|
+
ListExperimentTemplatesCommand: () => ListExperimentTemplatesCommand,
|
|
46
|
+
ListExperimentsCommand: () => ListExperimentsCommand,
|
|
47
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
48
|
+
ListTargetAccountConfigurationsCommand: () => ListTargetAccountConfigurationsCommand,
|
|
49
|
+
ListTargetResourceTypesCommand: () => ListTargetResourceTypesCommand,
|
|
50
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
51
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
52
|
+
StartExperimentCommand: () => StartExperimentCommand,
|
|
53
|
+
StopExperimentCommand: () => StopExperimentCommand,
|
|
54
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
55
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
56
|
+
UpdateExperimentTemplateCommand: () => UpdateExperimentTemplateCommand,
|
|
57
|
+
UpdateTargetAccountConfigurationCommand: () => UpdateTargetAccountConfigurationCommand,
|
|
58
|
+
ValidationException: () => ValidationException,
|
|
59
|
+
__Client: () => import_smithy_client.Client,
|
|
60
|
+
paginateListActions: () => paginateListActions,
|
|
61
|
+
paginateListExperimentResolvedTargets: () => paginateListExperimentResolvedTargets,
|
|
62
|
+
paginateListExperimentTemplates: () => paginateListExperimentTemplates,
|
|
63
|
+
paginateListExperiments: () => paginateListExperiments,
|
|
64
|
+
paginateListTargetAccountConfigurations: () => paginateListTargetAccountConfigurations,
|
|
65
|
+
paginateListTargetResourceTypes: () => paginateListTargetResourceTypes
|
|
66
|
+
});
|
|
67
|
+
module.exports = __toCommonJS(src_exports);
|
|
68
|
+
|
|
69
|
+
// src/FisClient.ts
|
|
70
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
71
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
72
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
73
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
74
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
75
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
76
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
77
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
78
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
// src/endpoint/EndpointParameters.ts
|
|
82
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
83
|
+
return {
|
|
84
|
+
...options,
|
|
85
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
86
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
87
|
+
defaultSigningName: "fis"
|
|
88
|
+
};
|
|
89
|
+
}, "resolveClientEndpointParameters");
|
|
90
|
+
var commonParams = {
|
|
91
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
92
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
93
|
+
Region: { type: "builtInParams", name: "region" },
|
|
94
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
// src/FisClient.ts
|
|
98
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
99
|
+
|
|
100
|
+
// src/runtimeExtensions.ts
|
|
101
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
102
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
103
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
104
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
105
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
106
|
+
const extensionConfiguration = {
|
|
107
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
108
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
109
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
110
|
+
};
|
|
111
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
112
|
+
return {
|
|
113
|
+
...runtimeConfig,
|
|
114
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
115
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
116
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
117
|
+
};
|
|
118
|
+
}, "resolveRuntimeExtensions");
|
|
119
|
+
|
|
120
|
+
// src/FisClient.ts
|
|
121
|
+
var _FisClient = class _FisClient extends import_smithy_client.Client {
|
|
122
|
+
constructor(...[configuration]) {
|
|
123
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
124
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
125
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
126
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
127
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
128
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
129
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
130
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
131
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
132
|
+
super(_config_8);
|
|
133
|
+
this.config = _config_8;
|
|
134
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
135
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
136
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
137
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
138
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
139
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
140
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
144
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
145
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
146
|
+
*/
|
|
147
|
+
destroy() {
|
|
148
|
+
super.destroy();
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
__name(_FisClient, "FisClient");
|
|
152
|
+
var FisClient = _FisClient;
|
|
153
|
+
|
|
154
|
+
// src/Fis.ts
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
// src/commands/CreateExperimentTemplateCommand.ts
|
|
158
|
+
|
|
159
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
160
|
+
|
|
161
|
+
var import_types = require("@smithy/types");
|
|
162
|
+
|
|
163
|
+
// src/protocols/Aws_restJson1.ts
|
|
164
|
+
var import_core = require("@smithy/core");
|
|
165
|
+
|
|
166
|
+
var import_uuid = require("uuid");
|
|
167
|
+
|
|
168
|
+
// src/models/FisServiceException.ts
|
|
169
|
+
|
|
170
|
+
var _FisServiceException = class _FisServiceException extends import_smithy_client.ServiceException {
|
|
171
|
+
/**
|
|
172
|
+
* @internal
|
|
173
|
+
*/
|
|
174
|
+
constructor(options) {
|
|
175
|
+
super(options);
|
|
176
|
+
Object.setPrototypeOf(this, _FisServiceException.prototype);
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
__name(_FisServiceException, "FisServiceException");
|
|
180
|
+
var FisServiceException = _FisServiceException;
|
|
181
|
+
|
|
182
|
+
// src/models/models_0.ts
|
|
183
|
+
var AccountTargeting = {
|
|
184
|
+
MULTI_ACCOUNT: "multi-account",
|
|
185
|
+
SINGLE_ACCOUNT: "single-account"
|
|
186
|
+
};
|
|
187
|
+
var _ConflictException = class _ConflictException extends FisServiceException {
|
|
188
|
+
/**
|
|
189
|
+
* @internal
|
|
190
|
+
*/
|
|
191
|
+
constructor(opts) {
|
|
192
|
+
super({
|
|
193
|
+
name: "ConflictException",
|
|
194
|
+
$fault: "client",
|
|
195
|
+
...opts
|
|
196
|
+
});
|
|
197
|
+
this.name = "ConflictException";
|
|
198
|
+
this.$fault = "client";
|
|
199
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
__name(_ConflictException, "ConflictException");
|
|
203
|
+
var ConflictException = _ConflictException;
|
|
204
|
+
var EmptyTargetResolutionMode = {
|
|
205
|
+
FAIL: "fail",
|
|
206
|
+
SKIP: "skip"
|
|
207
|
+
};
|
|
208
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends FisServiceException {
|
|
209
|
+
/**
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
constructor(opts) {
|
|
213
|
+
super({
|
|
214
|
+
name: "ResourceNotFoundException",
|
|
215
|
+
$fault: "client",
|
|
216
|
+
...opts
|
|
217
|
+
});
|
|
218
|
+
this.name = "ResourceNotFoundException";
|
|
219
|
+
this.$fault = "client";
|
|
220
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
224
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
225
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends FisServiceException {
|
|
226
|
+
/**
|
|
227
|
+
* @internal
|
|
228
|
+
*/
|
|
229
|
+
constructor(opts) {
|
|
230
|
+
super({
|
|
231
|
+
name: "ServiceQuotaExceededException",
|
|
232
|
+
$fault: "client",
|
|
233
|
+
...opts
|
|
234
|
+
});
|
|
235
|
+
this.name = "ServiceQuotaExceededException";
|
|
236
|
+
this.$fault = "client";
|
|
237
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
241
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
242
|
+
var _ValidationException = class _ValidationException extends FisServiceException {
|
|
243
|
+
/**
|
|
244
|
+
* @internal
|
|
245
|
+
*/
|
|
246
|
+
constructor(opts) {
|
|
247
|
+
super({
|
|
248
|
+
name: "ValidationException",
|
|
249
|
+
$fault: "client",
|
|
250
|
+
...opts
|
|
251
|
+
});
|
|
252
|
+
this.name = "ValidationException";
|
|
253
|
+
this.$fault = "client";
|
|
254
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
__name(_ValidationException, "ValidationException");
|
|
258
|
+
var ValidationException = _ValidationException;
|
|
259
|
+
var ExperimentActionStatus = {
|
|
260
|
+
cancelled: "cancelled",
|
|
261
|
+
completed: "completed",
|
|
262
|
+
failed: "failed",
|
|
263
|
+
initiating: "initiating",
|
|
264
|
+
pending: "pending",
|
|
265
|
+
running: "running",
|
|
266
|
+
skipped: "skipped",
|
|
267
|
+
stopped: "stopped",
|
|
268
|
+
stopping: "stopping"
|
|
269
|
+
};
|
|
270
|
+
var ExperimentStatus = {
|
|
271
|
+
completed: "completed",
|
|
272
|
+
failed: "failed",
|
|
273
|
+
initiating: "initiating",
|
|
274
|
+
pending: "pending",
|
|
275
|
+
running: "running",
|
|
276
|
+
stopped: "stopped",
|
|
277
|
+
stopping: "stopping"
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
// src/protocols/Aws_restJson1.ts
|
|
281
|
+
var se_CreateExperimentTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
282
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
283
|
+
const headers = {
|
|
284
|
+
"content-type": "application/json"
|
|
285
|
+
};
|
|
286
|
+
b.bp("/experimentTemplates");
|
|
287
|
+
let body;
|
|
288
|
+
body = JSON.stringify(
|
|
289
|
+
(0, import_smithy_client.take)(input, {
|
|
290
|
+
actions: (_) => (0, import_smithy_client._json)(_),
|
|
291
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
292
|
+
description: [],
|
|
293
|
+
experimentOptions: (_) => (0, import_smithy_client._json)(_),
|
|
294
|
+
logConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
295
|
+
roleArn: [],
|
|
296
|
+
stopConditions: (_) => (0, import_smithy_client._json)(_),
|
|
297
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
298
|
+
targets: (_) => (0, import_smithy_client._json)(_)
|
|
299
|
+
})
|
|
300
|
+
);
|
|
301
|
+
b.m("POST").h(headers).b(body);
|
|
302
|
+
return b.build();
|
|
303
|
+
}, "se_CreateExperimentTemplateCommand");
|
|
304
|
+
var se_CreateTargetAccountConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
305
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
306
|
+
const headers = {
|
|
307
|
+
"content-type": "application/json"
|
|
308
|
+
};
|
|
309
|
+
b.bp("/experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}");
|
|
310
|
+
b.p("experimentTemplateId", () => input.experimentTemplateId, "{experimentTemplateId}", false);
|
|
311
|
+
b.p("accountId", () => input.accountId, "{accountId}", false);
|
|
312
|
+
let body;
|
|
313
|
+
body = JSON.stringify(
|
|
314
|
+
(0, import_smithy_client.take)(input, {
|
|
315
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
316
|
+
description: [],
|
|
317
|
+
roleArn: []
|
|
318
|
+
})
|
|
319
|
+
);
|
|
320
|
+
b.m("POST").h(headers).b(body);
|
|
321
|
+
return b.build();
|
|
322
|
+
}, "se_CreateTargetAccountConfigurationCommand");
|
|
323
|
+
var se_DeleteExperimentTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
324
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
325
|
+
const headers = {};
|
|
326
|
+
b.bp("/experimentTemplates/{id}");
|
|
327
|
+
b.p("id", () => input.id, "{id}", false);
|
|
328
|
+
let body;
|
|
329
|
+
b.m("DELETE").h(headers).b(body);
|
|
330
|
+
return b.build();
|
|
331
|
+
}, "se_DeleteExperimentTemplateCommand");
|
|
332
|
+
var se_DeleteTargetAccountConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
333
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
334
|
+
const headers = {};
|
|
335
|
+
b.bp("/experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}");
|
|
336
|
+
b.p("experimentTemplateId", () => input.experimentTemplateId, "{experimentTemplateId}", false);
|
|
337
|
+
b.p("accountId", () => input.accountId, "{accountId}", false);
|
|
338
|
+
let body;
|
|
339
|
+
b.m("DELETE").h(headers).b(body);
|
|
340
|
+
return b.build();
|
|
341
|
+
}, "se_DeleteTargetAccountConfigurationCommand");
|
|
342
|
+
var se_GetActionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
343
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
344
|
+
const headers = {};
|
|
345
|
+
b.bp("/actions/{id}");
|
|
346
|
+
b.p("id", () => input.id, "{id}", false);
|
|
347
|
+
let body;
|
|
348
|
+
b.m("GET").h(headers).b(body);
|
|
349
|
+
return b.build();
|
|
350
|
+
}, "se_GetActionCommand");
|
|
351
|
+
var se_GetExperimentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
352
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
353
|
+
const headers = {};
|
|
354
|
+
b.bp("/experiments/{id}");
|
|
355
|
+
b.p("id", () => input.id, "{id}", false);
|
|
356
|
+
let body;
|
|
357
|
+
b.m("GET").h(headers).b(body);
|
|
358
|
+
return b.build();
|
|
359
|
+
}, "se_GetExperimentCommand");
|
|
360
|
+
var se_GetExperimentTargetAccountConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
361
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
362
|
+
const headers = {};
|
|
363
|
+
b.bp("/experiments/{experimentId}/targetAccountConfigurations/{accountId}");
|
|
364
|
+
b.p("experimentId", () => input.experimentId, "{experimentId}", false);
|
|
365
|
+
b.p("accountId", () => input.accountId, "{accountId}", false);
|
|
366
|
+
let body;
|
|
367
|
+
b.m("GET").h(headers).b(body);
|
|
368
|
+
return b.build();
|
|
369
|
+
}, "se_GetExperimentTargetAccountConfigurationCommand");
|
|
370
|
+
var se_GetExperimentTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
371
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
372
|
+
const headers = {};
|
|
373
|
+
b.bp("/experimentTemplates/{id}");
|
|
374
|
+
b.p("id", () => input.id, "{id}", false);
|
|
375
|
+
let body;
|
|
376
|
+
b.m("GET").h(headers).b(body);
|
|
377
|
+
return b.build();
|
|
378
|
+
}, "se_GetExperimentTemplateCommand");
|
|
379
|
+
var se_GetTargetAccountConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
380
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
381
|
+
const headers = {};
|
|
382
|
+
b.bp("/experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}");
|
|
383
|
+
b.p("experimentTemplateId", () => input.experimentTemplateId, "{experimentTemplateId}", false);
|
|
384
|
+
b.p("accountId", () => input.accountId, "{accountId}", false);
|
|
385
|
+
let body;
|
|
386
|
+
b.m("GET").h(headers).b(body);
|
|
387
|
+
return b.build();
|
|
388
|
+
}, "se_GetTargetAccountConfigurationCommand");
|
|
389
|
+
var se_GetTargetResourceTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
390
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
391
|
+
const headers = {};
|
|
392
|
+
b.bp("/targetResourceTypes/{resourceType}");
|
|
393
|
+
b.p("resourceType", () => input.resourceType, "{resourceType}", false);
|
|
394
|
+
let body;
|
|
395
|
+
b.m("GET").h(headers).b(body);
|
|
396
|
+
return b.build();
|
|
397
|
+
}, "se_GetTargetResourceTypeCommand");
|
|
398
|
+
var se_ListActionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
399
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
400
|
+
const headers = {};
|
|
401
|
+
b.bp("/actions");
|
|
402
|
+
const query = (0, import_smithy_client.map)({
|
|
403
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
404
|
+
[_nT]: [, input[_nT]]
|
|
405
|
+
});
|
|
406
|
+
let body;
|
|
407
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
408
|
+
return b.build();
|
|
409
|
+
}, "se_ListActionsCommand");
|
|
410
|
+
var se_ListExperimentResolvedTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
411
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
412
|
+
const headers = {};
|
|
413
|
+
b.bp("/experiments/{experimentId}/resolvedTargets");
|
|
414
|
+
b.p("experimentId", () => input.experimentId, "{experimentId}", false);
|
|
415
|
+
const query = (0, import_smithy_client.map)({
|
|
416
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
417
|
+
[_nT]: [, input[_nT]],
|
|
418
|
+
[_tN]: [, input[_tN]]
|
|
419
|
+
});
|
|
420
|
+
let body;
|
|
421
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
422
|
+
return b.build();
|
|
423
|
+
}, "se_ListExperimentResolvedTargetsCommand");
|
|
424
|
+
var se_ListExperimentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
425
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
426
|
+
const headers = {};
|
|
427
|
+
b.bp("/experiments");
|
|
428
|
+
const query = (0, import_smithy_client.map)({
|
|
429
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
430
|
+
[_nT]: [, input[_nT]]
|
|
431
|
+
});
|
|
432
|
+
let body;
|
|
433
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
434
|
+
return b.build();
|
|
435
|
+
}, "se_ListExperimentsCommand");
|
|
436
|
+
var se_ListExperimentTargetAccountConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
437
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
438
|
+
const headers = {};
|
|
439
|
+
b.bp("/experiments/{experimentId}/targetAccountConfigurations");
|
|
440
|
+
b.p("experimentId", () => input.experimentId, "{experimentId}", false);
|
|
441
|
+
const query = (0, import_smithy_client.map)({
|
|
442
|
+
[_nT]: [, input[_nT]]
|
|
443
|
+
});
|
|
444
|
+
let body;
|
|
445
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
446
|
+
return b.build();
|
|
447
|
+
}, "se_ListExperimentTargetAccountConfigurationsCommand");
|
|
448
|
+
var se_ListExperimentTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
449
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
450
|
+
const headers = {};
|
|
451
|
+
b.bp("/experimentTemplates");
|
|
452
|
+
const query = (0, import_smithy_client.map)({
|
|
453
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
454
|
+
[_nT]: [, input[_nT]]
|
|
455
|
+
});
|
|
456
|
+
let body;
|
|
457
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
458
|
+
return b.build();
|
|
459
|
+
}, "se_ListExperimentTemplatesCommand");
|
|
460
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
461
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
462
|
+
const headers = {};
|
|
463
|
+
b.bp("/tags/{resourceArn}");
|
|
464
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
465
|
+
let body;
|
|
466
|
+
b.m("GET").h(headers).b(body);
|
|
467
|
+
return b.build();
|
|
468
|
+
}, "se_ListTagsForResourceCommand");
|
|
469
|
+
var se_ListTargetAccountConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
470
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
471
|
+
const headers = {};
|
|
472
|
+
b.bp("/experimentTemplates/{experimentTemplateId}/targetAccountConfigurations");
|
|
473
|
+
b.p("experimentTemplateId", () => input.experimentTemplateId, "{experimentTemplateId}", false);
|
|
474
|
+
const query = (0, import_smithy_client.map)({
|
|
475
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
476
|
+
[_nT]: [, input[_nT]]
|
|
477
|
+
});
|
|
478
|
+
let body;
|
|
479
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
480
|
+
return b.build();
|
|
481
|
+
}, "se_ListTargetAccountConfigurationsCommand");
|
|
482
|
+
var se_ListTargetResourceTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
483
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
484
|
+
const headers = {};
|
|
485
|
+
b.bp("/targetResourceTypes");
|
|
486
|
+
const query = (0, import_smithy_client.map)({
|
|
487
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
488
|
+
[_nT]: [, input[_nT]]
|
|
489
|
+
});
|
|
490
|
+
let body;
|
|
491
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
492
|
+
return b.build();
|
|
493
|
+
}, "se_ListTargetResourceTypesCommand");
|
|
494
|
+
var se_StartExperimentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
495
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
496
|
+
const headers = {
|
|
497
|
+
"content-type": "application/json"
|
|
498
|
+
};
|
|
499
|
+
b.bp("/experiments");
|
|
500
|
+
let body;
|
|
501
|
+
body = JSON.stringify(
|
|
502
|
+
(0, import_smithy_client.take)(input, {
|
|
503
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
504
|
+
experimentTemplateId: [],
|
|
505
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
506
|
+
})
|
|
507
|
+
);
|
|
508
|
+
b.m("POST").h(headers).b(body);
|
|
509
|
+
return b.build();
|
|
510
|
+
}, "se_StartExperimentCommand");
|
|
511
|
+
var se_StopExperimentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
512
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
513
|
+
const headers = {};
|
|
514
|
+
b.bp("/experiments/{id}");
|
|
515
|
+
b.p("id", () => input.id, "{id}", false);
|
|
516
|
+
let body;
|
|
517
|
+
b.m("DELETE").h(headers).b(body);
|
|
518
|
+
return b.build();
|
|
519
|
+
}, "se_StopExperimentCommand");
|
|
520
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
521
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
522
|
+
const headers = {
|
|
523
|
+
"content-type": "application/json"
|
|
524
|
+
};
|
|
525
|
+
b.bp("/tags/{resourceArn}");
|
|
526
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
527
|
+
let body;
|
|
528
|
+
body = JSON.stringify(
|
|
529
|
+
(0, import_smithy_client.take)(input, {
|
|
530
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
531
|
+
})
|
|
532
|
+
);
|
|
533
|
+
b.m("POST").h(headers).b(body);
|
|
534
|
+
return b.build();
|
|
535
|
+
}, "se_TagResourceCommand");
|
|
536
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
537
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
538
|
+
const headers = {};
|
|
539
|
+
b.bp("/tags/{resourceArn}");
|
|
540
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
541
|
+
const query = (0, import_smithy_client.map)({
|
|
542
|
+
[_tK]: [() => input.tagKeys !== void 0, () => (input[_tK] || []).map((_entry) => _entry)]
|
|
543
|
+
});
|
|
544
|
+
let body;
|
|
545
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
546
|
+
return b.build();
|
|
547
|
+
}, "se_UntagResourceCommand");
|
|
548
|
+
var se_UpdateExperimentTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
549
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
550
|
+
const headers = {
|
|
551
|
+
"content-type": "application/json"
|
|
552
|
+
};
|
|
553
|
+
b.bp("/experimentTemplates/{id}");
|
|
554
|
+
b.p("id", () => input.id, "{id}", false);
|
|
555
|
+
let body;
|
|
556
|
+
body = JSON.stringify(
|
|
557
|
+
(0, import_smithy_client.take)(input, {
|
|
558
|
+
actions: (_) => (0, import_smithy_client._json)(_),
|
|
559
|
+
description: [],
|
|
560
|
+
experimentOptions: (_) => (0, import_smithy_client._json)(_),
|
|
561
|
+
logConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
562
|
+
roleArn: [],
|
|
563
|
+
stopConditions: (_) => (0, import_smithy_client._json)(_),
|
|
564
|
+
targets: (_) => (0, import_smithy_client._json)(_)
|
|
565
|
+
})
|
|
566
|
+
);
|
|
567
|
+
b.m("PATCH").h(headers).b(body);
|
|
568
|
+
return b.build();
|
|
569
|
+
}, "se_UpdateExperimentTemplateCommand");
|
|
570
|
+
var se_UpdateTargetAccountConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
571
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
572
|
+
const headers = {
|
|
573
|
+
"content-type": "application/json"
|
|
574
|
+
};
|
|
575
|
+
b.bp("/experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}");
|
|
576
|
+
b.p("experimentTemplateId", () => input.experimentTemplateId, "{experimentTemplateId}", false);
|
|
577
|
+
b.p("accountId", () => input.accountId, "{accountId}", false);
|
|
578
|
+
let body;
|
|
579
|
+
body = JSON.stringify(
|
|
580
|
+
(0, import_smithy_client.take)(input, {
|
|
581
|
+
description: [],
|
|
582
|
+
roleArn: []
|
|
583
|
+
})
|
|
584
|
+
);
|
|
585
|
+
b.m("PATCH").h(headers).b(body);
|
|
586
|
+
return b.build();
|
|
587
|
+
}, "se_UpdateTargetAccountConfigurationCommand");
|
|
588
|
+
var de_CreateExperimentTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
589
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
590
|
+
return de_CreateExperimentTemplateCommandError(output, context);
|
|
591
|
+
}
|
|
592
|
+
const contents = (0, import_smithy_client.map)({
|
|
593
|
+
$metadata: deserializeMetadata(output)
|
|
594
|
+
});
|
|
595
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
596
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
597
|
+
experimentTemplate: (_) => de_ExperimentTemplate(_, context)
|
|
598
|
+
});
|
|
599
|
+
Object.assign(contents, doc);
|
|
600
|
+
return contents;
|
|
601
|
+
}, "de_CreateExperimentTemplateCommand");
|
|
602
|
+
var de_CreateExperimentTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
603
|
+
const parsedOutput = {
|
|
604
|
+
...output,
|
|
605
|
+
body: await parseErrorBody(output.body, context)
|
|
606
|
+
};
|
|
607
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
608
|
+
switch (errorCode) {
|
|
609
|
+
case "ConflictException":
|
|
610
|
+
case "com.amazonaws.fis#ConflictException":
|
|
611
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
612
|
+
case "ResourceNotFoundException":
|
|
613
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
614
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
615
|
+
case "ServiceQuotaExceededException":
|
|
616
|
+
case "com.amazonaws.fis#ServiceQuotaExceededException":
|
|
617
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
618
|
+
case "ValidationException":
|
|
619
|
+
case "com.amazonaws.fis#ValidationException":
|
|
620
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
621
|
+
default:
|
|
622
|
+
const parsedBody = parsedOutput.body;
|
|
623
|
+
return throwDefaultError({
|
|
624
|
+
output,
|
|
625
|
+
parsedBody,
|
|
626
|
+
errorCode
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
}, "de_CreateExperimentTemplateCommandError");
|
|
630
|
+
var de_CreateTargetAccountConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
631
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
632
|
+
return de_CreateTargetAccountConfigurationCommandError(output, context);
|
|
633
|
+
}
|
|
634
|
+
const contents = (0, import_smithy_client.map)({
|
|
635
|
+
$metadata: deserializeMetadata(output)
|
|
636
|
+
});
|
|
637
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
638
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
639
|
+
targetAccountConfiguration: import_smithy_client._json
|
|
640
|
+
});
|
|
641
|
+
Object.assign(contents, doc);
|
|
642
|
+
return contents;
|
|
643
|
+
}, "de_CreateTargetAccountConfigurationCommand");
|
|
644
|
+
var de_CreateTargetAccountConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
645
|
+
const parsedOutput = {
|
|
646
|
+
...output,
|
|
647
|
+
body: await parseErrorBody(output.body, context)
|
|
648
|
+
};
|
|
649
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
650
|
+
switch (errorCode) {
|
|
651
|
+
case "ConflictException":
|
|
652
|
+
case "com.amazonaws.fis#ConflictException":
|
|
653
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
654
|
+
case "ResourceNotFoundException":
|
|
655
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
656
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
657
|
+
case "ServiceQuotaExceededException":
|
|
658
|
+
case "com.amazonaws.fis#ServiceQuotaExceededException":
|
|
659
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
660
|
+
case "ValidationException":
|
|
661
|
+
case "com.amazonaws.fis#ValidationException":
|
|
662
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
663
|
+
default:
|
|
664
|
+
const parsedBody = parsedOutput.body;
|
|
665
|
+
return throwDefaultError({
|
|
666
|
+
output,
|
|
667
|
+
parsedBody,
|
|
668
|
+
errorCode
|
|
669
|
+
});
|
|
670
|
+
}
|
|
671
|
+
}, "de_CreateTargetAccountConfigurationCommandError");
|
|
672
|
+
var de_DeleteExperimentTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
673
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
674
|
+
return de_DeleteExperimentTemplateCommandError(output, context);
|
|
675
|
+
}
|
|
676
|
+
const contents = (0, import_smithy_client.map)({
|
|
677
|
+
$metadata: deserializeMetadata(output)
|
|
678
|
+
});
|
|
679
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
680
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
681
|
+
experimentTemplate: (_) => de_ExperimentTemplate(_, context)
|
|
682
|
+
});
|
|
683
|
+
Object.assign(contents, doc);
|
|
684
|
+
return contents;
|
|
685
|
+
}, "de_DeleteExperimentTemplateCommand");
|
|
686
|
+
var de_DeleteExperimentTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
687
|
+
const parsedOutput = {
|
|
688
|
+
...output,
|
|
689
|
+
body: await parseErrorBody(output.body, context)
|
|
690
|
+
};
|
|
691
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
692
|
+
switch (errorCode) {
|
|
693
|
+
case "ResourceNotFoundException":
|
|
694
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
695
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
696
|
+
case "ValidationException":
|
|
697
|
+
case "com.amazonaws.fis#ValidationException":
|
|
698
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
699
|
+
default:
|
|
700
|
+
const parsedBody = parsedOutput.body;
|
|
701
|
+
return throwDefaultError({
|
|
702
|
+
output,
|
|
703
|
+
parsedBody,
|
|
704
|
+
errorCode
|
|
705
|
+
});
|
|
706
|
+
}
|
|
707
|
+
}, "de_DeleteExperimentTemplateCommandError");
|
|
708
|
+
var de_DeleteTargetAccountConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
709
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
710
|
+
return de_DeleteTargetAccountConfigurationCommandError(output, context);
|
|
711
|
+
}
|
|
712
|
+
const contents = (0, import_smithy_client.map)({
|
|
713
|
+
$metadata: deserializeMetadata(output)
|
|
714
|
+
});
|
|
715
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
716
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
717
|
+
targetAccountConfiguration: import_smithy_client._json
|
|
718
|
+
});
|
|
719
|
+
Object.assign(contents, doc);
|
|
720
|
+
return contents;
|
|
721
|
+
}, "de_DeleteTargetAccountConfigurationCommand");
|
|
722
|
+
var de_DeleteTargetAccountConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
723
|
+
const parsedOutput = {
|
|
724
|
+
...output,
|
|
725
|
+
body: await parseErrorBody(output.body, context)
|
|
726
|
+
};
|
|
727
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
728
|
+
switch (errorCode) {
|
|
729
|
+
case "ResourceNotFoundException":
|
|
730
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
731
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
732
|
+
case "ValidationException":
|
|
733
|
+
case "com.amazonaws.fis#ValidationException":
|
|
734
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
735
|
+
default:
|
|
736
|
+
const parsedBody = parsedOutput.body;
|
|
737
|
+
return throwDefaultError({
|
|
738
|
+
output,
|
|
739
|
+
parsedBody,
|
|
740
|
+
errorCode
|
|
741
|
+
});
|
|
742
|
+
}
|
|
743
|
+
}, "de_DeleteTargetAccountConfigurationCommandError");
|
|
744
|
+
var de_GetActionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
745
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
746
|
+
return de_GetActionCommandError(output, context);
|
|
747
|
+
}
|
|
748
|
+
const contents = (0, import_smithy_client.map)({
|
|
749
|
+
$metadata: deserializeMetadata(output)
|
|
750
|
+
});
|
|
751
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
752
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
753
|
+
action: import_smithy_client._json
|
|
754
|
+
});
|
|
755
|
+
Object.assign(contents, doc);
|
|
756
|
+
return contents;
|
|
757
|
+
}, "de_GetActionCommand");
|
|
758
|
+
var de_GetActionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
759
|
+
const parsedOutput = {
|
|
760
|
+
...output,
|
|
761
|
+
body: await parseErrorBody(output.body, context)
|
|
762
|
+
};
|
|
763
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
764
|
+
switch (errorCode) {
|
|
765
|
+
case "ResourceNotFoundException":
|
|
766
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
767
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
768
|
+
case "ValidationException":
|
|
769
|
+
case "com.amazonaws.fis#ValidationException":
|
|
770
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
771
|
+
default:
|
|
772
|
+
const parsedBody = parsedOutput.body;
|
|
773
|
+
return throwDefaultError({
|
|
774
|
+
output,
|
|
775
|
+
parsedBody,
|
|
776
|
+
errorCode
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
}, "de_GetActionCommandError");
|
|
780
|
+
var de_GetExperimentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
781
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
782
|
+
return de_GetExperimentCommandError(output, context);
|
|
783
|
+
}
|
|
784
|
+
const contents = (0, import_smithy_client.map)({
|
|
785
|
+
$metadata: deserializeMetadata(output)
|
|
786
|
+
});
|
|
787
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
788
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
789
|
+
experiment: (_) => de_Experiment(_, context)
|
|
790
|
+
});
|
|
791
|
+
Object.assign(contents, doc);
|
|
792
|
+
return contents;
|
|
793
|
+
}, "de_GetExperimentCommand");
|
|
794
|
+
var de_GetExperimentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
795
|
+
const parsedOutput = {
|
|
796
|
+
...output,
|
|
797
|
+
body: await parseErrorBody(output.body, context)
|
|
798
|
+
};
|
|
799
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
800
|
+
switch (errorCode) {
|
|
801
|
+
case "ResourceNotFoundException":
|
|
802
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
803
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
804
|
+
case "ValidationException":
|
|
805
|
+
case "com.amazonaws.fis#ValidationException":
|
|
806
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
807
|
+
default:
|
|
808
|
+
const parsedBody = parsedOutput.body;
|
|
809
|
+
return throwDefaultError({
|
|
810
|
+
output,
|
|
811
|
+
parsedBody,
|
|
812
|
+
errorCode
|
|
813
|
+
});
|
|
814
|
+
}
|
|
815
|
+
}, "de_GetExperimentCommandError");
|
|
816
|
+
var de_GetExperimentTargetAccountConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
817
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
818
|
+
return de_GetExperimentTargetAccountConfigurationCommandError(output, context);
|
|
819
|
+
}
|
|
820
|
+
const contents = (0, import_smithy_client.map)({
|
|
821
|
+
$metadata: deserializeMetadata(output)
|
|
822
|
+
});
|
|
823
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
824
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
825
|
+
targetAccountConfiguration: import_smithy_client._json
|
|
826
|
+
});
|
|
827
|
+
Object.assign(contents, doc);
|
|
828
|
+
return contents;
|
|
829
|
+
}, "de_GetExperimentTargetAccountConfigurationCommand");
|
|
830
|
+
var de_GetExperimentTargetAccountConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
831
|
+
const parsedOutput = {
|
|
832
|
+
...output,
|
|
833
|
+
body: await parseErrorBody(output.body, context)
|
|
834
|
+
};
|
|
835
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
836
|
+
switch (errorCode) {
|
|
837
|
+
case "ResourceNotFoundException":
|
|
838
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
839
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
840
|
+
case "ValidationException":
|
|
841
|
+
case "com.amazonaws.fis#ValidationException":
|
|
842
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
843
|
+
default:
|
|
844
|
+
const parsedBody = parsedOutput.body;
|
|
845
|
+
return throwDefaultError({
|
|
846
|
+
output,
|
|
847
|
+
parsedBody,
|
|
848
|
+
errorCode
|
|
849
|
+
});
|
|
850
|
+
}
|
|
851
|
+
}, "de_GetExperimentTargetAccountConfigurationCommandError");
|
|
852
|
+
var de_GetExperimentTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
853
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
854
|
+
return de_GetExperimentTemplateCommandError(output, context);
|
|
855
|
+
}
|
|
856
|
+
const contents = (0, import_smithy_client.map)({
|
|
857
|
+
$metadata: deserializeMetadata(output)
|
|
858
|
+
});
|
|
859
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
860
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
861
|
+
experimentTemplate: (_) => de_ExperimentTemplate(_, context)
|
|
862
|
+
});
|
|
863
|
+
Object.assign(contents, doc);
|
|
864
|
+
return contents;
|
|
865
|
+
}, "de_GetExperimentTemplateCommand");
|
|
866
|
+
var de_GetExperimentTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
867
|
+
const parsedOutput = {
|
|
868
|
+
...output,
|
|
869
|
+
body: await parseErrorBody(output.body, context)
|
|
870
|
+
};
|
|
871
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
872
|
+
switch (errorCode) {
|
|
873
|
+
case "ResourceNotFoundException":
|
|
874
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
875
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
876
|
+
case "ValidationException":
|
|
877
|
+
case "com.amazonaws.fis#ValidationException":
|
|
878
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
879
|
+
default:
|
|
880
|
+
const parsedBody = parsedOutput.body;
|
|
881
|
+
return throwDefaultError({
|
|
882
|
+
output,
|
|
883
|
+
parsedBody,
|
|
884
|
+
errorCode
|
|
885
|
+
});
|
|
886
|
+
}
|
|
887
|
+
}, "de_GetExperimentTemplateCommandError");
|
|
888
|
+
var de_GetTargetAccountConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
889
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
890
|
+
return de_GetTargetAccountConfigurationCommandError(output, context);
|
|
891
|
+
}
|
|
892
|
+
const contents = (0, import_smithy_client.map)({
|
|
893
|
+
$metadata: deserializeMetadata(output)
|
|
894
|
+
});
|
|
895
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
896
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
897
|
+
targetAccountConfiguration: import_smithy_client._json
|
|
898
|
+
});
|
|
899
|
+
Object.assign(contents, doc);
|
|
900
|
+
return contents;
|
|
901
|
+
}, "de_GetTargetAccountConfigurationCommand");
|
|
902
|
+
var de_GetTargetAccountConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
903
|
+
const parsedOutput = {
|
|
904
|
+
...output,
|
|
905
|
+
body: await parseErrorBody(output.body, context)
|
|
906
|
+
};
|
|
907
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
908
|
+
switch (errorCode) {
|
|
909
|
+
case "ResourceNotFoundException":
|
|
910
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
911
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
912
|
+
case "ValidationException":
|
|
913
|
+
case "com.amazonaws.fis#ValidationException":
|
|
914
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
915
|
+
default:
|
|
916
|
+
const parsedBody = parsedOutput.body;
|
|
917
|
+
return throwDefaultError({
|
|
918
|
+
output,
|
|
919
|
+
parsedBody,
|
|
920
|
+
errorCode
|
|
921
|
+
});
|
|
922
|
+
}
|
|
923
|
+
}, "de_GetTargetAccountConfigurationCommandError");
|
|
924
|
+
var de_GetTargetResourceTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
925
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
926
|
+
return de_GetTargetResourceTypeCommandError(output, context);
|
|
927
|
+
}
|
|
928
|
+
const contents = (0, import_smithy_client.map)({
|
|
929
|
+
$metadata: deserializeMetadata(output)
|
|
930
|
+
});
|
|
931
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
932
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
933
|
+
targetResourceType: import_smithy_client._json
|
|
934
|
+
});
|
|
935
|
+
Object.assign(contents, doc);
|
|
936
|
+
return contents;
|
|
937
|
+
}, "de_GetTargetResourceTypeCommand");
|
|
938
|
+
var de_GetTargetResourceTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
939
|
+
const parsedOutput = {
|
|
940
|
+
...output,
|
|
941
|
+
body: await parseErrorBody(output.body, context)
|
|
942
|
+
};
|
|
943
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
944
|
+
switch (errorCode) {
|
|
945
|
+
case "ResourceNotFoundException":
|
|
946
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
947
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
948
|
+
case "ValidationException":
|
|
949
|
+
case "com.amazonaws.fis#ValidationException":
|
|
950
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
951
|
+
default:
|
|
952
|
+
const parsedBody = parsedOutput.body;
|
|
953
|
+
return throwDefaultError({
|
|
954
|
+
output,
|
|
955
|
+
parsedBody,
|
|
956
|
+
errorCode
|
|
957
|
+
});
|
|
958
|
+
}
|
|
959
|
+
}, "de_GetTargetResourceTypeCommandError");
|
|
960
|
+
var de_ListActionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
961
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
962
|
+
return de_ListActionsCommandError(output, context);
|
|
963
|
+
}
|
|
964
|
+
const contents = (0, import_smithy_client.map)({
|
|
965
|
+
$metadata: deserializeMetadata(output)
|
|
966
|
+
});
|
|
967
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
968
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
969
|
+
actions: import_smithy_client._json,
|
|
970
|
+
nextToken: import_smithy_client.expectString
|
|
971
|
+
});
|
|
972
|
+
Object.assign(contents, doc);
|
|
973
|
+
return contents;
|
|
974
|
+
}, "de_ListActionsCommand");
|
|
975
|
+
var de_ListActionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
976
|
+
const parsedOutput = {
|
|
977
|
+
...output,
|
|
978
|
+
body: await parseErrorBody(output.body, context)
|
|
979
|
+
};
|
|
980
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
981
|
+
switch (errorCode) {
|
|
982
|
+
case "ValidationException":
|
|
983
|
+
case "com.amazonaws.fis#ValidationException":
|
|
984
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
985
|
+
default:
|
|
986
|
+
const parsedBody = parsedOutput.body;
|
|
987
|
+
return throwDefaultError({
|
|
988
|
+
output,
|
|
989
|
+
parsedBody,
|
|
990
|
+
errorCode
|
|
991
|
+
});
|
|
992
|
+
}
|
|
993
|
+
}, "de_ListActionsCommandError");
|
|
994
|
+
var de_ListExperimentResolvedTargetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
995
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
996
|
+
return de_ListExperimentResolvedTargetsCommandError(output, context);
|
|
997
|
+
}
|
|
998
|
+
const contents = (0, import_smithy_client.map)({
|
|
999
|
+
$metadata: deserializeMetadata(output)
|
|
1000
|
+
});
|
|
1001
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1002
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1003
|
+
nextToken: import_smithy_client.expectString,
|
|
1004
|
+
resolvedTargets: import_smithy_client._json
|
|
1005
|
+
});
|
|
1006
|
+
Object.assign(contents, doc);
|
|
1007
|
+
return contents;
|
|
1008
|
+
}, "de_ListExperimentResolvedTargetsCommand");
|
|
1009
|
+
var de_ListExperimentResolvedTargetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1010
|
+
const parsedOutput = {
|
|
1011
|
+
...output,
|
|
1012
|
+
body: await parseErrorBody(output.body, context)
|
|
1013
|
+
};
|
|
1014
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1015
|
+
switch (errorCode) {
|
|
1016
|
+
case "ResourceNotFoundException":
|
|
1017
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
1018
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1019
|
+
case "ValidationException":
|
|
1020
|
+
case "com.amazonaws.fis#ValidationException":
|
|
1021
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1022
|
+
default:
|
|
1023
|
+
const parsedBody = parsedOutput.body;
|
|
1024
|
+
return throwDefaultError({
|
|
1025
|
+
output,
|
|
1026
|
+
parsedBody,
|
|
1027
|
+
errorCode
|
|
1028
|
+
});
|
|
1029
|
+
}
|
|
1030
|
+
}, "de_ListExperimentResolvedTargetsCommandError");
|
|
1031
|
+
var de_ListExperimentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1032
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1033
|
+
return de_ListExperimentsCommandError(output, context);
|
|
1034
|
+
}
|
|
1035
|
+
const contents = (0, import_smithy_client.map)({
|
|
1036
|
+
$metadata: deserializeMetadata(output)
|
|
1037
|
+
});
|
|
1038
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1039
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1040
|
+
experiments: (_) => de_ExperimentSummaryList(_, context),
|
|
1041
|
+
nextToken: import_smithy_client.expectString
|
|
1042
|
+
});
|
|
1043
|
+
Object.assign(contents, doc);
|
|
1044
|
+
return contents;
|
|
1045
|
+
}, "de_ListExperimentsCommand");
|
|
1046
|
+
var de_ListExperimentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1047
|
+
const parsedOutput = {
|
|
1048
|
+
...output,
|
|
1049
|
+
body: await parseErrorBody(output.body, context)
|
|
1050
|
+
};
|
|
1051
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1052
|
+
switch (errorCode) {
|
|
1053
|
+
case "ValidationException":
|
|
1054
|
+
case "com.amazonaws.fis#ValidationException":
|
|
1055
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1056
|
+
default:
|
|
1057
|
+
const parsedBody = parsedOutput.body;
|
|
1058
|
+
return throwDefaultError({
|
|
1059
|
+
output,
|
|
1060
|
+
parsedBody,
|
|
1061
|
+
errorCode
|
|
1062
|
+
});
|
|
1063
|
+
}
|
|
1064
|
+
}, "de_ListExperimentsCommandError");
|
|
1065
|
+
var de_ListExperimentTargetAccountConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1066
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1067
|
+
return de_ListExperimentTargetAccountConfigurationsCommandError(output, context);
|
|
1068
|
+
}
|
|
1069
|
+
const contents = (0, import_smithy_client.map)({
|
|
1070
|
+
$metadata: deserializeMetadata(output)
|
|
1071
|
+
});
|
|
1072
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1073
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1074
|
+
nextToken: import_smithy_client.expectString,
|
|
1075
|
+
targetAccountConfigurations: import_smithy_client._json
|
|
1076
|
+
});
|
|
1077
|
+
Object.assign(contents, doc);
|
|
1078
|
+
return contents;
|
|
1079
|
+
}, "de_ListExperimentTargetAccountConfigurationsCommand");
|
|
1080
|
+
var de_ListExperimentTargetAccountConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1081
|
+
const parsedOutput = {
|
|
1082
|
+
...output,
|
|
1083
|
+
body: await parseErrorBody(output.body, context)
|
|
1084
|
+
};
|
|
1085
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1086
|
+
switch (errorCode) {
|
|
1087
|
+
case "ResourceNotFoundException":
|
|
1088
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
1089
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1090
|
+
case "ValidationException":
|
|
1091
|
+
case "com.amazonaws.fis#ValidationException":
|
|
1092
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1093
|
+
default:
|
|
1094
|
+
const parsedBody = parsedOutput.body;
|
|
1095
|
+
return throwDefaultError({
|
|
1096
|
+
output,
|
|
1097
|
+
parsedBody,
|
|
1098
|
+
errorCode
|
|
1099
|
+
});
|
|
1100
|
+
}
|
|
1101
|
+
}, "de_ListExperimentTargetAccountConfigurationsCommandError");
|
|
1102
|
+
var de_ListExperimentTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1103
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1104
|
+
return de_ListExperimentTemplatesCommandError(output, context);
|
|
1105
|
+
}
|
|
1106
|
+
const contents = (0, import_smithy_client.map)({
|
|
1107
|
+
$metadata: deserializeMetadata(output)
|
|
1108
|
+
});
|
|
1109
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1110
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1111
|
+
experimentTemplates: (_) => de_ExperimentTemplateSummaryList(_, context),
|
|
1112
|
+
nextToken: import_smithy_client.expectString
|
|
1113
|
+
});
|
|
1114
|
+
Object.assign(contents, doc);
|
|
1115
|
+
return contents;
|
|
1116
|
+
}, "de_ListExperimentTemplatesCommand");
|
|
1117
|
+
var de_ListExperimentTemplatesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1118
|
+
const parsedOutput = {
|
|
1119
|
+
...output,
|
|
1120
|
+
body: await parseErrorBody(output.body, context)
|
|
1121
|
+
};
|
|
1122
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1123
|
+
switch (errorCode) {
|
|
1124
|
+
case "ValidationException":
|
|
1125
|
+
case "com.amazonaws.fis#ValidationException":
|
|
1126
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1127
|
+
default:
|
|
1128
|
+
const parsedBody = parsedOutput.body;
|
|
1129
|
+
return throwDefaultError({
|
|
1130
|
+
output,
|
|
1131
|
+
parsedBody,
|
|
1132
|
+
errorCode
|
|
1133
|
+
});
|
|
1134
|
+
}
|
|
1135
|
+
}, "de_ListExperimentTemplatesCommandError");
|
|
1136
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1137
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1138
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1139
|
+
}
|
|
1140
|
+
const contents = (0, import_smithy_client.map)({
|
|
1141
|
+
$metadata: deserializeMetadata(output)
|
|
1142
|
+
});
|
|
1143
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1144
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1145
|
+
tags: import_smithy_client._json
|
|
1146
|
+
});
|
|
1147
|
+
Object.assign(contents, doc);
|
|
1148
|
+
return contents;
|
|
1149
|
+
}, "de_ListTagsForResourceCommand");
|
|
1150
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1151
|
+
const parsedOutput = {
|
|
1152
|
+
...output,
|
|
1153
|
+
body: await parseErrorBody(output.body, context)
|
|
1154
|
+
};
|
|
1155
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1156
|
+
const parsedBody = parsedOutput.body;
|
|
1157
|
+
return throwDefaultError({
|
|
1158
|
+
output,
|
|
1159
|
+
parsedBody,
|
|
1160
|
+
errorCode
|
|
1161
|
+
});
|
|
1162
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1163
|
+
var de_ListTargetAccountConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1164
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1165
|
+
return de_ListTargetAccountConfigurationsCommandError(output, context);
|
|
1166
|
+
}
|
|
1167
|
+
const contents = (0, import_smithy_client.map)({
|
|
1168
|
+
$metadata: deserializeMetadata(output)
|
|
1169
|
+
});
|
|
1170
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1171
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1172
|
+
nextToken: import_smithy_client.expectString,
|
|
1173
|
+
targetAccountConfigurations: import_smithy_client._json
|
|
1174
|
+
});
|
|
1175
|
+
Object.assign(contents, doc);
|
|
1176
|
+
return contents;
|
|
1177
|
+
}, "de_ListTargetAccountConfigurationsCommand");
|
|
1178
|
+
var de_ListTargetAccountConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1179
|
+
const parsedOutput = {
|
|
1180
|
+
...output,
|
|
1181
|
+
body: await parseErrorBody(output.body, context)
|
|
1182
|
+
};
|
|
1183
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1184
|
+
switch (errorCode) {
|
|
1185
|
+
case "ResourceNotFoundException":
|
|
1186
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
1187
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1188
|
+
case "ValidationException":
|
|
1189
|
+
case "com.amazonaws.fis#ValidationException":
|
|
1190
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1191
|
+
default:
|
|
1192
|
+
const parsedBody = parsedOutput.body;
|
|
1193
|
+
return throwDefaultError({
|
|
1194
|
+
output,
|
|
1195
|
+
parsedBody,
|
|
1196
|
+
errorCode
|
|
1197
|
+
});
|
|
1198
|
+
}
|
|
1199
|
+
}, "de_ListTargetAccountConfigurationsCommandError");
|
|
1200
|
+
var de_ListTargetResourceTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1201
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1202
|
+
return de_ListTargetResourceTypesCommandError(output, context);
|
|
1203
|
+
}
|
|
1204
|
+
const contents = (0, import_smithy_client.map)({
|
|
1205
|
+
$metadata: deserializeMetadata(output)
|
|
1206
|
+
});
|
|
1207
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1208
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1209
|
+
nextToken: import_smithy_client.expectString,
|
|
1210
|
+
targetResourceTypes: import_smithy_client._json
|
|
1211
|
+
});
|
|
1212
|
+
Object.assign(contents, doc);
|
|
1213
|
+
return contents;
|
|
1214
|
+
}, "de_ListTargetResourceTypesCommand");
|
|
1215
|
+
var de_ListTargetResourceTypesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1216
|
+
const parsedOutput = {
|
|
1217
|
+
...output,
|
|
1218
|
+
body: await parseErrorBody(output.body, context)
|
|
1219
|
+
};
|
|
1220
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1221
|
+
switch (errorCode) {
|
|
1222
|
+
case "ValidationException":
|
|
1223
|
+
case "com.amazonaws.fis#ValidationException":
|
|
1224
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1225
|
+
default:
|
|
1226
|
+
const parsedBody = parsedOutput.body;
|
|
1227
|
+
return throwDefaultError({
|
|
1228
|
+
output,
|
|
1229
|
+
parsedBody,
|
|
1230
|
+
errorCode
|
|
1231
|
+
});
|
|
1232
|
+
}
|
|
1233
|
+
}, "de_ListTargetResourceTypesCommandError");
|
|
1234
|
+
var de_StartExperimentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1235
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1236
|
+
return de_StartExperimentCommandError(output, context);
|
|
1237
|
+
}
|
|
1238
|
+
const contents = (0, import_smithy_client.map)({
|
|
1239
|
+
$metadata: deserializeMetadata(output)
|
|
1240
|
+
});
|
|
1241
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1242
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1243
|
+
experiment: (_) => de_Experiment(_, context)
|
|
1244
|
+
});
|
|
1245
|
+
Object.assign(contents, doc);
|
|
1246
|
+
return contents;
|
|
1247
|
+
}, "de_StartExperimentCommand");
|
|
1248
|
+
var de_StartExperimentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1249
|
+
const parsedOutput = {
|
|
1250
|
+
...output,
|
|
1251
|
+
body: await parseErrorBody(output.body, context)
|
|
1252
|
+
};
|
|
1253
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1254
|
+
switch (errorCode) {
|
|
1255
|
+
case "ConflictException":
|
|
1256
|
+
case "com.amazonaws.fis#ConflictException":
|
|
1257
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1258
|
+
case "ResourceNotFoundException":
|
|
1259
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
1260
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1261
|
+
case "ServiceQuotaExceededException":
|
|
1262
|
+
case "com.amazonaws.fis#ServiceQuotaExceededException":
|
|
1263
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1264
|
+
case "ValidationException":
|
|
1265
|
+
case "com.amazonaws.fis#ValidationException":
|
|
1266
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1267
|
+
default:
|
|
1268
|
+
const parsedBody = parsedOutput.body;
|
|
1269
|
+
return throwDefaultError({
|
|
1270
|
+
output,
|
|
1271
|
+
parsedBody,
|
|
1272
|
+
errorCode
|
|
1273
|
+
});
|
|
1274
|
+
}
|
|
1275
|
+
}, "de_StartExperimentCommandError");
|
|
1276
|
+
var de_StopExperimentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1277
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1278
|
+
return de_StopExperimentCommandError(output, context);
|
|
1279
|
+
}
|
|
1280
|
+
const contents = (0, import_smithy_client.map)({
|
|
1281
|
+
$metadata: deserializeMetadata(output)
|
|
1282
|
+
});
|
|
1283
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1284
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1285
|
+
experiment: (_) => de_Experiment(_, context)
|
|
1286
|
+
});
|
|
1287
|
+
Object.assign(contents, doc);
|
|
1288
|
+
return contents;
|
|
1289
|
+
}, "de_StopExperimentCommand");
|
|
1290
|
+
var de_StopExperimentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1291
|
+
const parsedOutput = {
|
|
1292
|
+
...output,
|
|
1293
|
+
body: await parseErrorBody(output.body, context)
|
|
1294
|
+
};
|
|
1295
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1296
|
+
switch (errorCode) {
|
|
1297
|
+
case "ResourceNotFoundException":
|
|
1298
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
1299
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1300
|
+
case "ValidationException":
|
|
1301
|
+
case "com.amazonaws.fis#ValidationException":
|
|
1302
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1303
|
+
default:
|
|
1304
|
+
const parsedBody = parsedOutput.body;
|
|
1305
|
+
return throwDefaultError({
|
|
1306
|
+
output,
|
|
1307
|
+
parsedBody,
|
|
1308
|
+
errorCode
|
|
1309
|
+
});
|
|
1310
|
+
}
|
|
1311
|
+
}, "de_StopExperimentCommandError");
|
|
1312
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1313
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1314
|
+
return de_TagResourceCommandError(output, context);
|
|
1315
|
+
}
|
|
1316
|
+
const contents = (0, import_smithy_client.map)({
|
|
1317
|
+
$metadata: deserializeMetadata(output)
|
|
1318
|
+
});
|
|
1319
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1320
|
+
return contents;
|
|
1321
|
+
}, "de_TagResourceCommand");
|
|
1322
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1323
|
+
const parsedOutput = {
|
|
1324
|
+
...output,
|
|
1325
|
+
body: await parseErrorBody(output.body, context)
|
|
1326
|
+
};
|
|
1327
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1328
|
+
const parsedBody = parsedOutput.body;
|
|
1329
|
+
return throwDefaultError({
|
|
1330
|
+
output,
|
|
1331
|
+
parsedBody,
|
|
1332
|
+
errorCode
|
|
1333
|
+
});
|
|
1334
|
+
}, "de_TagResourceCommandError");
|
|
1335
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1336
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1337
|
+
return de_UntagResourceCommandError(output, context);
|
|
1338
|
+
}
|
|
1339
|
+
const contents = (0, import_smithy_client.map)({
|
|
1340
|
+
$metadata: deserializeMetadata(output)
|
|
1341
|
+
});
|
|
1342
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1343
|
+
return contents;
|
|
1344
|
+
}, "de_UntagResourceCommand");
|
|
1345
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1346
|
+
const parsedOutput = {
|
|
1347
|
+
...output,
|
|
1348
|
+
body: await parseErrorBody(output.body, context)
|
|
1349
|
+
};
|
|
1350
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1351
|
+
const parsedBody = parsedOutput.body;
|
|
1352
|
+
return throwDefaultError({
|
|
1353
|
+
output,
|
|
1354
|
+
parsedBody,
|
|
1355
|
+
errorCode
|
|
1356
|
+
});
|
|
1357
|
+
}, "de_UntagResourceCommandError");
|
|
1358
|
+
var de_UpdateExperimentTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1359
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1360
|
+
return de_UpdateExperimentTemplateCommandError(output, context);
|
|
1361
|
+
}
|
|
1362
|
+
const contents = (0, import_smithy_client.map)({
|
|
1363
|
+
$metadata: deserializeMetadata(output)
|
|
1364
|
+
});
|
|
1365
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1366
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1367
|
+
experimentTemplate: (_) => de_ExperimentTemplate(_, context)
|
|
1368
|
+
});
|
|
1369
|
+
Object.assign(contents, doc);
|
|
1370
|
+
return contents;
|
|
1371
|
+
}, "de_UpdateExperimentTemplateCommand");
|
|
1372
|
+
var de_UpdateExperimentTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1373
|
+
const parsedOutput = {
|
|
1374
|
+
...output,
|
|
1375
|
+
body: await parseErrorBody(output.body, context)
|
|
1376
|
+
};
|
|
1377
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1378
|
+
switch (errorCode) {
|
|
1379
|
+
case "ResourceNotFoundException":
|
|
1380
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
1381
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1382
|
+
case "ServiceQuotaExceededException":
|
|
1383
|
+
case "com.amazonaws.fis#ServiceQuotaExceededException":
|
|
1384
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1385
|
+
case "ValidationException":
|
|
1386
|
+
case "com.amazonaws.fis#ValidationException":
|
|
1387
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1388
|
+
default:
|
|
1389
|
+
const parsedBody = parsedOutput.body;
|
|
1390
|
+
return throwDefaultError({
|
|
1391
|
+
output,
|
|
1392
|
+
parsedBody,
|
|
1393
|
+
errorCode
|
|
1394
|
+
});
|
|
1395
|
+
}
|
|
1396
|
+
}, "de_UpdateExperimentTemplateCommandError");
|
|
1397
|
+
var de_UpdateTargetAccountConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1398
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1399
|
+
return de_UpdateTargetAccountConfigurationCommandError(output, context);
|
|
1400
|
+
}
|
|
1401
|
+
const contents = (0, import_smithy_client.map)({
|
|
1402
|
+
$metadata: deserializeMetadata(output)
|
|
1403
|
+
});
|
|
1404
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1405
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1406
|
+
targetAccountConfiguration: import_smithy_client._json
|
|
1407
|
+
});
|
|
1408
|
+
Object.assign(contents, doc);
|
|
1409
|
+
return contents;
|
|
1410
|
+
}, "de_UpdateTargetAccountConfigurationCommand");
|
|
1411
|
+
var de_UpdateTargetAccountConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1412
|
+
const parsedOutput = {
|
|
1413
|
+
...output,
|
|
1414
|
+
body: await parseErrorBody(output.body, context)
|
|
1415
|
+
};
|
|
1416
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1417
|
+
switch (errorCode) {
|
|
1418
|
+
case "ResourceNotFoundException":
|
|
1419
|
+
case "com.amazonaws.fis#ResourceNotFoundException":
|
|
1420
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1421
|
+
case "ValidationException":
|
|
1422
|
+
case "com.amazonaws.fis#ValidationException":
|
|
1423
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1424
|
+
default:
|
|
1425
|
+
const parsedBody = parsedOutput.body;
|
|
1426
|
+
return throwDefaultError({
|
|
1427
|
+
output,
|
|
1428
|
+
parsedBody,
|
|
1429
|
+
errorCode
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1432
|
+
}, "de_UpdateTargetAccountConfigurationCommandError");
|
|
1433
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(FisServiceException);
|
|
1434
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1435
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1436
|
+
const data = parsedOutput.body;
|
|
1437
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1438
|
+
message: import_smithy_client.expectString
|
|
1439
|
+
});
|
|
1440
|
+
Object.assign(contents, doc);
|
|
1441
|
+
const exception = new ConflictException({
|
|
1442
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1443
|
+
...contents
|
|
1444
|
+
});
|
|
1445
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1446
|
+
}, "de_ConflictExceptionRes");
|
|
1447
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1448
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1449
|
+
const data = parsedOutput.body;
|
|
1450
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1451
|
+
message: import_smithy_client.expectString
|
|
1452
|
+
});
|
|
1453
|
+
Object.assign(contents, doc);
|
|
1454
|
+
const exception = new ResourceNotFoundException({
|
|
1455
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1456
|
+
...contents
|
|
1457
|
+
});
|
|
1458
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1459
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1460
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1461
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1462
|
+
const data = parsedOutput.body;
|
|
1463
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1464
|
+
message: import_smithy_client.expectString
|
|
1465
|
+
});
|
|
1466
|
+
Object.assign(contents, doc);
|
|
1467
|
+
const exception = new ServiceQuotaExceededException({
|
|
1468
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1469
|
+
...contents
|
|
1470
|
+
});
|
|
1471
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1472
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1473
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1474
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1475
|
+
const data = parsedOutput.body;
|
|
1476
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1477
|
+
message: import_smithy_client.expectString
|
|
1478
|
+
});
|
|
1479
|
+
Object.assign(contents, doc);
|
|
1480
|
+
const exception = new ValidationException({
|
|
1481
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1482
|
+
...contents
|
|
1483
|
+
});
|
|
1484
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1485
|
+
}, "de_ValidationExceptionRes");
|
|
1486
|
+
var de_Experiment = /* @__PURE__ */ __name((output, context) => {
|
|
1487
|
+
return (0, import_smithy_client.take)(output, {
|
|
1488
|
+
actions: (_) => de_ExperimentActionMap(_, context),
|
|
1489
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1490
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1491
|
+
experimentOptions: import_smithy_client._json,
|
|
1492
|
+
experimentTemplateId: import_smithy_client.expectString,
|
|
1493
|
+
id: import_smithy_client.expectString,
|
|
1494
|
+
logConfiguration: import_smithy_client._json,
|
|
1495
|
+
roleArn: import_smithy_client.expectString,
|
|
1496
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1497
|
+
state: import_smithy_client._json,
|
|
1498
|
+
stopConditions: import_smithy_client._json,
|
|
1499
|
+
tags: import_smithy_client._json,
|
|
1500
|
+
targetAccountConfigurationsCount: import_smithy_client.expectLong,
|
|
1501
|
+
targets: import_smithy_client._json
|
|
1502
|
+
});
|
|
1503
|
+
}, "de_Experiment");
|
|
1504
|
+
var de_ExperimentAction = /* @__PURE__ */ __name((output, context) => {
|
|
1505
|
+
return (0, import_smithy_client.take)(output, {
|
|
1506
|
+
actionId: import_smithy_client.expectString,
|
|
1507
|
+
description: import_smithy_client.expectString,
|
|
1508
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1509
|
+
parameters: import_smithy_client._json,
|
|
1510
|
+
startAfter: import_smithy_client._json,
|
|
1511
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1512
|
+
state: import_smithy_client._json,
|
|
1513
|
+
targets: import_smithy_client._json
|
|
1514
|
+
});
|
|
1515
|
+
}, "de_ExperimentAction");
|
|
1516
|
+
var de_ExperimentActionMap = /* @__PURE__ */ __name((output, context) => {
|
|
1517
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1518
|
+
if (value === null) {
|
|
1519
|
+
return acc;
|
|
1520
|
+
}
|
|
1521
|
+
acc[key] = de_ExperimentAction(value, context);
|
|
1522
|
+
return acc;
|
|
1523
|
+
}, {});
|
|
1524
|
+
}, "de_ExperimentActionMap");
|
|
1525
|
+
var de_ExperimentSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1526
|
+
return (0, import_smithy_client.take)(output, {
|
|
1527
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1528
|
+
experimentTemplateId: import_smithy_client.expectString,
|
|
1529
|
+
id: import_smithy_client.expectString,
|
|
1530
|
+
state: import_smithy_client._json,
|
|
1531
|
+
tags: import_smithy_client._json
|
|
1532
|
+
});
|
|
1533
|
+
}, "de_ExperimentSummary");
|
|
1534
|
+
var de_ExperimentSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
1535
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1536
|
+
return de_ExperimentSummary(entry, context);
|
|
1537
|
+
});
|
|
1538
|
+
return retVal;
|
|
1539
|
+
}, "de_ExperimentSummaryList");
|
|
1540
|
+
var de_ExperimentTemplate = /* @__PURE__ */ __name((output, context) => {
|
|
1541
|
+
return (0, import_smithy_client.take)(output, {
|
|
1542
|
+
actions: import_smithy_client._json,
|
|
1543
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1544
|
+
description: import_smithy_client.expectString,
|
|
1545
|
+
experimentOptions: import_smithy_client._json,
|
|
1546
|
+
id: import_smithy_client.expectString,
|
|
1547
|
+
lastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1548
|
+
logConfiguration: import_smithy_client._json,
|
|
1549
|
+
roleArn: import_smithy_client.expectString,
|
|
1550
|
+
stopConditions: import_smithy_client._json,
|
|
1551
|
+
tags: import_smithy_client._json,
|
|
1552
|
+
targetAccountConfigurationsCount: import_smithy_client.expectLong,
|
|
1553
|
+
targets: import_smithy_client._json
|
|
1554
|
+
});
|
|
1555
|
+
}, "de_ExperimentTemplate");
|
|
1556
|
+
var de_ExperimentTemplateSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1557
|
+
return (0, import_smithy_client.take)(output, {
|
|
1558
|
+
creationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1559
|
+
description: import_smithy_client.expectString,
|
|
1560
|
+
id: import_smithy_client.expectString,
|
|
1561
|
+
lastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1562
|
+
tags: import_smithy_client._json
|
|
1563
|
+
});
|
|
1564
|
+
}, "de_ExperimentTemplateSummary");
|
|
1565
|
+
var de_ExperimentTemplateSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
1566
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1567
|
+
return de_ExperimentTemplateSummary(entry, context);
|
|
1568
|
+
});
|
|
1569
|
+
return retVal;
|
|
1570
|
+
}, "de_ExperimentTemplateSummaryList");
|
|
1571
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1572
|
+
httpStatusCode: output.statusCode,
|
|
1573
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1574
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1575
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1576
|
+
}), "deserializeMetadata");
|
|
1577
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1578
|
+
var _mR = "maxResults";
|
|
1579
|
+
var _nT = "nextToken";
|
|
1580
|
+
var _tK = "tagKeys";
|
|
1581
|
+
var _tN = "targetName";
|
|
1582
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1583
|
+
if (encoded.length) {
|
|
1584
|
+
return JSON.parse(encoded);
|
|
1585
|
+
}
|
|
1586
|
+
return {};
|
|
1587
|
+
}), "parseBody");
|
|
1588
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1589
|
+
const value = await parseBody(errorBody, context);
|
|
1590
|
+
value.message = value.message ?? value.Message;
|
|
1591
|
+
return value;
|
|
1592
|
+
}, "parseErrorBody");
|
|
1593
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1594
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1595
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1596
|
+
let cleanValue = rawValue;
|
|
1597
|
+
if (typeof cleanValue === "number") {
|
|
1598
|
+
cleanValue = cleanValue.toString();
|
|
1599
|
+
}
|
|
1600
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1601
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1602
|
+
}
|
|
1603
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1604
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1605
|
+
}
|
|
1606
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1607
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1608
|
+
}
|
|
1609
|
+
return cleanValue;
|
|
1610
|
+
}, "sanitizeErrorCode");
|
|
1611
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1612
|
+
if (headerKey !== void 0) {
|
|
1613
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1614
|
+
}
|
|
1615
|
+
if (data.code !== void 0) {
|
|
1616
|
+
return sanitizeErrorCode(data.code);
|
|
1617
|
+
}
|
|
1618
|
+
if (data["__type"] !== void 0) {
|
|
1619
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1620
|
+
}
|
|
1621
|
+
}, "loadRestJsonErrorCode");
|
|
1622
|
+
|
|
1623
|
+
// src/commands/CreateExperimentTemplateCommand.ts
|
|
1624
|
+
var _CreateExperimentTemplateCommand = class _CreateExperimentTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1625
|
+
...commonParams
|
|
1626
|
+
}).m(function(Command, cs, config, o) {
|
|
1627
|
+
return [
|
|
1628
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1629
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1630
|
+
];
|
|
1631
|
+
}).s("FaultInjectionSimulator", "CreateExperimentTemplate", {}).n("FisClient", "CreateExperimentTemplateCommand").f(void 0, void 0).ser(se_CreateExperimentTemplateCommand).de(de_CreateExperimentTemplateCommand).build() {
|
|
1632
|
+
};
|
|
1633
|
+
__name(_CreateExperimentTemplateCommand, "CreateExperimentTemplateCommand");
|
|
1634
|
+
var CreateExperimentTemplateCommand = _CreateExperimentTemplateCommand;
|
|
1635
|
+
|
|
1636
|
+
// src/commands/CreateTargetAccountConfigurationCommand.ts
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
|
|
1641
|
+
var _CreateTargetAccountConfigurationCommand = class _CreateTargetAccountConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1642
|
+
...commonParams
|
|
1643
|
+
}).m(function(Command, cs, config, o) {
|
|
1644
|
+
return [
|
|
1645
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1646
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1647
|
+
];
|
|
1648
|
+
}).s("FaultInjectionSimulator", "CreateTargetAccountConfiguration", {}).n("FisClient", "CreateTargetAccountConfigurationCommand").f(void 0, void 0).ser(se_CreateTargetAccountConfigurationCommand).de(de_CreateTargetAccountConfigurationCommand).build() {
|
|
1649
|
+
};
|
|
1650
|
+
__name(_CreateTargetAccountConfigurationCommand, "CreateTargetAccountConfigurationCommand");
|
|
1651
|
+
var CreateTargetAccountConfigurationCommand = _CreateTargetAccountConfigurationCommand;
|
|
1652
|
+
|
|
1653
|
+
// src/commands/DeleteExperimentTemplateCommand.ts
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
var _DeleteExperimentTemplateCommand = class _DeleteExperimentTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1659
|
+
...commonParams
|
|
1660
|
+
}).m(function(Command, cs, config, o) {
|
|
1661
|
+
return [
|
|
1662
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1663
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1664
|
+
];
|
|
1665
|
+
}).s("FaultInjectionSimulator", "DeleteExperimentTemplate", {}).n("FisClient", "DeleteExperimentTemplateCommand").f(void 0, void 0).ser(se_DeleteExperimentTemplateCommand).de(de_DeleteExperimentTemplateCommand).build() {
|
|
1666
|
+
};
|
|
1667
|
+
__name(_DeleteExperimentTemplateCommand, "DeleteExperimentTemplateCommand");
|
|
1668
|
+
var DeleteExperimentTemplateCommand = _DeleteExperimentTemplateCommand;
|
|
1669
|
+
|
|
1670
|
+
// src/commands/DeleteTargetAccountConfigurationCommand.ts
|
|
1671
|
+
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
var _DeleteTargetAccountConfigurationCommand = class _DeleteTargetAccountConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1676
|
+
...commonParams
|
|
1677
|
+
}).m(function(Command, cs, config, o) {
|
|
1678
|
+
return [
|
|
1679
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1680
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1681
|
+
];
|
|
1682
|
+
}).s("FaultInjectionSimulator", "DeleteTargetAccountConfiguration", {}).n("FisClient", "DeleteTargetAccountConfigurationCommand").f(void 0, void 0).ser(se_DeleteTargetAccountConfigurationCommand).de(de_DeleteTargetAccountConfigurationCommand).build() {
|
|
1683
|
+
};
|
|
1684
|
+
__name(_DeleteTargetAccountConfigurationCommand, "DeleteTargetAccountConfigurationCommand");
|
|
1685
|
+
var DeleteTargetAccountConfigurationCommand = _DeleteTargetAccountConfigurationCommand;
|
|
1686
|
+
|
|
1687
|
+
// src/commands/GetActionCommand.ts
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
var _GetActionCommand = class _GetActionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1693
|
+
...commonParams
|
|
1694
|
+
}).m(function(Command, cs, config, o) {
|
|
1695
|
+
return [
|
|
1696
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1697
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1698
|
+
];
|
|
1699
|
+
}).s("FaultInjectionSimulator", "GetAction", {}).n("FisClient", "GetActionCommand").f(void 0, void 0).ser(se_GetActionCommand).de(de_GetActionCommand).build() {
|
|
1700
|
+
};
|
|
1701
|
+
__name(_GetActionCommand, "GetActionCommand");
|
|
1702
|
+
var GetActionCommand = _GetActionCommand;
|
|
1703
|
+
|
|
1704
|
+
// src/commands/GetExperimentCommand.ts
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
|
|
1709
|
+
var _GetExperimentCommand = class _GetExperimentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1710
|
+
...commonParams
|
|
1711
|
+
}).m(function(Command, cs, config, o) {
|
|
1712
|
+
return [
|
|
1713
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1714
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1715
|
+
];
|
|
1716
|
+
}).s("FaultInjectionSimulator", "GetExperiment", {}).n("FisClient", "GetExperimentCommand").f(void 0, void 0).ser(se_GetExperimentCommand).de(de_GetExperimentCommand).build() {
|
|
1717
|
+
};
|
|
1718
|
+
__name(_GetExperimentCommand, "GetExperimentCommand");
|
|
1719
|
+
var GetExperimentCommand = _GetExperimentCommand;
|
|
1720
|
+
|
|
1721
|
+
// src/commands/GetExperimentTargetAccountConfigurationCommand.ts
|
|
1722
|
+
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
var _GetExperimentTargetAccountConfigurationCommand = class _GetExperimentTargetAccountConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1727
|
+
...commonParams
|
|
1728
|
+
}).m(function(Command, cs, config, o) {
|
|
1729
|
+
return [
|
|
1730
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1731
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1732
|
+
];
|
|
1733
|
+
}).s("FaultInjectionSimulator", "GetExperimentTargetAccountConfiguration", {}).n("FisClient", "GetExperimentTargetAccountConfigurationCommand").f(void 0, void 0).ser(se_GetExperimentTargetAccountConfigurationCommand).de(de_GetExperimentTargetAccountConfigurationCommand).build() {
|
|
1734
|
+
};
|
|
1735
|
+
__name(_GetExperimentTargetAccountConfigurationCommand, "GetExperimentTargetAccountConfigurationCommand");
|
|
1736
|
+
var GetExperimentTargetAccountConfigurationCommand = _GetExperimentTargetAccountConfigurationCommand;
|
|
1737
|
+
|
|
1738
|
+
// src/commands/GetExperimentTemplateCommand.ts
|
|
1739
|
+
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
var _GetExperimentTemplateCommand = class _GetExperimentTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1744
|
+
...commonParams
|
|
1745
|
+
}).m(function(Command, cs, config, o) {
|
|
1746
|
+
return [
|
|
1747
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1748
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1749
|
+
];
|
|
1750
|
+
}).s("FaultInjectionSimulator", "GetExperimentTemplate", {}).n("FisClient", "GetExperimentTemplateCommand").f(void 0, void 0).ser(se_GetExperimentTemplateCommand).de(de_GetExperimentTemplateCommand).build() {
|
|
1751
|
+
};
|
|
1752
|
+
__name(_GetExperimentTemplateCommand, "GetExperimentTemplateCommand");
|
|
1753
|
+
var GetExperimentTemplateCommand = _GetExperimentTemplateCommand;
|
|
1754
|
+
|
|
1755
|
+
// src/commands/GetTargetAccountConfigurationCommand.ts
|
|
1756
|
+
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
|
|
1760
|
+
var _GetTargetAccountConfigurationCommand = class _GetTargetAccountConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1761
|
+
...commonParams
|
|
1762
|
+
}).m(function(Command, cs, config, o) {
|
|
1763
|
+
return [
|
|
1764
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1765
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1766
|
+
];
|
|
1767
|
+
}).s("FaultInjectionSimulator", "GetTargetAccountConfiguration", {}).n("FisClient", "GetTargetAccountConfigurationCommand").f(void 0, void 0).ser(se_GetTargetAccountConfigurationCommand).de(de_GetTargetAccountConfigurationCommand).build() {
|
|
1768
|
+
};
|
|
1769
|
+
__name(_GetTargetAccountConfigurationCommand, "GetTargetAccountConfigurationCommand");
|
|
1770
|
+
var GetTargetAccountConfigurationCommand = _GetTargetAccountConfigurationCommand;
|
|
1771
|
+
|
|
1772
|
+
// src/commands/GetTargetResourceTypeCommand.ts
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
var _GetTargetResourceTypeCommand = class _GetTargetResourceTypeCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1778
|
+
...commonParams
|
|
1779
|
+
}).m(function(Command, cs, config, o) {
|
|
1780
|
+
return [
|
|
1781
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1782
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1783
|
+
];
|
|
1784
|
+
}).s("FaultInjectionSimulator", "GetTargetResourceType", {}).n("FisClient", "GetTargetResourceTypeCommand").f(void 0, void 0).ser(se_GetTargetResourceTypeCommand).de(de_GetTargetResourceTypeCommand).build() {
|
|
1785
|
+
};
|
|
1786
|
+
__name(_GetTargetResourceTypeCommand, "GetTargetResourceTypeCommand");
|
|
1787
|
+
var GetTargetResourceTypeCommand = _GetTargetResourceTypeCommand;
|
|
1788
|
+
|
|
1789
|
+
// src/commands/ListActionsCommand.ts
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
var _ListActionsCommand = class _ListActionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1795
|
+
...commonParams
|
|
1796
|
+
}).m(function(Command, cs, config, o) {
|
|
1797
|
+
return [
|
|
1798
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1799
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1800
|
+
];
|
|
1801
|
+
}).s("FaultInjectionSimulator", "ListActions", {}).n("FisClient", "ListActionsCommand").f(void 0, void 0).ser(se_ListActionsCommand).de(de_ListActionsCommand).build() {
|
|
1802
|
+
};
|
|
1803
|
+
__name(_ListActionsCommand, "ListActionsCommand");
|
|
1804
|
+
var ListActionsCommand = _ListActionsCommand;
|
|
1805
|
+
|
|
1806
|
+
// src/commands/ListExperimentResolvedTargetsCommand.ts
|
|
1807
|
+
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
var _ListExperimentResolvedTargetsCommand = class _ListExperimentResolvedTargetsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1812
|
+
...commonParams
|
|
1813
|
+
}).m(function(Command, cs, config, o) {
|
|
1814
|
+
return [
|
|
1815
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1816
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1817
|
+
];
|
|
1818
|
+
}).s("FaultInjectionSimulator", "ListExperimentResolvedTargets", {}).n("FisClient", "ListExperimentResolvedTargetsCommand").f(void 0, void 0).ser(se_ListExperimentResolvedTargetsCommand).de(de_ListExperimentResolvedTargetsCommand).build() {
|
|
1819
|
+
};
|
|
1820
|
+
__name(_ListExperimentResolvedTargetsCommand, "ListExperimentResolvedTargetsCommand");
|
|
1821
|
+
var ListExperimentResolvedTargetsCommand = _ListExperimentResolvedTargetsCommand;
|
|
1822
|
+
|
|
1823
|
+
// src/commands/ListExperimentsCommand.ts
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
var _ListExperimentsCommand = class _ListExperimentsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1829
|
+
...commonParams
|
|
1830
|
+
}).m(function(Command, cs, config, o) {
|
|
1831
|
+
return [
|
|
1832
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1833
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1834
|
+
];
|
|
1835
|
+
}).s("FaultInjectionSimulator", "ListExperiments", {}).n("FisClient", "ListExperimentsCommand").f(void 0, void 0).ser(se_ListExperimentsCommand).de(de_ListExperimentsCommand).build() {
|
|
1836
|
+
};
|
|
1837
|
+
__name(_ListExperimentsCommand, "ListExperimentsCommand");
|
|
1838
|
+
var ListExperimentsCommand = _ListExperimentsCommand;
|
|
1839
|
+
|
|
1840
|
+
// src/commands/ListExperimentTargetAccountConfigurationsCommand.ts
|
|
1841
|
+
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
|
|
1845
|
+
var _ListExperimentTargetAccountConfigurationsCommand = class _ListExperimentTargetAccountConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1846
|
+
...commonParams
|
|
1847
|
+
}).m(function(Command, cs, config, o) {
|
|
1848
|
+
return [
|
|
1849
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1850
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1851
|
+
];
|
|
1852
|
+
}).s("FaultInjectionSimulator", "ListExperimentTargetAccountConfigurations", {}).n("FisClient", "ListExperimentTargetAccountConfigurationsCommand").f(void 0, void 0).ser(se_ListExperimentTargetAccountConfigurationsCommand).de(de_ListExperimentTargetAccountConfigurationsCommand).build() {
|
|
1853
|
+
};
|
|
1854
|
+
__name(_ListExperimentTargetAccountConfigurationsCommand, "ListExperimentTargetAccountConfigurationsCommand");
|
|
1855
|
+
var ListExperimentTargetAccountConfigurationsCommand = _ListExperimentTargetAccountConfigurationsCommand;
|
|
1856
|
+
|
|
1857
|
+
// src/commands/ListExperimentTemplatesCommand.ts
|
|
1858
|
+
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
var _ListExperimentTemplatesCommand = class _ListExperimentTemplatesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1863
|
+
...commonParams
|
|
1864
|
+
}).m(function(Command, cs, config, o) {
|
|
1865
|
+
return [
|
|
1866
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1867
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1868
|
+
];
|
|
1869
|
+
}).s("FaultInjectionSimulator", "ListExperimentTemplates", {}).n("FisClient", "ListExperimentTemplatesCommand").f(void 0, void 0).ser(se_ListExperimentTemplatesCommand).de(de_ListExperimentTemplatesCommand).build() {
|
|
1870
|
+
};
|
|
1871
|
+
__name(_ListExperimentTemplatesCommand, "ListExperimentTemplatesCommand");
|
|
1872
|
+
var ListExperimentTemplatesCommand = _ListExperimentTemplatesCommand;
|
|
1873
|
+
|
|
1874
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1875
|
+
|
|
1876
|
+
|
|
1877
|
+
|
|
1878
|
+
|
|
1879
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1880
|
+
...commonParams
|
|
1881
|
+
}).m(function(Command, cs, config, o) {
|
|
1882
|
+
return [
|
|
1883
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1884
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1885
|
+
];
|
|
1886
|
+
}).s("FaultInjectionSimulator", "ListTagsForResource", {}).n("FisClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1887
|
+
};
|
|
1888
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1889
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1890
|
+
|
|
1891
|
+
// src/commands/ListTargetAccountConfigurationsCommand.ts
|
|
1892
|
+
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
var _ListTargetAccountConfigurationsCommand = class _ListTargetAccountConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1897
|
+
...commonParams
|
|
1898
|
+
}).m(function(Command, cs, config, o) {
|
|
1899
|
+
return [
|
|
1900
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1901
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1902
|
+
];
|
|
1903
|
+
}).s("FaultInjectionSimulator", "ListTargetAccountConfigurations", {}).n("FisClient", "ListTargetAccountConfigurationsCommand").f(void 0, void 0).ser(se_ListTargetAccountConfigurationsCommand).de(de_ListTargetAccountConfigurationsCommand).build() {
|
|
1904
|
+
};
|
|
1905
|
+
__name(_ListTargetAccountConfigurationsCommand, "ListTargetAccountConfigurationsCommand");
|
|
1906
|
+
var ListTargetAccountConfigurationsCommand = _ListTargetAccountConfigurationsCommand;
|
|
1907
|
+
|
|
1908
|
+
// src/commands/ListTargetResourceTypesCommand.ts
|
|
1909
|
+
|
|
1910
|
+
|
|
1911
|
+
|
|
1912
|
+
|
|
1913
|
+
var _ListTargetResourceTypesCommand = class _ListTargetResourceTypesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1914
|
+
...commonParams
|
|
1915
|
+
}).m(function(Command, cs, config, o) {
|
|
1916
|
+
return [
|
|
1917
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1918
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1919
|
+
];
|
|
1920
|
+
}).s("FaultInjectionSimulator", "ListTargetResourceTypes", {}).n("FisClient", "ListTargetResourceTypesCommand").f(void 0, void 0).ser(se_ListTargetResourceTypesCommand).de(de_ListTargetResourceTypesCommand).build() {
|
|
1921
|
+
};
|
|
1922
|
+
__name(_ListTargetResourceTypesCommand, "ListTargetResourceTypesCommand");
|
|
1923
|
+
var ListTargetResourceTypesCommand = _ListTargetResourceTypesCommand;
|
|
1924
|
+
|
|
1925
|
+
// src/commands/StartExperimentCommand.ts
|
|
1926
|
+
|
|
1927
|
+
|
|
1928
|
+
|
|
1929
|
+
|
|
1930
|
+
var _StartExperimentCommand = class _StartExperimentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1931
|
+
...commonParams
|
|
1932
|
+
}).m(function(Command, cs, config, o) {
|
|
1933
|
+
return [
|
|
1934
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1935
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1936
|
+
];
|
|
1937
|
+
}).s("FaultInjectionSimulator", "StartExperiment", {}).n("FisClient", "StartExperimentCommand").f(void 0, void 0).ser(se_StartExperimentCommand).de(de_StartExperimentCommand).build() {
|
|
1938
|
+
};
|
|
1939
|
+
__name(_StartExperimentCommand, "StartExperimentCommand");
|
|
1940
|
+
var StartExperimentCommand = _StartExperimentCommand;
|
|
1941
|
+
|
|
1942
|
+
// src/commands/StopExperimentCommand.ts
|
|
1943
|
+
|
|
1944
|
+
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
var _StopExperimentCommand = class _StopExperimentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1948
|
+
...commonParams
|
|
1949
|
+
}).m(function(Command, cs, config, o) {
|
|
1950
|
+
return [
|
|
1951
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1952
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1953
|
+
];
|
|
1954
|
+
}).s("FaultInjectionSimulator", "StopExperiment", {}).n("FisClient", "StopExperimentCommand").f(void 0, void 0).ser(se_StopExperimentCommand).de(de_StopExperimentCommand).build() {
|
|
1955
|
+
};
|
|
1956
|
+
__name(_StopExperimentCommand, "StopExperimentCommand");
|
|
1957
|
+
var StopExperimentCommand = _StopExperimentCommand;
|
|
1958
|
+
|
|
1959
|
+
// src/commands/TagResourceCommand.ts
|
|
1960
|
+
|
|
1961
|
+
|
|
1962
|
+
|
|
1963
|
+
|
|
1964
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1965
|
+
...commonParams
|
|
1966
|
+
}).m(function(Command, cs, config, o) {
|
|
1967
|
+
return [
|
|
1968
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1969
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1970
|
+
];
|
|
1971
|
+
}).s("FaultInjectionSimulator", "TagResource", {}).n("FisClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1972
|
+
};
|
|
1973
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1974
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
1975
|
+
|
|
1976
|
+
// src/commands/UntagResourceCommand.ts
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1982
|
+
...commonParams
|
|
1983
|
+
}).m(function(Command, cs, config, o) {
|
|
1984
|
+
return [
|
|
1985
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1986
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1987
|
+
];
|
|
1988
|
+
}).s("FaultInjectionSimulator", "UntagResource", {}).n("FisClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1989
|
+
};
|
|
1990
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1991
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
1992
|
+
|
|
1993
|
+
// src/commands/UpdateExperimentTemplateCommand.ts
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
var _UpdateExperimentTemplateCommand = class _UpdateExperimentTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1999
|
+
...commonParams
|
|
2000
|
+
}).m(function(Command, cs, config, o) {
|
|
2001
|
+
return [
|
|
2002
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2003
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2004
|
+
];
|
|
2005
|
+
}).s("FaultInjectionSimulator", "UpdateExperimentTemplate", {}).n("FisClient", "UpdateExperimentTemplateCommand").f(void 0, void 0).ser(se_UpdateExperimentTemplateCommand).de(de_UpdateExperimentTemplateCommand).build() {
|
|
2006
|
+
};
|
|
2007
|
+
__name(_UpdateExperimentTemplateCommand, "UpdateExperimentTemplateCommand");
|
|
2008
|
+
var UpdateExperimentTemplateCommand = _UpdateExperimentTemplateCommand;
|
|
2009
|
+
|
|
2010
|
+
// src/commands/UpdateTargetAccountConfigurationCommand.ts
|
|
2011
|
+
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
var _UpdateTargetAccountConfigurationCommand = class _UpdateTargetAccountConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2016
|
+
...commonParams
|
|
2017
|
+
}).m(function(Command, cs, config, o) {
|
|
2018
|
+
return [
|
|
2019
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2020
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2021
|
+
];
|
|
2022
|
+
}).s("FaultInjectionSimulator", "UpdateTargetAccountConfiguration", {}).n("FisClient", "UpdateTargetAccountConfigurationCommand").f(void 0, void 0).ser(se_UpdateTargetAccountConfigurationCommand).de(de_UpdateTargetAccountConfigurationCommand).build() {
|
|
2023
|
+
};
|
|
2024
|
+
__name(_UpdateTargetAccountConfigurationCommand, "UpdateTargetAccountConfigurationCommand");
|
|
2025
|
+
var UpdateTargetAccountConfigurationCommand = _UpdateTargetAccountConfigurationCommand;
|
|
2026
|
+
|
|
2027
|
+
// src/Fis.ts
|
|
2028
|
+
var commands = {
|
|
2029
|
+
CreateExperimentTemplateCommand,
|
|
2030
|
+
CreateTargetAccountConfigurationCommand,
|
|
2031
|
+
DeleteExperimentTemplateCommand,
|
|
2032
|
+
DeleteTargetAccountConfigurationCommand,
|
|
2033
|
+
GetActionCommand,
|
|
2034
|
+
GetExperimentCommand,
|
|
2035
|
+
GetExperimentTargetAccountConfigurationCommand,
|
|
2036
|
+
GetExperimentTemplateCommand,
|
|
2037
|
+
GetTargetAccountConfigurationCommand,
|
|
2038
|
+
GetTargetResourceTypeCommand,
|
|
2039
|
+
ListActionsCommand,
|
|
2040
|
+
ListExperimentResolvedTargetsCommand,
|
|
2041
|
+
ListExperimentsCommand,
|
|
2042
|
+
ListExperimentTargetAccountConfigurationsCommand,
|
|
2043
|
+
ListExperimentTemplatesCommand,
|
|
2044
|
+
ListTagsForResourceCommand,
|
|
2045
|
+
ListTargetAccountConfigurationsCommand,
|
|
2046
|
+
ListTargetResourceTypesCommand,
|
|
2047
|
+
StartExperimentCommand,
|
|
2048
|
+
StopExperimentCommand,
|
|
2049
|
+
TagResourceCommand,
|
|
2050
|
+
UntagResourceCommand,
|
|
2051
|
+
UpdateExperimentTemplateCommand,
|
|
2052
|
+
UpdateTargetAccountConfigurationCommand
|
|
2053
|
+
};
|
|
2054
|
+
var _Fis = class _Fis extends FisClient {
|
|
2055
|
+
};
|
|
2056
|
+
__name(_Fis, "Fis");
|
|
2057
|
+
var Fis = _Fis;
|
|
2058
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Fis);
|
|
2059
|
+
|
|
2060
|
+
// src/pagination/ListActionsPaginator.ts
|
|
2061
|
+
|
|
2062
|
+
var paginateListActions = (0, import_core.createPaginator)(FisClient, ListActionsCommand, "nextToken", "nextToken", "maxResults");
|
|
2063
|
+
|
|
2064
|
+
// src/pagination/ListExperimentResolvedTargetsPaginator.ts
|
|
2065
|
+
|
|
2066
|
+
var paginateListExperimentResolvedTargets = (0, import_core.createPaginator)(FisClient, ListExperimentResolvedTargetsCommand, "nextToken", "nextToken", "maxResults");
|
|
2067
|
+
|
|
2068
|
+
// src/pagination/ListExperimentTemplatesPaginator.ts
|
|
2069
|
+
|
|
2070
|
+
var paginateListExperimentTemplates = (0, import_core.createPaginator)(FisClient, ListExperimentTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
2071
|
+
|
|
2072
|
+
// src/pagination/ListExperimentsPaginator.ts
|
|
2073
|
+
|
|
2074
|
+
var paginateListExperiments = (0, import_core.createPaginator)(FisClient, ListExperimentsCommand, "nextToken", "nextToken", "maxResults");
|
|
2075
|
+
|
|
2076
|
+
// src/pagination/ListTargetAccountConfigurationsPaginator.ts
|
|
2077
|
+
|
|
2078
|
+
var paginateListTargetAccountConfigurations = (0, import_core.createPaginator)(FisClient, ListTargetAccountConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
2079
|
+
|
|
2080
|
+
// src/pagination/ListTargetResourceTypesPaginator.ts
|
|
2081
|
+
|
|
2082
|
+
var paginateListTargetResourceTypes = (0, import_core.createPaginator)(FisClient, ListTargetResourceTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
2083
|
+
|
|
2084
|
+
// src/index.ts
|
|
2085
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
2086
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2087
|
+
0 && (module.exports = {
|
|
2088
|
+
AccountTargeting,
|
|
2089
|
+
ConflictException,
|
|
2090
|
+
CreateExperimentTemplateCommand,
|
|
2091
|
+
CreateTargetAccountConfigurationCommand,
|
|
2092
|
+
DeleteExperimentTemplateCommand,
|
|
2093
|
+
DeleteTargetAccountConfigurationCommand,
|
|
2094
|
+
EmptyTargetResolutionMode,
|
|
2095
|
+
ExperimentActionStatus,
|
|
2096
|
+
ExperimentStatus,
|
|
2097
|
+
Fis,
|
|
2098
|
+
FisClient,
|
|
2099
|
+
FisServiceException,
|
|
2100
|
+
GetActionCommand,
|
|
2101
|
+
GetExperimentCommand,
|
|
2102
|
+
GetExperimentTargetAccountConfigurationCommand,
|
|
2103
|
+
GetExperimentTemplateCommand,
|
|
2104
|
+
GetTargetAccountConfigurationCommand,
|
|
2105
|
+
GetTargetResourceTypeCommand,
|
|
2106
|
+
ListActionsCommand,
|
|
2107
|
+
ListExperimentResolvedTargetsCommand,
|
|
2108
|
+
ListExperimentTargetAccountConfigurationsCommand,
|
|
2109
|
+
ListExperimentTemplatesCommand,
|
|
2110
|
+
ListExperimentsCommand,
|
|
2111
|
+
ListTagsForResourceCommand,
|
|
2112
|
+
ListTargetAccountConfigurationsCommand,
|
|
2113
|
+
ListTargetResourceTypesCommand,
|
|
2114
|
+
ResourceNotFoundException,
|
|
2115
|
+
ServiceQuotaExceededException,
|
|
2116
|
+
StartExperimentCommand,
|
|
2117
|
+
StopExperimentCommand,
|
|
2118
|
+
TagResourceCommand,
|
|
2119
|
+
UntagResourceCommand,
|
|
2120
|
+
UpdateExperimentTemplateCommand,
|
|
2121
|
+
UpdateTargetAccountConfigurationCommand,
|
|
2122
|
+
ValidationException,
|
|
2123
|
+
__Client,
|
|
2124
|
+
paginateListActions,
|
|
2125
|
+
paginateListExperimentResolvedTargets,
|
|
2126
|
+
paginateListExperimentTemplates,
|
|
2127
|
+
paginateListExperiments,
|
|
2128
|
+
paginateListTargetAccountConfigurations,
|
|
2129
|
+
paginateListTargetResourceTypes
|
|
2130
|
+
});
|