@aws-sdk/client-application-discovery-service 3.430.0 → 3.433.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.
Files changed (57) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/ApplicationDiscoveryService.js +6 -0
  3. package/dist-cjs/commands/BatchDeleteAgentsCommand.js +51 -0
  4. package/dist-cjs/commands/DescribeBatchDeleteConfigurationTaskCommand.js +51 -0
  5. package/dist-cjs/commands/StartBatchDeleteConfigurationTaskCommand.js +51 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_0.js +29 -1
  8. package/dist-cjs/pagination/DescribeAgentsPaginator.js +29 -0
  9. package/dist-cjs/pagination/DescribeExportConfigurationsPaginator.js +29 -0
  10. package/dist-cjs/pagination/DescribeExportTasksPaginator.js +29 -0
  11. package/dist-cjs/pagination/DescribeTagsPaginator.js +29 -0
  12. package/dist-cjs/pagination/ListConfigurationsPaginator.js +29 -0
  13. package/dist-cjs/pagination/index.js +5 -0
  14. package/dist-cjs/protocols/Aws_json1_1.js +182 -1
  15. package/dist-es/ApplicationDiscoveryService.js +6 -0
  16. package/dist-es/commands/BatchDeleteAgentsCommand.js +47 -0
  17. package/dist-es/commands/DescribeBatchDeleteConfigurationTaskCommand.js +47 -0
  18. package/dist-es/commands/StartBatchDeleteConfigurationTaskCommand.js +47 -0
  19. package/dist-es/commands/index.js +3 -0
  20. package/dist-es/models/models_0.js +27 -0
  21. package/dist-es/pagination/DescribeAgentsPaginator.js +25 -0
  22. package/dist-es/pagination/DescribeExportConfigurationsPaginator.js +25 -0
  23. package/dist-es/pagination/DescribeExportTasksPaginator.js +25 -0
  24. package/dist-es/pagination/DescribeTagsPaginator.js +25 -0
  25. package/dist-es/pagination/ListConfigurationsPaginator.js +25 -0
  26. package/dist-es/pagination/index.js +5 -0
  27. package/dist-es/protocols/Aws_json1_1.js +175 -1
  28. package/dist-types/ApplicationDiscoveryService.d.ts +21 -0
  29. package/dist-types/ApplicationDiscoveryServiceClient.d.ts +5 -2
  30. package/dist-types/commands/BatchDeleteAgentsCommand.d.ts +103 -0
  31. package/dist-types/commands/BatchDeleteImportDataCommand.d.ts +1 -0
  32. package/dist-types/commands/DescribeBatchDeleteConfigurationTaskCommand.d.ts +114 -0
  33. package/dist-types/commands/StartBatchDeleteConfigurationTaskCommand.d.ts +101 -0
  34. package/dist-types/commands/index.d.ts +3 -0
  35. package/dist-types/models/models_0.d.ts +328 -0
  36. package/dist-types/pagination/DescribeAgentsPaginator.d.ts +7 -0
  37. package/dist-types/pagination/DescribeExportConfigurationsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/DescribeExportTasksPaginator.d.ts +7 -0
  39. package/dist-types/pagination/DescribeTagsPaginator.d.ts +7 -0
  40. package/dist-types/pagination/ListConfigurationsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +5 -0
  42. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  43. package/dist-types/ts3.4/ApplicationDiscoveryService.d.ts +63 -0
  44. package/dist-types/ts3.4/ApplicationDiscoveryServiceClient.d.ts +18 -0
  45. package/dist-types/ts3.4/commands/BatchDeleteAgentsCommand.d.ts +39 -0
  46. package/dist-types/ts3.4/commands/DescribeBatchDeleteConfigurationTaskCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/StartBatchDeleteConfigurationTaskCommand.d.ts +42 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +78 -0
  50. package/dist-types/ts3.4/pagination/DescribeAgentsPaginator.d.ts +11 -0
  51. package/dist-types/ts3.4/pagination/DescribeExportConfigurationsPaginator.d.ts +11 -0
  52. package/dist-types/ts3.4/pagination/DescribeExportTasksPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/DescribeTagsPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/ListConfigurationsPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  56. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  57. package/package.json +31 -31
package/README.md CHANGED
@@ -322,6 +322,14 @@ AssociateConfigurationItemsToApplication
322
322
 
323
323
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/classes/associateconfigurationitemstoapplicationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/associateconfigurationitemstoapplicationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/associateconfigurationitemstoapplicationcommandoutput.html)
324
324
 
