@aws-sdk/client-fis 3.36.0 → 3.39.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 (62) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Fis.js +0 -4
  3. package/dist-cjs/FisClient.js +0 -9
  4. package/dist-cjs/commands/CreateExperimentTemplateCommand.js +0 -45
  5. package/dist-cjs/commands/DeleteExperimentTemplateCommand.js +0 -24
  6. package/dist-cjs/commands/GetActionCommand.js +0 -24
  7. package/dist-cjs/commands/GetExperimentCommand.js +0 -24
  8. package/dist-cjs/commands/GetExperimentTemplateCommand.js +0 -24
  9. package/dist-cjs/commands/ListActionsCommand.js +0 -24
  10. package/dist-cjs/commands/ListExperimentTemplatesCommand.js +0 -24
  11. package/dist-cjs/commands/ListExperimentsCommand.js +0 -24
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  13. package/dist-cjs/commands/StartExperimentCommand.js +0 -24
  14. package/dist-cjs/commands/StopExperimentCommand.js +0 -24
  15. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  16. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  17. package/dist-cjs/commands/UpdateExperimentTemplateCommand.js +0 -24
  18. package/dist-cjs/commands/index.js +17 -0
  19. package/dist-cjs/endpoints.js +6 -1
  20. package/dist-cjs/index.js +4 -20
  21. package/dist-cjs/models/models_0.js +0 -171
  22. package/dist-cjs/pagination/ListActionsPaginator.js +0 -10
  23. package/dist-cjs/pagination/ListExperimentTemplatesPaginator.js +0 -10
  24. package/dist-cjs/pagination/ListExperimentsPaginator.js +0 -10
  25. package/dist-cjs/pagination/index.js +7 -0
  26. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  27. package/dist-cjs/runtimeConfig.browser.js +1 -5
  28. package/dist-cjs/runtimeConfig.js +1 -5
  29. package/dist-cjs/runtimeConfig.native.js +0 -3
  30. package/dist-cjs/runtimeConfig.shared.js +0 -3
  31. package/dist-es/commands/index.js +14 -0
  32. package/dist-es/endpoints.js +6 -1
  33. package/dist-es/index.js +4 -20
  34. package/dist-es/pagination/index.js +4 -0
  35. package/dist-types/commands/index.d.ts +14 -0
  36. package/dist-types/index.d.ts +4 -20
  37. package/dist-types/pagination/index.d.ts +4 -0
  38. package/dist-types/ts3.4/Fis.d.ts +15 -67
  39. package/dist-types/ts3.4/FisClient.d.ts +24 -90
  40. package/dist-types/ts3.4/commands/CreateExperimentTemplateCommand.d.ts +2 -41
  41. package/dist-types/ts3.4/commands/DeleteExperimentTemplateCommand.d.ts +2 -20
  42. package/dist-types/ts3.4/commands/GetActionCommand.d.ts +2 -20
  43. package/dist-types/ts3.4/commands/GetExperimentCommand.d.ts +2 -20
  44. package/dist-types/ts3.4/commands/GetExperimentTemplateCommand.d.ts +2 -20
  45. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +2 -20
  46. package/dist-types/ts3.4/commands/ListExperimentTemplatesCommand.d.ts +2 -20
  47. package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +2 -20
  48. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  49. package/dist-types/ts3.4/commands/StartExperimentCommand.d.ts +2 -20
  50. package/dist-types/ts3.4/commands/StopExperimentCommand.d.ts +2 -20
  51. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  52. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  53. package/dist-types/ts3.4/commands/UpdateExperimentTemplateCommand.d.ts +2 -20
  54. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  55. package/dist-types/ts3.4/index.d.ts +4 -20
  56. package/dist-types/ts3.4/models/models_0.d.ts +234 -722
  57. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  61. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  62. package/package.json +32 -32
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-fis
9
+
10
+
11
+
12
+
13
+
14
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
15
+
16
+
17
+ ### Features
18
+
19
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
20
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
21
+
22
+
23
+
24
+
25
+
26
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
27
+
28
+
29
+ ### Features
30
+
31
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
32
+
33
+
34
+
35
+
36
+
37
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
38
+
39
+
40
+ ### Bug Fixes
41
+
42
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
43
+
44
+
45
+
46
+
47
+
6
48
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
49
 
8
50
 
package/dist-cjs/Fis.js CHANGED
@@ -16,10 +16,6 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
16
16
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
17
17
  const UpdateExperimentTemplateCommand_1 = require("./commands/UpdateExperimentTemplateCommand");
18
18
  const FisClient_1 = require("./FisClient");
