@aws-sdk/client-fis 3.183.0 → 3.185.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Fis.js +73 -66
  4. package/dist-es/FisClient.js +28 -22
  5. package/dist-es/commands/CreateExperimentTemplateCommand.js +28 -21
  6. package/dist-es/commands/DeleteExperimentTemplateCommand.js +28 -21
  7. package/dist-es/commands/GetActionCommand.js +28 -21
  8. package/dist-es/commands/GetExperimentCommand.js +28 -21
  9. package/dist-es/commands/GetExperimentTemplateCommand.js +28 -21
  10. package/dist-es/commands/GetTargetResourceTypeCommand.js +28 -21
  11. package/dist-es/commands/ListActionsCommand.js +28 -21
  12. package/dist-es/commands/ListExperimentTemplatesCommand.js +28 -21
  13. package/dist-es/commands/ListExperimentsCommand.js +28 -21
  14. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  15. package/dist-es/commands/ListTargetResourceTypesCommand.js +28 -21
  16. package/dist-es/commands/StartExperimentCommand.js +28 -21
  17. package/dist-es/commands/StopExperimentCommand.js +28 -21
  18. package/dist-es/commands/TagResourceCommand.js +28 -21
  19. package/dist-es/commands/UntagResourceCommand.js +28 -21
  20. package/dist-es/commands/UpdateExperimentTemplateCommand.js +28 -21
  21. package/dist-es/endpoints.js +8 -8
  22. package/dist-es/models/FisServiceException.js +10 -5
  23. package/dist-es/models/models_0.js +115 -254
  24. package/dist-es/pagination/ListActionsPaginator.js +68 -25
  25. package/dist-es/pagination/ListExperimentTemplatesPaginator.js +68 -25
  26. package/dist-es/pagination/ListExperimentsPaginator.js +68 -25
  27. package/dist-es/pagination/ListTargetResourceTypesPaginator.js +68 -25
  28. package/dist-es/protocols/Aws_restJson1.js +1666 -1275
  29. package/dist-es/runtimeConfig.browser.js +12 -26
  30. package/dist-es/runtimeConfig.js +12 -30
  31. package/dist-es/runtimeConfig.native.js +5 -8
  32. package/dist-es/runtimeConfig.shared.js +11 -8
  33. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetExperimentRequestFilterSensitiveLog, GetExperimentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetExperimentCommand, serializeAws_restJson1GetExperimentCommand, } from "../protocols/Aws_restJson1";
