@aws-sdk/client-migration-hub-refactor-spaces 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/MigrationHubRefactorSpaces.js +105 -98
- package/dist-es/MigrationHubRefactorSpacesClient.js +28 -22
- package/dist-es/commands/CreateApplicationCommand.js +28 -21
- package/dist-es/commands/CreateEnvironmentCommand.js +28 -21
- package/dist-es/commands/CreateRouteCommand.js +28 -21
- package/dist-es/commands/CreateServiceCommand.js +28 -21
- package/dist-es/commands/DeleteApplicationCommand.js +28 -21
- package/dist-es/commands/DeleteEnvironmentCommand.js +28 -21
- package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
- package/dist-es/commands/DeleteRouteCommand.js +28 -21
- package/dist-es/commands/DeleteServiceCommand.js +28 -21
- package/dist-es/commands/GetApplicationCommand.js +28 -21
- package/dist-es/commands/GetEnvironmentCommand.js +28 -21
- package/dist-es/commands/GetResourcePolicyCommand.js +28 -21
- package/dist-es/commands/GetRouteCommand.js +28 -21
- package/dist-es/commands/GetServiceCommand.js +28 -21
- package/dist-es/commands/ListApplicationsCommand.js +28 -21
- package/dist-es/commands/ListEnvironmentVpcsCommand.js +28 -21
- package/dist-es/commands/ListEnvironmentsCommand.js +28 -21
- package/dist-es/commands/ListRoutesCommand.js +28 -21
- package/dist-es/commands/ListServicesCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/PutResourcePolicyCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateRouteCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/MigrationHubRefactorSpacesServiceException.js +10 -5
- package/dist-es/models/models_0.js +181 -333
- package/dist-es/pagination/ListApplicationsPaginator.js +68 -25
- package/dist-es/pagination/ListEnvironmentVpcsPaginator.js +68 -25
- package/dist-es/pagination/ListEnvironmentsPaginator.js +68 -25
- package/dist-es/pagination/ListRoutesPaginator.js +68 -25
- package/dist-es/pagination/ListServicesPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +2978 -2213
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,18 +1,19 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { MigrationHubRefactorSpacesServiceException as __BaseException } from "./MigrationHubRefactorSpacesServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
4
|
+
var AccessDeniedException = (function (_super) {
|
|
5
|
+
__extends(AccessDeniedException, _super);
|
|
6
|
+
function AccessDeniedException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
8
|
+
_this.name = "AccessDeniedException";
|
|
9
|
+
_this.$fault = "client";
|
|
10
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
11
|
+
_this.Message = opts.Message;
|
|
12
|
+
return _this;
|
|
14
13
|
}
|
|
15
|
-
|
|
14
|
+
return AccessDeniedException;
|
|
15
|
+
}(__BaseException));
|
|
16
|
+
export { AccessDeniedException };
|
|
16
17
|
export var ApiGatewayEndpointType;
|
|
17
18
|
(function (ApiGatewayEndpointType) {
|
|
18
19
|
ApiGatewayEndpointType["PRIVATE"] = "PRIVATE";
|
|
@@ -67,95 +68,95 @@ export var ProxyType;
|
|
|
67
68
|
(function (ProxyType) {
|
|
68
69
|
ProxyType["API_GATEWAY"] = "API_GATEWAY";
|
|
69
70
|
})(ProxyType || (ProxyType = {}));
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
this.ResourceId = opts.ResourceId;
|
|
82
|
-
this.ResourceType = opts.ResourceType;
|
|
71
|
+
var ConflictException = (function (_super) {
|
|
72
|
+
__extends(ConflictException, _super);
|
|
73
|
+
function ConflictException(opts) {
|
|
74
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
75
|
+
_this.name = "ConflictException";
|
|
76
|
+
_this.$fault = "client";
|
|
77
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
78
|
+
_this.Message = opts.Message;
|
|
79
|
+
_this.ResourceId = opts.ResourceId;
|
|
80
|
+
_this.ResourceType = opts.ResourceType;
|
|
81
|
+
return _this;
|
|
83
82
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
83
|
+
return ConflictException;
|
|
84
|
+
}(__BaseException));
|
|
85
|
+
export { ConflictException };
|
|
86
|
+
var InternalServerException = (function (_super) {
|
|
87
|
+
__extends(InternalServerException, _super);
|
|
88
|
+
function InternalServerException(opts) {
|
|
89
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
90
|
+
_this.name = "InternalServerException";
|
|
91
|
+
_this.$fault = "server";
|
|
92
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
93
|
+
_this.Message = opts.Message;
|
|
94
|
+
return _this;
|
|
96
95
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
96
|
+
return InternalServerException;
|
|
97
|
+
}(__BaseException));
|
|
98
|
+
export { InternalServerException };
|
|
99
|
+
var ResourceNotFoundException = (function (_super) {
|
|
100
|
+
__extends(ResourceNotFoundException, _super);
|
|
101
|
+
function ResourceNotFoundException(opts) {
|
|
102
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
103
|
+
_this.name = "ResourceNotFoundException";
|
|
104
|
+
_this.$fault = "client";
|
|
105
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
106
|
+
_this.Message = opts.Message;
|
|
107
|
+
_this.ResourceId = opts.ResourceId;
|
|
108
|
+
_this.ResourceType = opts.ResourceType;
|
|
109
|
+
return _this;
|
|
111
110
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
111
|
+
return ResourceNotFoundException;
|
|
112
|
+
}(__BaseException));
|
|
113
|
+
export { ResourceNotFoundException };
|
|
114
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
115
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
116
|
+
function ServiceQuotaExceededException(opts) {
|
|
117
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
118
|
+
_this.name = "ServiceQuotaExceededException";
|
|
119
|
+
_this.$fault = "client";
|
|
120
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
121
|
+
_this.Message = opts.Message;
|
|
122
|
+
_this.ResourceId = opts.ResourceId;
|
|
123
|
+
_this.ResourceType = opts.ResourceType;
|
|
124
|
+
_this.QuotaCode = opts.QuotaCode;
|
|
125
|
+
_this.ServiceCode = opts.ServiceCode;
|
|
126
|
+
return _this;
|
|
128
127
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
128
|
+
return ServiceQuotaExceededException;
|
|
129
|
+
}(__BaseException));
|
|
130
|
+
export { ServiceQuotaExceededException };
|
|
131
|
+
var ThrottlingException = (function (_super) {
|
|
132
|
+
__extends(ThrottlingException, _super);
|
|
133
|
+
function ThrottlingException(opts) {
|
|
134
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
135
|
+
_this.name = "ThrottlingException";
|
|
136
|
+
_this.$fault = "client";
|
|
137
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
138
|
+
_this.Message = opts.Message;
|
|
139
|
+
_this.QuotaCode = opts.QuotaCode;
|
|
140
|
+
_this.ServiceCode = opts.ServiceCode;
|
|
141
|
+
_this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
142
|
+
return _this;
|
|
144
143
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
144
|
+
return ThrottlingException;
|
|
145
|
+
}(__BaseException));
|
|
146
|
+
export { ThrottlingException };
|
|
147
|
+
var ValidationException = (function (_super) {
|
|
148
|
+
__extends(ValidationException, _super);
|
|
149
|
+
function ValidationException(opts) {
|
|
150
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
151
|
+
_this.name = "ValidationException";
|
|
152
|
+
_this.$fault = "client";
|
|
153
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
154
|
+
_this.Message = opts.Message;
|
|
155
|
+
return _this;
|
|
157
156
|
}
|
|
158
|
-
|
|
157
|
+
return ValidationException;
|
|
158
|
+
}(__BaseException));
|
|
159
|
+
export { ValidationException };
|
|
159
160
|
export var NetworkFabricType;
|
|
160
161
|
(function (NetworkFabricType) {
|
|
161
162
|
NetworkFabricType["TRANSIT_GATEWAY"] = "TRANSIT_GATEWAY";
|
|
@@ -208,242 +209,89 @@ export var ServiceState;
|
|
|
208
209
|
ServiceState["DELETING"] = "DELETING";
|
|
209
210
|
ServiceState["FAILED"] = "FAILED";
|
|
210
211
|
})(ServiceState || (ServiceState = {}));
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
|
|
221
|
-
this.Message = opts.Message;
|
|
212
|
+
var InvalidResourcePolicyException = (function (_super) {
|
|
213
|
+
__extends(InvalidResourcePolicyException, _super);
|
|
214
|
+
function InvalidResourcePolicyException(opts) {
|
|
215
|
+
var _this = _super.call(this, __assign({ name: "InvalidResourcePolicyException", $fault: "client" }, opts)) || this;
|
|
216
|
+
_this.name = "InvalidResourcePolicyException";
|
|
217
|
+
_this.$fault = "client";
|
|
218
|
+
Object.setPrototypeOf(_this, InvalidResourcePolicyException.prototype);
|
|
219
|
+
_this.Message = opts.Message;
|
|
220
|
+
return _this;
|
|
222
221
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
});
|
|
227
|
-
export
|
|
228
|
-
|
|
229
|
-
});
|
|
230
|
-
export
|
|
231
|
-
|
|
232
|
-
});
|
|
233
|
-
export
|
|
234
|
-
|
|
235
|
-
});
|
|
236
|
-
export
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
});
|
|
240
|
-
export
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
});
|
|
244
|
-
export
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
});
|
|
248
|
-
export
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
});
|
|
252
|
-
export
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
});
|
|
256
|
-
export
|
|
257
|
-
|
|
258
|
-
});
|
|
259
|
-
export
|
|
260
|
-
|
|
261
|
-
});
|
|
262
|
-
export
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
});
|
|
266
|
-
export
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
})
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
});
|
|
273
|
-
export
|
|
274
|
-
|
|
275
|
-
});
|
|
276
|
-
export
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
});
|
|
280
|
-
export
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
});
|
|
284
|
-
export
|
|
285
|
-
|
|
286
|
-
})
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
});
|
|
290
|
-
export
|
|
291
|
-
|
|
292
|
-
});
|
|
293
|
-
export
|
|
294
|
-
|
|
295
|
-
});
|
|
296
|
-
export
|
|
297
|
-
|
|
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
|
-
});
|
|
222
|
+
return InvalidResourcePolicyException;
|
|
223
|
+
}(__BaseException));
|
|
224
|
+
export { InvalidResourcePolicyException };
|
|
225
|
+
export var ApiGatewayProxyConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
226
|
+
export var ApiGatewayProxyInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
+
export var ApiGatewayProxySummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
|
+
export var ErrorResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
+
export var ApplicationSummaryFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
230
|
+
export var CreateApplicationRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
231
|
+
export var CreateApplicationResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
232
|
+
export var CreateEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
233
|
+
export var CreateEnvironmentResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
234
|
+
export var DefaultRouteInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
|
+
export var UriPathRouteInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
+
export var CreateRouteRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
237
|
+
export var CreateRouteResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
238
|
+
export var LambdaEndpointInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
239
|
+
export var UrlEndpointInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
240
|
+
export var CreateServiceRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
241
|
+
export var CreateServiceResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
242
|
+
export var DeleteApplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
243
|
+
export var DeleteApplicationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
244
|
+
export var DeleteEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
245
|
+
export var DeleteEnvironmentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
246
|
+
export var DeleteResourcePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
247
|
+
export var DeleteResourcePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
248
|
+
export var DeleteRouteRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
249
|
+
export var DeleteRouteResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
250
|
+
export var DeleteServiceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
251
|
+
export var DeleteServiceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
252
|
+
export var EnvironmentSummaryFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
253
|
+
export var EnvironmentVpcFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
254
|
+
export var GetApplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
255
|
+
export var GetApplicationResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
256
|
+
export var GetEnvironmentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
257
|
+
export var GetEnvironmentResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
258
|
+
export var GetResourcePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
259
|
+
export var GetResourcePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
260
|
+
export var GetRouteRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
261
|
+
export var GetRouteResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
262
|
+
export var GetServiceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
263
|
+
export var LambdaEndpointConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
264
|
+
export var UrlEndpointConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
265
|
+
export var GetServiceResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
266
|
+
export var LambdaEndpointSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
267
|
+
export var ListApplicationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
268
|
+
export var ListApplicationsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ApplicationSummaryList && {
|
|
269
|
+
ApplicationSummaryList: obj.ApplicationSummaryList.map(function (item) { return ApplicationSummaryFilterSensitiveLog(item); }),
|
|
270
|
+
}))); };
|
|
271
|
+
export var ListEnvironmentsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
272
|
+
export var ListEnvironmentsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.EnvironmentSummaryList && {
|
|
273
|
+
EnvironmentSummaryList: obj.EnvironmentSummaryList.map(function (item) { return EnvironmentSummaryFilterSensitiveLog(item); }),
|
|
274
|
+
}))); };
|
|
275
|
+
export var ListEnvironmentVpcsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
276
|
+
export var ListEnvironmentVpcsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
277
|
+
export var ListRoutesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
278
|
+
export var RouteSummaryFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
279
|
+
export var ListRoutesResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.RouteSummaryList && {
|
|
280
|
+
RouteSummaryList: obj.RouteSummaryList.map(function (item) { return RouteSummaryFilterSensitiveLog(item); }),
|
|
281
|
+
}))); };
|
|
282
|
+
export var ListServicesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
283
|
+
export var UrlEndpointSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
284
|
+
export var ServiceSummaryFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
285
|
+
export var ListServicesResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ServiceSummaryList && {
|
|
286
|
+
ServiceSummaryList: obj.ServiceSummaryList.map(function (item) { return ServiceSummaryFilterSensitiveLog(item); }),
|
|
287
|
+
}))); };
|
|
288
|
+
export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
289
|
+
export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
290
|
+
export var PutResourcePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
291
|
+
export var PutResourcePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
292
|
+
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Tags && { Tags: SENSITIVE_STRING }))); };
|
|
293
|
+
export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
294
|
+
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.TagKeys && { TagKeys: SENSITIVE_STRING }))); };
|
|
295
|
+
export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
296
|
+
export var UpdateRouteRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
+
export var UpdateRouteResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
2
3
|
import { MigrationHubRefactorSpaces } from "../MigrationHubRefactorSpaces";
|
|
3
4
|
import { MigrationHubRefactorSpacesClient } from "../MigrationHubRefactorSpacesClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
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
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
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
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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));
|
|
33
|
+
export function paginateListApplications(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListApplications_1() {
|
|
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
|
+
});
|
|
32
75
|
}
|