@aws-sdk/client-fis 3.298.0 → 3.300.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-types/commands/CreateExperimentTemplateCommand.d.ts +62 -0
- package/dist-types/commands/DeleteExperimentTemplateCommand.d.ts +3 -0
- package/dist-types/commands/GetActionCommand.d.ts +3 -0
- package/dist-types/commands/GetExperimentCommand.d.ts +3 -0
- package/dist-types/commands/GetExperimentTemplateCommand.d.ts +3 -0
- package/dist-types/commands/GetTargetResourceTypeCommand.d.ts +3 -0
- package/dist-types/commands/ListActionsCommand.d.ts +4 -0
- package/dist-types/commands/ListExperimentTemplatesCommand.d.ts +4 -0
- package/dist-types/commands/ListExperimentsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTargetResourceTypesCommand.d.ts +4 -0
- package/dist-types/commands/StartExperimentCommand.d.ts +7 -0
- package/dist-types/commands/StopExperimentCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateExperimentTemplateCommand.d.ts +59 -0
- package/package.json +12 -12
|
@@ -48,6 +48,68 @@ export interface CreateExperimentTemplateCommandOutput extends CreateExperimentT
|
|
|
48
48
|
* import { FisClient, CreateExperimentTemplateCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
49
49
|
* // const { FisClient, CreateExperimentTemplateCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
50
50
|
* const client = new FisClient(config);
|
|
51
|
+
* const input = {
|
|
52
|
+
* clientToken: "STRING_VALUE", // required
|
|
53
|
+
* description: "STRING_VALUE", // required
|
|
54
|
+
* stopConditions: [ // required
|
|
55
|
+
* {
|
|
56
|
+
* source: "STRING_VALUE", // required
|
|
57
|
+
* value: "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* targets: {
|
|
61
|
+
* "<keys>": {
|
|
62
|
+
* resourceType: "STRING_VALUE", // required
|
|
63
|
+
* resourceArns: [
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
66
|
+
* resourceTags: {
|
|
67
|
+
* "<keys>": "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* filters: [
|
|
70
|
+
* {
|
|
71
|
+
* path: "STRING_VALUE", // required
|
|
72
|
+
* values: [ // required
|
|
73
|
+
* "STRING_VALUE",
|
|
74
|
+
* ],
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* selectionMode: "STRING_VALUE", // required
|
|
78
|
+
* parameters: {
|
|
79
|
+
* "<keys>": "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* actions: { // required
|
|
84
|
+
* "<keys>": {
|
|
85
|
+
* actionId: "STRING_VALUE", // required
|
|
86
|
+
* description: "STRING_VALUE",
|
|
87
|
+
* parameters: {
|
|
88
|
+
* "<keys>": "STRING_VALUE",
|
|
89
|
+
* },
|
|
90
|
+
* targets: {
|
|
91
|
+
* "<keys>": "STRING_VALUE",
|
|
92
|
+
* },
|
|
93
|
+
* startAfter: [
|
|
94
|
+
* "STRING_VALUE",
|
|
95
|
+
* ],
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* roleArn: "STRING_VALUE", // required
|
|
99
|
+
* tags: {
|
|
100
|
+
* "<keys>": "STRING_VALUE",
|
|
101
|
+
* },
|
|
102
|
+
* logConfiguration: {
|
|
103
|
+
* cloudWatchLogsConfiguration: {
|
|
104
|
+
* logGroupArn: "STRING_VALUE", // required
|
|
105
|
+
* },
|
|
106
|
+
* s3Configuration: {
|
|
107
|
+
* bucketName: "STRING_VALUE", // required
|
|
108
|
+
* prefix: "STRING_VALUE",
|
|
109
|
+
* },
|
|
110
|
+
* logSchemaVersion: Number("int"), // required
|
|
111
|
+
* },
|
|
112
|
+
* };
|
|
51
113
|
* const command = new CreateExperimentTemplateCommand(input);
|
|
52
114
|
* const response = await client.send(command);
|
|
53
115
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteExperimentTemplateCommandOutput extends DeleteExperimentT
|
|
|
26
26
|
* import { FisClient, DeleteExperimentTemplateCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, DeleteExperimentTemplateCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteExperimentTemplateCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetActionCommandOutput extends GetActionResponse, __MetadataBea
|
|
|
26
26
|
* import { FisClient, GetActionCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, GetActionCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetActionCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetExperimentCommandOutput extends GetExperimentResponse, __Met
|
|
|
26
26
|
* import { FisClient, GetExperimentCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, GetExperimentCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetExperimentCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetExperimentTemplateCommandOutput extends GetExperimentTemplat
|
|
|
26
26
|
* import { FisClient, GetExperimentTemplateCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, GetExperimentTemplateCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetExperimentTemplateCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetTargetResourceTypeCommandOutput extends GetTargetResourceTyp
|
|
|
26
26
|
* import { FisClient, GetTargetResourceTypeCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, GetTargetResourceTypeCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceType: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetTargetResourceTypeCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListActionsCommandOutput extends ListActionsResponse, __Metadat
|
|
|
26
26
|
* import { FisClient, ListActionsCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, ListActionsCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListActionsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListExperimentTemplatesCommandOutput extends ListExperimentTemp
|
|
|
26
26
|
* import { FisClient, ListExperimentTemplatesCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, ListExperimentTemplatesCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListExperimentTemplatesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListExperimentsCommandOutput extends ListExperimentsResponse, _
|
|
|
26
26
|
* import { FisClient, ListExperimentsCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, ListExperimentsCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListExperimentsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { FisClient, ListTagsForResourceCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, ListTagsForResourceCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListTargetResourceTypesCommandOutput extends ListTargetResource
|
|
|
26
26
|
* import { FisClient, ListTargetResourceTypesCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, ListTargetResourceTypesCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListTargetResourceTypesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface StartExperimentCommandOutput extends StartExperimentResponse, _
|
|
|
26
26
|
* import { FisClient, StartExperimentCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, StartExperimentCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* clientToken: "STRING_VALUE", // required
|
|
31
|
+
* experimentTemplateId: "STRING_VALUE", // required
|
|
32
|
+
* tags: {
|
|
33
|
+
* "<keys>": "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* };
|
|
29
36
|
* const command = new StartExperimentCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface StopExperimentCommandOutput extends StopExperimentResponse, __M
|
|
|
26
26
|
* import { FisClient, StopExperimentCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, StopExperimentCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new StopExperimentCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { FisClient, TagResourceCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, TagResourceCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { FisClient, UntagResourceCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, UntagResourceCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceArn: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,65 @@ export interface UpdateExperimentTemplateCommandOutput extends UpdateExperimentT
|
|
|
26
26
|
* import { FisClient, UpdateExperimentTemplateCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
27
27
|
* // const { FisClient, UpdateExperimentTemplateCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
28
28
|
* const client = new FisClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* id: "STRING_VALUE", // required
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* stopConditions: [
|
|
33
|
+
* {
|
|
34
|
+
* source: "STRING_VALUE", // required
|
|
35
|
+
* value: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* targets: {
|
|
39
|
+
* "<keys>": {
|
|
40
|
+
* resourceType: "STRING_VALUE", // required
|
|
41
|
+
* resourceArns: [
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* resourceTags: {
|
|
45
|
+
* "<keys>": "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* filters: [
|
|
48
|
+
* {
|
|
49
|
+
* path: "STRING_VALUE", // required
|
|
50
|
+
* values: [ // required
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* selectionMode: "STRING_VALUE", // required
|
|
56
|
+
* parameters: {
|
|
57
|
+
* "<keys>": "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* actions: {
|
|
62
|
+
* "<keys>": {
|
|
63
|
+
* actionId: "STRING_VALUE",
|
|
64
|
+
* description: "STRING_VALUE",
|
|
65
|
+
* parameters: {
|
|
66
|
+
* "<keys>": "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* targets: {
|
|
69
|
+
* "<keys>": "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* startAfter: [
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* roleArn: "STRING_VALUE",
|
|
77
|
+
* logConfiguration: {
|
|
78
|
+
* cloudWatchLogsConfiguration: {
|
|
79
|
+
* logGroupArn: "STRING_VALUE", // required
|
|
80
|
+
* },
|
|
81
|
+
* s3Configuration: {
|
|
82
|
+
* bucketName: "STRING_VALUE", // required
|
|
83
|
+
* prefix: "STRING_VALUE",
|
|
84
|
+
* },
|
|
85
|
+
* logSchemaVersion: Number("int"),
|
|
86
|
+
* },
|
|
87
|
+
* };
|
|
29
88
|
* const command = new UpdateExperimentTemplateCommand(input);
|
|
30
89
|
* const response = await client.send(command);
|
|
31
90
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-fis",
|
|
3
3
|
"description": "AWS SDK for JavaScript Fis Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|