5
- export class GetExperimentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetExperimentCommand = (function (_super) {
7
+ __extends(GetExperimentCommand, _super);
8
+ function GetExperimentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetExperimentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FisClient";
15
- const commandName = "GetExperimentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FisClient";
18
+ var commandName = "GetExperimentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetExperimentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetExperimentResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetExperimentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetExperimentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetExperimentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetExperimentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetExperimentCommand;
38
+ }($Command));
39
+ export { GetExperimentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetExperimentTemplateRequestFilterSensitiveLog, GetExperimentTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetExperimentTemplateCommand, serializeAws_restJson1GetExperimentTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class GetExperimentTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetExperimentTemplateCommand = (function (_super) {
7
+ __extends(GetExperimentTemplateCommand, _super);
8
+ function GetExperimentTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetExperimentTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FisClient";
15
- const commandName = "GetExperimentTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FisClient";
18
+ var commandName = "GetExperimentTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetExperimentTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetExperimentTemplateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetExperimentTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetExperimentTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetExperimentTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetExperimentTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetExperimentTemplateCommand;
38
+ }($Command));
39
+ export { GetExperimentTemplateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetTargetResourceTypeRequestFilterSensitiveLog, GetTargetResourceTypeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetTargetResourceTypeCommand, serializeAws_restJson1GetTargetResourceTypeCommand, } from "../protocols/Aws_restJson1";
5
- export class GetTargetResourceTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTargetResourceTypeCommand = (function (_super) {
7
+ __extends(GetTargetResourceTypeCommand, _super);
8
+ function GetTargetResourceTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTargetResourceTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FisClient";
15
- const commandName = "GetTargetResourceTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FisClient";
18
+ var commandName = "GetTargetResourceTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTargetResourceTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTargetResourceTypeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetTargetResourceTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetTargetResourceTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTargetResourceTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetTargetResourceTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTargetResourceTypeCommand;
38
+ }($Command));
39
+ export { GetTargetResourceTypeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListActionsRequestFilterSensitiveLog, ListActionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListActionsCommand, serializeAws_restJson1ListActionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListActionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListActionsCommand = (function (_super) {
7
+ __extends(ListActionsCommand, _super);
8
+ function ListActionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListActionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FisClient";
15
- const commandName = "ListActionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FisClient";
18
+ var commandName = "ListActionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListActionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListActionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListActionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListActionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListActionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListActionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListActionsCommand;
38
+ }($Command));
39
+ export { ListActionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListExperimentTemplatesRequestFilterSensitiveLog, ListExperimentTemplatesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListExperimentTemplatesCommand, serializeAws_restJson1ListExperimentTemplatesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListExperimentTemplatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListExperimentTemplatesCommand = (function (_super) {
7
+ __extends(ListExperimentTemplatesCommand, _super);
8
+ function ListExperimentTemplatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListExperimentTemplatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FisClient";
15
- const commandName = "ListExperimentTemplatesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FisClient";
18
+ var commandName = "ListExperimentTemplatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListExperimentTemplatesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListExperimentTemplatesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListExperimentTemplatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListExperimentTemplatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListExperimentTemplatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListExperimentTemplatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListExperimentTemplatesCommand;
38
+ }($Command));
39
+ export { ListExperimentTemplatesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListExperimentsRequestFilterSensitiveLog, ListExperimentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListExperimentsCommand, serializeAws_restJson1ListExperimentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListExperimentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListExperimentsCommand = (function (_super) {
7
+ __extends(ListExperimentsCommand, _super);
8
+ function ListExperimentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListExperimentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FisClient";
15
- const commandName = "ListExperimentsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FisClient";
18
+ var commandName = "ListExperimentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListExperimentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListExperimentsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListExperimentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListExperimentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListExperimentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListExperimentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListExperimentsCommand;
38
+ }($Command));
39
+ export { ListExperimentsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FisClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FisClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTargetResourceTypesRequestFilterSensitiveLog, ListTargetResourceTypesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTargetResourceTypesCommand, serializeAws_restJson1ListTargetResourceTypesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTargetResourceTypesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTargetResourceTypesCommand = (function (_super) {
7
+ __extends(ListTargetResourceTypesCommand, _super);
8
+ function ListTargetResourceTypesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTargetResourceTypesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FisClient";
15
- const commandName = "ListTargetResourceTypesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FisClient";
18
+ var commandName = "ListTargetResourceTypesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTargetResourceTypesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTargetResourceTypesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTargetResourceTypesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTargetResourceTypesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTargetResourceTypesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTargetResourceTypesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTargetResourceTypesCommand;
38
+ }($Command));
39
+ export { ListTargetResourceTypesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartExperimentRequestFilterSensitiveLog, StartExperimentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartExperimentCommand, serializeAws_restJson1StartExperimentCommand, } from "../protocols/Aws_restJson1";
5
- export class StartExperimentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartExperimentCommand = (function (_super) {
7
+ __extends(StartExperimentCommand, _super);
8
+ function StartExperimentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartExperimentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FisClient";
15
- const commandName = "StartExperimentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FisClient";
18
+ var commandName = "StartExperimentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartExperimentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartExperimentResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartExperimentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartExperimentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartExperimentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartExperimentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartExperimentCommand;
38
+ }($Command));
39
+ export { StartExperimentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StopExperimentRequestFilterSensitiveLog, StopExperimentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StopExperimentCommand, serializeAws_restJson1StopExperimentCommand, } from "../protocols/Aws_restJson1";
5
- export class StopExperimentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopExperimentCommand = (function (_super) {
7
+ __extends(StopExperimentCommand, _super);
8
+ function StopExperimentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopExperimentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "FisClient";
15
- const commandName = "StopExperimentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "FisClient";
18
+ var commandName = "StopExperimentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopExperimentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StopExperimentResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StopExperimentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StopExperimentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopExperimentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StopExperimentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopExperimentCommand;
38
+ }($Command));
39
+ export { StopExperimentCommand };