325
+ </details>
326
+ <details>
327
+ <summary>
328
+ BatchDeleteAgents
329
+ </summary>
330
+
331
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/classes/batchdeleteagentscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/batchdeleteagentscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/batchdeleteagentscommandoutput.html)
332
+
325
333
  </details>
326
334
  <details>
327
335
  <summary>
@@ -370,6 +378,14 @@ DescribeAgents
370
378
 
371
379
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/classes/describeagentscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/describeagentscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/describeagentscommandoutput.html)
372
380
 
381
+ </details>
382
+ <details>
383
+ <summary>
384
+ DescribeBatchDeleteConfigurationTask
385
+ </summary>
386
+
387
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/classes/describebatchdeleteconfigurationtaskcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/describebatchdeleteconfigurationtaskcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/describebatchdeleteconfigurationtaskcommandoutput.html)
388
+
373
389
  </details>
374
390
  <details>
375
391
  <summary>
@@ -458,6 +474,14 @@ ListServerNeighbors
458
474
 
459
475
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/classes/listserverneighborscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/listserverneighborscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/listserverneighborscommandoutput.html)
460
476
 
477
+ </details>
478
+ <details>
479
+ <summary>
480
+ StartBatchDeleteConfigurationTask
481
+ </summary>
482
+
483
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/classes/startbatchdeleteconfigurationtaskcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/startbatchdeleteconfigurationtaskcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-application-discovery-service/interfaces/startbatchdeleteconfigurationtaskcommandoutput.html)
484
+
461
485
  </details>
462
486
  <details>
463
487
  <summary>
@@ -4,12 +4,14 @@ exports.ApplicationDiscoveryService = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const ApplicationDiscoveryServiceClient_1 = require("./ApplicationDiscoveryServiceClient");
6
6
  const AssociateConfigurationItemsToApplicationCommand_1 = require("./commands/AssociateConfigurationItemsToApplicationCommand");
7
+ const BatchDeleteAgentsCommand_1 = require("./commands/BatchDeleteAgentsCommand");
7
8
  const BatchDeleteImportDataCommand_1 = require("./commands/BatchDeleteImportDataCommand");
8
9
  const CreateApplicationCommand_1 = require("./commands/CreateApplicationCommand");
9
10
  const CreateTagsCommand_1 = require("./commands/CreateTagsCommand");
10
11
  const DeleteApplicationsCommand_1 = require("./commands/DeleteApplicationsCommand");
11
12
  const DeleteTagsCommand_1 = require("./commands/DeleteTagsCommand");
12
13
  const DescribeAgentsCommand_1 = require("./commands/DescribeAgentsCommand");
14
+ const DescribeBatchDeleteConfigurationTaskCommand_1 = require("./commands/DescribeBatchDeleteConfigurationTaskCommand");
13
15
  const DescribeConfigurationsCommand_1 = require("./commands/DescribeConfigurationsCommand");
14
16
  const DescribeContinuousExportsCommand_1 = require("./commands/DescribeContinuousExportsCommand");
15
17
  const DescribeExportConfigurationsCommand_1 = require("./commands/DescribeExportConfigurationsCommand");
