@aws-sdk/client-migration-hub-refactor-spaces 3.181.0 → 3.183.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 +8 -0
- package/dist-es/MigrationHubRefactorSpaces.js +98 -105
- package/dist-es/MigrationHubRefactorSpacesClient.js +22 -28
- package/dist-es/commands/CreateApplicationCommand.js +21 -28
- package/dist-es/commands/CreateEnvironmentCommand.js +21 -28
- package/dist-es/commands/CreateRouteCommand.js +21 -28
- package/dist-es/commands/CreateServiceCommand.js +21 -28
- package/dist-es/commands/DeleteApplicationCommand.js +21 -28
- package/dist-es/commands/DeleteEnvironmentCommand.js +21 -28
- package/dist-es/commands/DeleteResourcePolicyCommand.js +21 -28
- package/dist-es/commands/DeleteRouteCommand.js +21 -28
- package/dist-es/commands/DeleteServiceCommand.js +21 -28
- package/dist-es/commands/GetApplicationCommand.js +21 -28
- package/dist-es/commands/GetEnvironmentCommand.js +21 -28
- package/dist-es/commands/GetResourcePolicyCommand.js +21 -28
- package/dist-es/commands/GetRouteCommand.js +21 -28
- package/dist-es/commands/GetServiceCommand.js +21 -28
- package/dist-es/commands/ListApplicationsCommand.js +21 -28
- package/dist-es/commands/ListEnvironmentVpcsCommand.js +21 -28
- package/dist-es/commands/ListEnvironmentsCommand.js +21 -28
- package/dist-es/commands/ListRoutesCommand.js +21 -28
- package/dist-es/commands/ListServicesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/PutResourcePolicyCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateRouteCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/MigrationHubRefactorSpacesServiceException.js +5 -10
- package/dist-es/models/models_0.js +333 -181
- package/dist-es/pagination/ListApplicationsPaginator.js +25 -68
- package/dist-es/pagination/ListEnvironmentVpcsPaginator.js +25 -68
- package/dist-es/pagination/ListEnvironmentsPaginator.js +25 -68
- package/dist-es/pagination/ListRoutesPaginator.js +25 -68
- package/dist-es/pagination/ListServicesPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +2213 -2978
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
2
|
import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "AccessDeniedException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "AccessDeniedException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
13
14
|
}
|
|
14
|
-
|
|
15
|
-
}(__BaseException));
|
|
16
|
-
export { AccessDeniedException };
|
|
15
|
+
}
|
|
17
16
|
export var ApiGatewayEndpointType;
|
|
18
17
|
(function (ApiGatewayEndpointType) {
|
|
19
18
|
ApiGatewayEndpointType["PRIVATE"] = "PRIVATE";
|
|
@@ -68,95 +67,95 @@ export var ProxyType;
|
|
|
68
67
|
(function (ProxyType) {
|
|
69
68
|
ProxyType["API_GATEWAY"] = "API_GATEWAY";
|
|
70
69
|
})(ProxyType || (ProxyType = {}));
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
70
|
+
export class ConflictException extends __BaseException {
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ConflictException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
this.name = "ConflictException";
|
|
78
|
+
this.$fault = "client";
|
|
79
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
80
|
+
this.Message = opts.Message;
|
|
81
|
+
this.ResourceId = opts.ResourceId;
|
|
82
|
+
this.ResourceType = opts.ResourceType;
|
|
82
83
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
84
|
+
}
|
|
85
|
+
export class InternalServerException extends __BaseException {
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "InternalServerException",
|
|
89
|
+
$fault: "server",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
this.name = "InternalServerException";
|
|
93
|
+
this.$fault = "server";
|
|
94
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
95
|
+
this.Message = opts.Message;
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
97
|
+
}
|
|
98
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "ResourceNotFoundException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
this.name = "ResourceNotFoundException";
|
|
106
|
+
this.$fault = "client";
|
|
107
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
108
|
+
this.Message = opts.Message;
|
|
109
|
+
this.ResourceId = opts.ResourceId;
|
|
110
|
+
this.ResourceType = opts.ResourceType;
|
|
110
111
|
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
112
|
+
}
|
|
113
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "ServiceQuotaExceededException",
|
|
117
|
+
$fault: "client",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
this.name = "ServiceQuotaExceededException";
|
|
121
|
+
this.$fault = "client";
|
|
122
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
123
|
+
this.Message = opts.Message;
|
|
124
|
+
this.ResourceId = opts.ResourceId;
|
|
125
|
+
this.ResourceType = opts.ResourceType;
|
|
126
|
+
this.QuotaCode = opts.QuotaCode;
|
|
127
|
+
this.ServiceCode = opts.ServiceCode;
|
|
127
128
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
129
|
+
}
|
|
130
|
+
export class ThrottlingException extends __BaseException {
|
|
131
|
+
constructor(opts) {
|
|
132
|
+
super({
|
|
133
|
+
name: "ThrottlingException",
|
|
134
|
+
$fault: "client",
|
|
135
|
+
...opts,
|
|
136
|
+
});
|
|
137
|
+
this.name = "ThrottlingException";
|
|
138
|
+
this.$fault = "client";
|
|
139
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
140
|
+
this.Message = opts.Message;
|
|
141
|
+
this.QuotaCode = opts.QuotaCode;
|
|
142
|
+
this.ServiceCode = opts.ServiceCode;
|
|
143
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
143
144
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
145
|
+
}
|
|
146
|
+
export class ValidationException extends __BaseException {
|
|
147
|
+
constructor(opts) {
|
|
148
|
+
super({
|
|
149
|
+
name: "ValidationException",
|
|
150
|
+
$fault: "client",
|
|
151
|
+
...opts,
|
|
152
|
+
});
|
|
153
|
+
this.name = "ValidationException";
|
|
154
|
+
this.$fault = "client";
|
|
155
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
156
|
+
this.Message = opts.Message;
|
|
156
157
|
}
|
|
157
|
-
|
|
158
|
-
}(__BaseException));
|
|
159
|
-
export { ValidationException };
|
|
158
|
+
}
|
|
160
159
|
export var NetworkFabricType;
|
|
161
160
|
(function (NetworkFabricType) {
|
|
162
161
|
NetworkFabricType["TRANSIT_GATEWAY"] = "TRANSIT_GATEWAY";
|
|
@@ -209,89 +208,242 @@ export var ServiceState;
|
|
|
209
208
|
ServiceState["DELETING"] = "DELETING";
|
|
210
209
|
ServiceState["FAILED"] = "FAILED";
|
|
211
210
|
})(ServiceState || (ServiceState = {}));
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
211
|
+
export class InvalidResourcePolicyException extends __BaseException {
|
|
212
|
+
constructor(opts) {
|
|
213
|
+
super({
|
|
214
|
+
name: "InvalidResourcePolicyException",
|
|
215
|
+
$fault: "client",
|
|
216
|
+
...opts,
|
|
217
|
+
});
|
|
218
|
+
this.name = "InvalidResourcePolicyException";
|
|
219
|
+
this.$fault = "client";
|
|
220
|
+
Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
|
|
221
|
+
this.Message = opts.Message;
|
|
221
222
|
}
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
export
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
export
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
export
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
export
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
export
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
export
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
export
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
export
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
export
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
export
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
export
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
export
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
export
|
|
273
|
-
|
|
274
|
-
})
|
|
275
|
-
export
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
export
|
|
280
|
-
|
|
281
|
-
})
|
|
282
|
-
|
|
283
|
-
export
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
export
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
export
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
export
|
|
296
|
-
|
|
297
|
-
|
|
223
|
+
}
|
|
224
|
+
export const ApiGatewayProxyConfigFilterSensitiveLog = (obj) => ({
|
|
225
|
+
...obj,
|
|
226
|
+
});
|
|
227
|
+
export const ApiGatewayProxyInputFilterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
});
|
|
230
|
+
export const ApiGatewayProxySummaryFilterSensitiveLog = (obj) => ({
|
|
231
|
+
...obj,
|
|
232
|
+
});
|
|
233
|
+
export const ErrorResponseFilterSensitiveLog = (obj) => ({
|
|
234
|
+
...obj,
|
|
235
|
+
});
|
|
236
|
+
export const ApplicationSummaryFilterSensitiveLog = (obj) => ({
|
|
237
|
+
...obj,
|
|
238
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
239
|
+
});
|
|
240
|
+
export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
241
|
+
...obj,
|
|
242
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
243
|
+
});
|
|
244
|
+
export const CreateApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
245
|
+
...obj,
|
|
246
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
247
|
+
});
|
|
248
|
+
export const CreateEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
249
|
+
...obj,
|
|
250
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
251
|
+
});
|
|
252
|
+
export const CreateEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
253
|
+
...obj,
|
|
254
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
255
|
+
});
|
|
256
|
+
export const DefaultRouteInputFilterSensitiveLog = (obj) => ({
|
|
257
|
+
...obj,
|
|
258
|
+
});
|
|
259
|
+
export const UriPathRouteInputFilterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
});
|
|
262
|
+
export const CreateRouteRequestFilterSensitiveLog = (obj) => ({
|
|
263
|
+
...obj,
|
|
264
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
265
|
+
});
|
|
266
|
+
export const CreateRouteResponseFilterSensitiveLog = (obj) => ({
|
|
267
|
+
...obj,
|
|
268
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
269
|
+
});
|
|
270
|
+
export const LambdaEndpointInputFilterSensitiveLog = (obj) => ({
|
|
271
|
+
...obj,
|
|
272
|
+
});
|
|
273
|
+
export const UrlEndpointInputFilterSensitiveLog = (obj) => ({
|
|
274
|
+
...obj,
|
|
275
|
+
});
|
|
276
|
+
export const CreateServiceRequestFilterSensitiveLog = (obj) => ({
|
|
277
|
+
...obj,
|
|
278
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
279
|
+
});
|
|
280
|
+
export const CreateServiceResponseFilterSensitiveLog = (obj) => ({
|
|
281
|
+
...obj,
|
|
282
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
283
|
+
});
|
|
284
|
+
export const DeleteApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
285
|
+
...obj,
|
|
286
|
+
});
|
|
287
|
+
export const DeleteApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
288
|
+
...obj,
|
|
289
|
+
});
|
|
290
|
+
export const DeleteEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
291
|
+
...obj,
|
|
292
|
+
});
|
|
293
|
+
export const DeleteEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
294
|
+
...obj,
|
|
295
|
+
});
|
|
296
|
+
export const DeleteResourcePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
297
|
+
...obj,
|
|
298
|
+
});
|
|
299
|
+
export const DeleteResourcePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
300
|
+
...obj,
|
|
301
|
+
});
|
|
302
|
+
export const DeleteRouteRequestFilterSensitiveLog = (obj) => ({
|
|
303
|
+
...obj,
|
|
304
|
+
});
|
|
305
|
+
export const DeleteRouteResponseFilterSensitiveLog = (obj) => ({
|
|
306
|
+
...obj,
|
|
307
|
+
});
|
|
308
|
+
export const DeleteServiceRequestFilterSensitiveLog = (obj) => ({
|
|
309
|
+
...obj,
|
|
310
|
+
});
|
|
311
|
+
export const DeleteServiceResponseFilterSensitiveLog = (obj) => ({
|
|
312
|
+
...obj,
|
|
313
|
+
});
|
|
314
|
+
export const EnvironmentSummaryFilterSensitiveLog = (obj) => ({
|
|
315
|
+
...obj,
|
|
316
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
317
|
+
});
|
|
318
|
+
export const EnvironmentVpcFilterSensitiveLog = (obj) => ({
|
|
319
|
+
...obj,
|
|
320
|
+
});
|
|
321
|
+
export const GetApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
322
|
+
...obj,
|
|
323
|
+
});
|
|
324
|
+
export const GetApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
325
|
+
...obj,
|
|
326
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
327
|
+
});
|
|
328
|
+
export const GetEnvironmentRequestFilterSensitiveLog = (obj) => ({
|
|
329
|
+
...obj,
|
|
330
|
+
});
|
|
331
|
+
export const GetEnvironmentResponseFilterSensitiveLog = (obj) => ({
|
|
332
|
+
...obj,
|
|
333
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
334
|
+
});
|
|
335
|
+
export const GetResourcePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
336
|
+
...obj,
|
|
337
|
+
});
|
|
338
|
+
export const GetResourcePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
339
|
+
...obj,
|
|
340
|
+
});
|
|
341
|
+
export const GetRouteRequestFilterSensitiveLog = (obj) => ({
|
|
342
|
+
...obj,
|
|
343
|
+
});
|
|
344
|
+
export const GetRouteResponseFilterSensitiveLog = (obj) => ({
|
|
345
|
+
...obj,
|
|
346
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
347
|
+
});
|
|
348
|
+
export const GetServiceRequestFilterSensitiveLog = (obj) => ({
|
|
349
|
+
...obj,
|
|
350
|
+
});
|
|
351
|
+
export const LambdaEndpointConfigFilterSensitiveLog = (obj) => ({
|
|
352
|
+
...obj,
|
|
353
|
+
});
|
|
354
|
+
export const UrlEndpointConfigFilterSensitiveLog = (obj) => ({
|
|
355
|
+
...obj,
|
|
356
|
+
});
|
|
357
|
+
export const GetServiceResponseFilterSensitiveLog = (obj) => ({
|
|
358
|
+
...obj,
|
|
359
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
360
|
+
});
|
|
361
|
+
export const LambdaEndpointSummaryFilterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
});
|
|
364
|
+
export const ListApplicationsRequestFilterSensitiveLog = (obj) => ({
|
|
365
|
+
...obj,
|
|
366
|
+
});
|
|
367
|
+
export const ListApplicationsResponseFilterSensitiveLog = (obj) => ({
|
|
368
|
+
...obj,
|
|
369
|
+
...(obj.ApplicationSummaryList && {
|
|
370
|
+
ApplicationSummaryList: obj.ApplicationSummaryList.map((item) => ApplicationSummaryFilterSensitiveLog(item)),
|
|
371
|
+
}),
|
|
372
|
+
});
|
|
373
|
+
export const ListEnvironmentsRequestFilterSensitiveLog = (obj) => ({
|
|
374
|
+
...obj,
|
|
375
|
+
});
|
|
376
|
+
export const ListEnvironmentsResponseFilterSensitiveLog = (obj) => ({
|
|
377
|
+
...obj,
|
|
378
|
+
...(obj.EnvironmentSummaryList && {
|
|
379
|
+
EnvironmentSummaryList: obj.EnvironmentSummaryList.map((item) => EnvironmentSummaryFilterSensitiveLog(item)),
|
|
380
|
+
}),
|
|
381
|
+
});
|
|
382
|
+
export const ListEnvironmentVpcsRequestFilterSensitiveLog = (obj) => ({
|
|
383
|
+
...obj,
|
|
384
|
+
});
|
|
385
|
+
export const ListEnvironmentVpcsResponseFilterSensitiveLog = (obj) => ({
|
|
386
|
+
...obj,
|
|
387
|
+
});
|
|
388
|
+
export const ListRoutesRequestFilterSensitiveLog = (obj) => ({
|
|
389
|
+
...obj,
|
|
390
|
+
});
|
|
391
|
+
export const RouteSummaryFilterSensitiveLog = (obj) => ({
|
|
392
|
+
...obj,
|
|
393
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
394
|
+
});
|
|
395
|
+
export const ListRoutesResponseFilterSensitiveLog = (obj) => ({
|
|
396
|
+
...obj,
|
|
397
|
+
...(obj.RouteSummaryList && {
|
|
398
|
+
RouteSummaryList: obj.RouteSummaryList.map((item) => RouteSummaryFilterSensitiveLog(item)),
|
|
399
|
+
}),
|
|
400
|
+
});
|
|
401
|
+
export const ListServicesRequestFilterSensitiveLog = (obj) => ({
|
|
402
|
+
...obj,
|
|
403
|
+
});
|
|
404
|
+
export const UrlEndpointSummaryFilterSensitiveLog = (obj) => ({
|
|
405
|
+
...obj,
|
|
406
|
+
});
|
|
407
|
+
export const ServiceSummaryFilterSensitiveLog = (obj) => ({
|
|
408
|
+
...obj,
|
|
409
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
410
|
+
});
|
|
411
|
+
export const ListServicesResponseFilterSensitiveLog = (obj) => ({
|
|
412
|
+
...obj,
|
|
413
|
+
...(obj.ServiceSummaryList && {
|
|
414
|
+
ServiceSummaryList: obj.ServiceSummaryList.map((item) => ServiceSummaryFilterSensitiveLog(item)),
|
|
415
|
+
}),
|
|
416
|
+
});
|
|
417
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
418
|
+
...obj,
|
|
419
|
+
});
|
|
420
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
421
|
+
...obj,
|
|
422
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
423
|
+
});
|
|
424
|
+
export const PutResourcePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
425
|
+
...obj,
|
|
426
|
+
});
|
|
427
|
+
export const PutResourcePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
428
|
+
...obj,
|
|
429
|
+
});
|
|
430
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
431
|
+
...obj,
|
|
432
|
+
...(obj.Tags && { Tags: SENSITIVE_STRING }),
|
|
433
|
+
});
|
|
434
|
+
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
435
|
+
...obj,
|
|
436
|
+
});
|
|
437
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
438
|
+
...obj,
|
|
439
|
+
...(obj.TagKeys && { TagKeys: SENSITIVE_STRING }),
|
|
440
|
+
});
|
|
441
|
+
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
442
|
+
...obj,
|
|
443
|
+
});
|
|
444
|
+
export const UpdateRouteRequestFilterSensitiveLog = (obj) => ({
|
|
445
|
+
...obj,
|
|
446
|
+
});
|
|
447
|
+
export const UpdateRouteResponseFilterSensitiveLog = (obj) => ({
|
|
448
|
+
...obj,
|
|
449
|
+
});
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
3
2
|
import { MigrationHubRefactorSpaces } from "../MigrationHubRefactorSpaces";
|
|
4
3
|
import { MigrationHubRefactorSpacesClient } from "../MigrationHubRefactorSpacesClient";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
-
args[_i - 2] = arguments[_i];
|
|
9
|
-
}
|
|
10
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
-
return __generator(this, function (_a) {
|
|
12
|
-
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListApplicationsCommand(input)], __read(args), false))];
|
|
14
|
-
case 1: return [2, _a.sent()];
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListApplicationsCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
-
args[_i - 2] = arguments[_i];
|
|
23
|
-
}
|
|
24
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
-
return __generator(this, function (_a) {
|
|
26
|
-
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listApplications.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
-
case 1: return [2, _a.sent()];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listApplications(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateListApplications(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateListApplications(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.NextToken = token;
|
|
16
|
+
input["MaxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof MigrationHubRefactorSpaces) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof MigrationHubRefactorSpacesClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected MigrationHubRefactorSpaces | MigrationHubRefactorSpacesClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.NextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
39
|
-
var token, hasNext, page, prevToken;
|
|
40
|
-
return __generator(this, function (_a) {
|
|
41
|
-
switch (_a.label) {
|
|
42
|
-
case 0:
|
|
43
|
-
token = config.startingToken || undefined;
|
|
44
|
-
hasNext = true;
|
|
45
|
-
_a.label = 1;
|
|
46
|
-
case 1:
|
|
47
|
-
if (!hasNext) return [3, 9];
|
|
48
|
-
input.NextToken = token;
|
|
49
|
-
input["MaxResults"] = config.pageSize;
|
|
50
|
-
if (!(config.client instanceof MigrationHubRefactorSpaces)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
-
case 2:
|
|
53
|
-
page = _a.sent();
|
|
54
|
-
return [3, 6];
|
|
55
|
-
case 3:
|
|
56
|
-
if (!(config.client instanceof MigrationHubRefactorSpacesClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
-
case 4:
|
|
59
|
-
page = _a.sent();
|
|
60
|
-
return [3, 6];
|
|
61
|
-
case 5: throw new Error("Invalid client, expected MigrationHubRefactorSpaces | MigrationHubRefactorSpacesClient");
|
|
62
|
-
case 6: return [4, __await(page)];
|
|
63
|
-
case 7: return [4, _a.sent()];
|
|
64
|
-
case 8:
|
|
65
|
-
_a.sent();
|
|
66
|
-
prevToken = token;
|
|
67
|
-
token = page.NextToken;
|
|
68
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
-
return [3, 1];
|
|
70
|
-
case 9: return [4, __await(undefined)];
|
|
71
|
-
case 10: return [2, _a.sent()];
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|