@aws-sdk/client-fis 3.46.0 → 3.48.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/CHANGELOG.md +38 -0
- package/README.md +2 -2
- package/dist-cjs/models/models_0.js +2 -26
- package/dist-cjs/protocols/Aws_restJson1.js +6 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/models/models_0.js +0 -16
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/Fis.d.ts +9 -8
- package/dist-types/FisClient.d.ts +7 -3
- package/dist-types/commands/CreateExperimentTemplateCommand.d.ts +5 -4
- package/dist-types/commands/GetActionCommand.d.ts +1 -1
- package/dist-types/commands/ListActionsCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +26 -36
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/FisClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +4 -16
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +35 -35
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,44 @@
|
|
|
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.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-fis
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-fis
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
6
44
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
45
|
|
|
8
46
|
|
package/README.md
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
AWS SDK for JavaScript Fis Client for Node.js, Browser and React Native.
|
|
9
9
|
|
|
10
|
-
<p>
|
|
11
|
-
experiments on your
|
|
10
|
+
<p>Fault Injection Simulator is a managed service that enables you to perform fault injection
|
|
11
|
+
experiments on your Amazon Web Services workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">Fault Injection Simulator User Guide</a>.</p>
|
|
12
12
|
|
|
13
13
|
## Installing
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StopExperimentResponse = exports.StopExperimentRequest = exports.StartExperimentResponse = exports.StartExperimentRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListExperimentTemplatesResponse = exports.ListExperimentTemplatesRequest = exports.ListExperimentsResponse = exports.ListExperimentsRequest = exports.ListActionsResponse = exports.ListActionsRequest = exports.GetExperimentTemplateResponse = exports.GetExperimentTemplateRequest = exports.GetExperimentResponse = exports.GetExperimentRequest = exports.GetActionResponse = exports.GetActionRequest = exports.ExperimentTemplateSummary = exports.ExperimentSummary = exports.Experiment = exports.ExperimentTarget = exports.ExperimentTargetFilter = exports.ExperimentStopCondition = exports.ExperimentState = exports.ExperimentStatus = exports.ExperimentAction = exports.ExperimentActionState = exports.ExperimentActionStatus = exports.DeleteExperimentTemplateResponse = exports.DeleteExperimentTemplateRequest = exports.
|
|
4
|
-
exports.UpdateExperimentTemplateResponse = exports.UpdateExperimentTemplateRequest = exports.UpdateExperimentTemplateTargetInput = exports.UpdateExperimentTemplateStopConditionInput = exports.UpdateExperimentTemplateActionInputItem =
|
|
3
|
+
exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopExperimentResponse = exports.StopExperimentRequest = exports.StartExperimentResponse = exports.StartExperimentRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListExperimentTemplatesResponse = exports.ListExperimentTemplatesRequest = exports.ListExperimentsResponse = exports.ListExperimentsRequest = exports.ListActionsResponse = exports.ListActionsRequest = exports.GetExperimentTemplateResponse = exports.GetExperimentTemplateRequest = exports.GetExperimentResponse = exports.GetExperimentRequest = exports.GetActionResponse = exports.GetActionRequest = exports.ExperimentTemplateSummary = exports.ExperimentSummary = exports.Experiment = exports.ExperimentTarget = exports.ExperimentTargetFilter = exports.ExperimentStopCondition = exports.ExperimentState = exports.ExperimentStatus = exports.ExperimentAction = exports.ExperimentActionState = exports.ExperimentActionStatus = exports.DeleteExperimentTemplateResponse = exports.DeleteExperimentTemplateRequest = exports.CreateExperimentTemplateResponse = exports.ExperimentTemplate = exports.ExperimentTemplateTarget = exports.ExperimentTemplateTargetFilter = exports.ExperimentTemplateStopCondition = exports.ExperimentTemplateAction = exports.CreateExperimentTemplateRequest = exports.CreateExperimentTemplateTargetInput = exports.ExperimentTemplateTargetInputFilter = exports.CreateExperimentTemplateStopConditionInput = exports.CreateExperimentTemplateActionInput = exports.ActionSummary = exports.Action = exports.ActionTarget = exports.ActionParameter = void 0;
|
|
4
|
+
exports.UpdateExperimentTemplateResponse = exports.UpdateExperimentTemplateRequest = exports.UpdateExperimentTemplateTargetInput = exports.UpdateExperimentTemplateStopConditionInput = exports.UpdateExperimentTemplateActionInputItem = void 0;
|
|
5
5
|
var ActionParameter;
|
|
6
6
|
(function (ActionParameter) {
|
|
7
7
|
ActionParameter.filterSensitiveLog = (obj) => ({
|
|
@@ -26,12 +26,6 @@ var ActionSummary;
|
|
|
26
26
|
...obj,
|
|
27
27
|
});
|
|
28
28
|
})(ActionSummary = exports.ActionSummary || (exports.ActionSummary = {}));
|
|
29
|
-
var ConflictException;
|
|
30
|
-
(function (ConflictException) {
|
|
31
|
-
ConflictException.filterSensitiveLog = (obj) => ({
|
|
32
|
-
...obj,
|
|
33
|
-
});
|
|
34
|
-
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
35
29
|
var CreateExperimentTemplateActionInput;
|
|
36
30
|
(function (CreateExperimentTemplateActionInput) {
|
|
37
31
|
CreateExperimentTemplateActionInput.filterSensitiveLog = (obj) => ({
|
|
@@ -98,24 +92,6 @@ var CreateExperimentTemplateResponse;
|
|
|
98
92
|
...obj,
|
|
99
93
|
});
|
|
100
94
|
})(CreateExperimentTemplateResponse = exports.CreateExperimentTemplateResponse || (exports.CreateExperimentTemplateResponse = {}));
|
|
101
|
-
var ResourceNotFoundException;
|
|
102
|
-
(function (ResourceNotFoundException) {
|
|
103
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
104
|
-
...obj,
|
|
105
|
-
});
|
|
106
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
107
|
-
var ServiceQuotaExceededException;
|
|
108
|
-
(function (ServiceQuotaExceededException) {
|
|
109
|
-
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
110
|
-
...obj,
|
|
111
|
-
});
|
|
112
|
-
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
113
|
-
var ValidationException;
|
|
114
|
-
(function (ValidationException) {
|
|
115
|
-
ValidationException.filterSensitiveLog = (obj) => ({
|
|
116
|
-
...obj,
|
|
117
|
-
});
|
|
118
|
-
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
119
95
|
var DeleteExperimentTemplateRequest;
|
|
120
96
|
(function (DeleteExperimentTemplateRequest) {
|
|
121
97
|
DeleteExperimentTemplateRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1529,12 +1529,18 @@ const deserializeAws_restJson1ExperimentAction = (output, context) => {
|
|
|
1529
1529
|
return {
|
|
1530
1530
|
actionId: smithy_client_1.expectString(output.actionId),
|
|
1531
1531
|
description: smithy_client_1.expectString(output.description),
|
|
1532
|
+
endTime: output.endTime !== undefined && output.endTime !== null
|
|
1533
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
1534
|
+
: undefined,
|
|
1532
1535
|
parameters: output.parameters !== undefined && output.parameters !== null
|
|
1533
1536
|
? deserializeAws_restJson1ExperimentActionParameterMap(output.parameters, context)
|
|
1534
1537
|
: undefined,
|
|
1535
1538
|
startAfter: output.startAfter !== undefined && output.startAfter !== null
|
|
1536
1539
|
? deserializeAws_restJson1ExperimentActionStartAfterList(output.startAfter, context)
|
|
1537
1540
|
: undefined,
|
|
1541
|
+
startTime: output.startTime !== undefined && output.startTime !== null
|
|
1542
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
1543
|
+
: undefined,
|
|
1538
1544
|
state: output.state !== undefined && output.state !== null
|
|
1539
1545
|
? deserializeAws_restJson1ExperimentActionState(output.state, context)
|
|
1540
1546
|
: undefined,
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
33
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
34
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
35
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
36
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -15,10 +15,6 @@ export var ActionSummary;
|
|
|
15
15
|
(function (ActionSummary) {
|
|
16
16
|
ActionSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
17
|
})(ActionSummary || (ActionSummary = {}));
|
|
18
|
-
export var ConflictException;
|
|
19
|
-
(function (ConflictException) {
|
|
20
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
-
})(ConflictException || (ConflictException = {}));
|
|
22
18
|
export var CreateExperimentTemplateActionInput;
|
|
23
19
|
(function (CreateExperimentTemplateActionInput) {
|
|
24
20
|
CreateExperimentTemplateActionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -63,18 +59,6 @@ export var CreateExperimentTemplateResponse;
|
|
|
63
59
|
(function (CreateExperimentTemplateResponse) {
|
|
64
60
|
CreateExperimentTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
65
61
|
})(CreateExperimentTemplateResponse || (CreateExperimentTemplateResponse = {}));
|
|
66
|
-
export var ResourceNotFoundException;
|
|
67
|
-
(function (ResourceNotFoundException) {
|
|
68
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
70
|
-
export var ServiceQuotaExceededException;
|
|
71
|
-
(function (ServiceQuotaExceededException) {
|
|
72
|
-
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
|
-
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
74
|
-
export var ValidationException;
|
|
75
|
-
(function (ValidationException) {
|
|
76
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
|
-
})(ValidationException || (ValidationException = {}));
|
|
78
62
|
export var DeleteExperimentTemplateRequest;
|
|
79
63
|
(function (DeleteExperimentTemplateRequest) {
|
|
80
64
|
DeleteExperimentTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1716,12 +1716,18 @@ var deserializeAws_restJson1ExperimentAction = function (output, context) {
|
|
|
1716
1716
|
return {
|
|
1717
1717
|
actionId: __expectString(output.actionId),
|
|
1718
1718
|
description: __expectString(output.description),
|
|
1719
|
+
endTime: output.endTime !== undefined && output.endTime !== null
|
|
1720
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
|
|
1721
|
+
: undefined,
|
|
1719
1722
|
parameters: output.parameters !== undefined && output.parameters !== null
|
|
1720
1723
|
? deserializeAws_restJson1ExperimentActionParameterMap(output.parameters, context)
|
|
1721
1724
|
: undefined,
|
|
1722
1725
|
startAfter: output.startAfter !== undefined && output.startAfter !== null
|
|
1723
1726
|
? deserializeAws_restJson1ExperimentActionStartAfterList(output.startAfter, context)
|
|
1724
1727
|
: undefined,
|
|
1728
|
+
startTime: output.startTime !== undefined && output.startTime !== null
|
|
1729
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
1730
|
+
: undefined,
|
|
1725
1731
|
state: output.state !== undefined && output.state !== null
|
|
1726
1732
|
? deserializeAws_restJson1ExperimentActionState(output.state, context)
|
|
1727
1733
|
: undefined,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
19
28
|
};
|
package/dist-types/Fis.d.ts
CHANGED
|
@@ -15,18 +15,18 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
15
15
|
import { UpdateExperimentTemplateCommandInput, UpdateExperimentTemplateCommandOutput } from "./commands/UpdateExperimentTemplateCommand";
|
|
16
16
|
import { FisClient } from "./FisClient";
|
|
17
17
|
/**
|
|
18
|
-
* <p>
|
|
19
|
-
* experiments on your
|
|
18
|
+
* <p>Fault Injection Simulator is a managed service that enables you to perform fault injection
|
|
19
|
+
* experiments on your Amazon Web Services workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">Fault Injection Simulator User Guide</a>.</p>
|
|
20
20
|
*/
|
|
21
21
|
export declare class Fis extends FisClient {
|
|
22
22
|
/**
|
|
23
23
|
* <p>Creates an experiment template. </p>
|
|
24
|
-
* <p>
|
|
24
|
+
* <p>An experiment template includes the following components:</p>
|
|
25
25
|
* <ul>
|
|
26
26
|
* <li>
|
|
27
27
|
* <p>
|
|
28
|
-
* <b>Targets</b>: A target can be a specific resource
|
|
29
|
-
*
|
|
28
|
+
* <b>Targets</b>: A target can be a specific resource in
|
|
29
|
+
* your Amazon Web Services environment, or one or more resources that match criteria that you
|
|
30
30
|
* specify, for example, resources that have specific tags.</p>
|
|
31
31
|
* </li>
|
|
32
32
|
* <li>
|
|
@@ -41,7 +41,8 @@ export declare class Fis extends FisClient {
|
|
|
41
41
|
* stopped. You can define a stop condition as a CloudWatch alarm.</p>
|
|
42
42
|
* </li>
|
|
43
43
|
* </ul>
|
|
44
|
-
* <p>For more information, see
|
|
44
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html">Experiment templates</a>
|
|
45
|
+
* in the <i>Fault Injection Simulator User Guide</i>.</p>
|
|
45
46
|
*/
|
|
46
47
|
createExperimentTemplate(args: CreateExperimentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateExperimentTemplateCommandOutput>;
|
|
47
48
|
createExperimentTemplate(args: CreateExperimentTemplateCommandInput, cb: (err: any, data?: CreateExperimentTemplateCommandOutput) => void): void;
|
|
@@ -53,7 +54,7 @@ export declare class Fis extends FisClient {
|
|
|
53
54
|
deleteExperimentTemplate(args: DeleteExperimentTemplateCommandInput, cb: (err: any, data?: DeleteExperimentTemplateCommandOutput) => void): void;
|
|
54
55
|
deleteExperimentTemplate(args: DeleteExperimentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteExperimentTemplateCommandOutput) => void): void;
|
|
55
56
|
/**
|
|
56
|
-
* <p>Gets information about the specified
|
|
57
|
+
* <p>Gets information about the specified FIS action.</p>
|
|
57
58
|
*/
|
|
58
59
|
getAction(args: GetActionCommandInput, options?: __HttpHandlerOptions): Promise<GetActionCommandOutput>;
|
|
59
60
|
getAction(args: GetActionCommandInput, cb: (err: any, data?: GetActionCommandOutput) => void): void;
|
|
@@ -71,7 +72,7 @@ export declare class Fis extends FisClient {
|
|
|
71
72
|
getExperimentTemplate(args: GetExperimentTemplateCommandInput, cb: (err: any, data?: GetExperimentTemplateCommandOutput) => void): void;
|
|
72
73
|
getExperimentTemplate(args: GetExperimentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExperimentTemplateCommandOutput) => void): void;
|
|
73
74
|
/**
|
|
74
|
-
* <p>Lists the available
|
|
75
|
+
* <p>Lists the available FIS actions.</p>
|
|
75
76
|
*/
|
|
76
77
|
listActions(args: ListActionsCommandInput, options?: __HttpHandlerOptions): Promise<ListActionsCommandOutput>;
|
|
77
78
|
listActions(args: ListActionsCommandInput, cb: (err: any, data?: ListActionsCommandOutput) => void): void;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateExperimentTemplateCommandInput, CreateExperimentTemplateCommandOutput } from "./commands/CreateExperimentTemplateCommand";
|
|
10
10
|
import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOutput } from "./commands/DeleteExperimentTemplateCommand";
|
|
@@ -122,6 +122,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
122
122
|
* @internal
|
|
123
123
|
*/
|
|
124
124
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
125
|
+
/**
|
|
126
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
127
|
+
*/
|
|
128
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
125
129
|
}
|
|
126
130
|
declare type FisClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
127
131
|
/**
|
|
@@ -136,8 +140,8 @@ declare type FisClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpH
|
|
|
136
140
|
export interface FisClientResolvedConfig extends FisClientResolvedConfigType {
|
|
137
141
|
}
|
|
138
142
|
/**
|
|
139
|
-
* <p>
|
|
140
|
-
* experiments on your
|
|
143
|
+
* <p>Fault Injection Simulator is a managed service that enables you to perform fault injection
|
|
144
|
+
* experiments on your Amazon Web Services workloads. For more information, see the <a href="https://docs.aws.amazon.com/fis/latest/userguide/">Fault Injection Simulator User Guide</a>.</p>
|
|
141
145
|
*/
|
|
142
146
|
export declare class FisClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, FisClientResolvedConfig> {
|
|
143
147
|
/**
|
|
@@ -8,12 +8,12 @@ export interface CreateExperimentTemplateCommandOutput extends CreateExperimentT
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates an experiment template. </p>
|
|
11
|
-
* <p>
|
|
11
|
+
* <p>An experiment template includes the following components:</p>
|
|
12
12
|
* <ul>
|
|
13
13
|
* <li>
|
|
14
14
|
* <p>
|
|
15
|
-
* <b>Targets</b>: A target can be a specific resource
|
|
16
|
-
*
|
|
15
|
+
* <b>Targets</b>: A target can be a specific resource in
|
|
16
|
+
* your Amazon Web Services environment, or one or more resources that match criteria that you
|
|
17
17
|
* specify, for example, resources that have specific tags.</p>
|
|
18
18
|
* </li>
|
|
19
19
|
* <li>
|
|
@@ -28,7 +28,8 @@ export interface CreateExperimentTemplateCommandOutput extends CreateExperimentT
|
|
|
28
28
|
* stopped. You can define a stop condition as a CloudWatch alarm.</p>
|
|
29
29
|
* </li>
|
|
30
30
|
* </ul>
|
|
31
|
-
* <p>For more information, see
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html">Experiment templates</a>
|
|
32
|
+
* in the <i>Fault Injection Simulator User Guide</i>.</p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface GetActionCommandInput extends GetActionRequest {
|
|
|
7
7
|
export interface GetActionCommandOutput extends GetActionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Gets information about the specified
|
|
10
|
+
* <p>Gets information about the specified FIS action.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface ListActionsCommandInput extends ListActionsRequest {
|
|
|
7
7
|
export interface ListActionsCommandOutput extends ListActionsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists the available
|
|
10
|
+
* <p>Lists the available FIS actions.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -34,8 +34,8 @@ export declare namespace ActionTarget {
|
|
|
34
34
|
const filterSensitiveLog: (obj: ActionTarget) => any;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* <p>Describes an action. For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/fis-actions-reference.html">
|
|
38
|
-
* in the <i>
|
|
37
|
+
* <p>Describes an action. For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/fis-actions-reference.html">FIS actions</a>
|
|
38
|
+
* in the <i>Fault Injection Simulator User Guide</i>.</p>
|
|
39
39
|
*/
|
|
40
40
|
export interface Action {
|
|
41
41
|
/**
|
|
@@ -110,18 +110,14 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
110
110
|
$fault: "client";
|
|
111
111
|
message?: string;
|
|
112
112
|
}
|
|
113
|
-
export declare namespace ConflictException {
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
118
|
-
}
|
|
119
113
|
/**
|
|
120
114
|
* <p>Specifies an action for an experiment template.</p>
|
|
115
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/actions.html">Actions</a>
|
|
116
|
+
* in the <i>Fault Injection Simulator User Guide</i>.</p>
|
|
121
117
|
*/
|
|
122
118
|
export interface CreateExperimentTemplateActionInput {
|
|
123
119
|
/**
|
|
124
|
-
* <p>The ID of the action
|
|
120
|
+
* <p>The ID of the action. The format of the action ID is: aws:<i>service-name</i>:<i>action-type</i>.</p>
|
|
125
121
|
*/
|
|
126
122
|
actionId: string | undefined;
|
|
127
123
|
/**
|
|
@@ -174,7 +170,9 @@ export declare namespace CreateExperimentTemplateStopConditionInput {
|
|
|
174
170
|
const filterSensitiveLog: (obj: CreateExperimentTemplateStopConditionInput) => any;
|
|
175
171
|
}
|
|
176
172
|
/**
|
|
177
|
-
* <p>
|
|
173
|
+
* <p>Specifies a filter used for the target resource input in an experiment template.</p>
|
|
174
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/targets.html#target-filters">Resource filters</a>
|
|
175
|
+
* in the <i>Fault Injection Simulator User Guide</i>.</p>
|
|
178
176
|
*/
|
|
179
177
|
export interface ExperimentTemplateTargetInputFilter {
|
|
180
178
|
/**
|
|
@@ -195,10 +193,12 @@ export declare namespace ExperimentTemplateTargetInputFilter {
|
|
|
195
193
|
/**
|
|
196
194
|
* <p>Specifies a target for an experiment. You must specify at least one Amazon Resource Name (ARN) or
|
|
197
195
|
* at least one resource tag. You cannot specify both ARNs and tags.</p>
|
|
196
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/fis/latest/userguide/targets.html">Targets</a>
|
|
197
|
+
* in the <i>Fault Injection Simulator User Guide</i>.</p>
|
|
198
198
|
*/
|
|
199
199
|
export interface CreateExperimentTemplateTargetInput {
|
|
200
200
|
/**
|
|
201
|
-
* <p>The
|
|
201
|
+
* <p>The Amazon Web Services resource type. The resource type must be supported for the specified action.</p>
|
|
202
202
|
*/
|
|
203
203
|
resourceType: string | undefined;
|
|
204
204
|
/**
|
|
@@ -245,7 +245,7 @@ export interface CreateExperimentTemplateRequest {
|
|
|
245
245
|
*/
|
|
246
246
|
clientToken?: string;
|
|
247
247
|
/**
|
|
248
|
-
* <p>A description for the experiment template
|
|
248
|
+
* <p>A description for the experiment template.</p>
|
|
249
249
|
*/
|
|
250
250
|
description: string | undefined;
|
|
251
251
|
/**
|
|
@@ -265,7 +265,7 @@ export interface CreateExperimentTemplateRequest {
|
|
|
265
265
|
[key: string]: CreateExperimentTemplateActionInput;
|
|
266
266
|
} | undefined;
|
|
267
267
|
/**
|
|
268
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that grants the
|
|
268
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.</p>
|
|
269
269
|
*/
|
|
270
270
|
roleArn: string | undefined;
|
|
271
271
|
/**
|
|
@@ -460,12 +460,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
460
460
|
$fault: "client";
|
|
461
461
|
message?: string;
|
|
462
462
|
}
|
|
463
|
-
export declare namespace ResourceNotFoundException {
|
|
464
|
-
/**
|
|
465
|
-
* @internal
|
|
466
|
-
*/
|
|
467
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
468
|
-
}
|
|
469
463
|
/**
|
|
470
464
|
* <p>You have exceeded your service quota.</p>
|
|
471
465
|
*/
|
|
@@ -474,12 +468,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
474
468
|
$fault: "client";
|
|
475
469
|
message?: string;
|
|
476
470
|
}
|
|
477
|
-
export declare namespace ServiceQuotaExceededException {
|
|
478
|
-
/**
|
|
479
|
-
* @internal
|
|
480
|
-
*/
|
|
481
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
482
|
-
}
|
|
483
471
|
/**
|
|
484
472
|
* <p>The specified input is not valid, or fails to satisfy the constraints for the request.</p>
|
|
485
473
|
*/
|
|
@@ -488,12 +476,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
488
476
|
$fault: "client";
|
|
489
477
|
message?: string;
|
|
490
478
|
}
|
|
491
|
-
export declare namespace ValidationException {
|
|
492
|
-
/**
|
|
493
|
-
* @internal
|
|
494
|
-
*/
|
|
495
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
496
|
-
}
|
|
497
479
|
export interface DeleteExperimentTemplateRequest {
|
|
498
480
|
/**
|
|
499
481
|
* <p>The ID of the experiment template.</p>
|
|
@@ -579,6 +561,14 @@ export interface ExperimentAction {
|
|
|
579
561
|
* <p>The state of the action.</p>
|
|
580
562
|
*/
|
|
581
563
|
state?: ExperimentActionState;
|
|
564
|
+
/**
|
|
565
|
+
* <p>The time that the action started.</p>
|
|
566
|
+
*/
|
|
567
|
+
startTime?: Date;
|
|
568
|
+
/**
|
|
569
|
+
* <p>The time that the action ended.</p>
|
|
570
|
+
*/
|
|
571
|
+
endTime?: Date;
|
|
582
572
|
}
|
|
583
573
|
export declare namespace ExperimentAction {
|
|
584
574
|
/**
|
|
@@ -698,7 +688,7 @@ export interface Experiment {
|
|
|
698
688
|
*/
|
|
699
689
|
experimentTemplateId?: string;
|
|
700
690
|
/**
|
|
701
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that grants the
|
|
691
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.</p>
|
|
702
692
|
*/
|
|
703
693
|
roleArn?: string;
|
|
704
694
|
/**
|
|
@@ -722,11 +712,11 @@ export interface Experiment {
|
|
|
722
712
|
*/
|
|
723
713
|
stopConditions?: ExperimentStopCondition[];
|
|
724
714
|
/**
|
|
725
|
-
* <p>The time the experiment was created.</p>
|
|
715
|
+
* <p>The time that the experiment was created.</p>
|
|
726
716
|
*/
|
|
727
717
|
creationTime?: Date;
|
|
728
718
|
/**
|
|
729
|
-
* <p>The time that the experiment
|
|
719
|
+
* <p>The time that the experiment started.</p>
|
|
730
720
|
*/
|
|
731
721
|
startTime?: Date;
|
|
732
722
|
/**
|
|
@@ -1175,7 +1165,7 @@ export declare namespace UpdateExperimentTemplateStopConditionInput {
|
|
|
1175
1165
|
*/
|
|
1176
1166
|
export interface UpdateExperimentTemplateTargetInput {
|
|
1177
1167
|
/**
|
|
1178
|
-
* <p>The
|
|
1168
|
+
* <p>The Amazon Web Services resource type. The resource type must be supported for the specified action.</p>
|
|
1179
1169
|
*/
|
|
1180
1170
|
resourceType: string | undefined;
|
|
1181
1171
|
/**
|
|
@@ -1229,7 +1219,7 @@ export interface UpdateExperimentTemplateRequest {
|
|
|
1229
1219
|
[key: string]: UpdateExperimentTemplateActionInputItem;
|
|
1230
1220
|
};
|
|
1231
1221
|
/**
|
|
1232
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that grants the
|
|
1222
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.</p>
|
|
1233
1223
|
*/
|
|
1234
1224
|
roleArn?: string;
|
|
1235
1225
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { FisClientConfig } from "./FisClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { FisClientConfig } from "./FisClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateExperimentTemplateCommandInput, CreateExperimentTemplateCommandOutput } from "./commands/CreateExperimentTemplateCommand";
|
|
10
10
|
import { DeleteExperimentTemplateCommandInput, DeleteExperimentTemplateCommandOutput } from "./commands/DeleteExperimentTemplateCommand";
|
|
@@ -65,6 +65,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
65
65
|
regionInfoProvider?: RegionInfoProvider;
|
|
66
66
|
|
|
67
67
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
68
|
+
|
|
69
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
68
70
|
}
|
|
69
71
|
declare type FisClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
70
72
|
|
|
@@ -67,10 +67,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
67
67
|
$fault: "client";
|
|
68
68
|
message?: string;
|
|
69
69
|
}
|
|
70
|
-
export declare namespace ConflictException {
|
|
71
|
-
|
|
72
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
73
|
-
}
|
|
74
70
|
|
|
75
71
|
export interface CreateExperimentTemplateActionInput {
|
|
76
72
|
|
|
@@ -266,30 +262,18 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
266
262
|
$fault: "client";
|
|
267
263
|
message?: string;
|
|
268
264
|
}
|
|
269
|
-
export declare namespace ResourceNotFoundException {
|
|
270
|
-
|
|
271
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
272
|
-
}
|
|
273
265
|
|
|
274
266
|
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
275
267
|
name: "ServiceQuotaExceededException";
|
|
276
268
|
$fault: "client";
|
|
277
269
|
message?: string;
|
|
278
270
|
}
|
|
279
|
-
export declare namespace ServiceQuotaExceededException {
|
|
280
|
-
|
|
281
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
282
|
-
}
|
|
283
271
|
|
|
284
272
|
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
285
273
|
name: "ValidationException";
|
|
286
274
|
$fault: "client";
|
|
287
275
|
message?: string;
|
|
288
276
|
}
|
|
289
|
-
export declare namespace ValidationException {
|
|
290
|
-
|
|
291
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
292
|
-
}
|
|
293
277
|
export interface DeleteExperimentTemplateRequest {
|
|
294
278
|
|
|
295
279
|
id: string | undefined;
|
|
@@ -345,6 +329,10 @@ export interface ExperimentAction {
|
|
|
345
329
|
startAfter?: string[];
|
|
346
330
|
|
|
347
331
|
state?: ExperimentActionState;
|
|
332
|
+
|
|
333
|
+
startTime?: Date;
|
|
334
|
+
|
|
335
|
+
endTime?: Date;
|
|
348
336
|
}
|
|
349
337
|
export declare namespace ExperimentAction {
|
|
350
338
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { FisClientConfig } from "./FisClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { FisClientConfig } from "./FisClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: FisClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
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.48.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,39 +18,41 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.48.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.2",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.48.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.2",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.2",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.2",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.2",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.2",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.2",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.2",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.2",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.2",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.2",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.2",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.2",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.2",
|
|
39
|
+
"@aws-sdk/types": "3.47.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.2",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.2",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.2",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.2",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.2",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.2",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.2",
|
|
51
51
|
"tslib": "^2.3.0",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"@types/uuid": "^8.3.0"
|
|
58
58
|
},
|