@aws-sdk/client-migrationhub-config 3.296.0 → 3.298.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 +2 -3
- package/dist-cjs/commands/DescribeHomeRegionControlsCommand.js +2 -3
- package/dist-cjs/commands/GetHomeRegionCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -33
- package/dist-es/commands/CreateHomeRegionControlCommand.js +2 -3
- package/dist-es/commands/DescribeHomeRegionControlsCommand.js +2 -3
- package/dist-es/commands/GetHomeRegionCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -24
- package/dist-types/MigrationHubConfig.d.ts +4 -0
- package/dist-types/MigrationHubConfigClient.d.ts +24 -4
- package/dist-types/commands/CreateHomeRegionControlCommand.d.ts +16 -0
- package/dist-types/commands/DescribeHomeRegionControlsCommand.d.ts +16 -0
- package/dist-types/commands/GetHomeRegionCommand.d.ts +16 -0
- package/dist-types/models/MigrationHubConfigServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +29 -32
- package/dist-types/pagination/DescribeHomeRegionControlsPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -22
- package/package.json +4 -3
|
@@ -4,7 +4,6 @@ exports.CreateHomeRegionControlCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class CreateHomeRegionControlCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class CreateHomeRegionControlCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.DescribeHomeRegionControlsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class DescribeHomeRegionControlsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class DescribeHomeRegionControlsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,6 @@ exports.GetHomeRegionCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
8
|
class GetHomeRegionCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class GetHomeRegionCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ThrottlingException = exports.ServiceUnavailableException = exports.InvalidInputException = exports.InternalServerError = exports.DryRunOperation = exports.TargetType = exports.AccessDeniedException = void 0;
|
|
4
4
|
const MigrationHubConfigServiceException_1 = require("./MigrationHubConfigServiceException");
|
|
5
5
|
class AccessDeniedException extends MigrationHubConfigServiceException_1.MigrationHubConfigServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -91,35 +91,3 @@ class ThrottlingException extends MigrationHubConfigServiceException_1.Migration
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
exports.ThrottlingException = ThrottlingException;
|
|
94
|
-
const TargetFilterSensitiveLog = (obj) => ({
|
|
95
|
-
...obj,
|
|
96
|
-
});
|
|
97
|
-
exports.TargetFilterSensitiveLog = TargetFilterSensitiveLog;
|
|
98
|
-
const CreateHomeRegionControlRequestFilterSensitiveLog = (obj) => ({
|
|
99
|
-
...obj,
|
|
100
|
-
});
|
|
101
|
-
exports.CreateHomeRegionControlRequestFilterSensitiveLog = CreateHomeRegionControlRequestFilterSensitiveLog;
|
|
102
|
-
const HomeRegionControlFilterSensitiveLog = (obj) => ({
|
|
103
|
-
...obj,
|
|
104
|
-
});
|
|
105
|
-
exports.HomeRegionControlFilterSensitiveLog = HomeRegionControlFilterSensitiveLog;
|
|
106
|
-
const CreateHomeRegionControlResultFilterSensitiveLog = (obj) => ({
|
|
107
|
-
...obj,
|
|
108
|
-
});
|
|
109
|
-
exports.CreateHomeRegionControlResultFilterSensitiveLog = CreateHomeRegionControlResultFilterSensitiveLog;
|
|
110
|
-
const DescribeHomeRegionControlsRequestFilterSensitiveLog = (obj) => ({
|
|
111
|
-
...obj,
|
|
112
|
-
});
|
|
113
|
-
exports.DescribeHomeRegionControlsRequestFilterSensitiveLog = DescribeHomeRegionControlsRequestFilterSensitiveLog;
|
|
114
|
-
const DescribeHomeRegionControlsResultFilterSensitiveLog = (obj) => ({
|
|
115
|
-
...obj,
|
|
116
|
-
});
|
|
117
|
-
exports.DescribeHomeRegionControlsResultFilterSensitiveLog = DescribeHomeRegionControlsResultFilterSensitiveLog;
|
|
118
|
-
const GetHomeRegionRequestFilterSensitiveLog = (obj) => ({
|
|
119
|
-
...obj,
|
|
120
|
-
});
|
|
121
|
-
exports.GetHomeRegionRequestFilterSensitiveLog = GetHomeRegionRequestFilterSensitiveLog;
|
|
122
|
-
const GetHomeRegionResultFilterSensitiveLog = (obj) => ({
|
|
123
|
-
...obj,
|
|
124
|
-
});
|
|
125
|
-
exports.GetHomeRegionResultFilterSensitiveLog = GetHomeRegionResultFilterSensitiveLog;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { CreateHomeRegionControlRequestFilterSensitiveLog, CreateHomeRegionControlResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateHomeRegionControlCommand, serializeAws_json1_1CreateHomeRegionControlCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class CreateHomeRegionControlCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class CreateHomeRegionControlCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DescribeHomeRegionControlsRequestFilterSensitiveLog, DescribeHomeRegionControlsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1DescribeHomeRegionControlsCommand, serializeAws_json1_1DescribeHomeRegionControlsCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class DescribeHomeRegionControlsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DescribeHomeRegionControlsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetHomeRegionRequestFilterSensitiveLog, GetHomeRegionResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1GetHomeRegionCommand, serializeAws_json1_1GetHomeRegionCommand, } from "../protocols/Aws_json1_1";
|
|
6
5
|
export class GetHomeRegionCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class GetHomeRegionCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -82,27 +82,3 @@ export class ThrottlingException extends __BaseException {
|
|
|
82
82
|
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
export const TargetFilterSensitiveLog = (obj) => ({
|
|
86
|
-
...obj,
|
|
87
|
-
});
|
|
88
|
-
export const CreateHomeRegionControlRequestFilterSensitiveLog = (obj) => ({
|
|
89
|
-
...obj,
|
|
90
|
-
});
|
|
91
|
-
export const HomeRegionControlFilterSensitiveLog = (obj) => ({
|
|
92
|
-
...obj,
|
|
93
|
-
});
|
|
94
|
-
export const CreateHomeRegionControlResultFilterSensitiveLog = (obj) => ({
|
|
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
|
-
});
|
|
@@ -4,6 +4,7 @@ import { DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsComma
|
|
|
4
4
|
import { GetHomeRegionCommandInput, GetHomeRegionCommandOutput } from "./commands/GetHomeRegionCommand";
|
|
5
5
|
import { MigrationHubConfigClient } from "./MigrationHubConfigClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
7
8
|
* <p>The AWS Migration Hub home region APIs are available specifically for working with your
|
|
8
9
|
* Migration Hub home region. You can use these APIs to determine a home region, as well as to
|
|
9
10
|
* create and work with controls that describe the home region.</p>
|
|
@@ -33,12 +34,14 @@ import { MigrationHubConfigClient } from "./MigrationHubConfigClient";
|
|
|
33
34
|
*/
|
|
34
35
|
export declare class MigrationHubConfig extends MigrationHubConfigClient {
|
|
35
36
|
/**
|
|
37
|
+
* @public
|
|
36
38
|
* <p>This API sets up the home region for the calling account only.</p>
|
|
37
39
|
*/
|
|
38
40
|
createHomeRegionControl(args: CreateHomeRegionControlCommandInput, options?: __HttpHandlerOptions): Promise<CreateHomeRegionControlCommandOutput>;
|
|
39
41
|
createHomeRegionControl(args: CreateHomeRegionControlCommandInput, cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void): void;
|
|
40
42
|
createHomeRegionControl(args: CreateHomeRegionControlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHomeRegionControlCommandOutput) => void): void;
|
|
41
43
|
/**
|
|
44
|
+
* @public
|
|
42
45
|
* <p>This API permits filtering on the <code>ControlId</code> and <code>HomeRegion</code>
|
|
43
46
|
* fields.</p>
|
|
44
47
|
*/
|
|
@@ -46,6 +49,7 @@ export declare class MigrationHubConfig extends MigrationHubConfigClient {
|
|
|
46
49
|
describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void): void;
|
|
47
50
|
describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void): void;
|
|
48
51
|
/**
|
|
52
|
+
* @public
|
|
49
53
|
* <p>Returns the calling account’s home region, if configured. This API is used by other AWS
|
|
50
54
|
* services to determine the regional endpoint for calling AWS Application Discovery Service and
|
|
51
55
|
* Migration Hub. You must call <code>GetHomeRegion</code> at least once before you call any
|
|
@@ -11,15 +11,24 @@ import { CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutp
|
|
|
11
11
|
import { DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput } from "./commands/DescribeHomeRegionControlsCommand";
|
|
12
12
|
import { GetHomeRegionCommandInput, GetHomeRegionCommandOutput } from "./commands/GetHomeRegionCommand";
|
|
13
13
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
14
17
|
export type ServiceInputTypes = CreateHomeRegionControlCommandInput | DescribeHomeRegionControlsCommandInput | GetHomeRegionCommandInput;
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
15
21
|
export type ServiceOutputTypes = CreateHomeRegionControlCommandOutput | DescribeHomeRegionControlsCommandOutput | GetHomeRegionCommandOutput;
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
16
25
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
17
26
|
/**
|
|
18
27
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
19
28
|
*/
|
|
20
29
|
requestHandler?: __HttpHandler;
|
|
21
30
|
/**
|
|
22
|
-
* A constructor for a class implementing the {@link
|
|
31
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
23
32
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
24
33
|
* @internal
|
|
25
34
|
*/
|
|
@@ -109,23 +118,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
109
118
|
*/
|
|
110
119
|
logger?: __Logger;
|
|
111
120
|
/**
|
|
112
|
-
* The {@link
|
|
121
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
113
122
|
*/
|
|
114
123
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
115
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
116
128
|
type MigrationHubConfigClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
117
129
|
/**
|
|
118
|
-
*
|
|
130
|
+
* @public
|
|
131
|
+
*
|
|
132
|
+
* The configuration interface of MigrationHubConfigClient class constructor that set the region, credentials and other options.
|
|
119
133
|
*/
|
|
120
134
|
export interface MigrationHubConfigClientConfig extends MigrationHubConfigClientConfigType {
|
|
121
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
122
139
|
type MigrationHubConfigClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
123
140
|
/**
|
|
124
|
-
*
|
|
141
|
+
* @public
|
|
142
|
+
*
|
|
143
|
+
* The resolved configuration interface of MigrationHubConfigClient class. This is resolved and normalized from the {@link MigrationHubConfigClientConfig | constructor configuration interface}.
|
|
125
144
|
*/
|
|
126
145
|
export interface MigrationHubConfigClientResolvedConfig extends MigrationHubConfigClientResolvedConfigType {
|
|
127
146
|
}
|
|
128
147
|
/**
|
|
148
|
+
* @public
|
|
129
149
|
* <p>The AWS Migration Hub home region APIs are available specifically for working with your
|
|
130
150
|
* Migration Hub home region. You can use these APIs to determine a home region, as well as to
|
|
131
151
|
* create and work with controls that describe the home region.</p>
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
|
|
5
5
|
import { CreateHomeRegionControlRequest, CreateHomeRegionControlResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateHomeRegionControlCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateHomeRegionControlCommandInput extends CreateHomeRegionControlRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateHomeRegionControlCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateHomeRegionControlCommandOutput extends CreateHomeRegionControlResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>This API sets up the home region for the calling account only.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface CreateHomeRegionControlCommandOutput extends CreateHomeRegionCo
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param CreateHomeRegionControlCommandInput - {@link CreateHomeRegionControlCommandInput}
|
|
34
|
+
* @returns {@link CreateHomeRegionControlCommandOutput}
|
|
28
35
|
* @see {@link CreateHomeRegionControlCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link CreateHomeRegionControlCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link MigrationHubConfigClientResolvedConfig | config} for MigrationHubConfigClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface CreateHomeRegionControlCommandOutput extends CreateHomeRegionCo
|
|
|
56
63
|
export declare class CreateHomeRegionControlCommand extends $Command<CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput, MigrationHubConfigClientResolvedConfig> {
|
|
57
64
|
readonly input: CreateHomeRegionControlCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: CreateHomeRegionControlCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
|
|
5
5
|
import { DescribeHomeRegionControlsRequest, DescribeHomeRegionControlsResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeHomeRegionControlsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeHomeRegionControlsCommandInput extends DescribeHomeRegionControlsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeHomeRegionControlsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeHomeRegionControlsCommandOutput extends DescribeHomeRegionControlsResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>This API permits filtering on the <code>ControlId</code> and <code>HomeRegion</code>
|
|
18
23
|
* fields.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface DescribeHomeRegionControlsCommandOutput extends DescribeHomeReg
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param DescribeHomeRegionControlsCommandInput - {@link DescribeHomeRegionControlsCommandInput}
|
|
35
|
+
* @returns {@link DescribeHomeRegionControlsCommandOutput}
|
|
29
36
|
* @see {@link DescribeHomeRegionControlsCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link DescribeHomeRegionControlsCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link MigrationHubConfigClientResolvedConfig | config} for MigrationHubConfigClient's `config` shape.
|
|
@@ -53,11 +60,20 @@ export interface DescribeHomeRegionControlsCommandOutput extends DescribeHomeReg
|
|
|
53
60
|
export declare class DescribeHomeRegionControlsCommand extends $Command<DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput, MigrationHubConfigClientResolvedConfig> {
|
|
54
61
|
readonly input: DescribeHomeRegionControlsCommandInput;
|
|
55
62
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
56
66
|
constructor(input: DescribeHomeRegionControlsCommandInput);
|
|
57
67
|
/**
|
|
58
68
|
* @internal
|
|
59
69
|
*/
|
|
60
70
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
61
74
|
private serialize;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
62
78
|
private deserialize;
|
|
63
79
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubConfigClient";
|
|
5
5
|
import { GetHomeRegionRequest, GetHomeRegionResult } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetHomeRegionCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetHomeRegionCommandInput extends GetHomeRegionRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetHomeRegionCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetHomeRegionCommandOutput extends GetHomeRegionResult, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns the calling account’s home region, if configured. This API is used by other AWS
|
|
18
23
|
* services to determine the regional endpoint for calling AWS Application Discovery Service and
|
|
19
24
|
* Migration Hub. You must call <code>GetHomeRegion</code> at least once before you call any
|
|
@@ -29,6 +34,8 @@ export interface GetHomeRegionCommandOutput extends GetHomeRegionResult, __Metad
|
|
|
29
34
|
* const response = await client.send(command);
|
|
30
35
|
* ```
|
|
31
36
|
*
|
|
37
|
+
* @param GetHomeRegionCommandInput - {@link GetHomeRegionCommandInput}
|
|
38
|
+
* @returns {@link GetHomeRegionCommandOutput}
|
|
32
39
|
* @see {@link GetHomeRegionCommandInput} for command's `input` shape.
|
|
33
40
|
* @see {@link GetHomeRegionCommandOutput} for command's `response` shape.
|
|
34
41
|
* @see {@link MigrationHubConfigClientResolvedConfig | config} for MigrationHubConfigClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface GetHomeRegionCommandOutput extends GetHomeRegionResult, __Metad
|
|
|
56
63
|
export declare class GetHomeRegionCommand extends $Command<GetHomeRegionCommandInput, GetHomeRegionCommandOutput, MigrationHubConfigClientResolvedConfig> {
|
|
57
64
|
readonly input: GetHomeRegionCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: GetHomeRegionCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubConfigClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetHomeRegionCommandInput, GetHomeRegionCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from MigrationHubConfig service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class MigrationHubConfigServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { MigrationHubConfigServiceException as __BaseException } from "./MigrationHubConfigServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
6
|
*/
|
|
6
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -12,10 +13,14 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
*/
|
|
13
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
15
19
|
export declare enum TargetType {
|
|
16
20
|
ACCOUNT = "ACCOUNT"
|
|
17
21
|
}
|
|
18
22
|
/**
|
|
23
|
+
* @public
|
|
19
24
|
* <p>The target parameter specifies the identifier to which the home region is applied, which
|
|
20
25
|
* is always an <code>ACCOUNT</code>. It applies the home region to the current
|
|
21
26
|
* <code>ACCOUNT</code>.</p>
|
|
@@ -31,6 +36,9 @@ export interface Target {
|
|
|
31
36
|
*/
|
|
32
37
|
Id?: string;
|
|
33
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
34
42
|
export interface CreateHomeRegionControlRequest {
|
|
35
43
|
/**
|
|
36
44
|
* <p>The name of the home region of the calling account.</p>
|
|
@@ -48,6 +56,7 @@ export interface CreateHomeRegionControlRequest {
|
|
|
48
56
|
DryRun?: boolean;
|
|
49
57
|
}
|
|
50
58
|
/**
|
|
59
|
+
* @public
|
|
51
60
|
* <p>A home region control is an object that specifies the home region for an account, with
|
|
52
61
|
* some additional information. It contains a target (always of type <code>ACCOUNT</code>), an
|
|
53
62
|
* ID, and a time at which the home region was set.</p>
|
|
@@ -75,6 +84,9 @@ export interface HomeRegionControl {
|
|
|
75
84
|
*/
|
|
76
85
|
RequestedTime?: Date;
|
|
77
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
78
90
|
export interface CreateHomeRegionControlResult {
|
|
79
91
|
/**
|
|
80
92
|
* <p>This object is the <code>HomeRegionControl</code> object that's returned by a successful
|
|
@@ -83,6 +95,7 @@ export interface CreateHomeRegionControlResult {
|
|
|
83
95
|
HomeRegionControl?: HomeRegionControl;
|
|
84
96
|
}
|
|
85
97
|
/**
|
|
98
|
+
* @public
|
|
86
99
|
* <p>Exception raised to indicate that authorization of an action was successful, when the
|
|
87
100
|
* <code>DryRun</code> flag is set to true.</p>
|
|
88
101
|
*/
|
|
@@ -96,6 +109,7 @@ export declare class DryRunOperation extends __BaseException {
|
|
|
96
109
|
constructor(opts: __ExceptionOptionType<DryRunOperation, __BaseException>);
|
|
97
110
|
}
|
|
98
111
|
/**
|
|
112
|
+
* @public
|
|
99
113
|
* <p>Exception raised when an internal, configuration, or dependency error is
|
|
100
114
|
* encountered.</p>
|
|
101
115
|
*/
|
|
@@ -109,6 +123,7 @@ export declare class InternalServerError extends __BaseException {
|
|
|
109
123
|
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
110
124
|
}
|
|
111
125
|
/**
|
|
126
|
+
* @public
|
|
112
127
|
* <p>Exception raised when the provided input violates a policy constraint or is entered in the
|
|
113
128
|
* wrong format or data type.</p>
|
|
114
129
|
*/
|
|
@@ -122,6 +137,7 @@ export declare class InvalidInputException extends __BaseException {
|
|
|
122
137
|
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
123
138
|
}
|
|
124
139
|
/**
|
|
140
|
+
* @public
|
|
125
141
|
* <p>Exception raised when a request fails due to temporary unavailability of the
|
|
126
142
|
* service.</p>
|
|
127
143
|
*/
|
|
@@ -135,6 +151,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
135
151
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
136
152
|
}
|
|
137
153
|
/**
|
|
154
|
+
* @public
|
|
138
155
|
* <p>The request was denied due to request throttling.</p>
|
|
139
156
|
*/
|
|
140
157
|
export declare class ThrottlingException extends __BaseException {
|
|
@@ -150,6 +167,9 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
150
167
|
*/
|
|
151
168
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
152
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
153
173
|
export interface DescribeHomeRegionControlsRequest {
|
|
154
174
|
/**
|
|
155
175
|
* <p>The <code>ControlID</code> is a unique identifier string of your
|
|
@@ -177,6 +197,9 @@ export interface DescribeHomeRegionControlsRequest {
|
|
|
177
197
|
*/
|
|
178
198
|
NextToken?: string;
|
|
179
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
180
203
|
export interface DescribeHomeRegionControlsResult {
|
|
181
204
|
/**
|
|
182
205
|
* <p>An array that contains your <code>HomeRegionControl</code> objects.</p>
|
|
@@ -189,43 +212,17 @@ export interface DescribeHomeRegionControlsResult {
|
|
|
189
212
|
*/
|
|
190
213
|
NextToken?: string;
|
|
191
214
|
}
|
|
215
|
+
/**
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
192
218
|
export interface GetHomeRegionRequest {
|
|
193
219
|
}
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
194
223
|
export interface GetHomeRegionResult {
|
|
195
224
|
/**
|
|
196
225
|
* <p>The name of the home region of the calling account.</p>
|
|
197
226
|
*/
|
|
198
227
|
HomeRegion?: string;
|
|
199
228
|
}
|
|
200
|
-
/**
|
|
201
|
-
* @internal
|
|
202
|
-
*/
|
|
203
|
-
export declare const TargetFilterSensitiveLog: (obj: Target) => any;
|
|
204
|
-
/**
|
|
205
|
-
* @internal
|
|
206
|
-
*/
|
|
207
|
-
export declare const CreateHomeRegionControlRequestFilterSensitiveLog: (obj: CreateHomeRegionControlRequest) => any;
|
|
208
|
-
/**
|
|
209
|
-
* @internal
|
|
210
|
-
*/
|
|
211
|
-
export declare const HomeRegionControlFilterSensitiveLog: (obj: HomeRegionControl) => any;
|
|
212
|
-
/**
|
|
213
|
-
* @internal
|
|
214
|
-
*/
|
|
215
|
-
export declare const CreateHomeRegionControlResultFilterSensitiveLog: (obj: CreateHomeRegionControlResult) => any;
|
|
216
|
-
/**
|
|
217
|
-
* @internal
|
|
218
|
-
*/
|
|
219
|
-
export declare const DescribeHomeRegionControlsRequestFilterSensitiveLog: (obj: DescribeHomeRegionControlsRequest) => any;
|
|
220
|
-
/**
|
|
221
|
-
* @internal
|
|
222
|
-
*/
|
|
223
|
-
export declare const DescribeHomeRegionControlsResultFilterSensitiveLog: (obj: DescribeHomeRegionControlsResult) => any;
|
|
224
|
-
/**
|
|
225
|
-
* @internal
|
|
226
|
-
*/
|
|
227
|
-
export declare const GetHomeRegionRequestFilterSensitiveLog: (obj: GetHomeRegionRequest) => any;
|
|
228
|
-
/**
|
|
229
|
-
* @internal
|
|
230
|
-
*/
|
|
231
|
-
export declare const GetHomeRegionResultFilterSensitiveLog: (obj: GetHomeRegionResult) => any;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput } from "../commands/DescribeHomeRegionControlsCommand";
|
|
3
3
|
import { MigrationHubConfigPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateDescribeHomeRegionControls(config: MigrationHubConfigPaginationConfiguration, input: DescribeHomeRegionControlsCommandInput, ...additionalArguments: any): Paginator<DescribeHomeRegionControlsCommandOutput>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { MigrationHubConfigClient } from "../MigrationHubConfigClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface MigrationHubConfigPaginationConfiguration extends PaginationConfiguration {
|
|
4
7
|
client: MigrationHubConfigClient;
|
|
5
8
|
}
|
|
@@ -83,25 +83,3 @@ export interface GetHomeRegionRequest {}
|
|
|
83
83
|
export interface GetHomeRegionResult {
|
|
84
84
|
HomeRegion?: string;
|
|
85
85
|
}
|
|
86
|
-
export declare const TargetFilterSensitiveLog: (obj: Target) => any;
|
|
87
|
-
export declare const CreateHomeRegionControlRequestFilterSensitiveLog: (
|
|
88
|
-
obj: CreateHomeRegionControlRequest
|
|
89
|
-
) => any;
|
|
90
|
-
export declare const HomeRegionControlFilterSensitiveLog: (
|
|
91
|
-
obj: HomeRegionControl
|
|
92
|
-
) => any;
|
|
93
|
-
export declare const CreateHomeRegionControlResultFilterSensitiveLog: (
|
|
94
|
-
obj: CreateHomeRegionControlResult
|
|
95
|
-
) => any;
|
|
96
|
-
export declare const DescribeHomeRegionControlsRequestFilterSensitiveLog: (
|
|
97
|
-
obj: DescribeHomeRegionControlsRequest
|
|
98
|
-
) => any;
|
|
99
|
-
export declare const DescribeHomeRegionControlsResultFilterSensitiveLog: (
|
|
100
|
-
obj: DescribeHomeRegionControlsResult
|
|
101
|
-
) => any;
|
|
102
|
-
export declare const GetHomeRegionRequestFilterSensitiveLog: (
|
|
103
|
-
obj: GetHomeRegionRequest
|
|
104
|
-
) => any;
|
|
105
|
-
export declare const GetHomeRegionResultFilterSensitiveLog: (
|
|
106
|
-
obj: GetHomeRegionResult
|
|
107
|
-
) => any;
|
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.298.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",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
14
15
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo migrationhub-config"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -20,9 +21,9 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.298.0",
|
|
24
25
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.298.0",
|
|
26
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|