@aws-sdk/client-migration-hub-refactor-spaces 3.928.0 → 3.930.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/index.js +1148 -1376
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/MigrationHubRefactorSpacesClient.js +2 -0
- package/dist-es/commands/CreateApplicationCommand.js +3 -10
- package/dist-es/commands/CreateEnvironmentCommand.js +3 -10
- package/dist-es/commands/CreateRouteCommand.js +3 -10
- package/dist-es/commands/CreateServiceCommand.js +3 -10
- package/dist-es/commands/DeleteApplicationCommand.js +3 -9
- package/dist-es/commands/DeleteEnvironmentCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteRouteCommand.js +3 -9
- package/dist-es/commands/DeleteServiceCommand.js +3 -9
- package/dist-es/commands/GetApplicationCommand.js +3 -10
- package/dist-es/commands/GetEnvironmentCommand.js +3 -10
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
- package/dist-es/commands/GetRouteCommand.js +3 -10
- package/dist-es/commands/GetServiceCommand.js +3 -10
- package/dist-es/commands/ListApplicationsCommand.js +3 -10
- package/dist-es/commands/ListEnvironmentVpcsCommand.js +3 -9
- package/dist-es/commands/ListEnvironmentsCommand.js +3 -10
- package/dist-es/commands/ListRoutesCommand.js +3 -10
- package/dist-es/commands/ListServicesCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateRouteCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -101
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1085 -0
- package/dist-types/MigrationHubRefactorSpacesClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -92
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +110 -0
- package/dist-types/ts3.4/MigrationHubRefactorSpacesClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -67
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +116 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -1069
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -218
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -293
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UntagResourceCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("RefactorSpaces", "UntagResource", {})
|
|
18
13
|
.n("MigrationHubRefactorSpacesClient", "UntagResourceCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UntagResourceCommand)
|
|
21
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRoute } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRouteCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("RefactorSpaces", "UpdateRoute", {})
|
|
17
13
|
.n("MigrationHubRefactorSpacesClient", "UpdateRouteCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRouteCommand)
|
|
20
|
-
.de(de_UpdateRouteCommand)
|
|
14
|
+
.sc(UpdateRoute)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -228,103 +227,3 @@ export class InvalidResourcePolicyException extends __BaseException {
|
|
|
228
227
|
this.Message = opts.Message;
|
|
229
228
|
}
|
|
230
229
|
}
|
|
231
|
-
export const ApplicationSummaryFilterSensitiveLog = (obj) => ({
|
|
232
|
-
...obj,
|
|
233
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
234
|
-
});
|
|
235
|
-
export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
236
|
-
...obj,
|
|
237
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
238
|
-
});
|
|
239
|
-
export const CreateApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
240
|
-
...obj,
|
|
241
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
242
|
-
});
|
|
243
|
-
export const CreateEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
244
|
-
...obj,
|
|
245
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
246
|
-
});
|
|
247
|
-
export const CreateEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
248
|
-
...obj,
|
|
249
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
250
|
-
});
|
|
251
|
-
export const CreateRouteRequestFilterSensitiveLog = (obj) => ({
|
|
252
|
-
...obj,
|
|
253
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
254
|
-
});
|
|
255
|
-
export const CreateRouteResponseFilterSensitiveLog = (obj) => ({
|
|
256
|
-
...obj,
|
|
257
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
258
|
-
});
|
|
259
|
-
export const CreateServiceRequestFilterSensitiveLog = (obj) => ({
|
|
260
|
-
...obj,
|
|
261
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
262
|
-
});
|
|
263
|
-
export const CreateServiceResponseFilterSensitiveLog = (obj) => ({
|
|
264
|
-
...obj,
|
|
265
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
266
|
-
});
|
|
267
|
-
export const EnvironmentSummaryFilterSensitiveLog = (obj) => ({
|
|
268
|
-
...obj,
|
|
269
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
270
|
-
});
|
|
271
|
-
export const GetApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
272
|
-
...obj,
|
|
273
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
274
|
-
});
|
|
275
|
-
export const GetEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
276
|
-
...obj,
|
|
277
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
278
|
-
});
|
|
279
|
-
export const GetRouteResponseFilterSensitiveLog = (obj) => ({
|
|
280
|
-
...obj,
|
|
281
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
282
|
-
});
|
|
283
|
-
export const GetServiceResponseFilterSensitiveLog = (obj) => ({
|
|
284
|
-
...obj,
|
|
285
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
286
|
-
});
|
|
287
|
-
export const ListApplicationsResponseFilterSensitiveLog = (obj) => ({
|
|
288
|
-
...obj,
|
|
289
|
-
...(obj.ApplicationSummaryList && {
|
|
290
|
-
ApplicationSummaryList: obj.ApplicationSummaryList.map((item) => ApplicationSummaryFilterSensitiveLog(item)),
|
|
291
|
-
}),
|
|
292
|
-
});
|
|
293
|
-
export const ListEnvironmentsResponseFilterSensitiveLog = (obj) => ({
|
|
294
|
-
...obj,
|
|
295
|
-
...(obj.EnvironmentSummaryList && {
|
|
296
|
-
EnvironmentSummaryList: obj.EnvironmentSummaryList.map((item) => EnvironmentSummaryFilterSensitiveLog(item)),
|
|
297
|
-
}),
|
|
298
|
-
});
|
|
299
|
-
export const RouteSummaryFilterSensitiveLog = (obj) => ({
|
|
300
|
-
...obj,
|
|
301
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
302
|
-
});
|
|
303
|
-
export const ListRoutesResponseFilterSensitiveLog = (obj) => ({
|
|
304
|
-
...obj,
|
|
305
|
-
...(obj.RouteSummaryList && {
|
|
306
|
-
RouteSummaryList: obj.RouteSummaryList.map((item) => RouteSummaryFilterSensitiveLog(item)),
|
|
307
|
-
}),
|
|
308
|
-
});
|
|
309
|
-
export const ServiceSummaryFilterSensitiveLog = (obj) => ({
|
|
310
|
-
...obj,
|
|
311
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
312
|
-
});
|
|
313
|
-
export const ListServicesResponseFilterSensitiveLog = (obj) => ({
|
|
314
|
-
...obj,
|
|
315
|
-
...(obj.ServiceSummaryList && {
|
|
316
|
-
ServiceSummaryList: obj.ServiceSummaryList.map((item) => ServiceSummaryFilterSensitiveLog(item)),
|
|
317
|
-
}),
|
|
318
|
-
});
|
|
319
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
320
|
-
...obj,
|
|
321
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
322
|
-
});
|
|
323
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
324
|
-
...obj,
|
|
325
|
-
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
326
|
-
});
|
|
327
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
328
|
-
...obj,
|
|
329
|
-
...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }),
|
|
330
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.migrationhubrefactorspaces" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "Migration Hub Refactor Spaces",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|