@aws-sdk/client-application-discovery-service 3.180.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 +20 -0
- package/dist-cjs/protocols/Aws_json1_1.js +31 -25
- package/dist-es/ApplicationDiscoveryService.js +102 -109
- package/dist-es/ApplicationDiscoveryServiceClient.js +22 -28
- package/dist-es/commands/AssociateConfigurationItemsToApplicationCommand.js +21 -28
- package/dist-es/commands/BatchDeleteImportDataCommand.js +21 -28
- package/dist-es/commands/CreateApplicationCommand.js +21 -28
- package/dist-es/commands/CreateTagsCommand.js +21 -28
- package/dist-es/commands/DeleteApplicationsCommand.js +21 -28
- package/dist-es/commands/DeleteTagsCommand.js +21 -28
- package/dist-es/commands/DescribeAgentsCommand.js +21 -28
- package/dist-es/commands/DescribeConfigurationsCommand.js +21 -28
- package/dist-es/commands/DescribeContinuousExportsCommand.js +21 -28
- package/dist-es/commands/DescribeExportConfigurationsCommand.js +21 -28
- package/dist-es/commands/DescribeExportTasksCommand.js +21 -28
- package/dist-es/commands/DescribeImportTasksCommand.js +21 -28
- package/dist-es/commands/DescribeTagsCommand.js +21 -28
- package/dist-es/commands/DisassociateConfigurationItemsFromApplicationCommand.js +21 -28
- package/dist-es/commands/ExportConfigurationsCommand.js +22 -29
- package/dist-es/commands/GetDiscoverySummaryCommand.js +21 -28
- package/dist-es/commands/ListConfigurationsCommand.js +21 -28
- package/dist-es/commands/ListServerNeighborsCommand.js +21 -28
- package/dist-es/commands/StartContinuousExportCommand.js +21 -28
- package/dist-es/commands/StartDataCollectionByAgentIdsCommand.js +21 -28
- package/dist-es/commands/StartExportTaskCommand.js +21 -28
- package/dist-es/commands/StartImportTaskCommand.js +21 -28
- package/dist-es/commands/StopContinuousExportCommand.js +21 -28
- package/dist-es/commands/StopDataCollectionByAgentIdsCommand.js +21 -28
- package/dist-es/commands/UpdateApplicationCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ApplicationDiscoveryServiceServiceException.js +5 -10
- package/dist-es/models/models_0.js +303 -168
- package/dist-es/pagination/DescribeContinuousExportsPaginator.js +25 -68
- package/dist-es/pagination/DescribeImportTasksPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +1849 -2377
- 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,4 +1,3 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { ApplicationDiscoveryServiceServiceException as __BaseException } from "./ApplicationDiscoveryServiceServiceException";
|
|
3
2
|
export var AgentStatus;
|
|
4
3
|
(function (AgentStatus) {
|
|
@@ -9,84 +8,84 @@ export var AgentStatus;
|
|
|
9
8
|
AgentStatus["UNHEALTHY"] = "UNHEALTHY";
|
|
10
9
|
AgentStatus["UNKNOWN"] = "UNKNOWN";
|
|
11
10
|
})(AgentStatus || (AgentStatus = {}));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
export class AuthorizationErrorException extends __BaseException {
|
|
12
|
+
constructor(opts) {
|
|
13
|
+
super({
|
|
14
|
+
name: "AuthorizationErrorException",
|
|
15
|
+
$fault: "client",
|
|
16
|
+
...opts,
|
|
17
|
+
});
|
|
18
|
+
this.name = "AuthorizationErrorException";
|
|
19
|
+
this.$fault = "client";
|
|
20
|
+
Object.setPrototypeOf(this, AuthorizationErrorException.prototype);
|
|
20
21
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
}
|
|
23
|
+
export class HomeRegionNotSetException extends __BaseException {
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "HomeRegionNotSetException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
this.name = "HomeRegionNotSetException";
|
|
31
|
+
this.$fault = "client";
|
|
32
|
+
Object.setPrototypeOf(this, HomeRegionNotSetException.prototype);
|
|
32
33
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
}
|
|
35
|
+
export class InvalidParameterException extends __BaseException {
|
|
36
|
+
constructor(opts) {
|
|
37
|
+
super({
|
|
38
|
+
name: "InvalidParameterException",
|
|
39
|
+
$fault: "client",
|
|
40
|
+
...opts,
|
|
41
|
+
});
|
|
42
|
+
this.name = "InvalidParameterException";
|
|
43
|
+
this.$fault = "client";
|
|
44
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
44
45
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
46
|
+
}
|
|
47
|
+
export class InvalidParameterValueException extends __BaseException {
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InvalidParameterValueException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
this.name = "InvalidParameterValueException";
|
|
55
|
+
this.$fault = "client";
|
|
56
|
+
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
58
|
+
}
|
|
59
|
+
export class ServerInternalErrorException extends __BaseException {
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "ServerInternalErrorException",
|
|
63
|
+
$fault: "server",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
this.name = "ServerInternalErrorException";
|
|
67
|
+
this.$fault = "server";
|
|
68
|
+
Object.setPrototypeOf(this, ServerInternalErrorException.prototype);
|
|
68
69
|
}
|
|
69
|
-
|
|
70
|
-
}(__BaseException));
|
|
71
|
-
export { ServerInternalErrorException };
|
|
70
|
+
}
|
|
72
71
|
export var BatchDeleteImportDataErrorCode;
|
|
73
72
|
(function (BatchDeleteImportDataErrorCode) {
|
|
74
73
|
BatchDeleteImportDataErrorCode["INTERNAL_SERVER_ERROR"] = "INTERNAL_SERVER_ERROR";
|
|
75
74
|
BatchDeleteImportDataErrorCode["NOT_FOUND"] = "NOT_FOUND";
|
|
76
75
|
BatchDeleteImportDataErrorCode["OVER_LIMIT"] = "OVER_LIMIT";
|
|
77
76
|
})(BatchDeleteImportDataErrorCode || (BatchDeleteImportDataErrorCode = {}));
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
77
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
78
|
+
constructor(opts) {
|
|
79
|
+
super({
|
|
80
|
+
name: "ResourceNotFoundException",
|
|
81
|
+
$fault: "client",
|
|
82
|
+
...opts,
|
|
83
|
+
});
|
|
84
|
+
this.name = "ResourceNotFoundException";
|
|
85
|
+
this.$fault = "client";
|
|
86
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
86
87
|
}
|
|
87
|
-
|
|
88
|
-
}(__BaseException));
|
|
89
|
-
export { ResourceNotFoundException };
|
|
88
|
+
}
|
|
90
89
|
export var DataSource;
|
|
91
90
|
(function (DataSource) {
|
|
92
91
|
DataSource["AGENT"] = "AGENT";
|
|
@@ -101,18 +100,18 @@ export var ContinuousExportStatus;
|
|
|
101
100
|
ContinuousExportStatus["STOP_FAILED"] = "STOP_FAILED";
|
|
102
101
|
ContinuousExportStatus["STOP_IN_PROGRESS"] = "STOP_IN_PROGRESS";
|
|
103
102
|
})(ContinuousExportStatus || (ContinuousExportStatus = {}));
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
103
|
+
export class OperationNotPermittedException extends __BaseException {
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "OperationNotPermittedException",
|
|
107
|
+
$fault: "client",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
this.name = "OperationNotPermittedException";
|
|
111
|
+
this.$fault = "client";
|
|
112
|
+
Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
|
|
112
113
|
}
|
|
113
|
-
|
|
114
|
-
}(__BaseException));
|
|
115
|
-
export { OperationNotPermittedException };
|
|
114
|
+
}
|
|
116
115
|
export var ExportStatus;
|
|
117
116
|
(function (ExportStatus) {
|
|
118
117
|
ExportStatus["FAILED"] = "FAILED";
|
|
@@ -151,100 +150,236 @@ export var OrderString;
|
|
|
151
150
|
OrderString["ASC"] = "ASC";
|
|
152
151
|
OrderString["DESC"] = "DESC";
|
|
153
152
|
})(OrderString || (OrderString = {}));
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
153
|
+
export class ConflictErrorException extends __BaseException {
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "ConflictErrorException",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
this.name = "ConflictErrorException";
|
|
161
|
+
this.$fault = "client";
|
|
162
|
+
Object.setPrototypeOf(this, ConflictErrorException.prototype);
|
|
162
163
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
164
|
+
}
|
|
165
|
+
export class ResourceInUseException extends __BaseException {
|
|
166
|
+
constructor(opts) {
|
|
167
|
+
super({
|
|
168
|
+
name: "ResourceInUseException",
|
|
169
|
+
$fault: "client",
|
|
170
|
+
...opts,
|
|
171
|
+
});
|
|
172
|
+
this.name = "ResourceInUseException";
|
|
173
|
+
this.$fault = "client";
|
|
174
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
174
175
|
}
|
|
175
|
-
|
|
176
|
-
}(__BaseException));
|
|
177
|
-
export { ResourceInUseException };
|
|
176
|
+
}
|
|
178
177
|
export var ExportDataFormat;
|
|
179
178
|
(function (ExportDataFormat) {
|
|
180
179
|
ExportDataFormat["CSV"] = "CSV";
|
|
181
180
|
ExportDataFormat["GRAPHML"] = "GRAPHML";
|
|
182
181
|
})(ExportDataFormat || (ExportDataFormat = {}));
|
|
183
|
-
export
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
export
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
export
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
export
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
export
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
export
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
export
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
export
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
export
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
export
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
export
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
export
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
export
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
export
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
export
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
export
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
export
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
export
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
export
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
export
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
export
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
export
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
export
|
|
250
|
-
|
|
182
|
+
export const AgentConfigurationStatusFilterSensitiveLog = (obj) => ({
|
|
183
|
+
...obj,
|
|
184
|
+
});
|
|
185
|
+
export const AgentNetworkInfoFilterSensitiveLog = (obj) => ({
|
|
186
|
+
...obj,
|
|
187
|
+
});
|
|
188
|
+
export const AgentInfoFilterSensitiveLog = (obj) => ({
|
|
189
|
+
...obj,
|
|
190
|
+
});
|
|
191
|
+
export const AssociateConfigurationItemsToApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
192
|
+
...obj,
|
|
193
|
+
});
|
|
194
|
+
export const AssociateConfigurationItemsToApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
195
|
+
...obj,
|
|
196
|
+
});
|
|
197
|
+
export const BatchDeleteImportDataRequestFilterSensitiveLog = (obj) => ({
|
|
198
|
+
...obj,
|
|
199
|
+
});
|
|
200
|
+
export const BatchDeleteImportDataErrorFilterSensitiveLog = (obj) => ({
|
|
201
|
+
...obj,
|
|
202
|
+
});
|
|
203
|
+
export const BatchDeleteImportDataResponseFilterSensitiveLog = (obj) => ({
|
|
204
|
+
...obj,
|
|
205
|
+
});
|
|
206
|
+
export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
207
|
+
...obj,
|
|
208
|
+
});
|
|
209
|
+
export const CreateApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
210
|
+
...obj,
|
|
211
|
+
});
|
|
212
|
+
export const TagFilterSensitiveLog = (obj) => ({
|
|
213
|
+
...obj,
|
|
214
|
+
});
|
|
215
|
+
export const CreateTagsRequestFilterSensitiveLog = (obj) => ({
|
|
216
|
+
...obj,
|
|
217
|
+
});
|
|
218
|
+
export const CreateTagsResponseFilterSensitiveLog = (obj) => ({
|
|
219
|
+
...obj,
|
|
220
|
+
});
|
|
221
|
+
export const DeleteApplicationsRequestFilterSensitiveLog = (obj) => ({
|
|
222
|
+
...obj,
|
|
223
|
+
});
|
|
224
|
+
export const DeleteApplicationsResponseFilterSensitiveLog = (obj) => ({
|
|
225
|
+
...obj,
|
|
226
|
+
});
|
|
227
|
+
export const DeleteTagsRequestFilterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
});
|
|
230
|
+
export const DeleteTagsResponseFilterSensitiveLog = (obj) => ({
|
|
231
|
+
...obj,
|
|
232
|
+
});
|
|
233
|
+
export const FilterFilterSensitiveLog = (obj) => ({
|
|
234
|
+
...obj,
|
|
235
|
+
});
|
|
236
|
+
export const DescribeAgentsRequestFilterSensitiveLog = (obj) => ({
|
|
237
|
+
...obj,
|
|
238
|
+
});
|
|
239
|
+
export const DescribeAgentsResponseFilterSensitiveLog = (obj) => ({
|
|
240
|
+
...obj,
|
|
241
|
+
});
|
|
242
|
+
export const DescribeConfigurationsRequestFilterSensitiveLog = (obj) => ({
|
|
243
|
+
...obj,
|
|
244
|
+
});
|
|
245
|
+
export const DescribeConfigurationsResponseFilterSensitiveLog = (obj) => ({
|
|
246
|
+
...obj,
|
|
247
|
+
});
|
|
248
|
+
export const DescribeContinuousExportsRequestFilterSensitiveLog = (obj) => ({
|
|
249
|
+
...obj,
|
|
250
|
+
});
|
|
251
|
+
export const ContinuousExportDescriptionFilterSensitiveLog = (obj) => ({
|
|
252
|
+
...obj,
|
|
253
|
+
});
|
|
254
|
+
export const DescribeContinuousExportsResponseFilterSensitiveLog = (obj) => ({
|
|
255
|
+
...obj,
|
|
256
|
+
});
|
|
257
|
+
export const DescribeExportConfigurationsRequestFilterSensitiveLog = (obj) => ({
|
|
258
|
+
...obj,
|
|
259
|
+
});
|
|
260
|
+
export const ExportInfoFilterSensitiveLog = (obj) => ({
|
|
261
|
+
...obj,
|
|
262
|
+
});
|
|
263
|
+
export const DescribeExportConfigurationsResponseFilterSensitiveLog = (obj) => ({
|
|
264
|
+
...obj,
|
|
265
|
+
});
|
|
266
|
+
export const ExportFilterFilterSensitiveLog = (obj) => ({
|
|
267
|
+
...obj,
|
|
268
|
+
});
|
|
269
|
+
export const DescribeExportTasksRequestFilterSensitiveLog = (obj) => ({
|
|
270
|
+
...obj,
|
|
271
|
+
});
|
|
272
|
+
export const DescribeExportTasksResponseFilterSensitiveLog = (obj) => ({
|
|
273
|
+
...obj,
|
|
274
|
+
});
|
|
275
|
+
export const ImportTaskFilterFilterSensitiveLog = (obj) => ({
|
|
276
|
+
...obj,
|
|
277
|
+
});
|
|
278
|
+
export const DescribeImportTasksRequestFilterSensitiveLog = (obj) => ({
|
|
279
|
+
...obj,
|
|
280
|
+
});
|
|
281
|
+
export const ImportTaskFilterSensitiveLog = (obj) => ({
|
|
282
|
+
...obj,
|
|
283
|
+
});
|
|
284
|
+
export const DescribeImportTasksResponseFilterSensitiveLog = (obj) => ({
|
|
285
|
+
...obj,
|
|
286
|
+
});
|
|
287
|
+
export const TagFilterFilterSensitiveLog = (obj) => ({
|
|
288
|
+
...obj,
|
|
289
|
+
});
|
|
290
|
+
export const DescribeTagsRequestFilterSensitiveLog = (obj) => ({
|
|
291
|
+
...obj,
|
|
292
|
+
});
|
|
293
|
+
export const ConfigurationTagFilterSensitiveLog = (obj) => ({
|
|
294
|
+
...obj,
|
|
295
|
+
});
|
|
296
|
+
export const DescribeTagsResponseFilterSensitiveLog = (obj) => ({
|
|
297
|
+
...obj,
|
|
298
|
+
});
|
|
299
|
+
export const DisassociateConfigurationItemsFromApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
300
|
+
...obj,
|
|
301
|
+
});
|
|
302
|
+
export const DisassociateConfigurationItemsFromApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
303
|
+
...obj,
|
|
304
|
+
});
|
|
305
|
+
export const ExportConfigurationsResponseFilterSensitiveLog = (obj) => ({
|
|
306
|
+
...obj,
|
|
307
|
+
});
|
|
308
|
+
export const GetDiscoverySummaryRequestFilterSensitiveLog = (obj) => ({
|
|
309
|
+
...obj,
|
|
310
|
+
});
|
|
311
|
+
export const CustomerAgentlessCollectorInfoFilterSensitiveLog = (obj) => ({
|
|
312
|
+
...obj,
|
|
313
|
+
});
|
|
314
|
+
export const CustomerAgentInfoFilterSensitiveLog = (obj) => ({
|
|
315
|
+
...obj,
|
|
316
|
+
});
|
|
317
|
+
export const CustomerConnectorInfoFilterSensitiveLog = (obj) => ({
|
|
318
|
+
...obj,
|
|
319
|
+
});
|
|
320
|
+
export const CustomerMeCollectorInfoFilterSensitiveLog = (obj) => ({
|
|
321
|
+
...obj,
|
|
322
|
+
});
|
|
323
|
+
export const GetDiscoverySummaryResponseFilterSensitiveLog = (obj) => ({
|
|
324
|
+
...obj,
|
|
325
|
+
});
|
|
326
|
+
export const OrderByElementFilterSensitiveLog = (obj) => ({
|
|
327
|
+
...obj,
|
|
328
|
+
});
|
|
329
|
+
export const ListConfigurationsRequestFilterSensitiveLog = (obj) => ({
|
|
330
|
+
...obj,
|
|
331
|
+
});
|
|
332
|
+
export const ListConfigurationsResponseFilterSensitiveLog = (obj) => ({
|
|
333
|
+
...obj,
|
|
334
|
+
});
|
|
335
|
+
export const ListServerNeighborsRequestFilterSensitiveLog = (obj) => ({
|
|
336
|
+
...obj,
|
|
337
|
+
});
|
|
338
|
+
export const NeighborConnectionDetailFilterSensitiveLog = (obj) => ({
|
|
339
|
+
...obj,
|
|
340
|
+
});
|
|
341
|
+
export const ListServerNeighborsResponseFilterSensitiveLog = (obj) => ({
|
|
342
|
+
...obj,
|
|
343
|
+
});
|
|
344
|
+
export const StartContinuousExportRequestFilterSensitiveLog = (obj) => ({
|
|
345
|
+
...obj,
|
|
346
|
+
});
|
|
347
|
+
export const StartContinuousExportResponseFilterSensitiveLog = (obj) => ({
|
|
348
|
+
...obj,
|
|
349
|
+
});
|
|
350
|
+
export const StartDataCollectionByAgentIdsRequestFilterSensitiveLog = (obj) => ({
|
|
351
|
+
...obj,
|
|
352
|
+
});
|
|
353
|
+
export const StartDataCollectionByAgentIdsResponseFilterSensitiveLog = (obj) => ({
|
|
354
|
+
...obj,
|
|
355
|
+
});
|
|
356
|
+
export const StartExportTaskRequestFilterSensitiveLog = (obj) => ({
|
|
357
|
+
...obj,
|
|
358
|
+
});
|
|
359
|
+
export const StartExportTaskResponseFilterSensitiveLog = (obj) => ({
|
|
360
|
+
...obj,
|
|
361
|
+
});
|
|
362
|
+
export const StartImportTaskRequestFilterSensitiveLog = (obj) => ({
|
|
363
|
+
...obj,
|
|
364
|
+
});
|
|
365
|
+
export const StartImportTaskResponseFilterSensitiveLog = (obj) => ({
|
|
366
|
+
...obj,
|
|
367
|
+
});
|
|
368
|
+
export const StopContinuousExportRequestFilterSensitiveLog = (obj) => ({
|
|
369
|
+
...obj,
|
|
370
|
+
});
|
|
371
|
+
export const StopContinuousExportResponseFilterSensitiveLog = (obj) => ({
|
|
372
|
+
...obj,
|
|
373
|
+
});
|
|
374
|
+
export const StopDataCollectionByAgentIdsRequestFilterSensitiveLog = (obj) => ({
|
|
375
|
+
...obj,
|
|
376
|
+
});
|
|
377
|
+
export const StopDataCollectionByAgentIdsResponseFilterSensitiveLog = (obj) => ({
|
|
378
|
+
...obj,
|
|
379
|
+
});
|
|
380
|
+
export const UpdateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
381
|
+
...obj,
|
|
382
|
+
});
|
|
383
|
+
export const UpdateApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
384
|
+
...obj,
|
|
385
|
+
});
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { ApplicationDiscoveryService } from "../ApplicationDiscoveryService";
|
|
3
2
|
import { ApplicationDiscoveryServiceClient } from "../ApplicationDiscoveryServiceClient";
|
|
4
3
|
import { DescribeContinuousExportsCommand, } from "../commands/DescribeContinuousExportsCommand";
|
|
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 DescribeContinuousExportsCommand(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 DescribeContinuousExportsCommand(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.describeContinuousExports.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.describeContinuousExports(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateDescribeContinuousExports(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateDescribeContinuousExports(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 ApplicationDiscoveryService) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof ApplicationDiscoveryServiceClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected ApplicationDiscoveryService | ApplicationDiscoveryServiceClient");
|
|
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 ApplicationDiscoveryService)) 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 ApplicationDiscoveryServiceClient)) 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 ApplicationDiscoveryService | ApplicationDiscoveryServiceClient");
|
|
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
|
}
|