@aws-sdk/client-fis 3.635.0 → 3.645.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/README.md +16 -0
- package/dist-cjs/index.js +106 -1
- package/dist-es/Fis.js +4 -0
- package/dist-es/commands/GetSafetyLeverCommand.js +24 -0
- package/dist-es/commands/UpdateSafetyLeverStateCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +51 -0
- package/dist-types/Fis.d.ts +14 -0
- package/dist-types/FisClient.d.ts +4 -2
- package/dist-types/commands/GetExperimentCommand.d.ts +1 -1
- package/dist-types/commands/GetSafetyLeverCommand.d.ts +72 -0
- package/dist-types/commands/ListExperimentsCommand.d.ts +1 -1
- package/dist-types/commands/StartExperimentCommand.d.ts +1 -1
- package/dist-types/commands/StopExperimentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSafetyLeverStateCommand.d.ts +82 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +154 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Fis.d.ts +34 -0
- package/dist-types/ts3.4/FisClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetSafetyLeverCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateSafetyLeverStateCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +40 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +6 -6
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { FisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FisClient";
|
|
4
|
+
import { UpdateSafetyLeverStateRequest, UpdateSafetyLeverStateResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateSafetyLeverStateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateSafetyLeverStateCommandInput extends UpdateSafetyLeverStateRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateSafetyLeverStateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateSafetyLeverStateCommandOutput extends UpdateSafetyLeverStateResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateSafetyLeverStateCommand_base: {
|
|
25
|
+
new (input: UpdateSafetyLeverStateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSafetyLeverStateCommandInput, UpdateSafetyLeverStateCommandOutput, FisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateSafetyLeverStateCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateSafetyLeverStateCommandInput, UpdateSafetyLeverStateCommandOutput, FisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Updates the specified safety lever state.
|
|
32
|
+
* </p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { FisClient, UpdateSafetyLeverStateCommand } from "@aws-sdk/client-fis"; // ES Modules import
|
|
37
|
+
* // const { FisClient, UpdateSafetyLeverStateCommand } = require("@aws-sdk/client-fis"); // CommonJS import
|
|
38
|
+
* const client = new FisClient(config);
|
|
39
|
+
* const input = { // UpdateSafetyLeverStateRequest
|
|
40
|
+
* id: "STRING_VALUE", // required
|
|
41
|
+
* state: { // UpdateSafetyLeverStateInput
|
|
42
|
+
* status: "disengaged" || "engaged", // required
|
|
43
|
+
* reason: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
46
|
+
* const command = new UpdateSafetyLeverStateCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // UpdateSafetyLeverStateResponse
|
|
49
|
+
* // safetyLever: { // SafetyLever
|
|
50
|
+
* // id: "STRING_VALUE",
|
|
51
|
+
* // arn: "STRING_VALUE",
|
|
52
|
+
* // state: { // SafetyLeverState
|
|
53
|
+
* // status: "disengaged" || "engaged" || "engaging",
|
|
54
|
+
* // reason: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param UpdateSafetyLeverStateCommandInput - {@link UpdateSafetyLeverStateCommandInput}
|
|
62
|
+
* @returns {@link UpdateSafetyLeverStateCommandOutput}
|
|
63
|
+
* @see {@link UpdateSafetyLeverStateCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link UpdateSafetyLeverStateCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link FisClientResolvedConfig | config} for FisClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ConflictException} (client fault)
|
|
68
|
+
* <p>The request could not be processed because of a conflict.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The specified resource cannot be found.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The specified input is not valid, or fails to satisfy the constraints for the request.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link FisServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Fis service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class UpdateSafetyLeverStateCommand extends UpdateSafetyLeverStateCommand_base {
|
|
82
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from "./GetActionCommand";
|
|
|
6
6
|
export * from "./GetExperimentCommand";
|
|
7
7
|
export * from "./GetExperimentTargetAccountConfigurationCommand";
|
|
8
8
|
export * from "./GetExperimentTemplateCommand";
|
|
9
|
+
export * from "./GetSafetyLeverCommand";
|
|
9
10
|
export * from "./GetTargetAccountConfigurationCommand";
|
|
10
11
|
export * from "./GetTargetResourceTypeCommand";
|
|
11
12
|
export * from "./ListActionsCommand";
|
|
@@ -21,4 +22,5 @@ export * from "./StopExperimentCommand";
|
|
|
21
22
|
export * from "./TagResourceCommand";
|
|
22
23
|
export * from "./UntagResourceCommand";
|
|
23
24
|
export * from "./UpdateExperimentTemplateCommand";
|
|
25
|
+
export * from "./UpdateSafetyLeverStateCommand";
|
|
24
26
|
export * from "./UpdateTargetAccountConfigurationCommand";
|
|
@@ -941,6 +941,7 @@ export interface ExperimentError {
|
|
|
941
941
|
* @enum
|
|
942
942
|
*/
|
|
943
943
|
export declare const ExperimentStatus: {
|
|
944
|
+
readonly cancelled: "cancelled";
|
|
944
945
|
readonly completed: "completed";
|
|
945
946
|
readonly failed: "failed";
|
|
946
947
|
readonly initiating: "initiating";
|
|
@@ -1327,6 +1328,94 @@ export interface GetExperimentTemplateResponse {
|
|
|
1327
1328
|
*/
|
|
1328
1329
|
experimentTemplate?: ExperimentTemplate;
|
|
1329
1330
|
}
|
|
1331
|
+
/**
|
|
1332
|
+
* @public
|
|
1333
|
+
*/
|
|
1334
|
+
export interface GetSafetyLeverRequest {
|
|
1335
|
+
/**
|
|
1336
|
+
* <p>
|
|
1337
|
+
* The ID of the safety lever.
|
|
1338
|
+
* </p>
|
|
1339
|
+
* @public
|
|
1340
|
+
*/
|
|
1341
|
+
id: string | undefined;
|
|
1342
|
+
}
|
|
1343
|
+
/**
|
|
1344
|
+
* @public
|
|
1345
|
+
* @enum
|
|
1346
|
+
*/
|
|
1347
|
+
export declare const SafetyLeverStatus: {
|
|
1348
|
+
readonly DISENGAGED: "disengaged";
|
|
1349
|
+
readonly ENGAGED: "engaged";
|
|
1350
|
+
readonly ENGAGING: "engaging";
|
|
1351
|
+
};
|
|
1352
|
+
/**
|
|
1353
|
+
* @public
|
|
1354
|
+
*/
|
|
1355
|
+
export type SafetyLeverStatus = (typeof SafetyLeverStatus)[keyof typeof SafetyLeverStatus];
|
|
1356
|
+
/**
|
|
1357
|
+
* <p>
|
|
1358
|
+
* Describes the state of the safety lever.
|
|
1359
|
+
* </p>
|
|
1360
|
+
* @public
|
|
1361
|
+
*/
|
|
1362
|
+
export interface SafetyLeverState {
|
|
1363
|
+
/**
|
|
1364
|
+
* <p>
|
|
1365
|
+
* The state of the safety lever.
|
|
1366
|
+
* </p>
|
|
1367
|
+
* @public
|
|
1368
|
+
*/
|
|
1369
|
+
status?: SafetyLeverStatus;
|
|
1370
|
+
/**
|
|
1371
|
+
* <p>
|
|
1372
|
+
* The reason for the state of the safety lever.
|
|
1373
|
+
* </p>
|
|
1374
|
+
* @public
|
|
1375
|
+
*/
|
|
1376
|
+
reason?: string;
|
|
1377
|
+
}
|
|
1378
|
+
/**
|
|
1379
|
+
* <p>
|
|
1380
|
+
* Describes a safety lever.
|
|
1381
|
+
* </p>
|
|
1382
|
+
* @public
|
|
1383
|
+
*/
|
|
1384
|
+
export interface SafetyLever {
|
|
1385
|
+
/**
|
|
1386
|
+
* <p>
|
|
1387
|
+
* The ID of the safety lever.
|
|
1388
|
+
* </p>
|
|
1389
|
+
* @public
|
|
1390
|
+
*/
|
|
1391
|
+
id?: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* <p>
|
|
1394
|
+
* The Amazon Resource Name (ARN) of the safety lever.
|
|
1395
|
+
* </p>
|
|
1396
|
+
* @public
|
|
1397
|
+
*/
|
|
1398
|
+
arn?: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* <p>
|
|
1401
|
+
* The state of the safety lever.
|
|
1402
|
+
* </p>
|
|
1403
|
+
* @public
|
|
1404
|
+
*/
|
|
1405
|
+
state?: SafetyLeverState;
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* @public
|
|
1409
|
+
*/
|
|
1410
|
+
export interface GetSafetyLeverResponse {
|
|
1411
|
+
/**
|
|
1412
|
+
* <p>
|
|
1413
|
+
* Information about the safety lever.
|
|
1414
|
+
* </p>
|
|
1415
|
+
* @public
|
|
1416
|
+
*/
|
|
1417
|
+
safetyLever?: SafetyLever;
|
|
1418
|
+
}
|
|
1330
1419
|
/**
|
|
1331
1420
|
* @public
|
|
1332
1421
|
*/
|
|
@@ -2001,6 +2090,71 @@ export interface UpdateExperimentTemplateResponse {
|
|
|
2001
2090
|
*/
|
|
2002
2091
|
experimentTemplate?: ExperimentTemplate;
|
|
2003
2092
|
}
|
|
2093
|
+
/**
|
|
2094
|
+
* @public
|
|
2095
|
+
* @enum
|
|
2096
|
+
*/
|
|
2097
|
+
export declare const SafetyLeverStatusInput: {
|
|
2098
|
+
readonly DISENGAGED: "disengaged";
|
|
2099
|
+
readonly ENGAGED: "engaged";
|
|
2100
|
+
};
|
|
2101
|
+
/**
|
|
2102
|
+
* @public
|
|
2103
|
+
*/
|
|
2104
|
+
export type SafetyLeverStatusInput = (typeof SafetyLeverStatusInput)[keyof typeof SafetyLeverStatusInput];
|
|
2105
|
+
/**
|
|
2106
|
+
* <p>
|
|
2107
|
+
* Specifies a state for a safety lever.
|
|
2108
|
+
* </p>
|
|
2109
|
+
* @public
|
|
2110
|
+
*/
|
|
2111
|
+
export interface UpdateSafetyLeverStateInput {
|
|
2112
|
+
/**
|
|
2113
|
+
* <p>
|
|
2114
|
+
* The updated state of the safety lever.
|
|
2115
|
+
* </p>
|
|
2116
|
+
* @public
|
|
2117
|
+
*/
|
|
2118
|
+
status: SafetyLeverStatusInput | undefined;
|
|
2119
|
+
/**
|
|
2120
|
+
* <p>
|
|
2121
|
+
* The reason for updating the state of the safety lever.
|
|
2122
|
+
* </p>
|
|
2123
|
+
* @public
|
|
2124
|
+
*/
|
|
2125
|
+
reason: string | undefined;
|
|
2126
|
+
}
|
|
2127
|
+
/**
|
|
2128
|
+
* @public
|
|
2129
|
+
*/
|
|
2130
|
+
export interface UpdateSafetyLeverStateRequest {
|
|
2131
|
+
/**
|
|
2132
|
+
* <p>
|
|
2133
|
+
* The ID of the safety lever.
|
|
2134
|
+
* </p>
|
|
2135
|
+
* @public
|
|
2136
|
+
*/
|
|
2137
|
+
id: string | undefined;
|
|
2138
|
+
/**
|
|
2139
|
+
* <p>
|
|
2140
|
+
* The state of the safety lever.
|
|
2141
|
+
* </p>
|
|
2142
|
+
* @public
|
|
2143
|
+
*/
|
|
2144
|
+
state: UpdateSafetyLeverStateInput | undefined;
|
|
2145
|
+
}
|
|
2146
|
+
/**
|
|
2147
|
+
* @public
|
|
2148
|
+
*/
|
|
2149
|
+
export interface UpdateSafetyLeverStateResponse {
|
|
2150
|
+
/**
|
|
2151
|
+
* <p>
|
|
2152
|
+
* Information about the safety lever.
|
|
2153
|
+
* </p>
|
|
2154
|
+
* @public
|
|
2155
|
+
*/
|
|
2156
|
+
safetyLever?: SafetyLever;
|
|
2157
|
+
}
|
|
2004
2158
|
/**
|
|
2005
2159
|
* @public
|
|
2006
2160
|
*/
|
|
@@ -8,6 +8,7 @@ import { GetActionCommandInput, GetActionCommandOutput } from "../commands/GetAc
|
|
|
8
8
|
import { GetExperimentCommandInput, GetExperimentCommandOutput } from "../commands/GetExperimentCommand";
|
|
9
9
|
import { GetExperimentTargetAccountConfigurationCommandInput, GetExperimentTargetAccountConfigurationCommandOutput } from "../commands/GetExperimentTargetAccountConfigurationCommand";
|
|
10
10
|
import { GetExperimentTemplateCommandInput, GetExperimentTemplateCommandOutput } from "../commands/GetExperimentTemplateCommand";
|
|
11
|
+
import { GetSafetyLeverCommandInput, GetSafetyLeverCommandOutput } from "../commands/GetSafetyLeverCommand";
|
|
11
12
|
import { GetTargetAccountConfigurationCommandInput, GetTargetAccountConfigurationCommandOutput } from "../commands/GetTargetAccountConfigurationCommand";
|
|
12
13
|
import { GetTargetResourceTypeCommandInput, GetTargetResourceTypeCommandOutput } from "../commands/GetTargetResourceTypeCommand";
|
|
13
14
|
import { ListActionsCommandInput, ListActionsCommandOutput } from "../commands/ListActionsCommand";
|
|
@@ -23,6 +24,7 @@ import { StopExperimentCommandInput, StopExperimentCommandOutput } from "../comm
|
|
|
23
24
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
24
25
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
25
26
|
import { UpdateExperimentTemplateCommandInput, UpdateExperimentTemplateCommandOutput } from "../commands/UpdateExperimentTemplateCommand";
|
|
27
|
+
import { UpdateSafetyLeverStateCommandInput, UpdateSafetyLeverStateCommandOutput } from "../commands/UpdateSafetyLeverStateCommand";
|
|
26
28
|
import { UpdateTargetAccountConfigurationCommandInput, UpdateTargetAccountConfigurationCommandOutput } from "../commands/UpdateTargetAccountConfigurationCommand";
|
|
27
29
|
/**
|
|
28
30
|
* serializeAws_restJson1CreateExperimentTemplateCommand
|
|
@@ -56,6 +58,10 @@ export declare const se_GetExperimentTargetAccountConfigurationCommand: (input:
|
|
|
56
58
|
* serializeAws_restJson1GetExperimentTemplateCommand
|
|
57
59
|
*/
|
|
58
60
|
export declare const se_GetExperimentTemplateCommand: (input: GetExperimentTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
|
+
/**
|
|
62
|
+
* serializeAws_restJson1GetSafetyLeverCommand
|
|
63
|
+
*/
|
|
64
|
+
export declare const se_GetSafetyLeverCommand: (input: GetSafetyLeverCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
65
|
/**
|
|
60
66
|
* serializeAws_restJson1GetTargetAccountConfigurationCommand
|
|
61
67
|
*/
|
|
@@ -116,6 +122,10 @@ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput,
|
|
|
116
122
|
* serializeAws_restJson1UpdateExperimentTemplateCommand
|
|
117
123
|
*/
|
|
118
124
|
export declare const se_UpdateExperimentTemplateCommand: (input: UpdateExperimentTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
125
|
+
/**
|
|
126
|
+
* serializeAws_restJson1UpdateSafetyLeverStateCommand
|
|
127
|
+
*/
|
|
128
|
+
export declare const se_UpdateSafetyLeverStateCommand: (input: UpdateSafetyLeverStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
119
129
|
/**
|
|
120
130
|
* serializeAws_restJson1UpdateTargetAccountConfigurationCommand
|
|
121
131
|
*/
|
|
@@ -152,6 +162,10 @@ export declare const de_GetExperimentTargetAccountConfigurationCommand: (output:
|
|
|
152
162
|
* deserializeAws_restJson1GetExperimentTemplateCommand
|
|
153
163
|
*/
|
|
154
164
|
export declare const de_GetExperimentTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetExperimentTemplateCommandOutput>;
|
|
165
|
+
/**
|
|
166
|
+
* deserializeAws_restJson1GetSafetyLeverCommand
|
|
167
|
+
*/
|
|
168
|
+
export declare const de_GetSafetyLeverCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSafetyLeverCommandOutput>;
|
|
155
169
|
/**
|
|
156
170
|
* deserializeAws_restJson1GetTargetAccountConfigurationCommand
|
|
157
171
|
*/
|
|
@@ -212,6 +226,10 @@ export declare const de_UntagResourceCommand: (output: __HttpResponse, context:
|
|
|
212
226
|
* deserializeAws_restJson1UpdateExperimentTemplateCommand
|
|
213
227
|
*/
|
|
214
228
|
export declare const de_UpdateExperimentTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateExperimentTemplateCommandOutput>;
|
|
229
|
+
/**
|
|
230
|
+
* deserializeAws_restJson1UpdateSafetyLeverStateCommand
|
|
231
|
+
*/
|
|
232
|
+
export declare const de_UpdateSafetyLeverStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSafetyLeverStateCommandOutput>;
|
|
215
233
|
/**
|
|
216
234
|
* deserializeAws_restJson1UpdateTargetAccountConfigurationCommand
|
|
217
235
|
*/
|
|
@@ -31,6 +31,10 @@ import {
|
|
|
31
31
|
GetExperimentTemplateCommandInput,
|
|
32
32
|
GetExperimentTemplateCommandOutput,
|
|
33
33
|
} from "./commands/GetExperimentTemplateCommand";
|
|
34
|
+
import {
|
|
35
|
+
GetSafetyLeverCommandInput,
|
|
36
|
+
GetSafetyLeverCommandOutput,
|
|
37
|
+
} from "./commands/GetSafetyLeverCommand";
|
|
34
38
|
import {
|
|
35
39
|
GetTargetAccountConfigurationCommandInput,
|
|
36
40
|
GetTargetAccountConfigurationCommandOutput,
|
|
@@ -91,6 +95,10 @@ import {
|
|
|
91
95
|
UpdateExperimentTemplateCommandInput,
|
|
92
96
|
UpdateExperimentTemplateCommandOutput,
|
|
93
97
|
} from "./commands/UpdateExperimentTemplateCommand";
|
|
98
|
+
import {
|
|
99
|
+
UpdateSafetyLeverStateCommandInput,
|
|
100
|
+
UpdateSafetyLeverStateCommandOutput,
|
|
101
|
+
} from "./commands/UpdateSafetyLeverStateCommand";
|
|
94
102
|
import {
|
|
95
103
|
UpdateTargetAccountConfigurationCommandInput,
|
|
96
104
|
UpdateTargetAccountConfigurationCommandOutput,
|
|
@@ -207,6 +215,19 @@ export interface Fis {
|
|
|
207
215
|
options: __HttpHandlerOptions,
|
|
208
216
|
cb: (err: any, data?: GetExperimentTemplateCommandOutput) => void
|
|
209
217
|
): void;
|
|
218
|
+
getSafetyLever(
|
|
219
|
+
args: GetSafetyLeverCommandInput,
|
|
220
|
+
options?: __HttpHandlerOptions
|
|
221
|
+
): Promise<GetSafetyLeverCommandOutput>;
|
|
222
|
+
getSafetyLever(
|
|
223
|
+
args: GetSafetyLeverCommandInput,
|
|
224
|
+
cb: (err: any, data?: GetSafetyLeverCommandOutput) => void
|
|
225
|
+
): void;
|
|
226
|
+
getSafetyLever(
|
|
227
|
+
args: GetSafetyLeverCommandInput,
|
|
228
|
+
options: __HttpHandlerOptions,
|
|
229
|
+
cb: (err: any, data?: GetSafetyLeverCommandOutput) => void
|
|
230
|
+
): void;
|
|
210
231
|
getTargetAccountConfiguration(
|
|
211
232
|
args: GetTargetAccountConfigurationCommandInput,
|
|
212
233
|
options?: __HttpHandlerOptions
|
|
@@ -412,6 +433,19 @@ export interface Fis {
|
|
|
412
433
|
options: __HttpHandlerOptions,
|
|
413
434
|
cb: (err: any, data?: UpdateExperimentTemplateCommandOutput) => void
|
|
414
435
|
): void;
|
|
436
|
+
updateSafetyLeverState(
|
|
437
|
+
args: UpdateSafetyLeverStateCommandInput,
|
|
438
|
+
options?: __HttpHandlerOptions
|
|
439
|
+
): Promise<UpdateSafetyLeverStateCommandOutput>;
|
|
440
|
+
updateSafetyLeverState(
|
|
441
|
+
args: UpdateSafetyLeverStateCommandInput,
|
|
442
|
+
cb: (err: any, data?: UpdateSafetyLeverStateCommandOutput) => void
|
|
443
|
+
): void;
|
|
444
|
+
updateSafetyLeverState(
|
|
445
|
+
args: UpdateSafetyLeverStateCommandInput,
|
|
446
|
+
options: __HttpHandlerOptions,
|
|
447
|
+
cb: (err: any, data?: UpdateSafetyLeverStateCommandOutput) => void
|
|
448
|
+
): void;
|
|
415
449
|
updateTargetAccountConfiguration(
|
|
416
450
|
args: UpdateTargetAccountConfigurationCommandInput,
|
|
417
451
|
options?: __HttpHandlerOptions
|
|
@@ -77,6 +77,10 @@ import {
|
|
|
77
77
|
GetExperimentTemplateCommandInput,
|
|
78
78
|
GetExperimentTemplateCommandOutput,
|
|
79
79
|
} from "./commands/GetExperimentTemplateCommand";
|
|
80
|
+
import {
|
|
81
|
+
GetSafetyLeverCommandInput,
|
|
82
|
+
GetSafetyLeverCommandOutput,
|
|
83
|
+
} from "./commands/GetSafetyLeverCommand";
|
|
80
84
|
import {
|
|
81
85
|
GetTargetAccountConfigurationCommandInput,
|
|
82
86
|
GetTargetAccountConfigurationCommandOutput,
|
|
@@ -137,6 +141,10 @@ import {
|
|
|
137
141
|
UpdateExperimentTemplateCommandInput,
|
|
138
142
|
UpdateExperimentTemplateCommandOutput,
|
|
139
143
|
} from "./commands/UpdateExperimentTemplateCommand";
|
|
144
|
+
import {
|
|
145
|
+
UpdateSafetyLeverStateCommandInput,
|
|
146
|
+
UpdateSafetyLeverStateCommandOutput,
|
|
147
|
+
} from "./commands/UpdateSafetyLeverStateCommand";
|
|
140
148
|
import {
|
|
141
149
|
UpdateTargetAccountConfigurationCommandInput,
|
|
142
150
|
UpdateTargetAccountConfigurationCommandOutput,
|
|
@@ -157,6 +165,7 @@ export type ServiceInputTypes =
|
|
|
157
165
|
| GetExperimentCommandInput
|
|
158
166
|
| GetExperimentTargetAccountConfigurationCommandInput
|
|
159
167
|
| GetExperimentTemplateCommandInput
|
|
168
|
+
| GetSafetyLeverCommandInput
|
|
160
169
|
| GetTargetAccountConfigurationCommandInput
|
|
161
170
|
| GetTargetResourceTypeCommandInput
|
|
162
171
|
| ListActionsCommandInput
|
|
@@ -172,6 +181,7 @@ export type ServiceInputTypes =
|
|
|
172
181
|
| TagResourceCommandInput
|
|
173
182
|
| UntagResourceCommandInput
|
|
174
183
|
| UpdateExperimentTemplateCommandInput
|
|
184
|
+
| UpdateSafetyLeverStateCommandInput
|
|
175
185
|
| UpdateTargetAccountConfigurationCommandInput;
|
|
176
186
|
export type ServiceOutputTypes =
|
|
177
187
|
| CreateExperimentTemplateCommandOutput
|
|
@@ -182,6 +192,7 @@ export type ServiceOutputTypes =
|
|
|
182
192
|
| GetExperimentCommandOutput
|
|
183
193
|
| GetExperimentTargetAccountConfigurationCommandOutput
|
|
184
194
|
| GetExperimentTemplateCommandOutput
|
|
195
|
+
| GetSafetyLeverCommandOutput
|
|
185
196
|
| GetTargetAccountConfigurationCommandOutput
|
|
186
197
|
| GetTargetResourceTypeCommandOutput
|
|
187
198
|
| ListActionsCommandOutput
|
|
@@ -197,6 +208,7 @@ export type ServiceOutputTypes =
|
|
|
197
208
|
| TagResourceCommandOutput
|
|
198
209
|
| UntagResourceCommandOutput
|
|
199
210
|
| UpdateExperimentTemplateCommandOutput
|
|
211
|
+
| UpdateSafetyLeverStateCommandOutput
|
|
200
212
|
| UpdateTargetAccountConfigurationCommandOutput;
|
|
201
213
|
export interface ClientDefaults
|
|
202
214
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
FisClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../FisClient";
|
|
8
|
+
import {
|
|
9
|
+
GetSafetyLeverRequest,
|
|
10
|
+
GetSafetyLeverResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetSafetyLeverCommandInput extends GetSafetyLeverRequest {}
|
|
15
|
+
export interface GetSafetyLeverCommandOutput
|
|
16
|
+
extends GetSafetyLeverResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetSafetyLeverCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetSafetyLeverCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetSafetyLeverCommandInput,
|
|
23
|
+
GetSafetyLeverCommandOutput,
|
|
24
|
+
FisClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: GetSafetyLeverCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetSafetyLeverCommandInput,
|
|
32
|
+
GetSafetyLeverCommandOutput,
|
|
33
|
+
FisClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class GetSafetyLeverCommand extends GetSafetyLeverCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
FisClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../FisClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateSafetyLeverStateRequest,
|
|
10
|
+
UpdateSafetyLeverStateResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateSafetyLeverStateCommandInput
|
|
15
|
+
extends UpdateSafetyLeverStateRequest {}
|
|
16
|
+
export interface UpdateSafetyLeverStateCommandOutput
|
|
17
|
+
extends UpdateSafetyLeverStateResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateSafetyLeverStateCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateSafetyLeverStateCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateSafetyLeverStateCommandInput,
|
|
24
|
+
UpdateSafetyLeverStateCommandOutput,
|
|
25
|
+
FisClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: UpdateSafetyLeverStateCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateSafetyLeverStateCommandInput,
|
|
33
|
+
UpdateSafetyLeverStateCommandOutput,
|
|
34
|
+
FisClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateSafetyLeverStateCommand extends UpdateSafetyLeverStateCommand_base {}
|
|
@@ -6,6 +6,7 @@ export * from "./GetActionCommand";
|
|
|
6
6
|
export * from "./GetExperimentCommand";
|
|
7
7
|
export * from "./GetExperimentTargetAccountConfigurationCommand";
|
|
8
8
|
export * from "./GetExperimentTemplateCommand";
|
|
9
|
+
export * from "./GetSafetyLeverCommand";
|
|
9
10
|
export * from "./GetTargetAccountConfigurationCommand";
|
|
10
11
|
export * from "./GetTargetResourceTypeCommand";
|
|
11
12
|
export * from "./ListActionsCommand";
|
|
@@ -21,4 +22,5 @@ export * from "./StopExperimentCommand";
|
|
|
21
22
|
export * from "./TagResourceCommand";
|
|
22
23
|
export * from "./UntagResourceCommand";
|
|
23
24
|
export * from "./UpdateExperimentTemplateCommand";
|
|
25
|
+
export * from "./UpdateSafetyLeverStateCommand";
|
|
24
26
|
export * from "./UpdateTargetAccountConfigurationCommand";
|
|
@@ -250,6 +250,7 @@ export interface ExperimentError {
|
|
|
250
250
|
location?: string;
|
|
251
251
|
}
|
|
252
252
|
export declare const ExperimentStatus: {
|
|
253
|
+
readonly cancelled: "cancelled";
|
|
253
254
|
readonly completed: "completed";
|
|
254
255
|
readonly failed: "failed";
|
|
255
256
|
readonly initiating: "initiating";
|
|
@@ -350,6 +351,28 @@ export interface GetExperimentTemplateRequest {
|
|
|
350
351
|
export interface GetExperimentTemplateResponse {
|
|
351
352
|
experimentTemplate?: ExperimentTemplate;
|
|
352
353
|
}
|
|
354
|
+
export interface GetSafetyLeverRequest {
|
|
355
|
+
id: string | undefined;
|
|
356
|
+
}
|
|
357
|
+
export declare const SafetyLeverStatus: {
|
|
358
|
+
readonly DISENGAGED: "disengaged";
|
|
359
|
+
readonly ENGAGED: "engaged";
|
|
360
|
+
readonly ENGAGING: "engaging";
|
|
361
|
+
};
|
|
362
|
+
export type SafetyLeverStatus =
|
|
363
|
+
(typeof SafetyLeverStatus)[keyof typeof SafetyLeverStatus];
|
|
364
|
+
export interface SafetyLeverState {
|
|
365
|
+
status?: SafetyLeverStatus;
|
|
366
|
+
reason?: string;
|
|
367
|
+
}
|
|
368
|
+
export interface SafetyLever {
|
|
369
|
+
id?: string;
|
|
370
|
+
arn?: string;
|
|
371
|
+
state?: SafetyLeverState;
|
|
372
|
+
}
|
|
373
|
+
export interface GetSafetyLeverResponse {
|
|
374
|
+
safetyLever?: SafetyLever;
|
|
375
|
+
}
|
|
353
376
|
export interface GetTargetAccountConfigurationRequest {
|
|
354
377
|
experimentTemplateId: string | undefined;
|
|
355
378
|
accountId: string | undefined;
|
|
@@ -520,6 +543,23 @@ export interface UpdateExperimentTemplateRequest {
|
|
|
520
543
|
export interface UpdateExperimentTemplateResponse {
|
|
521
544
|
experimentTemplate?: ExperimentTemplate;
|
|
522
545
|
}
|
|
546
|
+
export declare const SafetyLeverStatusInput: {
|
|
547
|
+
readonly DISENGAGED: "disengaged";
|
|
548
|
+
readonly ENGAGED: "engaged";
|
|
549
|
+
};
|
|
550
|
+
export type SafetyLeverStatusInput =
|
|
551
|
+
(typeof SafetyLeverStatusInput)[keyof typeof SafetyLeverStatusInput];
|
|
552
|
+
export interface UpdateSafetyLeverStateInput {
|
|
553
|
+
status: SafetyLeverStatusInput | undefined;
|
|
554
|
+
reason: string | undefined;
|
|
555
|
+
}
|
|
556
|
+
export interface UpdateSafetyLeverStateRequest {
|
|
557
|
+
id: string | undefined;
|
|
558
|
+
state: UpdateSafetyLeverStateInput | undefined;
|
|
559
|
+
}
|
|
560
|
+
export interface UpdateSafetyLeverStateResponse {
|
|
561
|
+
safetyLever?: SafetyLever;
|
|
562
|
+
}
|
|
523
563
|
export interface UpdateTargetAccountConfigurationRequest {
|
|
524
564
|
experimentTemplateId: string | undefined;
|
|
525
565
|
accountId: string | undefined;
|
|
@@ -35,6 +35,10 @@ import {
|
|
|
35
35
|
GetExperimentTemplateCommandInput,
|
|
36
36
|
GetExperimentTemplateCommandOutput,
|
|
37
37
|
} from "../commands/GetExperimentTemplateCommand";
|
|
38
|
+
import {
|
|
39
|
+
GetSafetyLeverCommandInput,
|
|
40
|
+
GetSafetyLeverCommandOutput,
|
|
41
|
+
} from "../commands/GetSafetyLeverCommand";
|
|
38
42
|
import {
|
|
39
43
|
GetTargetAccountConfigurationCommandInput,
|
|
40
44
|
GetTargetAccountConfigurationCommandOutput,
|
|
@@ -95,6 +99,10 @@ import {
|
|
|
95
99
|
UpdateExperimentTemplateCommandInput,
|
|
96
100
|
UpdateExperimentTemplateCommandOutput,
|
|
97
101
|
} from "../commands/UpdateExperimentTemplateCommand";
|
|
102
|
+
import {
|
|
103
|
+
UpdateSafetyLeverStateCommandInput,
|
|
104
|
+
UpdateSafetyLeverStateCommandOutput,
|
|
105
|
+
} from "../commands/UpdateSafetyLeverStateCommand";
|
|
98
106
|
import {
|
|
99
107
|
UpdateTargetAccountConfigurationCommandInput,
|
|
100
108
|
UpdateTargetAccountConfigurationCommandOutput,
|
|
@@ -131,6 +139,10 @@ export declare const se_GetExperimentTemplateCommand: (
|
|
|
131
139
|
input: GetExperimentTemplateCommandInput,
|
|
132
140
|
context: __SerdeContext
|
|
133
141
|
) => Promise<__HttpRequest>;
|
|
142
|
+
export declare const se_GetSafetyLeverCommand: (
|
|
143
|
+
input: GetSafetyLeverCommandInput,
|
|
144
|
+
context: __SerdeContext
|
|
145
|
+
) => Promise<__HttpRequest>;
|
|
134
146
|
export declare const se_GetTargetAccountConfigurationCommand: (
|
|
135
147
|
input: GetTargetAccountConfigurationCommandInput,
|
|
136
148
|
context: __SerdeContext
|
|
@@ -191,6 +203,10 @@ export declare const se_UpdateExperimentTemplateCommand: (
|
|
|
191
203
|
input: UpdateExperimentTemplateCommandInput,
|
|
192
204
|
context: __SerdeContext
|
|
193
205
|
) => Promise<__HttpRequest>;
|
|
206
|
+
export declare const se_UpdateSafetyLeverStateCommand: (
|
|
207
|
+
input: UpdateSafetyLeverStateCommandInput,
|
|
208
|
+
context: __SerdeContext
|
|
209
|
+
) => Promise<__HttpRequest>;
|
|
194
210
|
export declare const se_UpdateTargetAccountConfigurationCommand: (
|
|
195
211
|
input: UpdateTargetAccountConfigurationCommandInput,
|
|
196
212
|
context: __SerdeContext
|
|
@@ -227,6 +243,10 @@ export declare const de_GetExperimentTemplateCommand: (
|
|
|
227
243
|
output: __HttpResponse,
|
|
228
244
|
context: __SerdeContext
|
|
229
245
|
) => Promise<GetExperimentTemplateCommandOutput>;
|
|
246
|
+
export declare const de_GetSafetyLeverCommand: (
|
|
247
|
+
output: __HttpResponse,
|
|
248
|
+
context: __SerdeContext
|
|
249
|
+
) => Promise<GetSafetyLeverCommandOutput>;
|
|
230
250
|
export declare const de_GetTargetAccountConfigurationCommand: (
|
|
231
251
|
output: __HttpResponse,
|
|
232
252
|
context: __SerdeContext
|
|
@@ -287,6 +307,10 @@ export declare const de_UpdateExperimentTemplateCommand: (
|
|
|
287
307
|
output: __HttpResponse,
|
|
288
308
|
context: __SerdeContext
|
|
289
309
|
) => Promise<UpdateExperimentTemplateCommandOutput>;
|
|
310
|
+
export declare const de_UpdateSafetyLeverStateCommand: (
|
|
311
|
+
output: __HttpResponse,
|
|
312
|
+
context: __SerdeContext
|
|
313
|
+
) => Promise<UpdateSafetyLeverStateCommandOutput>;
|
|
290
314
|
export declare const de_UpdateTargetAccountConfigurationCommand: (
|
|
291
315
|
output: __HttpResponse,
|
|
292
316
|
context: __SerdeContext
|