19
- /**
20
- * <p>AWS Fault Injection Simulator is a managed service that enables you to perform fault injection
21
- * experiments on your AWS workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">AWS Fault Injection Simulator User Guide</a>.</p>
22
- */
23
19
  class Fis extends FisClient_1.FisClient {
24
20
  createExperimentTemplate(args, optionsOrCb, cb) {
25
21
  const command = new CreateExperimentTemplateCommand_1.CreateExperimentTemplateCommand(args);
@@ -10,10 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <p>AWS Fault Injection Simulator is a managed service that enables you to perform fault injection
15
- * experiments on your AWS workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">AWS Fault Injection Simulator User Guide</a>.</p>
16
- */
17
13
  class FisClient extends smithy_client_1.Client {
18
14
  constructor(configuration) {
19
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -32,11 +28,6 @@ class FisClient extends smithy_client_1.Client {
32
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
33
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
34
30
  }
35
- /**
36
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
37
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
38
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
39
- */
40
31
  destroy() {
41
32
  super.destroy();
42
33
  }
@@ -5,56 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates an experiment template. </p>
10
- * <p>To create a template, specify the following information: </p>
11
- * <ul>
12
- * <li>
13
- * <p>
14
- * <b>Targets</b>: A target can be a specific resource
15
- * in your AWS environment, or one or more resources that match criteria that you
16
- * specify, for example, resources that have specific tags.</p>
17
- * </li>
18
- * <li>
19
- * <p>
20
- * <b>Actions</b>: The actions to carry out on the
21
- * target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment.</p>
22
- * </li>
23
- * <li>
24
- * <p>
25
- * <b>Stop conditions</b>: If a stop condition is
26
- * triggered while an experiment is running, the experiment is automatically
27
- * stopped. You can define a stop condition as a CloudWatch alarm.</p>
28
- * </li>
29
- * </ul>
30
- * <p>For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">AWS Fault Injection Simulator User Guide</a>.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { FisClient, CreateExperimentTemplateCommand } from "@aws-sdk/client-fis"; // ES Modules import
35
- * // const { FisClient, CreateExperimentTemplateCommand } = require("@aws-sdk/client-fis"); // CommonJS import
36
- * const client = new FisClient(config);
37
- * const command = new CreateExperimentTemplateCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link CreateExperimentTemplateCommandInput} for command's `input` shape.
42
- * @see {@link CreateExperimentTemplateCommandOutput} for command's `response` shape.
43
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
8
  class CreateExperimentTemplateCommand extends smithy_client_1.Command {
47
- // Start section: command_properties
48
- // End section: command_properties
49
9
  constructor(input) {
50
- // Start section: command_constructor
51
10
  super();
52
11
  this.input = input;
53
- // End section: command_constructor
54
12
  }
55
- /**
56
- * @internal
57
- */
58
13
  resolveMiddleware(clientStack, configuration, options) {
59
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
60
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes the specified experiment template.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, DeleteExperimentTemplateCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, DeleteExperimentTemplateCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new DeleteExperimentTemplateCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteExperimentTemplateCommandInput} for command's `input` shape.
21
- * @see {@link DeleteExperimentTemplateCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteExperimentTemplateCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets information about the specified AWS FIS action.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, GetActionCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, GetActionCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new GetActionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetActionCommandInput} for command's `input` shape.
21
- * @see {@link GetActionCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetActionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets information about the specified experiment.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, GetExperimentCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, GetExperimentCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new GetExperimentCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetExperimentCommandInput} for command's `input` shape.
21
- * @see {@link GetExperimentCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetExperimentCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets information about the specified experiment template.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, GetExperimentTemplateCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, GetExperimentTemplateCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new GetExperimentTemplateCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetExperimentTemplateCommandInput} for command's `input` shape.
21
- * @see {@link GetExperimentTemplateCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetExperimentTemplateCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists the available AWS FIS actions.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, ListActionsCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, ListActionsCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new ListActionsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListActionsCommandInput} for command's `input` shape.
21
- * @see {@link ListActionsCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListActionsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists your experiment templates.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, ListExperimentTemplatesCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, ListExperimentTemplatesCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new ListExperimentTemplatesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListExperimentTemplatesCommandInput} for command's `input` shape.
21
- * @see {@link ListExperimentTemplatesCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListExperimentTemplatesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists your experiments.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, ListExperimentsCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, ListExperimentsCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new ListExperimentsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListExperimentsCommandInput} for command's `input` shape.
21
- * @see {@link ListExperimentsCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListExperimentsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists the tags for the specified resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, ListTagsForResourceCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, ListTagsForResourceCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new ListTagsForResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
21
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListTagsForResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Starts running an experiment from the specified experiment template.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, StartExperimentCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, StartExperimentCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new StartExperimentCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StartExperimentCommandInput} for command's `input` shape.
21
- * @see {@link StartExperimentCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class StartExperimentCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Stops the specified experiment.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, StopExperimentCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, StopExperimentCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new StopExperimentCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StopExperimentCommandInput} for command's `input` shape.
21
- * @see {@link StopExperimentCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class StopExperimentCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Applies the specified tags to the specified resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, TagResourceCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, TagResourceCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new TagResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link TagResourceCommandInput} for command's `input` shape.
21
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class TagResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Removes the specified tags from the specified resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, UntagResourceCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, UntagResourceCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new UntagResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
21
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UntagResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates the specified experiment template.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { FisClient, UpdateExperimentTemplateCommand } from "@aws-sdk/client-fis"; // ES Modules import
14
- * // const { FisClient, UpdateExperimentTemplateCommand } = require("@aws-sdk/client-fis"); // CommonJS import
15
- * const client = new FisClient(config);
16
- * const command = new UpdateExperimentTemplateCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateExperimentTemplateCommandInput} for command's `input` shape.
21
- * @see {@link UpdateExperimentTemplateCommandOutput} for command's `response` shape.
22
- * @see {@link FisClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateExperimentTemplateCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateExperimentTemplateCommand"), exports);
5
+ tslib_1.__exportStar(require("./DeleteExperimentTemplateCommand"), exports);
6
+ tslib_1.__exportStar(require("./GetActionCommand"), exports);
7
+ tslib_1.__exportStar(require("./GetExperimentCommand"), exports);
8
+ tslib_1.__exportStar(require("./GetExperimentTemplateCommand"), exports);
9
+ tslib_1.__exportStar(require("./ListActionsCommand"), exports);
10
+ tslib_1.__exportStar(require("./ListExperimentTemplatesCommand"), exports);
11
+ tslib_1.__exportStar(require("./ListExperimentsCommand"), exports);
12
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
13
+ tslib_1.__exportStar(require("./StartExperimentCommand"), exports);
14
+ tslib_1.__exportStar(require("./StopExperimentCommand"), exports);
15
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
16
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
17
+ tslib_1.__exportStar(require("./UpdateExperimentTemplateCommand"), exports);