@aws-sdk/client-migrationhub-config 3.529.1 → 3.535.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-types/MigrationHubConfig.d.ts +3 -1
- package/dist-types/MigrationHubConfigClient.d.ts +1 -1
- package/dist-types/commands/CreateHomeRegionControlCommand.d.ts +2 -1
- package/dist-types/commands/DeleteHomeRegionControlCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHomeRegionControlsCommand.d.ts +2 -1
- package/dist-types/commands/GetHomeRegionCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +28 -28
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/MigrationHubConfig.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateHomeRegionControlCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteHomeRegionControlCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeHomeRegionControlsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetHomeRegionCommand.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +40 -40
|
@@ -20,18 +20,19 @@ export interface MigrationHubConfig {
|
|
|
20
20
|
/**
|
|
21
21
|
* @see {@link DescribeHomeRegionControlsCommand}
|
|
22
22
|
*/
|
|
23
|
+
describeHomeRegionControls(): Promise<DescribeHomeRegionControlsCommandOutput>;
|
|
23
24
|
describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHomeRegionControlsCommandOutput>;
|
|
24
25
|
describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void): void;
|
|
25
26
|
describeHomeRegionControls(args: DescribeHomeRegionControlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void): void;
|
|
26
27
|
/**
|
|
27
28
|
* @see {@link GetHomeRegionCommand}
|
|
28
29
|
*/
|
|
30
|
+
getHomeRegion(): Promise<GetHomeRegionCommandOutput>;
|
|
29
31
|
getHomeRegion(args: GetHomeRegionCommandInput, options?: __HttpHandlerOptions): Promise<GetHomeRegionCommandOutput>;
|
|
30
32
|
getHomeRegion(args: GetHomeRegionCommandInput, cb: (err: any, data?: GetHomeRegionCommandOutput) => void): void;
|
|
31
33
|
getHomeRegion(args: GetHomeRegionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHomeRegionCommandOutput) => void): void;
|
|
32
34
|
}
|
|
33
35
|
/**
|
|
34
|
-
* @public
|
|
35
36
|
* <p>The AWS Migration Hub home region APIs are available specifically for working with your
|
|
36
37
|
* Migration Hub home region. You can use these APIs to determine a home region, as well as to
|
|
37
38
|
* create and work with controls that describe the home region.</p>
|
|
@@ -56,6 +57,7 @@ export interface MigrationHubConfig {
|
|
|
56
57
|
* </ul>
|
|
57
58
|
* <p>For specific API usage, see the sections that follow in this AWS Migration Hub Home Region
|
|
58
59
|
* API reference. </p>
|
|
60
|
+
* @public
|
|
59
61
|
*/
|
|
60
62
|
export declare class MigrationHubConfig extends MigrationHubConfigClient implements MigrationHubConfig {
|
|
61
63
|
}
|
|
@@ -155,7 +155,6 @@ export type MigrationHubConfigClientResolvedConfigType = __SmithyResolvedConfigu
|
|
|
155
155
|
export interface MigrationHubConfigClientResolvedConfig extends MigrationHubConfigClientResolvedConfigType {
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
|
-
* @public
|
|
159
158
|
* <p>The AWS Migration Hub home region APIs are available specifically for working with your
|
|
160
159
|
* Migration Hub home region. You can use these APIs to determine a home region, as well as to
|
|
161
160
|
* create and work with controls that describe the home region.</p>
|
|
@@ -180,6 +179,7 @@ export interface MigrationHubConfigClientResolvedConfig extends MigrationHubConf
|
|
|
180
179
|
* </ul>
|
|
181
180
|
* <p>For specific API usage, see the sections that follow in this AWS Migration Hub Home Region
|
|
182
181
|
* API reference. </p>
|
|
182
|
+
* @public
|
|
183
183
|
*/
|
|
184
184
|
export declare class MigrationHubConfigClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MigrationHubConfigClientResolvedConfig> {
|
|
185
185
|
/**
|
|
@@ -22,10 +22,10 @@ export interface CreateHomeRegionControlCommandOutput extends CreateHomeRegionCo
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateHomeRegionControlCommand_base: {
|
|
24
24
|
new (input: CreateHomeRegionControlCommandInput): import("@smithy/smithy-client").CommandImpl<CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateHomeRegionControlCommandInput): import("@smithy/smithy-client").CommandImpl<CreateHomeRegionControlCommandInput, CreateHomeRegionControlCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>This API sets up the home region for the calling account only.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -88,6 +88,7 @@ declare const CreateHomeRegionControlCommand_base: {
|
|
|
88
88
|
* @throws {@link MigrationHubConfigServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from MigrationHubConfig service.</p>
|
|
90
90
|
*
|
|
91
|
+
* @public
|
|
91
92
|
*/
|
|
92
93
|
export declare class CreateHomeRegionControlCommand extends CreateHomeRegionControlCommand_base {
|
|
93
94
|
}
|
|
@@ -22,10 +22,10 @@ export interface DeleteHomeRegionControlCommandOutput extends DeleteHomeRegionCo
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteHomeRegionControlCommand_base: {
|
|
24
24
|
new (input: DeleteHomeRegionControlCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHomeRegionControlCommandInput, DeleteHomeRegionControlCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteHomeRegionControlCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHomeRegionControlCommandInput, DeleteHomeRegionControlCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
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>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -69,6 +69,7 @@ declare const DeleteHomeRegionControlCommand_base: {
|
|
|
69
69
|
* @throws {@link MigrationHubConfigServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from MigrationHubConfig service.</p>
|
|
71
71
|
*
|
|
72
|
+
* @public
|
|
72
73
|
*/
|
|
73
74
|
export declare class DeleteHomeRegionControlCommand extends DeleteHomeRegionControlCommand_base {
|
|
74
75
|
}
|
|
@@ -22,10 +22,10 @@ export interface DescribeHomeRegionControlsCommandOutput extends DescribeHomeReg
|
|
|
22
22
|
}
|
|
23
23
|
declare const DescribeHomeRegionControlsCommand_base: {
|
|
24
24
|
new (input: DescribeHomeRegionControlsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [DescribeHomeRegionControlsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeHomeRegionControlsCommandInput, DescribeHomeRegionControlsCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>This API permits filtering on the <code>ControlId</code> and <code>HomeRegion</code>
|
|
30
30
|
* fields.</p>
|
|
31
31
|
* @example
|
|
@@ -90,6 +90,7 @@ declare const DescribeHomeRegionControlsCommand_base: {
|
|
|
90
90
|
* @throws {@link MigrationHubConfigServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from MigrationHubConfig service.</p>
|
|
92
92
|
*
|
|
93
|
+
* @public
|
|
93
94
|
*/
|
|
94
95
|
export declare class DescribeHomeRegionControlsCommand extends DescribeHomeRegionControlsCommand_base {
|
|
95
96
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetHomeRegionCommandOutput extends GetHomeRegionResult, __Metad
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetHomeRegionCommand_base: {
|
|
24
24
|
new (input: GetHomeRegionCommandInput): import("@smithy/smithy-client").CommandImpl<GetHomeRegionCommandInput, GetHomeRegionCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetHomeRegionCommandInput]): import("@smithy/smithy-client").CommandImpl<GetHomeRegionCommandInput, GetHomeRegionCommandOutput, MigrationHubConfigClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns the calling account’s home region, if configured. This API is used by other AWS
|
|
30
30
|
* services to determine the regional endpoint for calling AWS Application Discovery Service and
|
|
31
31
|
* Migration Hub. You must call <code>GetHomeRegion</code> at least once before you call any
|
|
@@ -73,6 +73,7 @@ declare const GetHomeRegionCommand_base: {
|
|
|
73
73
|
* @throws {@link MigrationHubConfigServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from MigrationHubConfig service.</p>
|
|
75
75
|
*
|
|
76
|
+
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class GetHomeRegionCommand extends GetHomeRegionCommand_base {
|
|
78
79
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { MigrationHubConfigServiceException as __BaseException } from "./MigrationHubConfigServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -25,21 +25,21 @@ export declare const TargetType: {
|
|
|
25
25
|
*/
|
|
26
26
|
export type TargetType = (typeof TargetType)[keyof typeof TargetType];
|
|
27
27
|
/**
|
|
28
|
-
* @public
|
|
29
28
|
* <p>The target parameter specifies the identifier to which the home region is applied, which
|
|
30
29
|
* is always an <code>ACCOUNT</code>. It applies the home region to the current
|
|
31
30
|
* <code>ACCOUNT</code>.</p>
|
|
31
|
+
* @public
|
|
32
32
|
*/
|
|
33
33
|
export interface Target {
|
|
34
34
|
/**
|
|
35
|
-
* @public
|
|
36
35
|
* <p>The target type is always an <code>ACCOUNT</code>.</p>
|
|
36
|
+
* @public
|
|
37
37
|
*/
|
|
38
38
|
Type: TargetType | undefined;
|
|
39
39
|
/**
|
|
40
|
-
* @public
|
|
41
40
|
* <p>The <code>TargetID</code> is a 12-character identifier of the <code>ACCOUNT</code> for
|
|
42
41
|
* which the control was created. (This must be the current account.) </p>
|
|
42
|
+
* @public
|
|
43
43
|
*/
|
|
44
44
|
Id?: string;
|
|
45
45
|
}
|
|
@@ -48,53 +48,53 @@ export interface Target {
|
|
|
48
48
|
*/
|
|
49
49
|
export interface CreateHomeRegionControlRequest {
|
|
50
50
|
/**
|
|
51
|
-
* @public
|
|
52
51
|
* <p>The name of the home region of the calling account.</p>
|
|
52
|
+
* @public
|
|
53
53
|
*/
|
|
54
54
|
HomeRegion: string | undefined;
|
|
55
55
|
/**
|
|
56
|
-
* @public
|
|
57
56
|
* <p>The account for which this command sets up a home region control. The <code>Target</code>
|
|
58
57
|
* is always of type <code>ACCOUNT</code>.</p>
|
|
58
|
+
* @public
|
|
59
59
|
*/
|
|
60
60
|
Target: Target | undefined;
|
|
61
61
|
/**
|
|
62
|
-
* @public
|
|
63
62
|
* <p>Optional Boolean flag to indicate whether any effect should take place. It tests whether
|
|
64
63
|
* the caller has permission to make the call.</p>
|
|
64
|
+
* @public
|
|
65
65
|
*/
|
|
66
66
|
DryRun?: boolean;
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
* @public
|
|
70
69
|
* <p>A home region control is an object that specifies the home region for an account, with
|
|
71
70
|
* some additional information. It contains a target (always of type <code>ACCOUNT</code>), an
|
|
72
71
|
* ID, and a time at which the home region was set.</p>
|
|
72
|
+
* @public
|
|
73
73
|
*/
|
|
74
74
|
export interface HomeRegionControl {
|
|
75
75
|
/**
|
|
76
|
-
* @public
|
|
77
76
|
* <p>A unique identifier that's generated for each home region control. It's always a string
|
|
78
77
|
* that begins with "hrc-" followed by 12 lowercase letters and numbers.</p>
|
|
78
|
+
* @public
|
|
79
79
|
*/
|
|
80
80
|
ControlId?: string;
|
|
81
81
|
/**
|
|
82
|
-
* @public
|
|
83
82
|
* <p>The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1"
|
|
84
83
|
* are valid home regions.</p>
|
|
84
|
+
* @public
|
|
85
85
|
*/
|
|
86
86
|
HomeRegion?: string;
|
|
87
87
|
/**
|
|
88
|
-
* @public
|
|
89
88
|
* <p>The target parameter specifies the identifier to which the home region is applied, which
|
|
90
89
|
* is always an <code>ACCOUNT</code>. It applies the home region to the current
|
|
91
90
|
* <code>ACCOUNT</code>.</p>
|
|
91
|
+
* @public
|
|
92
92
|
*/
|
|
93
93
|
Target?: Target;
|
|
94
94
|
/**
|
|
95
|
-
* @public
|
|
96
95
|
* <p>A timestamp representing the time when the customer called
|
|
97
96
|
* <code>CreateHomeregionControl</code> and set the home region for the account.</p>
|
|
97
|
+
* @public
|
|
98
98
|
*/
|
|
99
99
|
RequestedTime?: Date;
|
|
100
100
|
}
|
|
@@ -103,16 +103,16 @@ export interface HomeRegionControl {
|
|
|
103
103
|
*/
|
|
104
104
|
export interface CreateHomeRegionControlResult {
|
|
105
105
|
/**
|
|
106
|
-
* @public
|
|
107
106
|
* <p>This object is the <code>HomeRegionControl</code> object that's returned by a successful
|
|
108
107
|
* call to <code>CreateHomeRegionControl</code>.</p>
|
|
108
|
+
* @public
|
|
109
109
|
*/
|
|
110
110
|
HomeRegionControl?: HomeRegionControl;
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
|
-
* @public
|
|
114
113
|
* <p>Exception raised to indicate that authorization of an action was successful, when the
|
|
115
114
|
* <code>DryRun</code> flag is set to true.</p>
|
|
115
|
+
* @public
|
|
116
116
|
*/
|
|
117
117
|
export declare class DryRunOperation extends __BaseException {
|
|
118
118
|
readonly name: "DryRunOperation";
|
|
@@ -124,9 +124,9 @@ export declare class DryRunOperation extends __BaseException {
|
|
|
124
124
|
constructor(opts: __ExceptionOptionType<DryRunOperation, __BaseException>);
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
|
-
* @public
|
|
128
127
|
* <p>Exception raised when an internal, configuration, or dependency error is
|
|
129
128
|
* encountered.</p>
|
|
129
|
+
* @public
|
|
130
130
|
*/
|
|
131
131
|
export declare class InternalServerError extends __BaseException {
|
|
132
132
|
readonly name: "InternalServerError";
|
|
@@ -138,9 +138,9 @@ export declare class InternalServerError extends __BaseException {
|
|
|
138
138
|
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
|
-
* @public
|
|
142
141
|
* <p>Exception raised when the provided input violates a policy constraint or is entered in the
|
|
143
142
|
* wrong format or data type.</p>
|
|
143
|
+
* @public
|
|
144
144
|
*/
|
|
145
145
|
export declare class InvalidInputException extends __BaseException {
|
|
146
146
|
readonly name: "InvalidInputException";
|
|
@@ -152,9 +152,9 @@ export declare class InvalidInputException extends __BaseException {
|
|
|
152
152
|
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
|
-
* @public
|
|
156
155
|
* <p>Exception raised when a request fails due to temporary unavailability of the
|
|
157
156
|
* service.</p>
|
|
157
|
+
* @public
|
|
158
158
|
*/
|
|
159
159
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
160
160
|
readonly name: "ServiceUnavailableException";
|
|
@@ -166,16 +166,16 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
166
166
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
* @public
|
|
170
169
|
* <p>The request was denied due to request throttling.</p>
|
|
170
|
+
* @public
|
|
171
171
|
*/
|
|
172
172
|
export declare class ThrottlingException extends __BaseException {
|
|
173
173
|
readonly name: "ThrottlingException";
|
|
174
174
|
readonly $fault: "client";
|
|
175
175
|
Message: string | undefined;
|
|
176
176
|
/**
|
|
177
|
-
* @public
|
|
178
177
|
* <p>The number of seconds the caller should wait before retrying.</p>
|
|
178
|
+
* @public
|
|
179
179
|
*/
|
|
180
180
|
RetryAfterSeconds?: number;
|
|
181
181
|
/**
|
|
@@ -188,9 +188,9 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
188
188
|
*/
|
|
189
189
|
export interface DeleteHomeRegionControlRequest {
|
|
190
190
|
/**
|
|
191
|
-
* @public
|
|
192
191
|
* <p>A unique identifier that's generated for each home region control. It's always a string
|
|
193
192
|
* that begins with "hrc-" followed by 12 lowercase letters and numbers.</p>
|
|
193
|
+
* @public
|
|
194
194
|
*/
|
|
195
195
|
ControlId: string | undefined;
|
|
196
196
|
}
|
|
@@ -204,33 +204,33 @@ export interface DeleteHomeRegionControlResult {
|
|
|
204
204
|
*/
|
|
205
205
|
export interface DescribeHomeRegionControlsRequest {
|
|
206
206
|
/**
|
|
207
|
-
* @public
|
|
208
207
|
* <p>The <code>ControlID</code> is a unique identifier string of your
|
|
209
208
|
* <code>HomeRegionControl</code> object.</p>
|
|
209
|
+
* @public
|
|
210
210
|
*/
|
|
211
211
|
ControlId?: string;
|
|
212
212
|
/**
|
|
213
|
-
* @public
|
|
214
213
|
* <p>The name of the home region you'd like to view.</p>
|
|
214
|
+
* @public
|
|
215
215
|
*/
|
|
216
216
|
HomeRegion?: string;
|
|
217
217
|
/**
|
|
218
|
-
* @public
|
|
219
218
|
* <p>The target parameter specifies the identifier to which the home region is applied, which
|
|
220
219
|
* is always of type <code>ACCOUNT</code>. It applies the home region to the current
|
|
221
220
|
* <code>ACCOUNT</code>.</p>
|
|
221
|
+
* @public
|
|
222
222
|
*/
|
|
223
223
|
Target?: Target;
|
|
224
224
|
/**
|
|
225
|
-
* @public
|
|
226
225
|
* <p>The maximum number of filtering results to display per page. </p>
|
|
226
|
+
* @public
|
|
227
227
|
*/
|
|
228
228
|
MaxResults?: number;
|
|
229
229
|
/**
|
|
230
|
-
* @public
|
|
231
230
|
* <p>If a <code>NextToken</code> was returned by a previous call, more results are available.
|
|
232
231
|
* To retrieve the next page of results, make the call again using the returned token in
|
|
233
232
|
* <code>NextToken</code>.</p>
|
|
233
|
+
* @public
|
|
234
234
|
*/
|
|
235
235
|
NextToken?: string;
|
|
236
236
|
}
|
|
@@ -239,15 +239,15 @@ export interface DescribeHomeRegionControlsRequest {
|
|
|
239
239
|
*/
|
|
240
240
|
export interface DescribeHomeRegionControlsResult {
|
|
241
241
|
/**
|
|
242
|
-
* @public
|
|
243
242
|
* <p>An array that contains your <code>HomeRegionControl</code> objects.</p>
|
|
243
|
+
* @public
|
|
244
244
|
*/
|
|
245
245
|
HomeRegionControls?: HomeRegionControl[];
|
|
246
246
|
/**
|
|
247
|
-
* @public
|
|
248
247
|
* <p>If a <code>NextToken</code> was returned by a previous call, more results are available.
|
|
249
248
|
* To retrieve the next page of results, make the call again using the returned token in
|
|
250
249
|
* <code>NextToken</code>.</p>
|
|
250
|
+
* @public
|
|
251
251
|
*/
|
|
252
252
|
NextToken?: string;
|
|
253
253
|
}
|
|
@@ -261,8 +261,8 @@ export interface GetHomeRegionRequest {
|
|
|
261
261
|
*/
|
|
262
262
|
export interface GetHomeRegionResult {
|
|
263
263
|
/**
|
|
264
|
-
* @public
|
|
265
264
|
* <p>The name of the home region of the calling account.</p>
|
|
265
|
+
* @public
|
|
266
266
|
*/
|
|
267
267
|
HomeRegion?: string;
|
|
268
268
|
}
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
|
|
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@smithy/types").Decoder;
|
|
14
|
-
base64Encoder:
|
|
14
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
15
15
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
16
|
-
utf8Encoder:
|
|
16
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
17
17
|
disableHostPrefix: boolean;
|
|
18
18
|
serviceId: string;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -5,7 +5,7 @@ import { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder:
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: MigrationHubConfigClientConfig)
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
};
|
|
@@ -43,6 +43,7 @@ export interface MigrationHubConfig {
|
|
|
43
43
|
options: __HttpHandlerOptions,
|
|
44
44
|
cb: (err: any, data?: DeleteHomeRegionControlCommandOutput) => void
|
|
45
45
|
): void;
|
|
46
|
+
describeHomeRegionControls(): Promise<DescribeHomeRegionControlsCommandOutput>;
|
|
46
47
|
describeHomeRegionControls(
|
|
47
48
|
args: DescribeHomeRegionControlsCommandInput,
|
|
48
49
|
options?: __HttpHandlerOptions
|
|
@@ -56,6 +57,7 @@ export interface MigrationHubConfig {
|
|
|
56
57
|
options: __HttpHandlerOptions,
|
|
57
58
|
cb: (err: any, data?: DescribeHomeRegionControlsCommandOutput) => void
|
|
58
59
|
): void;
|
|
60
|
+
getHomeRegion(): Promise<GetHomeRegionCommandOutput>;
|
|
59
61
|
getHomeRegion(
|
|
60
62
|
args: GetHomeRegionCommandInput,
|
|
61
63
|
options?: __HttpHandlerOptions
|
|
@@ -25,6 +25,15 @@ declare const CreateHomeRegionControlCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: CreateHomeRegionControlCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
CreateHomeRegionControlCommandInput,
|
|
32
|
+
CreateHomeRegionControlCommandOutput,
|
|
33
|
+
MigrationHubConfigClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class CreateHomeRegionControlCommand extends CreateHomeRegionControlCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const DeleteHomeRegionControlCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: DeleteHomeRegionControlCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DeleteHomeRegionControlCommandInput,
|
|
32
|
+
DeleteHomeRegionControlCommandOutput,
|
|
33
|
+
MigrationHubConfigClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class DeleteHomeRegionControlCommand extends DeleteHomeRegionControlCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const DescribeHomeRegionControlsCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [DescribeHomeRegionControlsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
DescribeHomeRegionControlsCommandInput,
|
|
32
|
+
DescribeHomeRegionControlsCommandOutput,
|
|
33
|
+
MigrationHubConfigClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class DescribeHomeRegionControlsCommand extends DescribeHomeRegionControlsCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const GetHomeRegionCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
...[input]: [] | [GetHomeRegionCommandInput]
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
GetHomeRegionCommandInput,
|
|
28
|
+
GetHomeRegionCommandOutput,
|
|
29
|
+
MigrationHubConfigClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class GetHomeRegionCommand extends GetHomeRegionCommand_base {}
|
|
@@ -27,9 +27,9 @@ export declare const getRuntimeConfig: (
|
|
|
27
27
|
apiVersion: string;
|
|
28
28
|
urlParser: import("@smithy/types").UrlParser;
|
|
29
29
|
base64Decoder: import("@smithy/types").Decoder;
|
|
30
|
-
base64Encoder:
|
|
30
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
31
31
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
32
|
-
utf8Encoder:
|
|
32
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
33
33
|
disableHostPrefix: boolean;
|
|
34
34
|
serviceId: string;
|
|
35
35
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,9 +31,9 @@ export declare const getRuntimeConfig: (
|
|
|
31
31
|
apiVersion: string;
|
|
32
32
|
urlParser: import("@smithy/types").UrlParser;
|
|
33
33
|
base64Decoder: import("@smithy/types").Decoder;
|
|
34
|
-
base64Encoder:
|
|
34
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
35
35
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
36
|
-
utf8Encoder:
|
|
36
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
37
37
|
disableHostPrefix: boolean;
|
|
38
38
|
serviceId: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
@@ -15,9 +15,9 @@ export declare const getRuntimeConfig: (
|
|
|
15
15
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
16
16
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
17
|
base64Decoder: import("@smithy/types").Decoder;
|
|
18
|
-
base64Encoder:
|
|
18
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder:
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
21
|
disableHostPrefix: boolean;
|
|
22
22
|
serviceId: string;
|
|
23
23
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -4,7 +4,7 @@ export declare const getRuntimeConfig: (
|
|
|
4
4
|
) => {
|
|
5
5
|
apiVersion: string;
|
|
6
6
|
base64Decoder: import("@smithy/types").Decoder;
|
|
7
|
-
base64Encoder:
|
|
7
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
8
8
|
disableHostPrefix: boolean;
|
|
9
9
|
endpointProvider: (
|
|
10
10
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
@@ -19,5 +19,5 @@ export declare const getRuntimeConfig: (
|
|
|
19
19
|
serviceId: string;
|
|
20
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
21
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
22
|
-
utf8Encoder:
|
|
22
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
23
23
|
};
|
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.535.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-migrationhub-config",
|
|
@@ -20,47 +20,47 @@
|
|
|
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.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.
|
|
36
|
-
"@smithy/core": "^1.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.
|
|
38
|
-
"@smithy/hash-node": "^2.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
43
|
-
"@smithy/middleware-serde": "^2.
|
|
44
|
-
"@smithy/middleware-stack": "^2.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
52
|
-
"@smithy/util-body-length-browser": "^2.
|
|
53
|
-
"@smithy/util-body-length-node": "^2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.
|
|
57
|
-
"@smithy/util-middleware": "^2.
|
|
58
|
-
"@smithy/util-retry": "^2.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
60
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.535.0",
|
|
24
|
+
"@aws-sdk/core": "3.535.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.535.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.535.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
|
+
"@aws-sdk/types": "3.535.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.535.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
+
"@smithy/core": "^1.4.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
|
+
"@smithy/hash-node": "^2.2.0",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-serde": "^2.3.0",
|
|
44
|
+
"@smithy/middleware-stack": "^2.2.0",
|
|
45
|
+
"@smithy/node-config-provider": "^2.3.0",
|
|
46
|
+
"@smithy/node-http-handler": "^2.5.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.3.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
49
|
+
"@smithy/types": "^2.12.0",
|
|
50
|
+
"@smithy/url-parser": "^2.2.0",
|
|
51
|
+
"@smithy/util-base64": "^2.3.0",
|
|
52
|
+
"@smithy/util-body-length-browser": "^2.2.0",
|
|
53
|
+
"@smithy/util-body-length-node": "^2.3.0",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.3.0",
|
|
56
|
+
"@smithy/util-endpoints": "^1.2.0",
|
|
57
|
+
"@smithy/util-middleware": "^2.2.0",
|
|
58
|
+
"@smithy/util-retry": "^2.2.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.3.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
63
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"concurrently": "7.0.0",
|