@aws-sdk/client-migrationhub-config 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/MigrationHubConfig.js +21 -14
- package/dist-es/MigrationHubConfigClient.js +28 -22
- package/dist-es/commands/CreateHomeRegionControlCommand.js +28 -21
- package/dist-es/commands/DescribeHomeRegionControlsCommand.js +28 -21
- package/dist-es/commands/GetHomeRegionCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/MigrationHubConfigServiceException.js +10 -5
- package/dist-es/models/models_0.js +82 -97
- package/dist-es/pagination/DescribeHomeRegionControlsPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +373 -289
- 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 +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-migrationhub-config
|
|
@@ -334,10 +334,10 @@ const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
|
334
334
|
};
|
|
335
335
|
};
|
|
336
336
|
const deserializeMetadata = (output) => {
|
|
337
|
-
var _a;
|
|
337
|
+
var _a, _b;
|
|
338
338
|
return ({
|
|
339
339
|
httpStatusCode: output.statusCode,
|
|
340
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
340
|
+
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"],
|
|
341
341
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
342
342
|
cfId: output.headers["x-amz-cf-id"],
|
|
343
343
|
});
|
|
@@ -1,48 +1,55 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { CreateHomeRegionControlCommand, } from "./commands/CreateHomeRegionControlCommand";
|
|
2
3
|
import { DescribeHomeRegionControlsCommand, } from "./commands/DescribeHomeRegionControlsCommand";
|
|
3
4
|
import { GetHomeRegionCommand, } from "./commands/GetHomeRegionCommand";
|
|
4
5
|
import { MigrationHubConfigClient } from "./MigrationHubConfigClient";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
var MigrationHubConfig = (function (_super) {
|
|
7
|
+
__extends(MigrationHubConfig, _super);
|
|
8
|
+
function MigrationHubConfig() {
|
|
9
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
10
|
+
}
|
|
11
|
+
MigrationHubConfig.prototype.createHomeRegionControl = function (args, optionsOrCb, cb) {
|
|
12
|
+
var command = new CreateHomeRegionControlCommand(args);
|
|
8
13
|
if (typeof optionsOrCb === "function") {
|
|
9
14
|
this.send(command, optionsOrCb);
|
|
10
15
|
}
|
|
11
16
|
else if (typeof cb === "function") {
|
|
12
17
|
if (typeof optionsOrCb !== "object")
|
|
13
|
-
throw new Error(
|
|
18
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
14
19
|
this.send(command, optionsOrCb || {}, cb);
|
|
15
20
|
}
|
|
16
21
|
else {
|
|
17
22
|
return this.send(command, optionsOrCb);
|
|
18
23
|
}
|
|
19
|
-
}
|
|
20
|
-
describeHomeRegionControls(args, optionsOrCb, cb) {
|
|
21
|
-
|
|
24
|
+
};
|
|
25
|
+
MigrationHubConfig.prototype.describeHomeRegionControls = function (args, optionsOrCb, cb) {
|
|
26
|
+
var command = new DescribeHomeRegionControlsCommand(args);
|
|
22
27
|
if (typeof optionsOrCb === "function") {
|
|
23
28
|
this.send(command, optionsOrCb);
|
|
24
29
|
}
|
|
25
30
|
else if (typeof cb === "function") {
|
|
26
31
|
if (typeof optionsOrCb !== "object")
|
|
27
|
-
throw new Error(
|
|
32
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
28
33
|
this.send(command, optionsOrCb || {}, cb);
|
|
29
34
|
}
|
|
30
35
|
else {
|
|
31
36
|
return this.send(command, optionsOrCb);
|
|
32
37
|
}
|
|
33
|
-
}
|
|
34
|
-
getHomeRegion(args, optionsOrCb, cb) {
|
|
35
|
-
|
|
38
|
+
};
|
|
39
|
+
MigrationHubConfig.prototype.getHomeRegion = function (args, optionsOrCb, cb) {
|
|
40
|
+
var command = new GetHomeRegionCommand(args);
|
|
36
41
|
if (typeof optionsOrCb === "function") {
|
|
37
42
|
this.send(command, optionsOrCb);
|
|
38
43
|
}
|
|
39
44
|
else if (typeof cb === "function") {
|
|
40
45
|
if (typeof optionsOrCb !== "object")
|
|
41
|
-
throw new Error(
|
|
46
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
42
47
|
this.send(command, optionsOrCb || {}, cb);
|
|
43
48
|
}
|
|
44
49
|
else {
|
|
45
50
|
return this.send(command, optionsOrCb);
|
|
46
51
|
}
|
|
47
|
-
}
|
|
48
|
-
|
|
52
|
+
};
|
|
53
|
+
return MigrationHubConfig;
|
|
54
|
+
}(MigrationHubConfigClient));
|
|
55
|
+
export { MigrationHubConfig };
|
|
@@ -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 MigrationHubConfigClient = (function (_super) {
|
|
13
|
+
__extends(MigrationHubConfigClient, _super);
|
|
14
|
+
function MigrationHubConfigClient(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
|
+
MigrationHubConfigClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return MigrationHubConfigClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { MigrationHubConfigClient };
|
|
@@ -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 { CreateHomeRegionControlRequestFilterSensitiveLog, CreateHomeRegionControlResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateHomeRegionControlCommand, serializeAws_json1_1CreateHomeRegionControlCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateHomeRegionControlCommand = (function (_super) {
|
|
7
|
+
__extends(CreateHomeRegionControlCommand, _super);
|
|
8
|
+
function CreateHomeRegionControlCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateHomeRegionControlCommand.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 = "MigrationHubConfigClient";
|
|
18
|
+
var commandName = "CreateHomeRegionControlCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateHomeRegionControlRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateHomeRegionControlResultFilterSensitiveLog,
|
|
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
|
+
CreateHomeRegionControlCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateHomeRegionControlCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateHomeRegionControlCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateHomeRegionControlCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateHomeRegionControlCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateHomeRegionControlCommand };
|
|
@@ -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 { DescribeHomeRegionControlsRequestFilterSensitiveLog, DescribeHomeRegionControlsResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DescribeHomeRegionControlsCommand, serializeAws_json1_1DescribeHomeRegionControlsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeHomeRegionControlsCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeHomeRegionControlsCommand, _super);
|
|
8
|
+
function DescribeHomeRegionControlsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeHomeRegionControlsCommand.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 = "MigrationHubConfigClient";
|
|
18
|
+
var commandName = "DescribeHomeRegionControlsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeHomeRegionControlsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeHomeRegionControlsResultFilterSensitiveLog,
|
|
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
|
+
DescribeHomeRegionControlsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DescribeHomeRegionControlsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeHomeRegionControlsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DescribeHomeRegionControlsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeHomeRegionControlsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeHomeRegionControlsCommand };
|
|
@@ -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 { GetHomeRegionRequestFilterSensitiveLog, GetHomeRegionResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1GetHomeRegionCommand, serializeAws_json1_1GetHomeRegionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetHomeRegionCommand = (function (_super) {
|
|
7
|
+
__extends(GetHomeRegionCommand, _super);
|
|
8
|
+
function GetHomeRegionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetHomeRegionCommand.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 = "MigrationHubConfigClient";
|
|
18
|
+
var commandName = "GetHomeRegionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetHomeRegionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetHomeRegionResultFilterSensitiveLog,
|
|
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
|
+
GetHomeRegionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetHomeRegionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetHomeRegionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetHomeRegionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetHomeRegionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetHomeRegionCommand };
|
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: "mgh", 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 MigrationHubConfigServiceException = (function (_super) {
|
|
4
|
+
__extends(MigrationHubConfigServiceException, _super);
|
|
5
|
+
function MigrationHubConfigServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, MigrationHubConfigServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return MigrationHubConfigServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { MigrationHubConfigServiceException };
|
|
@@ -1,108 +1,93 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { MigrationHubConfigServiceException as __BaseException } from "./MigrationHubConfigServiceException";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
this.Message = opts.Message;
|
|
3
|
+
var AccessDeniedException = (function (_super) {
|
|
4
|
+
__extends(AccessDeniedException, _super);
|
|
5
|
+
function AccessDeniedException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "AccessDeniedException";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
10
|
+
_this.Message = opts.Message;
|
|
11
|
+
return _this;
|
|
13
12
|
}
|
|
14
|
-
|
|
13
|
+
return AccessDeniedException;
|
|
14
|
+
}(__BaseException));
|
|
15
|
+
export { AccessDeniedException };
|
|
15
16
|
export var TargetType;
|
|
16
17
|
(function (TargetType) {
|
|
17
18
|
TargetType["ACCOUNT"] = "ACCOUNT";
|
|
18
19
|
})(TargetType || (TargetType = {}));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
Object.setPrototypeOf(this, DryRunOperation.prototype);
|
|
29
|
-
this.Message = opts.Message;
|
|
20
|
+
var DryRunOperation = (function (_super) {
|
|
21
|
+
__extends(DryRunOperation, _super);
|
|
22
|
+
function DryRunOperation(opts) {
|
|
23
|
+
var _this = _super.call(this, __assign({ name: "DryRunOperation", $fault: "client" }, opts)) || this;
|
|
24
|
+
_this.name = "DryRunOperation";
|
|
25
|
+
_this.$fault = "client";
|
|
26
|
+
Object.setPrototypeOf(_this, DryRunOperation.prototype);
|
|
27
|
+
_this.Message = opts.Message;
|
|
28
|
+
return _this;
|
|
30
29
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
30
|
+
return DryRunOperation;
|
|
31
|
+
}(__BaseException));
|
|
32
|
+
export { DryRunOperation };
|
|
33
|
+
var InternalServerError = (function (_super) {
|
|
34
|
+
__extends(InternalServerError, _super);
|
|
35
|
+
function InternalServerError(opts) {
|
|
36
|
+
var _this = _super.call(this, __assign({ name: "InternalServerError", $fault: "server" }, opts)) || this;
|
|
37
|
+
_this.name = "InternalServerError";
|
|
38
|
+
_this.$fault = "server";
|
|
39
|
+
Object.setPrototypeOf(_this, InternalServerError.prototype);
|
|
40
|
+
_this.Message = opts.Message;
|
|
41
|
+
return _this;
|
|
43
42
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
43
|
+
return InternalServerError;
|
|
44
|
+
}(__BaseException));
|
|
45
|
+
export { InternalServerError };
|
|
46
|
+
var InvalidInputException = (function (_super) {
|
|
47
|
+
__extends(InvalidInputException, _super);
|
|
48
|
+
function InvalidInputException(opts) {
|
|
49
|
+
var _this = _super.call(this, __assign({ name: "InvalidInputException", $fault: "client" }, opts)) || this;
|
|
50
|
+
_this.name = "InvalidInputException";
|
|
51
|
+
_this.$fault = "client";
|
|
52
|
+
Object.setPrototypeOf(_this, InvalidInputException.prototype);
|
|
53
|
+
_this.Message = opts.Message;
|
|
54
|
+
return _this;
|
|
56
55
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
56
|
+
return InvalidInputException;
|
|
57
|
+
}(__BaseException));
|
|
58
|
+
export { InvalidInputException };
|
|
59
|
+
var ServiceUnavailableException = (function (_super) {
|
|
60
|
+
__extends(ServiceUnavailableException, _super);
|
|
61
|
+
function ServiceUnavailableException(opts) {
|
|
62
|
+
var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
|
|
63
|
+
_this.name = "ServiceUnavailableException";
|
|
64
|
+
_this.$fault = "server";
|
|
65
|
+
Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
|
|
66
|
+
_this.Message = opts.Message;
|
|
67
|
+
return _this;
|
|
69
68
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
69
|
+
return ServiceUnavailableException;
|
|
70
|
+
}(__BaseException));
|
|
71
|
+
export { ServiceUnavailableException };
|
|
72
|
+
var ThrottlingException = (function (_super) {
|
|
73
|
+
__extends(ThrottlingException, _super);
|
|
74
|
+
function ThrottlingException(opts) {
|
|
75
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
76
|
+
_this.name = "ThrottlingException";
|
|
77
|
+
_this.$fault = "client";
|
|
78
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
79
|
+
_this.Message = opts.Message;
|
|
80
|
+
_this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
81
|
+
return _this;
|
|
83
82
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
});
|
|
88
|
-
export
|
|
89
|
-
|
|
90
|
-
});
|
|
91
|
-
export
|
|
92
|
-
|
|
93
|
-
});
|
|
94
|
-
export
|
|
95
|
-
...obj,
|
|
96
|
-
});
|
|
97
|
-
export const DescribeHomeRegionControlsRequestFilterSensitiveLog = (obj) => ({
|
|
98
|
-
...obj,
|
|
99
|
-
});
|
|
100
|
-
export const DescribeHomeRegionControlsResultFilterSensitiveLog = (obj) => ({
|
|
101
|
-
...obj,
|
|
102
|
-
});
|
|
103
|
-
export const GetHomeRegionRequestFilterSensitiveLog = (obj) => ({
|
|
104
|
-
...obj,
|
|
105
|
-
});
|
|
106
|
-
export const GetHomeRegionResultFilterSensitiveLog = (obj) => ({
|
|
107
|
-
...obj,
|
|
108
|
-
});
|
|
83
|
+
return ThrottlingException;
|
|
84
|
+
}(__BaseException));
|
|
85
|
+
export { ThrottlingException };
|
|
86
|
+
export var TargetFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
+
export var CreateHomeRegionControlRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
88
|
+
export var HomeRegionControlFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
+
export var CreateHomeRegionControlResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
90
|
+
export var DescribeHomeRegionControlsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
91
|
+
export var DescribeHomeRegionControlsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
|
+
export var GetHomeRegionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
+
export var GetHomeRegionResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|