@@ -21,6 +23,7 @@ const ExportConfigurationsCommand_1 = require("./commands/ExportConfigurationsCo
21
23
  const GetDiscoverySummaryCommand_1 = require("./commands/GetDiscoverySummaryCommand");
22
24
  const ListConfigurationsCommand_1 = require("./commands/ListConfigurationsCommand");
23
25
  const ListServerNeighborsCommand_1 = require("./commands/ListServerNeighborsCommand");
26
+ const StartBatchDeleteConfigurationTaskCommand_1 = require("./commands/StartBatchDeleteConfigurationTaskCommand");
24
27
  const StartContinuousExportCommand_1 = require("./commands/StartContinuousExportCommand");
25
28
  const StartDataCollectionByAgentIdsCommand_1 = require("./commands/StartDataCollectionByAgentIdsCommand");
26
29
  const StartExportTaskCommand_1 = require("./commands/StartExportTaskCommand");
@@ -30,12 +33,14 @@ const StopDataCollectionByAgentIdsCommand_1 = require("./commands/StopDataCollec
30
33
  const UpdateApplicationCommand_1 = require("./commands/UpdateApplicationCommand");
31
34
  const commands = {
32
35
  AssociateConfigurationItemsToApplicationCommand: AssociateConfigurationItemsToApplicationCommand_1.AssociateConfigurationItemsToApplicationCommand,
36
+ BatchDeleteAgentsCommand: BatchDeleteAgentsCommand_1.BatchDeleteAgentsCommand,
33
37
  BatchDeleteImportDataCommand: BatchDeleteImportDataCommand_1.BatchDeleteImportDataCommand,
34
38
  CreateApplicationCommand: CreateApplicationCommand_1.CreateApplicationCommand,
35
39
  CreateTagsCommand: CreateTagsCommand_1.CreateTagsCommand,
36
40
  DeleteApplicationsCommand: DeleteApplicationsCommand_1.DeleteApplicationsCommand,
37
41
  DeleteTagsCommand: DeleteTagsCommand_1.DeleteTagsCommand,
38
42
  DescribeAgentsCommand: DescribeAgentsCommand_1.DescribeAgentsCommand,
43
+ DescribeBatchDeleteConfigurationTaskCommand: DescribeBatchDeleteConfigurationTaskCommand_1.DescribeBatchDeleteConfigurationTaskCommand,
39
44
  DescribeConfigurationsCommand: DescribeConfigurationsCommand_1.DescribeConfigurationsCommand,
40
45
  DescribeContinuousExportsCommand: DescribeContinuousExportsCommand_1.DescribeContinuousExportsCommand,
41
46
  DescribeExportConfigurationsCommand: DescribeExportConfigurationsCommand_1.DescribeExportConfigurationsCommand,
@@ -47,6 +52,7 @@ const commands = {
47
52
  GetDiscoverySummaryCommand: GetDiscoverySummaryCommand_1.GetDiscoverySummaryCommand,
48
53
  ListConfigurationsCommand: ListConfigurationsCommand_1.ListConfigurationsCommand,
49
54
  ListServerNeighborsCommand: ListServerNeighborsCommand_1.ListServerNeighborsCommand,
55
+ StartBatchDeleteConfigurationTaskCommand: StartBatchDeleteConfigurationTaskCommand_1.StartBatchDeleteConfigurationTaskCommand,
50
56
  StartContinuousExportCommand: StartContinuousExportCommand_1.StartContinuousExportCommand,
51
57
  StartDataCollectionByAgentIdsCommand: StartDataCollectionByAgentIdsCommand_1.StartDataCollectionByAgentIdsCommand,
52
58
  StartExportTaskCommand: StartExportTaskCommand_1.StartExportTaskCommand,
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchDeleteAgentsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class BatchDeleteAgentsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchDeleteAgentsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ApplicationDiscoveryServiceClient";
29
+ const commandName = "BatchDeleteAgentsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSPoseidonService_V2015_11_01",
38
+ operation: "BatchDeleteAgents",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_BatchDeleteAgentsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_BatchDeleteAgentsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.BatchDeleteAgentsCommand = BatchDeleteAgentsCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeBatchDeleteConfigurationTaskCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class DescribeBatchDeleteConfigurationTaskCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeBatchDeleteConfigurationTaskCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ApplicationDiscoveryServiceClient";
29
+ const commandName = "DescribeBatchDeleteConfigurationTaskCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSPoseidonService_V2015_11_01",
38
+ operation: "DescribeBatchDeleteConfigurationTask",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_DescribeBatchDeleteConfigurationTaskCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_DescribeBatchDeleteConfigurationTaskCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DescribeBatchDeleteConfigurationTaskCommand = DescribeBatchDeleteConfigurationTaskCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartBatchDeleteConfigurationTaskCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class StartBatchDeleteConfigurationTaskCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartBatchDeleteConfigurationTaskCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ApplicationDiscoveryServiceClient";
29
+ const commandName = "StartBatchDeleteConfigurationTaskCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSPoseidonService_V2015_11_01",
38
+ operation: "StartBatchDeleteConfigurationTask",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_StartBatchDeleteConfigurationTaskCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_StartBatchDeleteConfigurationTaskCommand)(output, context);
49
+ }
50
+ }
51
+ exports.StartBatchDeleteConfigurationTaskCommand = StartBatchDeleteConfigurationTaskCommand;
@@ -2,12 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./AssociateConfigurationItemsToApplicationCommand"), exports);
5
+ tslib_1.__exportStar(require("./BatchDeleteAgentsCommand"), exports);
5
6
  tslib_1.__exportStar(require("./BatchDeleteImportDataCommand"), exports);
6
7
  tslib_1.__exportStar(require("./CreateApplicationCommand"), exports);
7
8
  tslib_1.__exportStar(require("./CreateTagsCommand"), exports);
8
9
  tslib_1.__exportStar(require("./DeleteApplicationsCommand"), exports);
9
10
  tslib_1.__exportStar(require("./DeleteTagsCommand"), exports);
10
11
  tslib_1.__exportStar(require("./DescribeAgentsCommand"), exports);
12
+ tslib_1.__exportStar(require("./DescribeBatchDeleteConfigurationTaskCommand"), exports);
11
13
  tslib_1.__exportStar(require("./DescribeConfigurationsCommand"), exports);
12
14
  tslib_1.__exportStar(require("./DescribeContinuousExportsCommand"), exports);
13
15
  tslib_1.__exportStar(require("./DescribeExportConfigurationsCommand"), exports);
@@ -19,6 +21,7 @@ tslib_1.__exportStar(require("./ExportConfigurationsCommand"), exports);
19
21
  tslib_1.__exportStar(require("./GetDiscoverySummaryCommand"), exports);
20
22
  tslib_1.__exportStar(require("./ListConfigurationsCommand"), exports);
21
23
  tslib_1.__exportStar(require("./ListServerNeighborsCommand"), exports);
24
+ tslib_1.__exportStar(require("./StartBatchDeleteConfigurationTaskCommand"), exports);
22
25
  tslib_1.__exportStar(require("./StartContinuousExportCommand"), exports);
23
26
  tslib_1.__exportStar(require("./StartDataCollectionByAgentIdsCommand"), exports);
24
27
  tslib_1.__exportStar(require("./StartExportTaskCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeAgentsResponseFilterSensitiveLog = exports.AgentInfoFilterSensitiveLog = exports.AgentNetworkInfoFilterSensitiveLog = exports.ExportPreferences = exports.Tenancy = exports.TermLength = exports.PurchasingOption = exports.OfferingClass = exports.ExportDataFormat = exports.ResourceInUseException = exports.ConflictErrorException = exports.OrderString = exports.ConfigurationItemType = exports.ImportStatus = exports.ImportTaskFilterName = exports.ExportStatus = exports.OperationNotPermittedException = exports.ContinuousExportStatus = exports.DataSource = exports.ResourceNotFoundException = exports.BatchDeleteImportDataErrorCode = exports.ServerInternalErrorException = exports.InvalidParameterValueException = exports.InvalidParameterException = exports.HomeRegionNotSetException = exports.AuthorizationErrorException = exports.AgentStatus = void 0;
3
+ exports.DescribeAgentsResponseFilterSensitiveLog = exports.AgentInfoFilterSensitiveLog = exports.AgentNetworkInfoFilterSensitiveLog = exports.ExportPreferences = exports.Tenancy = exports.TermLength = exports.PurchasingOption = exports.OfferingClass = exports.ExportDataFormat = exports.ResourceInUseException = exports.ConflictErrorException = exports.LimitExceededException = exports.OrderString = exports.ConfigurationItemType = exports.ImportStatus = exports.ImportTaskFilterName = exports.ExportStatus = exports.OperationNotPermittedException = exports.ContinuousExportStatus = exports.DataSource = exports.BatchDeleteConfigurationTaskStatus = exports.DeletionConfigurationItemType = exports.ResourceNotFoundException = exports.BatchDeleteImportDataErrorCode = exports.DeleteAgentErrorCode = exports.ServerInternalErrorException = exports.InvalidParameterValueException = exports.InvalidParameterException = exports.HomeRegionNotSetException = exports.AuthorizationErrorException = exports.AgentStatus = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const ApplicationDiscoveryServiceServiceException_1 = require("./ApplicationDiscoveryServiceServiceException");
6
6
  exports.AgentStatus = {
@@ -76,6 +76,11 @@ class ServerInternalErrorException extends ApplicationDiscoveryServiceServiceExc
76
76
  }
77
77
  }
78
78
  exports.ServerInternalErrorException = ServerInternalErrorException;
79
+ exports.DeleteAgentErrorCode = {
80
+ AGENT_IN_USE: "AGENT_IN_USE",
81
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
82
+ NOT_FOUND: "NOT_FOUND",
83
+ };
79
84
  exports.BatchDeleteImportDataErrorCode = {
80
85
  INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
81
86
  NOT_FOUND: "NOT_FOUND",
@@ -94,6 +99,16 @@ class ResourceNotFoundException extends ApplicationDiscoveryServiceServiceExcept
94
99
  }
95
100
  }
96
101
  exports.ResourceNotFoundException = ResourceNotFoundException;
102
+ exports.DeletionConfigurationItemType = {
103
+ SERVER: "SERVER",
104
+ };
105
+ exports.BatchDeleteConfigurationTaskStatus = {
106
+ COMPLETED: "COMPLETED",
107
+ DELETING: "DELETING",
108
+ FAILED: "FAILED",
109
+ INITIALIZING: "INITIALIZING",
110
+ VALIDATING: "VALIDATING",
111
+ };
97
112
  exports.DataSource = {
98
113
  AGENT: "AGENT",
99
114
  };
@@ -152,6 +167,19 @@ exports.OrderString = {
152
167
  ASC: "ASC",
153
168
  DESC: "DESC",
154
169
  };
170
+ class LimitExceededException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
171
+ constructor(opts) {
172
+ super({
173
+ name: "LimitExceededException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ this.name = "LimitExceededException";
178
+ this.$fault = "client";
179
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
180
+ }
181
+ }
182
+ exports.LimitExceededException = LimitExceededException;
155
183
  class ConflictErrorException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
156
184
  constructor(opts) {
157
185
  super({
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeAgents = void 0;
4
+ const ApplicationDiscoveryServiceClient_1 = require("../ApplicationDiscoveryServiceClient");
5
+ const DescribeAgentsCommand_1 = require("../commands/DescribeAgentsCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new DescribeAgentsCommand_1.DescribeAgentsCommand(input), ...args);
8
+ };
9
+ async function* paginateDescribeAgents(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof ApplicationDiscoveryServiceClient_1.ApplicationDiscoveryServiceClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected ApplicationDiscoveryService | ApplicationDiscoveryServiceClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateDescribeAgents = paginateDescribeAgents;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeExportConfigurations = void 0;
4
+ const ApplicationDiscoveryServiceClient_1 = require("../ApplicationDiscoveryServiceClient");
5
+ const DescribeExportConfigurationsCommand_1 = require("../commands/DescribeExportConfigurationsCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new DescribeExportConfigurationsCommand_1.DescribeExportConfigurationsCommand(input), ...args);
8
+ };
9
+ async function* paginateDescribeExportConfigurations(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof ApplicationDiscoveryServiceClient_1.ApplicationDiscoveryServiceClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected ApplicationDiscoveryService | ApplicationDiscoveryServiceClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateDescribeExportConfigurations = paginateDescribeExportConfigurations;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeExportTasks = void 0;
4
+ const ApplicationDiscoveryServiceClient_1 = require("../ApplicationDiscoveryServiceClient");
5
+ const DescribeExportTasksCommand_1 = require("../commands/DescribeExportTasksCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new DescribeExportTasksCommand_1.DescribeExportTasksCommand(input), ...args);
8
+ };
9
+ async function* paginateDescribeExportTasks(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof ApplicationDiscoveryServiceClient_1.ApplicationDiscoveryServiceClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected ApplicationDiscoveryService | ApplicationDiscoveryServiceClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateDescribeExportTasks = paginateDescribeExportTasks;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribeTags = void 0;
4
+ const ApplicationDiscoveryServiceClient_1 = require("../ApplicationDiscoveryServiceClient");
5
+ const DescribeTagsCommand_1 = require("../commands/DescribeTagsCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new DescribeTagsCommand_1.DescribeTagsCommand(input), ...args);
8
+ };
9
+ async function* paginateDescribeTags(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof ApplicationDiscoveryServiceClient_1.ApplicationDiscoveryServiceClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected ApplicationDiscoveryService | ApplicationDiscoveryServiceClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateDescribeTags = paginateDescribeTags;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListConfigurations = void 0;
4
+ const ApplicationDiscoveryServiceClient_1 = require("../ApplicationDiscoveryServiceClient");
5
+ const ListConfigurationsCommand_1 = require("../commands/ListConfigurationsCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListConfigurationsCommand_1.ListConfigurationsCommand(input), ...args);
8
+ };
9
+ async function* paginateListConfigurations(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof ApplicationDiscoveryServiceClient_1.ApplicationDiscoveryServiceClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected ApplicationDiscoveryService | ApplicationDiscoveryServiceClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListConfigurations = paginateListConfigurations;
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DescribeAgentsPaginator"), exports);
4
5
  tslib_1.__exportStar(require("./DescribeContinuousExportsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./DescribeExportConfigurationsPaginator"), exports);
7
+ tslib_1.__exportStar(require("./DescribeExportTasksPaginator"), exports);
5
8
  tslib_1.__exportStar(require("./DescribeImportTasksPaginator"), exports);
9
+ tslib_1.__exportStar(require("./DescribeTagsPaginator"), exports);
6
10
  tslib_1.__exportStar(require("./Interfaces"), exports);
11
+ tslib_1.__exportStar(require("./ListConfigurationsPaginator"), exports);