@aws-sdk/client-migration-hub 3.51.0 → 3.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/MigrationHubServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +144 -1
- package/dist-cjs/protocols/Aws_json1_1.js +252 -1066
- package/dist-es/index.js +1 -0
- package/dist-es/models/MigrationHubServiceException.js +12 -0
- package/dist-es/models/models_0.js +133 -1
- package/dist-es/protocols/Aws_json1_1.js +529 -1115
- package/dist-types/MigrationHubClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MigrationHubServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +72 -31
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/MigrationHubClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/MigrationHubServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +52 -31
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateCreatedArtifactCommandInput, AssociateCreatedArtifactCommandOutput } from "./commands/AssociateCreatedArtifactCommand";
|
|
10
10
|
import { AssociateDiscoveredResourceCommandInput, AssociateDiscoveredResourceCommandOutput } from "./commands/AssociateDiscoveredResourceCommand";
|
|
11
11
|
import { CreateProgressUpdateStreamCommandInput, CreateProgressUpdateStreamCommandOutput } from "./commands/CreateProgressUpdateStreamCommand";
|
|
@@ -45,7 +45,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
45
45
|
* A function that can calculate the length of a request body.
|
|
46
46
|
* @internal
|
|
47
47
|
*/
|
|
48
|
-
bodyLengthChecker?:
|
|
48
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
49
49
|
/**
|
|
50
50
|
* A function that converts a stream into an array of bytes.
|
|
51
51
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from MigrationHub service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class MigrationHubServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { MigrationHubServiceException as __BaseException } from "./MigrationHubServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
8
9
|
Message?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
14
|
}
|
|
10
15
|
export declare enum ApplicationStatus {
|
|
11
16
|
COMPLETED = "COMPLETED",
|
|
@@ -98,62 +103,86 @@ export declare namespace AssociateCreatedArtifactResult {
|
|
|
98
103
|
* <p>Exception raised to indicate a successfully authorized action when the
|
|
99
104
|
* <code>DryRun</code> flag is set to "true".</p>
|
|
100
105
|
*/
|
|
101
|
-
export
|
|
102
|
-
name: "DryRunOperation";
|
|
103
|
-
$fault: "client";
|
|
106
|
+
export declare class DryRunOperation extends __BaseException {
|
|
107
|
+
readonly name: "DryRunOperation";
|
|
108
|
+
readonly $fault: "client";
|
|
104
109
|
Message?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
constructor(opts: __ExceptionOptionType<DryRunOperation, __BaseException>);
|
|
105
114
|
}
|
|
106
115
|
/**
|
|
107
116
|
* <p>The home region is not set. Set the home region to continue.</p>
|
|
108
117
|
*/
|
|
109
|
-
export
|
|
110
|
-
name: "HomeRegionNotSetException";
|
|
111
|
-
$fault: "client";
|
|
118
|
+
export declare class HomeRegionNotSetException extends __BaseException {
|
|
119
|
+
readonly name: "HomeRegionNotSetException";
|
|
120
|
+
readonly $fault: "client";
|
|
112
121
|
Message?: string;
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
constructor(opts: __ExceptionOptionType<HomeRegionNotSetException, __BaseException>);
|
|
113
126
|
}
|
|
114
127
|
/**
|
|
115
128
|
* <p>Exception raised when an internal, configuration, or dependency error is
|
|
116
129
|
* encountered.</p>
|
|
117
130
|
*/
|
|
118
|
-
export
|
|
119
|
-
name: "InternalServerError";
|
|
120
|
-
$fault: "server";
|
|
131
|
+
export declare class InternalServerError extends __BaseException {
|
|
132
|
+
readonly name: "InternalServerError";
|
|
133
|
+
readonly $fault: "server";
|
|
121
134
|
Message?: string;
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
122
139
|
}
|
|
123
140
|
/**
|
|
124
141
|
* <p>Exception raised when the provided input violates a policy constraint or is entered in
|
|
125
142
|
* the wrong format or data type.</p>
|
|
126
143
|
*/
|
|
127
|
-
export
|
|
128
|
-
name: "InvalidInputException";
|
|
129
|
-
$fault: "client";
|
|
144
|
+
export declare class InvalidInputException extends __BaseException {
|
|
145
|
+
readonly name: "InvalidInputException";
|
|
146
|
+
readonly $fault: "client";
|
|
130
147
|
Message?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @internal
|
|
150
|
+
*/
|
|
151
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
131
152
|
}
|
|
132
153
|
/**
|
|
133
154
|
* <p>Exception raised when the request references a resource (Application Discovery Service
|
|
134
155
|
* configuration, update stream, migration task, etc.) that does not exist in Application
|
|
135
156
|
* Discovery Service (Application Discovery Service) or in Migration Hub's repository.</p>
|
|
136
157
|
*/
|
|
137
|
-
export
|
|
138
|
-
name: "ResourceNotFoundException";
|
|
139
|
-
$fault: "client";
|
|
158
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
159
|
+
readonly name: "ResourceNotFoundException";
|
|
160
|
+
readonly $fault: "client";
|
|
140
161
|
Message?: string;
|
|
162
|
+
/**
|
|
163
|
+
* @internal
|
|
164
|
+
*/
|
|
165
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
141
166
|
}
|
|
142
167
|
/**
|
|
143
168
|
* <p>Exception raised when there is an internal, configuration, or dependency error
|
|
144
169
|
* encountered.</p>
|
|
145
170
|
*/
|
|
146
|
-
export
|
|
147
|
-
name: "ServiceUnavailableException";
|
|
148
|
-
$fault: "server";
|
|
171
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
172
|
+
readonly name: "ServiceUnavailableException";
|
|
173
|
+
readonly $fault: "server";
|
|
149
174
|
Message?: string;
|
|
175
|
+
/**
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
178
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
150
179
|
}
|
|
151
180
|
/**
|
|
152
181
|
* <p>The request was denied due to request throttling.</p>
|
|
153
182
|
*/
|
|
154
|
-
export
|
|
155
|
-
name: "ThrottlingException";
|
|
156
|
-
$fault: "client";
|
|
183
|
+
export declare class ThrottlingException extends __BaseException {
|
|
184
|
+
readonly name: "ThrottlingException";
|
|
185
|
+
readonly $fault: "client";
|
|
157
186
|
/**
|
|
158
187
|
* <p>A message that provides information about the exception.</p>
|
|
159
188
|
*/
|
|
@@ -162,15 +191,23 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
162
191
|
* <p>The number of seconds the caller should wait before retrying.</p>
|
|
163
192
|
*/
|
|
164
193
|
RetryAfterSeconds?: number;
|
|
194
|
+
/**
|
|
195
|
+
* @internal
|
|
196
|
+
*/
|
|
197
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
165
198
|
}
|
|
166
199
|
/**
|
|
167
200
|
* <p>Exception raised to indicate a request was not authorized when the <code>DryRun</code>
|
|
168
201
|
* flag is set to "true".</p>
|
|
169
202
|
*/
|
|
170
|
-
export
|
|
171
|
-
name: "UnauthorizedOperation";
|
|
172
|
-
$fault: "client";
|
|
203
|
+
export declare class UnauthorizedOperation extends __BaseException {
|
|
204
|
+
readonly name: "UnauthorizedOperation";
|
|
205
|
+
readonly $fault: "client";
|
|
173
206
|
Message?: string;
|
|
207
|
+
/**
|
|
208
|
+
* @internal
|
|
209
|
+
*/
|
|
210
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedOperation, __BaseException>);
|
|
174
211
|
}
|
|
175
212
|
/**
|
|
176
213
|
* <p>Object representing the on-premises resource being migrated.</p>
|
|
@@ -233,10 +270,14 @@ export declare namespace AssociateDiscoveredResourceResult {
|
|
|
233
270
|
* (Application Discovery Service); most likely due to a misconfigured policy or the
|
|
234
271
|
* <code>migrationhub-discovery</code> role is missing or not configured correctly.</p>
|
|
235
272
|
*/
|
|
236
|
-
export
|
|
237
|
-
name: "PolicyErrorException";
|
|
238
|
-
$fault: "client";
|
|
273
|
+
export declare class PolicyErrorException extends __BaseException {
|
|
274
|
+
readonly name: "PolicyErrorException";
|
|
275
|
+
readonly $fault: "client";
|
|
239
276
|
Message?: string;
|
|
277
|
+
/**
|
|
278
|
+
* @internal
|
|
279
|
+
*/
|
|
280
|
+
constructor(opts: __ExceptionOptionType<PolicyErrorException, __BaseException>);
|
|
240
281
|
}
|
|
241
282
|
export interface CreateProgressUpdateStreamRequest {
|
|
242
283
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateCreatedArtifactCommandInput, AssociateCreatedArtifactCommandOutput } from "./commands/AssociateCreatedArtifactCommand";
|
|
10
10
|
import { AssociateDiscoveredResourceCommandInput, AssociateDiscoveredResourceCommandOutput } from "./commands/AssociateDiscoveredResourceCommand";
|
|
11
11
|
import { CreateProgressUpdateStreamCommandInput, CreateProgressUpdateStreamCommandOutput } from "./commands/CreateProgressUpdateStreamCommand";
|
|
@@ -33,7 +33,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
33
33
|
|
|
34
34
|
urlParser?: __UrlParser;
|
|
35
35
|
|
|
36
|
-
bodyLengthChecker?:
|
|
36
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
37
37
|
|
|
38
38
|
streamCollector?: __StreamCollector;
|
|
39
39
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class MigrationHubServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { MigrationHubServiceException as __BaseException } from "./MigrationHubServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
6
7
|
Message?: string;
|
|
8
|
+
|
|
9
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
10
|
}
|
|
8
11
|
export declare enum ApplicationStatus {
|
|
9
12
|
COMPLETED = "COMPLETED",
|
|
@@ -55,55 +58,71 @@ export declare namespace AssociateCreatedArtifactResult {
|
|
|
55
58
|
const filterSensitiveLog: (obj: AssociateCreatedArtifactResult) => any;
|
|
56
59
|
}
|
|
57
60
|
|
|
58
|
-
export
|
|
59
|
-
name: "DryRunOperation";
|
|
60
|
-
$fault: "client";
|
|
61
|
+
export declare class DryRunOperation extends __BaseException {
|
|
62
|
+
readonly name: "DryRunOperation";
|
|
63
|
+
readonly $fault: "client";
|
|
61
64
|
Message?: string;
|
|
65
|
+
|
|
66
|
+
constructor(opts: __ExceptionOptionType<DryRunOperation, __BaseException>);
|
|
62
67
|
}
|
|
63
68
|
|
|
64
|
-
export
|
|
65
|
-
name: "HomeRegionNotSetException";
|
|
66
|
-
$fault: "client";
|
|
69
|
+
export declare class HomeRegionNotSetException extends __BaseException {
|
|
70
|
+
readonly name: "HomeRegionNotSetException";
|
|
71
|
+
readonly $fault: "client";
|
|
67
72
|
Message?: string;
|
|
73
|
+
|
|
74
|
+
constructor(opts: __ExceptionOptionType<HomeRegionNotSetException, __BaseException>);
|
|
68
75
|
}
|
|
69
76
|
|
|
70
|
-
export
|
|
71
|
-
name: "InternalServerError";
|
|
72
|
-
$fault: "server";
|
|
77
|
+
export declare class InternalServerError extends __BaseException {
|
|
78
|
+
readonly name: "InternalServerError";
|
|
79
|
+
readonly $fault: "server";
|
|
73
80
|
Message?: string;
|
|
81
|
+
|
|
82
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
74
83
|
}
|
|
75
84
|
|
|
76
|
-
export
|
|
77
|
-
name: "InvalidInputException";
|
|
78
|
-
$fault: "client";
|
|
85
|
+
export declare class InvalidInputException extends __BaseException {
|
|
86
|
+
readonly name: "InvalidInputException";
|
|
87
|
+
readonly $fault: "client";
|
|
79
88
|
Message?: string;
|
|
89
|
+
|
|
90
|
+
constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
|
|
80
91
|
}
|
|
81
92
|
|
|
82
|
-
export
|
|
83
|
-
name: "ResourceNotFoundException";
|
|
84
|
-
$fault: "client";
|
|
93
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
94
|
+
readonly name: "ResourceNotFoundException";
|
|
95
|
+
readonly $fault: "client";
|
|
85
96
|
Message?: string;
|
|
97
|
+
|
|
98
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
86
99
|
}
|
|
87
100
|
|
|
88
|
-
export
|
|
89
|
-
name: "ServiceUnavailableException";
|
|
90
|
-
$fault: "server";
|
|
101
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
102
|
+
readonly name: "ServiceUnavailableException";
|
|
103
|
+
readonly $fault: "server";
|
|
91
104
|
Message?: string;
|
|
105
|
+
|
|
106
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
92
107
|
}
|
|
93
108
|
|
|
94
|
-
export
|
|
95
|
-
name: "ThrottlingException";
|
|
96
|
-
$fault: "client";
|
|
109
|
+
export declare class ThrottlingException extends __BaseException {
|
|
110
|
+
readonly name: "ThrottlingException";
|
|
111
|
+
readonly $fault: "client";
|
|
97
112
|
|
|
98
113
|
Message: string | undefined;
|
|
99
114
|
|
|
100
115
|
RetryAfterSeconds?: number;
|
|
116
|
+
|
|
117
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
101
118
|
}
|
|
102
119
|
|
|
103
|
-
export
|
|
104
|
-
name: "UnauthorizedOperation";
|
|
105
|
-
$fault: "client";
|
|
120
|
+
export declare class UnauthorizedOperation extends __BaseException {
|
|
121
|
+
readonly name: "UnauthorizedOperation";
|
|
122
|
+
readonly $fault: "client";
|
|
106
123
|
Message?: string;
|
|
124
|
+
|
|
125
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedOperation, __BaseException>);
|
|
107
126
|
}
|
|
108
127
|
|
|
109
128
|
export interface DiscoveredResource {
|
|
@@ -137,10 +156,12 @@ export declare namespace AssociateDiscoveredResourceResult {
|
|
|
137
156
|
const filterSensitiveLog: (obj: AssociateDiscoveredResourceResult) => any;
|
|
138
157
|
}
|
|
139
158
|
|
|
140
|
-
export
|
|
141
|
-
name: "PolicyErrorException";
|
|
142
|
-
$fault: "client";
|
|
159
|
+
export declare class PolicyErrorException extends __BaseException {
|
|
160
|
+
readonly name: "PolicyErrorException";
|
|
161
|
+
readonly $fault: "client";
|
|
143
162
|
Message?: string;
|
|
163
|
+
|
|
164
|
+
constructor(opts: __ExceptionOptionType<PolicyErrorException, __BaseException>);
|
|
144
165
|
}
|
|
145
166
|
export interface CreateProgressUpdateStreamRequest {
|
|
146
167
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: MigrationHubClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-migration-hub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Migration Hub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.54.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
39
|
+
"@aws-sdk/types": "3.54.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|