@aws-sdk/client-appconfigdata 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/AppConfigData.js +17 -10
- package/dist-es/AppConfigDataClient.js +28 -22
- package/dist-es/commands/GetLatestConfigurationCommand.js +28 -21
- package/dist-es/commands/StartConfigurationSessionCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AppConfigDataServiceException.js +10 -5
- package/dist-es/models/models_0.js +67 -75
- package/dist-es/protocols/Aws_restJson1.js +301 -227
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-appconfigdata
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-appconfigdata
|
|
@@ -240,10 +240,10 @@ const deserializeAws_restJson1StringMap = (output, context) => {
|
|
|
240
240
|
}, {});
|
|
241
241
|
};
|
|
242
242
|
const deserializeMetadata = (output) => {
|
|
243
|
-
var _a;
|
|
243
|
+
var _a, _b;
|
|
244
244
|
return ({
|
|
245
245
|
httpStatusCode: output.statusCode,
|
|
246
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
246
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
247
247
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
248
248
|
cfId: output.headers["x-amz-cf-id"],
|
|
249
249
|
});
|
package/dist-es/AppConfigData.js
CHANGED
|
@@ -1,33 +1,40 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { AppConfigDataClient } from "./AppConfigDataClient";
|
|
2
3
|
import { GetLatestConfigurationCommand, } from "./commands/GetLatestConfigurationCommand";
|
|
3
4
|
import { StartConfigurationSessionCommand, } from "./commands/StartConfigurationSessionCommand";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
var AppConfigData = (function (_super) {
|
|
6
|
+
__extends(AppConfigData, _super);
|
|
7
|
+
function AppConfigData() {
|
|
8
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9
|
+
}
|
|
10
|
+
AppConfigData.prototype.getLatestConfiguration = function (args, optionsOrCb, cb) {
|
|
11
|
+
var command = new GetLatestConfigurationCommand(args);
|
|
7
12
|
if (typeof optionsOrCb === "function") {
|
|
8
13
|
this.send(command, optionsOrCb);
|
|
9
14
|
}
|
|
10
15
|
else if (typeof cb === "function") {
|
|
11
16
|
if (typeof optionsOrCb !== "object")
|
|
12
|
-
throw new Error(
|
|
17
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
13
18
|
this.send(command, optionsOrCb || {}, cb);
|
|
14
19
|
}
|
|
15
20
|
else {
|
|
16
21
|
return this.send(command, optionsOrCb);
|
|
17
22
|
}
|
|
18
|
-
}
|
|
19
|
-
startConfigurationSession(args, optionsOrCb, cb) {
|
|
20
|
-
|
|
23
|
+
};
|
|
24
|
+
AppConfigData.prototype.startConfigurationSession = function (args, optionsOrCb, cb) {
|
|
25
|
+
var command = new StartConfigurationSessionCommand(args);
|
|
21
26
|
if (typeof optionsOrCb === "function") {
|
|
22
27
|
this.send(command, optionsOrCb);
|
|
23
28
|
}
|
|
24
29
|
else if (typeof cb === "function") {
|
|
25
30
|
if (typeof optionsOrCb !== "object")
|
|
26
|
-
throw new Error(
|
|
31
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
27
32
|
this.send(command, optionsOrCb || {}, cb);
|
|
28
33
|
}
|
|
29
34
|
else {
|
|
30
35
|
return this.send(command, optionsOrCb);
|
|
31
36
|
}
|
|
32
|
-
}
|
|
33
|
-
|
|
37
|
+
};
|
|
38
|
+
return AppConfigData;
|
|
39
|
+
}(AppConfigDataClient));
|
|
40
|
+
export { AppConfigData };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var AppConfigDataClient = (function (_super) {
|
|
13
|
+
__extends(AppConfigDataClient, _super);
|
|
14
|
+
function AppConfigDataClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
AppConfigDataClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return AppConfigDataClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { AppConfigDataClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetLatestConfigurationRequestFilterSensitiveLog, GetLatestConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetLatestConfigurationCommand, serializeAws_restJson1GetLatestConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetLatestConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(GetLatestConfigurationCommand, _super);
|
|
8
|
+
function GetLatestConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetLatestConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppConfigDataClient";
|
|
18
|
+
var commandName = "GetLatestConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetLatestConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetLatestConfigurationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetLatestConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetLatestConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetLatestConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetLatestConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetLatestConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetLatestConfigurationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartConfigurationSessionRequestFilterSensitiveLog, StartConfigurationSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1StartConfigurationSessionCommand, serializeAws_restJson1StartConfigurationSessionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StartConfigurationSessionCommand = (function (_super) {
|
|
7
|
+
__extends(StartConfigurationSessionCommand, _super);
|
|
8
|
+
function StartConfigurationSessionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StartConfigurationSessionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppConfigDataClient";
|
|
18
|
+
var commandName = "StartConfigurationSessionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StartConfigurationSessionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StartConfigurationSessionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartConfigurationSessionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1StartConfigurationSessionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StartConfigurationSessionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1StartConfigurationSessionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StartConfigurationSessionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartConfigurationSessionCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
4
5
|
aws: {
|
|
5
6
|
regions: [
|
|
6
7
|
"af-south-1",
|
|
@@ -120,9 +121,8 @@ const partitionHash = {
|
|
|
120
121
|
],
|
|
121
122
|
},
|
|
122
123
|
};
|
|
123
|
-
export
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
124
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "appconfig", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
127
|
+
});
|
|
128
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var AppConfigDataServiceException = (function (_super) {
|
|
4
|
+
__extends(AppConfigDataServiceException, _super);
|
|
5
|
+
function AppConfigDataServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, AppConfigDataServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return AppConfigDataServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { AppConfigDataServiceException };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __assign, __extends, __read } from "tslib";
|
|
1
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { AppConfigDataServiceException as __BaseException } from "./AppConfigDataServiceException";
|
|
3
4
|
export var InvalidParameterProblem;
|
|
@@ -8,7 +9,7 @@ export var InvalidParameterProblem;
|
|
|
8
9
|
})(InvalidParameterProblem || (InvalidParameterProblem = {}));
|
|
9
10
|
export var BadRequestDetails;
|
|
10
11
|
(function (BadRequestDetails) {
|
|
11
|
-
BadRequestDetails.visit = (value, visitor)
|
|
12
|
+
BadRequestDetails.visit = function (value, visitor) {
|
|
12
13
|
if (value.InvalidParameters !== undefined)
|
|
13
14
|
return visitor.InvalidParameters(value.InvalidParameters);
|
|
14
15
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
@@ -18,34 +19,34 @@ export var BadRequestReason;
|
|
|
18
19
|
(function (BadRequestReason) {
|
|
19
20
|
BadRequestReason["INVALID_PARAMETERS"] = "InvalidParameters";
|
|
20
21
|
})(BadRequestReason || (BadRequestReason = {}));
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
this.Reason = opts.Reason;
|
|
33
|
-
this.Details = opts.Details;
|
|
22
|
+
var BadRequestException = (function (_super) {
|
|
23
|
+
__extends(BadRequestException, _super);
|
|
24
|
+
function BadRequestException(opts) {
|
|
25
|
+
var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
|
|
26
|
+
_this.name = "BadRequestException";
|
|
27
|
+
_this.$fault = "client";
|
|
28
|
+
Object.setPrototypeOf(_this, BadRequestException.prototype);
|
|
29
|
+
_this.Message = opts.Message;
|
|
30
|
+
_this.Reason = opts.Reason;
|
|
31
|
+
_this.Details = opts.Details;
|
|
32
|
+
return _this;
|
|
34
33
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
34
|
+
return BadRequestException;
|
|
35
|
+
}(__BaseException));
|
|
36
|
+
export { BadRequestException };
|
|
37
|
+
var InternalServerException = (function (_super) {
|
|
38
|
+
__extends(InternalServerException, _super);
|
|
39
|
+
function InternalServerException(opts) {
|
|
40
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
41
|
+
_this.name = "InternalServerException";
|
|
42
|
+
_this.$fault = "server";
|
|
43
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
44
|
+
_this.Message = opts.Message;
|
|
45
|
+
return _this;
|
|
47
46
|
}
|
|
48
|
-
|
|
47
|
+
return InternalServerException;
|
|
48
|
+
}(__BaseException));
|
|
49
|
+
export { InternalServerException };
|
|
49
50
|
export var ResourceType;
|
|
50
51
|
(function (ResourceType) {
|
|
51
52
|
ResourceType["APPLICATION"] = "Application";
|
|
@@ -54,58 +55,49 @@ export var ResourceType;
|
|
|
54
55
|
ResourceType["DEPLOYMENT"] = "Deployment";
|
|
55
56
|
ResourceType["ENVIRONMENT"] = "Environment";
|
|
56
57
|
})(ResourceType || (ResourceType = {}));
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
this.ResourceType = opts.ResourceType;
|
|
69
|
-
this.ReferencedBy = opts.ReferencedBy;
|
|
58
|
+
var ResourceNotFoundException = (function (_super) {
|
|
59
|
+
__extends(ResourceNotFoundException, _super);
|
|
60
|
+
function ResourceNotFoundException(opts) {
|
|
61
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
62
|
+
_this.name = "ResourceNotFoundException";
|
|
63
|
+
_this.$fault = "client";
|
|
64
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
65
|
+
_this.Message = opts.Message;
|
|
66
|
+
_this.ResourceType = opts.ResourceType;
|
|
67
|
+
_this.ReferencedBy = opts.ReferencedBy;
|
|
68
|
+
return _this;
|
|
70
69
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
70
|
+
return ResourceNotFoundException;
|
|
71
|
+
}(__BaseException));
|
|
72
|
+
export { ResourceNotFoundException };
|
|
73
|
+
var ThrottlingException = (function (_super) {
|
|
74
|
+
__extends(ThrottlingException, _super);
|
|
75
|
+
function ThrottlingException(opts) {
|
|
76
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
77
|
+
_this.name = "ThrottlingException";
|
|
78
|
+
_this.$fault = "client";
|
|
79
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
80
|
+
_this.Message = opts.Message;
|
|
81
|
+
return _this;
|
|
83
82
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
});
|
|
88
|
-
export
|
|
83
|
+
return ThrottlingException;
|
|
84
|
+
}(__BaseException));
|
|
85
|
+
export { ThrottlingException };
|
|
86
|
+
export var InvalidParameterDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
+
export var BadRequestDetailsFilterSensitiveLog = function (obj) {
|
|
88
|
+
var _a;
|
|
89
89
|
if (obj.InvalidParameters !== undefined)
|
|
90
90
|
return {
|
|
91
|
-
InvalidParameters: Object.entries(obj.InvalidParameters).reduce((acc,
|
|
92
|
-
|
|
93
|
-
[
|
|
94
|
-
|
|
91
|
+
InvalidParameters: Object.entries(obj.InvalidParameters).reduce(function (acc, _a) {
|
|
92
|
+
var _b;
|
|
93
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
94
|
+
return (__assign(__assign({}, acc), (_b = {}, _b[key] = InvalidParameterDetailFilterSensitiveLog(value), _b)));
|
|
95
|
+
}, {}),
|
|
95
96
|
};
|
|
96
97
|
if (obj.$unknown !== undefined)
|
|
97
|
-
return { [obj.$unknown[0]]
|
|
98
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
98
99
|
};
|
|
99
|
-
export
|
|
100
|
-
|
|
101
|
-
});
|
|
102
|
-
export
|
|
103
|
-
...obj,
|
|
104
|
-
});
|
|
105
|
-
export const GetLatestConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
106
|
-
...obj,
|
|
107
|
-
});
|
|
108
|
-
export const GetLatestConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
109
|
-
...obj,
|
|
110
|
-
...(obj.Configuration && { Configuration: SENSITIVE_STRING }),
|
|
111
|
-
});
|
|
100
|
+
export var StartConfigurationSessionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
|
+
export var StartConfigurationSessionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
+
export var GetLatestConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
103
|
+
export var GetLatestConfigurationResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Configuration && { Configuration: SENSITIVE_STRING }))); };
|