@aws-sdk/client-migrationhub-config 3.478.0 → 3.481.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CreateHomeRegionControlCommand.js +18 -41
- package/dist-cjs/commands/DeleteHomeRegionControlCommand.js +18 -41
- package/dist-cjs/commands/DescribeHomeRegionControlsCommand.js +18 -41
- package/dist-cjs/commands/GetHomeRegionCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/CreateHomeRegionControlCommand.js +18 -41
- package/dist-es/commands/DeleteHomeRegionControlCommand.js +18 -41
- package/dist-es/commands/DescribeHomeRegionControlsCommand.js +18 -41
- package/dist-es/commands/GetHomeRegionCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/CreateHomeRegionControlCommand.d.ts +6 -21
- package/dist-types/commands/DeleteHomeRegionControlCommand.d.ts +6 -21
- package/dist-types/commands/DescribeHomeRegionControlsCommand.d.ts +6 -21
- package/dist-types/commands/GetHomeRegionCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateHomeRegionControlCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteHomeRegionControlCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeHomeRegionControlsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetHomeRegionCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class CreateHomeRegionControlCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubConfigClient";
|
|
29
|
-
const commandName = "CreateHomeRegionControlCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHubMultiAccountService",
|
|
38
|
-
operation: "CreateHomeRegionControl",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_CreateHomeRegionControlCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_CreateHomeRegionControlCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateHomeRegionControlCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHubMultiAccountService", "CreateHomeRegionControl", {})
|
|
22
|
+
.n("MigrationHubConfigClient", "CreateHomeRegionControlCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_CreateHomeRegionControlCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_CreateHomeRegionControlCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateHomeRegionControlCommand = CreateHomeRegionControlCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeleteHomeRegionControlCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubConfigClient";
|
|
29
|
-
const commandName = "DeleteHomeRegionControlCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHubMultiAccountService",
|
|
38
|
-
operation: "DeleteHomeRegionControl",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DeleteHomeRegionControlCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DeleteHomeRegionControlCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DeleteHomeRegionControlCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHubMultiAccountService", "DeleteHomeRegionControl", {})
|
|
22
|
+
.n("MigrationHubConfigClient", "DeleteHomeRegionControlCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DeleteHomeRegionControlCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DeleteHomeRegionControlCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DeleteHomeRegionControlCommand = DeleteHomeRegionControlCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DescribeHomeRegionControlsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubConfigClient";
|
|
29
|
-
const commandName = "DescribeHomeRegionControlsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHubMultiAccountService",
|
|
38
|
-
operation: "DescribeHomeRegionControls",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DescribeHomeRegionControlsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DescribeHomeRegionControlsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DescribeHomeRegionControlsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHubMultiAccountService", "DescribeHomeRegionControls", {})
|
|
22
|
+
.n("MigrationHubConfigClient", "DescribeHomeRegionControlsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DescribeHomeRegionControlsCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DescribeHomeRegionControlsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DescribeHomeRegionControlsCommand = DescribeHomeRegionControlsCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class GetHomeRegionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubConfigClient";
|
|
29
|
-
const commandName = "GetHomeRegionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHubMultiAccountService",
|
|
38
|
-
operation: "GetHomeRegion",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_GetHomeRegionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_GetHomeRegionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class GetHomeRegionCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHubMultiAccountService", "GetHomeRegion", {})
|
|
22
|
+
.n("MigrationHubConfigClient", "GetHomeRegionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_GetHomeRegionCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_GetHomeRegionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.GetHomeRegionCommand = GetHomeRegionCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateHomeRegionControlCommand, se_CreateHomeRegionControlCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateHomeRegionControlCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubConfigClient";
|
|
26
|
-
const commandName = "CreateHomeRegionControlCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHubMultiAccountService",
|
|
35
|
-
operation: "CreateHomeRegionControl",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateHomeRegionControlCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateHomeRegionControlCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateHomeRegionControlCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHubMultiAccountService", "CreateHomeRegionControl", {})
|
|
19
|
+
.n("MigrationHubConfigClient", "CreateHomeRegionControlCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateHomeRegionControlCommand)
|
|
22
|
+
.de(de_CreateHomeRegionControlCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteHomeRegionControlCommand, se_DeleteHomeRegionControlCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteHomeRegionControlCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubConfigClient";
|
|
26
|
-
const commandName = "DeleteHomeRegionControlCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHubMultiAccountService",
|
|
35
|
-
operation: "DeleteHomeRegionControl",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteHomeRegionControlCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteHomeRegionControlCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteHomeRegionControlCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHubMultiAccountService", "DeleteHomeRegionControl", {})
|
|
19
|
+
.n("MigrationHubConfigClient", "DeleteHomeRegionControlCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteHomeRegionControlCommand)
|
|
22
|
+
.de(de_DeleteHomeRegionControlCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeHomeRegionControlsCommand, se_DescribeHomeRegionControlsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeHomeRegionControlsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubConfigClient";
|
|
26
|
-
const commandName = "DescribeHomeRegionControlsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHubMultiAccountService",
|
|
35
|
-
operation: "DescribeHomeRegionControls",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeHomeRegionControlsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeHomeRegionControlsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeHomeRegionControlsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHubMultiAccountService", "DescribeHomeRegionControls", {})
|
|
19
|
+
.n("MigrationHubConfigClient", "DescribeHomeRegionControlsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeHomeRegionControlsCommand)
|
|
22
|
+
.de(de_DescribeHomeRegionControlsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetHomeRegionCommand, se_GetHomeRegionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetHomeRegionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubConfigClient";
|
|
26
|
-
const commandName = "GetHomeRegionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHubMultiAccountService",
|
|
35
|
-
operation: "GetHomeRegion",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetHomeRegionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetHomeRegionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetHomeRegionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHubMultiAccountService", "GetHomeRegion", {})
|
|
19
|
+
.n("MigrationHubConfigClient", "GetHomeRegionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetHomeRegionCommand)
|
|
22
|
+
.de(de_GetHomeRegionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "mgh",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
|
|
5
4
|
import { CreateHomeRegionControlRequest, CreateHomeRegionControlResult } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateHomeRegionControlCommandInput extends CreateHomeRegionCon
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateHomeRegionControlCommandOutput extends CreateHomeRegionControlResult, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateHomeRegionControlCommand_base: {
|
|
24
|
+
new (input: CreateHomeRegionControlCommandInput): import("@smithy/smithy-client").CommandImpl<CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>This API sets up the home region for the calling account only.</p>
|
|
@@ -86,23 +89,5 @@ export interface CreateHomeRegionControlCommandOutput extends CreateHomeRegionCo
|
|
|
86
89
|
* <p>Base exception class for all service exceptions from MigrationHubConfig service.</p>
|
|
87
90
|
*
|
|
88
91
|
*/
|
|
89
|
-
export declare class CreateHomeRegionControlCommand extends
|
|
90
|
-
readonly input: CreateHomeRegionControlCommandInput;
|
|
91
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
92
|
-
/**
|
|
93
|
-
* @public
|
|
94
|
-
*/
|
|
95
|
-
constructor(input: CreateHomeRegionControlCommandInput);
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput>;
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
private serialize;
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
private deserialize;
|
|
92
|
+
export declare class CreateHomeRegionControlCommand extends CreateHomeRegionControlCommand_base {
|
|
108
93
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
|
|
5
4
|
import { DeleteHomeRegionControlRequest, DeleteHomeRegionControlResult } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteHomeRegionControlCommandInput extends DeleteHomeRegionCon
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteHomeRegionControlCommandOutput extends DeleteHomeRegionControlResult, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteHomeRegionControlCommand_base: {
|
|
24
|
+
new (input: DeleteHomeRegionControlCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHomeRegionControlCommandInput, DeleteHomeRegionControlCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>This operation deletes the home region configuration for the calling account. The operation does not delete discovery or migration tracking data in the home region.</p>
|
|
@@ -67,23 +70,5 @@ export interface DeleteHomeRegionControlCommandOutput extends DeleteHomeRegionCo
|
|
|
67
70
|
* <p>Base exception class for all service exceptions from MigrationHubConfig service.</p>
|
|
68
71
|
*
|
|
69
72
|
*/
|
|
70
|
-
export declare class DeleteHomeRegionControlCommand extends
|
|
71
|
-
readonly input: DeleteHomeRegionControlCommandInput;
|
|
72
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
constructor(input: DeleteHomeRegionControlCommandInput);
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteHomeRegionControlCommandInput, DeleteHomeRegionControlCommandOutput>;
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
private serialize;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
private deserialize;
|
|
73
|
+
export declare class DeleteHomeRegionControlCommand extends DeleteHomeRegionControlCommand_base {
|
|
89
74
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
|
|
5
4
|
import { DescribeHomeRegionControlsRequest, DescribeHomeRegionControlsResult } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeHomeRegionControlsCommandInput extends DescribeHomeRegi
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeHomeRegionControlsCommandOutput extends DescribeHomeRegionControlsResult, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeHomeRegionControlsCommand_base: {
|
|
24
|
+
new (input: DescribeHomeRegionControlsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>This API permits filtering on the <code>ControlId</code> and <code>HomeRegion</code>
|
|
@@ -88,23 +91,5 @@ export interface DescribeHomeRegionControlsCommandOutput extends DescribeHomeReg
|
|
|
88
91
|
* <p>Base exception class for all service exceptions from MigrationHubConfig service.</p>
|
|
89
92
|
*
|
|
90
93
|
*/
|
|
91
|
-
export declare class DescribeHomeRegionControlsCommand extends
|
|
92
|
-
readonly input: DescribeHomeRegionControlsCommandInput;
|
|
93
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
94
|
-
/**
|
|
95
|
-
* @public
|
|
96
|
-
*/
|
|
97
|
-
constructor(input: DescribeHomeRegionControlsCommandInput);
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput>;
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
private serialize;
|
|
106
|
-
/**
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
private deserialize;
|
|
94
|
+
export declare class DescribeHomeRegionControlsCommand extends DescribeHomeRegionControlsCommand_base {
|
|
110
95
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
|
|
5
4
|
import { GetHomeRegionRequest, GetHomeRegionResult } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetHomeRegionCommandInput extends GetHomeRegionRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetHomeRegionCommandOutput extends GetHomeRegionResult, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetHomeRegionCommand_base: {
|
|
24
|
+
new (input: GetHomeRegionCommandInput): import("@smithy/smithy-client").CommandImpl<GetHomeRegionCommandInput, GetHomeRegionCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns the calling account’s home region, if configured. This API is used by other AWS
|
|
@@ -71,23 +74,5 @@ export interface GetHomeRegionCommandOutput extends GetHomeRegionResult, __Metad
|
|
|
71
74
|
* <p>Base exception class for all service exceptions from MigrationHubConfig service.</p>
|
|
72
75
|
*
|
|
73
76
|
*/
|
|
74
|
-
export declare class GetHomeRegionCommand extends
|
|
75
|
-
readonly input: GetHomeRegionCommandInput;
|
|
76
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
-
/**
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
80
|
-
constructor(input: GetHomeRegionCommandInput);
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetHomeRegionCommandInput, GetHomeRegionCommandOutput>;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
private serialize;
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
private deserialize;
|
|
77
|
+
export declare class GetHomeRegionCommand extends GetHomeRegionCommand_base {
|
|
93
78
|
}
|
|
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
15
|
defaultSigningName: string;
|
|
16
16
|
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
17
35
|
export interface EndpointParameters extends __EndpointParameters {
|
|
18
36
|
Region?: string;
|
|
19
37
|
UseDualStack?: boolean;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
MigrationHubConfigClientResolvedConfig,
|
|
11
5
|
ServiceInputTypes,
|
|
@@ -21,22 +15,16 @@ export interface CreateHomeRegionControlCommandInput
|
|
|
21
15
|
export interface CreateHomeRegionControlCommandOutput
|
|
22
16
|
extends CreateHomeRegionControlResult,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> {
|
|
29
|
-
readonly input: CreateHomeRegionControlCommandInput;
|
|
30
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
-
constructor(input: CreateHomeRegionControlCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: MigrationHubConfigClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
18
|
+
declare const CreateHomeRegionControlCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: CreateHomeRegionControlCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
37
22
|
CreateHomeRegionControlCommandInput,
|
|
38
|
-
CreateHomeRegionControlCommandOutput
|
|
23
|
+
CreateHomeRegionControlCommandOutput,
|
|
24
|
+
MigrationHubConfigClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
39
27
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class CreateHomeRegionControlCommand extends CreateHomeRegionControlCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
MigrationHubConfigClientResolvedConfig,
|
|
11
5
|
ServiceInputTypes,
|
|
@@ -21,22 +15,16 @@ export interface DeleteHomeRegionControlCommandInput
|
|
|
21
15
|
export interface DeleteHomeRegionControlCommandOutput
|
|
22
16
|
extends DeleteHomeRegionControlResult,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> {
|
|
29
|
-
readonly input: DeleteHomeRegionControlCommandInput;
|
|
30
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
-
constructor(input: DeleteHomeRegionControlCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: MigrationHubConfigClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
18
|
+
declare const DeleteHomeRegionControlCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: DeleteHomeRegionControlCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
37
22
|
DeleteHomeRegionControlCommandInput,
|
|
38
|
-
DeleteHomeRegionControlCommandOutput
|
|
23
|
+
DeleteHomeRegionControlCommandOutput,
|
|
24
|
+
MigrationHubConfigClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
39
27
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class DeleteHomeRegionControlCommand extends DeleteHomeRegionControlCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
MigrationHubConfigClientResolvedConfig,
|
|
11
5
|
ServiceInputTypes,
|
|
@@ -21,22 +15,16 @@ export interface DescribeHomeRegionControlsCommandInput
|
|
|
21
15
|
export interface DescribeHomeRegionControlsCommandOutput
|
|
22
16
|
extends DescribeHomeRegionControlsResult,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> {
|
|
29
|
-
readonly input: DescribeHomeRegionControlsCommandInput;
|
|
30
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
-
constructor(input: DescribeHomeRegionControlsCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: MigrationHubConfigClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
18
|
+
declare const DescribeHomeRegionControlsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: DescribeHomeRegionControlsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
37
22
|
DescribeHomeRegionControlsCommandInput,
|
|
38
|
-
DescribeHomeRegionControlsCommandOutput
|
|
23
|
+
DescribeHomeRegionControlsCommandOutput,
|
|
24
|
+
MigrationHubConfigClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
39
27
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class DescribeHomeRegionControlsCommand extends DescribeHomeRegionControlsCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
MigrationHubConfigClientResolvedConfig,
|
|
11
5
|
ServiceInputTypes,
|
|
@@ -17,19 +11,16 @@ export interface GetHomeRegionCommandInput extends GetHomeRegionRequest {}
|
|
|
17
11
|
export interface GetHomeRegionCommandOutput
|
|
18
12
|
extends GetHomeRegionResult,
|
|
19
13
|
__MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
private serialize;
|
|
34
|
-
private deserialize;
|
|
35
|
-
}
|
|
14
|
+
declare const GetHomeRegionCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: GetHomeRegionCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
GetHomeRegionCommandInput,
|
|
19
|
+
GetHomeRegionCommandOutput,
|
|
20
|
+
MigrationHubConfigClientResolvedConfig,
|
|
21
|
+
ServiceInputTypes,
|
|
22
|
+
ServiceOutputTypes
|
|
23
|
+
>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
export declare class GetHomeRegionCommand extends GetHomeRegionCommand_base {}
|
|
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
25
25
|
ClientInputEndpointParameters & {
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
28
46
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
47
|
Region?: string;
|
|
30
48
|
UseDualStack?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-migrationhub-config",
|
|
3
3
|
"description": "AWS SDK for JavaScript Migrationhub Config Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.481.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.481.0",
|
|
24
|
+
"@aws-sdk/core": "3.481.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.481.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
@@ -34,26 +34,26 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
-
"@smithy/core": "^1.2.
|
|
37
|
+
"@smithy/core": "^1.2.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
39
39
|
"@smithy/hash-node": "^2.0.17",
|
|
40
40
|
"@smithy/invalid-dependency": "^2.0.15",
|
|
41
41
|
"@smithy/middleware-content-length": "^2.0.17",
|
|
42
42
|
"@smithy/middleware-endpoint": "^2.2.3",
|
|
43
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
+
"@smithy/middleware-retry": "^2.0.25",
|
|
44
44
|
"@smithy/middleware-serde": "^2.0.15",
|
|
45
45
|
"@smithy/middleware-stack": "^2.0.9",
|
|
46
46
|
"@smithy/node-config-provider": "^2.1.8",
|
|
47
47
|
"@smithy/node-http-handler": "^2.2.1",
|
|
48
48
|
"@smithy/protocol-http": "^3.0.11",
|
|
49
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
+
"@smithy/smithy-client": "^2.2.0",
|
|
50
50
|
"@smithy/types": "^2.7.0",
|
|
51
51
|
"@smithy/url-parser": "^2.0.15",
|
|
52
52
|
"@smithy/util-base64": "^2.0.1",
|
|
53
53
|
"@smithy/util-body-length-browser": "^2.0.1",
|
|
54
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.0.23",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.30",
|
|
57
57
|
"@smithy/util-endpoints": "^1.0.7",
|
|
58
58
|
"@smithy/util-retry": "^2.0.8",
|
|
59
59
|
"@smithy/util-utf8": "^2.0.2",
|