@aws-sdk/client-fis 3.928.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1541 -1069
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/FisClient.js +2 -0
- package/dist-es/commands/CreateExperimentTemplateCommand.js +3 -9
- package/dist-es/commands/CreateTargetAccountConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteExperimentTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteTargetAccountConfigurationCommand.js +3 -9
- package/dist-es/commands/GetActionCommand.js +3 -9
- package/dist-es/commands/GetExperimentCommand.js +3 -9
- package/dist-es/commands/GetExperimentTargetAccountConfigurationCommand.js +3 -9
- package/dist-es/commands/GetExperimentTemplateCommand.js +3 -9
- package/dist-es/commands/GetSafetyLeverCommand.js +3 -9
- package/dist-es/commands/GetTargetAccountConfigurationCommand.js +3 -9
- package/dist-es/commands/GetTargetResourceTypeCommand.js +3 -9
- package/dist-es/commands/ListActionsCommand.js +3 -9
- package/dist-es/commands/ListExperimentResolvedTargetsCommand.js +3 -9
- package/dist-es/commands/ListExperimentTargetAccountConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListExperimentTemplatesCommand.js +3 -9
- package/dist-es/commands/ListExperimentsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTargetAccountConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListTargetResourceTypesCommand.js +3 -9
- package/dist-es/commands/StartExperimentCommand.js +3 -9
- package/dist-es/commands/StopExperimentCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateExperimentTemplateCommand.js +3 -9
- package/dist-es/commands/UpdateSafetyLeverStateCommand.js +3 -9
- package/dist-es/commands/UpdateTargetAccountConfigurationCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1495 -0
- package/dist-types/FisClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +200 -0
- package/dist-types/ts3.4/FisClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +206 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -881
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -236
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -317
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FaultInjectionSimulator", "UntagResource", {})
|
|
17
13
|
.n("FisClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateExperimentTemplate } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateExperimentTemplateCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FaultInjectionSimulator", "UpdateExperimentTemplate", {})
|
|
17
13
|
.n("FisClient", "UpdateExperimentTemplateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateExperimentTemplateCommand)
|
|
20
|
-
.de(de_UpdateExperimentTemplateCommand)
|
|
14
|
+
.sc(UpdateExperimentTemplate)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSafetyLeverState } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSafetyLeverStateCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FaultInjectionSimulator", "UpdateSafetyLeverState", {})
|
|
17
13
|
.n("FisClient", "UpdateSafetyLeverStateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSafetyLeverStateCommand)
|
|
20
|
-
.de(de_UpdateSafetyLeverStateCommand)
|
|
14
|
+
.sc(UpdateSafetyLeverState)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateTargetAccountConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTargetAccountConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("FaultInjectionSimulator", "UpdateTargetAccountConfiguration", {})
|
|
17
13
|
.n("FisClient", "UpdateTargetAccountConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTargetAccountConfigurationCommand)
|
|
20
|
-
.de(de_UpdateTargetAccountConfigurationCommand)
|
|
14
|
+
.sc(UpdateTargetAccountConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.fis" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "fis",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|