@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.
- package/README.md +24 -0
- package/dist-cjs/ApplicationDiscoveryService.js +6 -0
- package/dist-cjs/commands/BatchDeleteAgentsCommand.js +51 -0
- package/dist-cjs/commands/DescribeBatchDeleteConfigurationTaskCommand.js +51 -0
- package/dist-cjs/commands/StartBatchDeleteConfigurationTaskCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +29 -1
- package/dist-cjs/pagination/DescribeAgentsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeExportConfigurationsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeExportTasksPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeTagsPaginator.js +29 -0
- package/dist-cjs/pagination/ListConfigurationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_json1_1.js +182 -1
- package/dist-es/ApplicationDiscoveryService.js +6 -0
- package/dist-es/commands/BatchDeleteAgentsCommand.js +47 -0
- package/dist-es/commands/DescribeBatchDeleteConfigurationTaskCommand.js +47 -0
- package/dist-es/commands/StartBatchDeleteConfigurationTaskCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +27 -0
- package/dist-es/pagination/DescribeAgentsPaginator.js +25 -0
- package/dist-es/pagination/DescribeExportConfigurationsPaginator.js +25 -0
- package/dist-es/pagination/DescribeExportTasksPaginator.js +25 -0
- package/dist-es/pagination/DescribeTagsPaginator.js +25 -0
- package/dist-es/pagination/ListConfigurationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +175 -1
- package/dist-types/ApplicationDiscoveryService.d.ts +21 -0
- package/dist-types/ApplicationDiscoveryServiceClient.d.ts +5 -2
- package/dist-types/commands/BatchDeleteAgentsCommand.d.ts +103 -0
- package/dist-types/commands/BatchDeleteImportDataCommand.d.ts +1 -0
- package/dist-types/commands/DescribeBatchDeleteConfigurationTaskCommand.d.ts +114 -0
- package/dist-types/commands/StartBatchDeleteConfigurationTaskCommand.d.ts +101 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +328 -0
- package/dist-types/pagination/DescribeAgentsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeExportConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeExportTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeTagsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/ApplicationDiscoveryService.d.ts +63 -0
- package/dist-types/ts3.4/ApplicationDiscoveryServiceClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/BatchDeleteAgentsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeBatchDeleteConfigurationTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartBatchDeleteConfigurationTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +78 -0
- package/dist-types/ts3.4/pagination/DescribeAgentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeExportConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeExportTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeTagsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +31 -31
|
@@ -2,13 +2,19 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
|
2
2
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { ApplicationDiscoveryServiceServiceException as __BaseException } from "../models/ApplicationDiscoveryServiceServiceException";
|
|
5
|
-
import { AuthorizationErrorException, ConflictErrorException, ExportPreferences, HomeRegionNotSetException, InvalidParameterException, InvalidParameterValueException, OperationNotPermittedException, ResourceInUseException, ResourceNotFoundException, ServerInternalErrorException, } from "../models/models_0";
|
|
5
|
+
import { AuthorizationErrorException, ConflictErrorException, ExportPreferences, HomeRegionNotSetException, InvalidParameterException, InvalidParameterValueException, LimitExceededException, OperationNotPermittedException, ResourceInUseException, ResourceNotFoundException, ServerInternalErrorException, } from "../models/models_0";
|
|
6
6
|
export const se_AssociateConfigurationItemsToApplicationCommand = async (input, context) => {
|
|
7
7
|
const headers = sharedHeaders("AssociateConfigurationItemsToApplication");
|
|
8
8
|
let body;
|
|
9
9
|
body = JSON.stringify(_json(input));
|
|
10
10
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
11
|
};
|
|
12
|
+
export const se_BatchDeleteAgentsCommand = async (input, context) => {
|
|
13
|
+
const headers = sharedHeaders("BatchDeleteAgents");
|
|
14
|
+
let body;
|
|
15
|
+
body = JSON.stringify(_json(input));
|
|
16
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
+
};
|
|
12
18
|
export const se_BatchDeleteImportDataCommand = async (input, context) => {
|
|
13
19
|
const headers = sharedHeaders("BatchDeleteImportData");
|
|
14
20
|
let body;
|
|
@@ -45,6 +51,12 @@ export const se_DescribeAgentsCommand = async (input, context) => {
|
|
|
45
51
|
body = JSON.stringify(_json(input));
|
|
46
52
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
53
|
};
|
|
54
|
+
export const se_DescribeBatchDeleteConfigurationTaskCommand = async (input, context) => {
|
|
55
|
+
const headers = sharedHeaders("DescribeBatchDeleteConfigurationTask");
|
|
56
|
+
let body;
|
|
57
|
+
body = JSON.stringify(_json(input));
|
|
58
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
|
+
};
|
|
48
60
|
export const se_DescribeConfigurationsCommand = async (input, context) => {
|
|
49
61
|
const headers = sharedHeaders("DescribeConfigurations");
|
|
50
62
|
let body;
|
|
@@ -110,6 +122,12 @@ export const se_ListServerNeighborsCommand = async (input, context) => {
|
|
|
110
122
|
body = JSON.stringify(_json(input));
|
|
111
123
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
124
|
};
|
|
125
|
+
export const se_StartBatchDeleteConfigurationTaskCommand = async (input, context) => {
|
|
126
|
+
const headers = sharedHeaders("StartBatchDeleteConfigurationTask");
|
|
127
|
+
let body;
|
|
128
|
+
body = JSON.stringify(_json(input));
|
|
129
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
|
+
};
|
|
113
131
|
export const se_StartContinuousExportCommand = async (input, context) => {
|
|
114
132
|
const headers = sharedHeaders("StartContinuousExport");
|
|
115
133
|
let body;
|
|
@@ -196,6 +214,47 @@ const de_AssociateConfigurationItemsToApplicationCommandError = async (output, c
|
|
|
196
214
|
});
|
|
197
215
|
}
|
|
198
216
|
};
|
|
217
|
+
export const de_BatchDeleteAgentsCommand = async (output, context) => {
|
|
218
|
+
if (output.statusCode >= 300) {
|
|
219
|
+
return de_BatchDeleteAgentsCommandError(output, context);
|
|
220
|
+
}
|
|
221
|
+
const data = await parseBody(output.body, context);
|
|
222
|
+
let contents = {};
|
|
223
|
+
contents = _json(data);
|
|
224
|
+
const response = {
|
|
225
|
+
$metadata: deserializeMetadata(output),
|
|
226
|
+
...contents,
|
|
227
|
+
};
|
|
228
|
+
return response;
|
|
229
|
+
};
|
|
230
|
+
const de_BatchDeleteAgentsCommandError = async (output, context) => {
|
|
231
|
+
const parsedOutput = {
|
|
232
|
+
...output,
|
|
233
|
+
body: await parseErrorBody(output.body, context),
|
|
234
|
+
};
|
|
235
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
236
|
+
switch (errorCode) {
|
|
237
|
+
case "AuthorizationErrorException":
|
|
238
|
+
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
239
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
240
|
+
case "InvalidParameterException":
|
|
241
|
+
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
242
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
243
|
+
case "InvalidParameterValueException":
|
|
244
|
+
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
245
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
246
|
+
case "ServerInternalErrorException":
|
|
247
|
+
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
248
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
249
|
+
default:
|
|
250
|
+
const parsedBody = parsedOutput.body;
|
|
251
|
+
return throwDefaultError({
|
|
252
|
+
output,
|
|
253
|
+
parsedBody,
|
|
254
|
+
errorCode,
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
};
|
|
199
258
|
export const de_BatchDeleteImportDataCommand = async (output, context) => {
|
|
200
259
|
if (output.statusCode >= 300) {
|
|
201
260
|
return de_BatchDeleteImportDataCommandError(output, context);
|
|
@@ -466,6 +525,47 @@ const de_DescribeAgentsCommandError = async (output, context) => {
|
|
|
466
525
|
});
|
|
467
526
|
}
|
|
468
527
|
};
|
|
528
|
+
export const de_DescribeBatchDeleteConfigurationTaskCommand = async (output, context) => {
|
|
529
|
+
if (output.statusCode >= 300) {
|
|
530
|
+
return de_DescribeBatchDeleteConfigurationTaskCommandError(output, context);
|
|
531
|
+
}
|
|
532
|
+
const data = await parseBody(output.body, context);
|
|
533
|
+
let contents = {};
|
|
534
|
+
contents = de_DescribeBatchDeleteConfigurationTaskResponse(data, context);
|
|
535
|
+
const response = {
|
|
536
|
+
$metadata: deserializeMetadata(output),
|
|
537
|
+
...contents,
|
|
538
|
+
};
|
|
539
|
+
return response;
|
|
540
|
+
};
|
|
541
|
+
const de_DescribeBatchDeleteConfigurationTaskCommandError = async (output, context) => {
|
|
542
|
+
const parsedOutput = {
|
|
543
|
+
...output,
|
|
544
|
+
body: await parseErrorBody(output.body, context),
|
|
545
|
+
};
|
|
546
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
547
|
+
switch (errorCode) {
|
|
548
|
+
case "AuthorizationErrorException":
|
|
549
|
+
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
550
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
551
|
+
case "HomeRegionNotSetException":
|
|
552
|
+
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
553
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
554
|
+
case "InvalidParameterValueException":
|
|
555
|
+
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
556
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
557
|
+
case "ServerInternalErrorException":
|
|
558
|
+
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
559
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
560
|
+
default:
|
|
561
|
+
const parsedBody = parsedOutput.body;
|
|
562
|
+
return throwDefaultError({
|
|
563
|
+
output,
|
|
564
|
+
parsedBody,
|
|
565
|
+
errorCode,
|
|
566
|
+
});
|
|
567
|
+
}
|
|
568
|
+
};
|
|
469
569
|
export const de_DescribeConfigurationsCommand = async (output, context) => {
|
|
470
570
|
if (output.statusCode >= 300) {
|
|
471
571
|
return de_DescribeConfigurationsCommandError(output, context);
|
|
@@ -968,6 +1068,53 @@ const de_ListServerNeighborsCommandError = async (output, context) => {
|
|
|
968
1068
|
});
|
|
969
1069
|
}
|
|
970
1070
|
};
|
|
1071
|
+
export const de_StartBatchDeleteConfigurationTaskCommand = async (output, context) => {
|
|
1072
|
+
if (output.statusCode >= 300) {
|
|
1073
|
+
return de_StartBatchDeleteConfigurationTaskCommandError(output, context);
|
|
1074
|
+
}
|
|
1075
|
+
const data = await parseBody(output.body, context);
|
|
1076
|
+
let contents = {};
|
|
1077
|
+
contents = _json(data);
|
|
1078
|
+
const response = {
|
|
1079
|
+
$metadata: deserializeMetadata(output),
|
|
1080
|
+
...contents,
|
|
1081
|
+
};
|
|
1082
|
+
return response;
|
|
1083
|
+
};
|
|
1084
|
+
const de_StartBatchDeleteConfigurationTaskCommandError = async (output, context) => {
|
|
1085
|
+
const parsedOutput = {
|
|
1086
|
+
...output,
|
|
1087
|
+
body: await parseErrorBody(output.body, context),
|
|
1088
|
+
};
|
|
1089
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1090
|
+
switch (errorCode) {
|
|
1091
|
+
case "AuthorizationErrorException":
|
|
1092
|
+
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
1093
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
1094
|
+
case "HomeRegionNotSetException":
|
|
1095
|
+
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
1096
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1097
|
+
case "InvalidParameterValueException":
|
|
1098
|
+
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
1099
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1100
|
+
case "LimitExceededException":
|
|
1101
|
+
case "com.amazonaws.applicationdiscoveryservice#LimitExceededException":
|
|
1102
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1103
|
+
case "OperationNotPermittedException":
|
|
1104
|
+
case "com.amazonaws.applicationdiscoveryservice#OperationNotPermittedException":
|
|
1105
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1106
|
+
case "ServerInternalErrorException":
|
|
1107
|
+
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
1108
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1109
|
+
default:
|
|
1110
|
+
const parsedBody = parsedOutput.body;
|
|
1111
|
+
return throwDefaultError({
|
|
1112
|
+
output,
|
|
1113
|
+
parsedBody,
|
|
1114
|
+
errorCode,
|
|
1115
|
+
});
|
|
1116
|
+
}
|
|
1117
|
+
};
|
|
971
1118
|
export const de_StartContinuousExportCommand = async (output, context) => {
|
|
972
1119
|
if (output.statusCode >= 300) {
|
|
973
1120
|
return de_StartContinuousExportCommandError(output, context);
|
|
@@ -1345,6 +1492,15 @@ const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
|
1345
1492
|
});
|
|
1346
1493
|
return __decorateServiceException(exception, body);
|
|
1347
1494
|
};
|
|
1495
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1496
|
+
const body = parsedOutput.body;
|
|
1497
|
+
const deserialized = _json(body);
|
|
1498
|
+
const exception = new LimitExceededException({
|
|
1499
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1500
|
+
...deserialized,
|
|
1501
|
+
});
|
|
1502
|
+
return __decorateServiceException(exception, body);
|
|
1503
|
+
};
|
|
1348
1504
|
const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
1349
1505
|
const body = parsedOutput.body;
|
|
1350
1506
|
const deserialized = _json(body);
|
|
@@ -1422,6 +1578,19 @@ const se_UsageMetricBasis = (input, context) => {
|
|
|
1422
1578
|
percentageAdjust: __serializeFloat,
|
|
1423
1579
|
});
|
|
1424
1580
|
};
|
|
1581
|
+
const de_BatchDeleteConfigurationTask = (output, context) => {
|
|
1582
|
+
return take(output, {
|
|
1583
|
+
configurationType: __expectString,
|
|
1584
|
+
deletedConfigurations: _json,
|
|
1585
|
+
deletionWarnings: _json,
|
|
1586
|
+
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1587
|
+
failedConfigurations: _json,
|
|
1588
|
+
requestedConfigurations: _json,
|
|
1589
|
+
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1590
|
+
status: __expectString,
|
|
1591
|
+
taskId: __expectString,
|
|
1592
|
+
});
|
|
1593
|
+
};
|
|
1425
1594
|
const de_ConfigurationTag = (output, context) => {
|
|
1426
1595
|
return take(output, {
|
|
1427
1596
|
configurationId: __expectString,
|
|
@@ -1459,6 +1628,11 @@ const de_ContinuousExportDescriptions = (output, context) => {
|
|
|
1459
1628
|
});
|
|
1460
1629
|
return retVal;
|
|
1461
1630
|
};
|
|
1631
|
+
const de_DescribeBatchDeleteConfigurationTaskResponse = (output, context) => {
|
|
1632
|
+
return take(output, {
|
|
1633
|
+
task: (_) => de_BatchDeleteConfigurationTask(_, context),
|
|
1634
|
+
});
|
|
1635
|
+
};
|
|
1462
1636
|
const de_DescribeContinuousExportsResponse = (output, context) => {
|
|
1463
1637
|
return take(output, {
|
|
1464
1638
|
descriptions: (_) => de_ContinuousExportDescriptions(_, context),
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { ApplicationDiscoveryServiceClient } from "./ApplicationDiscoveryServiceClient";
|
|
3
3
|
import { AssociateConfigurationItemsToApplicationCommandInput, AssociateConfigurationItemsToApplicationCommandOutput } from "./commands/AssociateConfigurationItemsToApplicationCommand";
|
|
4
|
+
import { BatchDeleteAgentsCommandInput, BatchDeleteAgentsCommandOutput } from "./commands/BatchDeleteAgentsCommand";
|
|
4
5
|
import { BatchDeleteImportDataCommandInput, BatchDeleteImportDataCommandOutput } from "./commands/BatchDeleteImportDataCommand";
|
|
5
6
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
6
7
|
import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
7
8
|
import { DeleteApplicationsCommandInput, DeleteApplicationsCommandOutput } from "./commands/DeleteApplicationsCommand";
|
|
8
9
|
import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
|
|
9
10
|
import { DescribeAgentsCommandInput, DescribeAgentsCommandOutput } from "./commands/DescribeAgentsCommand";
|
|
11
|
+
import { DescribeBatchDeleteConfigurationTaskCommandInput, DescribeBatchDeleteConfigurationTaskCommandOutput } from "./commands/DescribeBatchDeleteConfigurationTaskCommand";
|
|
10
12
|
import { DescribeConfigurationsCommandInput, DescribeConfigurationsCommandOutput } from "./commands/DescribeConfigurationsCommand";
|
|
11
13
|
import { DescribeContinuousExportsCommandInput, DescribeContinuousExportsCommandOutput } from "./commands/DescribeContinuousExportsCommand";
|
|
12
14
|
import { DescribeExportConfigurationsCommandInput, DescribeExportConfigurationsCommandOutput } from "./commands/DescribeExportConfigurationsCommand";
|
|
@@ -18,6 +20,7 @@ import { ExportConfigurationsCommandInput, ExportConfigurationsCommandOutput } f
|
|
|
18
20
|
import { GetDiscoverySummaryCommandInput, GetDiscoverySummaryCommandOutput } from "./commands/GetDiscoverySummaryCommand";
|
|
19
21
|
import { ListConfigurationsCommandInput, ListConfigurationsCommandOutput } from "./commands/ListConfigurationsCommand";
|
|
20
22
|
import { ListServerNeighborsCommandInput, ListServerNeighborsCommandOutput } from "./commands/ListServerNeighborsCommand";
|
|
23
|
+
import { StartBatchDeleteConfigurationTaskCommandInput, StartBatchDeleteConfigurationTaskCommandOutput } from "./commands/StartBatchDeleteConfigurationTaskCommand";
|
|
21
24
|
import { StartContinuousExportCommandInput, StartContinuousExportCommandOutput } from "./commands/StartContinuousExportCommand";
|
|
22
25
|
import { StartDataCollectionByAgentIdsCommandInput, StartDataCollectionByAgentIdsCommandOutput } from "./commands/StartDataCollectionByAgentIdsCommand";
|
|
23
26
|
import { StartExportTaskCommandInput, StartExportTaskCommandOutput } from "./commands/StartExportTaskCommand";
|
|
@@ -32,6 +35,12 @@ export interface ApplicationDiscoveryService {
|
|
|
32
35
|
associateConfigurationItemsToApplication(args: AssociateConfigurationItemsToApplicationCommandInput, options?: __HttpHandlerOptions): Promise<AssociateConfigurationItemsToApplicationCommandOutput>;
|
|
33
36
|
associateConfigurationItemsToApplication(args: AssociateConfigurationItemsToApplicationCommandInput, cb: (err: any, data?: AssociateConfigurationItemsToApplicationCommandOutput) => void): void;
|
|
34
37
|
associateConfigurationItemsToApplication(args: AssociateConfigurationItemsToApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateConfigurationItemsToApplicationCommandOutput) => void): void;
|
|
38
|
+
/**
|
|
39
|
+
* @see {@link BatchDeleteAgentsCommand}
|
|
40
|
+
*/
|
|
41
|
+
batchDeleteAgents(args: BatchDeleteAgentsCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteAgentsCommandOutput>;
|
|
42
|
+
batchDeleteAgents(args: BatchDeleteAgentsCommandInput, cb: (err: any, data?: BatchDeleteAgentsCommandOutput) => void): void;
|
|
43
|
+
batchDeleteAgents(args: BatchDeleteAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteAgentsCommandOutput) => void): void;
|
|
35
44
|
/**
|
|
36
45
|
* @see {@link BatchDeleteImportDataCommand}
|
|
37
46
|
*/
|
|
@@ -68,6 +77,12 @@ export interface ApplicationDiscoveryService {
|
|
|
68
77
|
describeAgents(args: DescribeAgentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAgentsCommandOutput>;
|
|
69
78
|
describeAgents(args: DescribeAgentsCommandInput, cb: (err: any, data?: DescribeAgentsCommandOutput) => void): void;
|
|
70
79
|
describeAgents(args: DescribeAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAgentsCommandOutput) => void): void;
|
|
80
|
+
/**
|
|
81
|
+
* @see {@link DescribeBatchDeleteConfigurationTaskCommand}
|
|
82
|
+
*/
|
|
83
|
+
describeBatchDeleteConfigurationTask(args: DescribeBatchDeleteConfigurationTaskCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBatchDeleteConfigurationTaskCommandOutput>;
|
|
84
|
+
describeBatchDeleteConfigurationTask(args: DescribeBatchDeleteConfigurationTaskCommandInput, cb: (err: any, data?: DescribeBatchDeleteConfigurationTaskCommandOutput) => void): void;
|
|
85
|
+
describeBatchDeleteConfigurationTask(args: DescribeBatchDeleteConfigurationTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBatchDeleteConfigurationTaskCommandOutput) => void): void;
|
|
71
86
|
/**
|
|
72
87
|
* @see {@link DescribeConfigurationsCommand}
|
|
73
88
|
*/
|
|
@@ -134,6 +149,12 @@ export interface ApplicationDiscoveryService {
|
|
|
134
149
|
listServerNeighbors(args: ListServerNeighborsCommandInput, options?: __HttpHandlerOptions): Promise<ListServerNeighborsCommandOutput>;
|
|
135
150
|
listServerNeighbors(args: ListServerNeighborsCommandInput, cb: (err: any, data?: ListServerNeighborsCommandOutput) => void): void;
|
|
136
151
|
listServerNeighbors(args: ListServerNeighborsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServerNeighborsCommandOutput) => void): void;
|
|
152
|
+
/**
|
|
153
|
+
* @see {@link StartBatchDeleteConfigurationTaskCommand}
|
|
154
|
+
*/
|
|
155
|
+
startBatchDeleteConfigurationTask(args: StartBatchDeleteConfigurationTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartBatchDeleteConfigurationTaskCommandOutput>;
|
|
156
|
+
startBatchDeleteConfigurationTask(args: StartBatchDeleteConfigurationTaskCommandInput, cb: (err: any, data?: StartBatchDeleteConfigurationTaskCommandOutput) => void): void;
|
|
157
|
+
startBatchDeleteConfigurationTask(args: StartBatchDeleteConfigurationTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartBatchDeleteConfigurationTaskCommandOutput) => void): void;
|
|
137
158
|
/**
|
|
138
159
|
* @see {@link StartContinuousExportCommand}
|
|
139
160
|
*/
|
|
@@ -9,12 +9,14 @@ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
|
9
9
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
10
|
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
11
|
import { AssociateConfigurationItemsToApplicationCommandInput, AssociateConfigurationItemsToApplicationCommandOutput } from "./commands/AssociateConfigurationItemsToApplicationCommand";
|
|
12
|
+
import { BatchDeleteAgentsCommandInput, BatchDeleteAgentsCommandOutput } from "./commands/BatchDeleteAgentsCommand";
|
|
12
13
|
import { BatchDeleteImportDataCommandInput, BatchDeleteImportDataCommandOutput } from "./commands/BatchDeleteImportDataCommand";
|
|
13
14
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
14
15
|
import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
15
16
|
import { DeleteApplicationsCommandInput, DeleteApplicationsCommandOutput } from "./commands/DeleteApplicationsCommand";
|
|
16
17
|
import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
|
|
17
18
|
import { DescribeAgentsCommandInput, DescribeAgentsCommandOutput } from "./commands/DescribeAgentsCommand";
|
|
19
|
+
import { DescribeBatchDeleteConfigurationTaskCommandInput, DescribeBatchDeleteConfigurationTaskCommandOutput } from "./commands/DescribeBatchDeleteConfigurationTaskCommand";
|
|
18
20
|
import { DescribeConfigurationsCommandInput, DescribeConfigurationsCommandOutput } from "./commands/DescribeConfigurationsCommand";
|
|
19
21
|
import { DescribeContinuousExportsCommandInput, DescribeContinuousExportsCommandOutput } from "./commands/DescribeContinuousExportsCommand";
|
|
20
22
|
import { DescribeExportConfigurationsCommandInput, DescribeExportConfigurationsCommandOutput } from "./commands/DescribeExportConfigurationsCommand";
|
|
@@ -26,6 +28,7 @@ import { ExportConfigurationsCommandInput, ExportConfigurationsCommandOutput } f
|
|
|
26
28
|
import { GetDiscoverySummaryCommandInput, GetDiscoverySummaryCommandOutput } from "./commands/GetDiscoverySummaryCommand";
|
|
27
29
|
import { ListConfigurationsCommandInput, ListConfigurationsCommandOutput } from "./commands/ListConfigurationsCommand";
|
|
28
30
|
import { ListServerNeighborsCommandInput, ListServerNeighborsCommandOutput } from "./commands/ListServerNeighborsCommand";
|
|
31
|
+
import { StartBatchDeleteConfigurationTaskCommandInput, StartBatchDeleteConfigurationTaskCommandOutput } from "./commands/StartBatchDeleteConfigurationTaskCommand";
|
|
29
32
|
import { StartContinuousExportCommandInput, StartContinuousExportCommandOutput } from "./commands/StartContinuousExportCommand";
|
|
30
33
|
import { StartDataCollectionByAgentIdsCommandInput, StartDataCollectionByAgentIdsCommandOutput } from "./commands/StartDataCollectionByAgentIdsCommand";
|
|
31
34
|
import { StartExportTaskCommandInput, StartExportTaskCommandOutput } from "./commands/StartExportTaskCommand";
|
|
@@ -39,11 +42,11 @@ export { __Client };
|
|
|
39
42
|
/**
|
|
40
43
|
* @public
|
|
41
44
|
*/
|
|
42
|
-
export type ServiceInputTypes = AssociateConfigurationItemsToApplicationCommandInput | BatchDeleteImportDataCommandInput | CreateApplicationCommandInput | CreateTagsCommandInput | DeleteApplicationsCommandInput | DeleteTagsCommandInput | DescribeAgentsCommandInput | DescribeConfigurationsCommandInput | DescribeContinuousExportsCommandInput | DescribeExportConfigurationsCommandInput | DescribeExportTasksCommandInput | DescribeImportTasksCommandInput | DescribeTagsCommandInput | DisassociateConfigurationItemsFromApplicationCommandInput | ExportConfigurationsCommandInput | GetDiscoverySummaryCommandInput | ListConfigurationsCommandInput | ListServerNeighborsCommandInput | StartContinuousExportCommandInput | StartDataCollectionByAgentIdsCommandInput | StartExportTaskCommandInput | StartImportTaskCommandInput | StopContinuousExportCommandInput | StopDataCollectionByAgentIdsCommandInput | UpdateApplicationCommandInput;
|
|
45
|
+
export type ServiceInputTypes = AssociateConfigurationItemsToApplicationCommandInput | BatchDeleteAgentsCommandInput | BatchDeleteImportDataCommandInput | CreateApplicationCommandInput | CreateTagsCommandInput | DeleteApplicationsCommandInput | DeleteTagsCommandInput | DescribeAgentsCommandInput | DescribeBatchDeleteConfigurationTaskCommandInput | DescribeConfigurationsCommandInput | DescribeContinuousExportsCommandInput | DescribeExportConfigurationsCommandInput | DescribeExportTasksCommandInput | DescribeImportTasksCommandInput | DescribeTagsCommandInput | DisassociateConfigurationItemsFromApplicationCommandInput | ExportConfigurationsCommandInput | GetDiscoverySummaryCommandInput | ListConfigurationsCommandInput | ListServerNeighborsCommandInput | StartBatchDeleteConfigurationTaskCommandInput | StartContinuousExportCommandInput | StartDataCollectionByAgentIdsCommandInput | StartExportTaskCommandInput | StartImportTaskCommandInput | StopContinuousExportCommandInput | StopDataCollectionByAgentIdsCommandInput | UpdateApplicationCommandInput;
|
|
43
46
|
/**
|
|
44
47
|
* @public
|
|
45
48
|
*/
|
|
46
|
-
export type ServiceOutputTypes = AssociateConfigurationItemsToApplicationCommandOutput | BatchDeleteImportDataCommandOutput | CreateApplicationCommandOutput | CreateTagsCommandOutput | DeleteApplicationsCommandOutput | DeleteTagsCommandOutput | DescribeAgentsCommandOutput | DescribeConfigurationsCommandOutput | DescribeContinuousExportsCommandOutput | DescribeExportConfigurationsCommandOutput | DescribeExportTasksCommandOutput | DescribeImportTasksCommandOutput | DescribeTagsCommandOutput | DisassociateConfigurationItemsFromApplicationCommandOutput | ExportConfigurationsCommandOutput | GetDiscoverySummaryCommandOutput | ListConfigurationsCommandOutput | ListServerNeighborsCommandOutput | StartContinuousExportCommandOutput | StartDataCollectionByAgentIdsCommandOutput | StartExportTaskCommandOutput | StartImportTaskCommandOutput | StopContinuousExportCommandOutput | StopDataCollectionByAgentIdsCommandOutput | UpdateApplicationCommandOutput;
|
|
49
|
+
export type ServiceOutputTypes = AssociateConfigurationItemsToApplicationCommandOutput | BatchDeleteAgentsCommandOutput | BatchDeleteImportDataCommandOutput | CreateApplicationCommandOutput | CreateTagsCommandOutput | DeleteApplicationsCommandOutput | DeleteTagsCommandOutput | DescribeAgentsCommandOutput | DescribeBatchDeleteConfigurationTaskCommandOutput | DescribeConfigurationsCommandOutput | DescribeContinuousExportsCommandOutput | DescribeExportConfigurationsCommandOutput | DescribeExportTasksCommandOutput | DescribeImportTasksCommandOutput | DescribeTagsCommandOutput | DisassociateConfigurationItemsFromApplicationCommandOutput | ExportConfigurationsCommandOutput | GetDiscoverySummaryCommandOutput | ListConfigurationsCommandOutput | ListServerNeighborsCommandOutput | StartBatchDeleteConfigurationTaskCommandOutput | StartContinuousExportCommandOutput | StartDataCollectionByAgentIdsCommandOutput | StartExportTaskCommandOutput | StartImportTaskCommandOutput | StopContinuousExportCommandOutput | StopDataCollectionByAgentIdsCommandOutput | UpdateApplicationCommandOutput;
|
|
47
50
|
/**
|
|
48
51
|
* @public
|
|
49
52
|
*/
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ApplicationDiscoveryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationDiscoveryServiceClient";
|
|
5
|
+
import { BatchDeleteAgentsRequest, BatchDeleteAgentsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchDeleteAgentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchDeleteAgentsCommandInput extends BatchDeleteAgentsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchDeleteAgentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchDeleteAgentsCommandOutput extends BatchDeleteAgentsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Deletes one or more agents or collectors as specified by ID. Deleting an agent or collector does not
|
|
28
|
+
* delete the previously discovered data.
|
|
29
|
+
* To delete the data collected, use <code>StartBatchDeleteConfigurationTask</code>.
|
|
30
|
+
*
|
|
31
|
+
* </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { ApplicationDiscoveryServiceClient, BatchDeleteAgentsCommand } from "@aws-sdk/client-application-discovery-service"; // ES Modules import
|
|
36
|
+
* // const { ApplicationDiscoveryServiceClient, BatchDeleteAgentsCommand } = require("@aws-sdk/client-application-discovery-service"); // CommonJS import
|
|
37
|
+
* const client = new ApplicationDiscoveryServiceClient(config);
|
|
38
|
+
* const input = { // BatchDeleteAgentsRequest
|
|
39
|
+
* deleteAgents: [ // DeleteAgents // required
|
|
40
|
+
* { // DeleteAgent
|
|
41
|
+
* agentId: "STRING_VALUE", // required
|
|
42
|
+
* force: true || false,
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
46
|
+
* const command = new BatchDeleteAgentsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // BatchDeleteAgentsResponse
|
|
49
|
+
* // errors: [ // BatchDeleteAgentErrors
|
|
50
|
+
* // { // BatchDeleteAgentError
|
|
51
|
+
* // agentId: "STRING_VALUE", // required
|
|
52
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
53
|
+
* // errorCode: "NOT_FOUND" || "INTERNAL_SERVER_ERROR" || "AGENT_IN_USE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param BatchDeleteAgentsCommandInput - {@link BatchDeleteAgentsCommandInput}
|
|
61
|
+
* @returns {@link BatchDeleteAgentsCommandOutput}
|
|
62
|
+
* @see {@link BatchDeleteAgentsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link BatchDeleteAgentsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link ApplicationDiscoveryServiceClientResolvedConfig | config} for ApplicationDiscoveryServiceClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
67
|
+
* <p>The user does not have permission to perform the action. Check the IAM
|
|
68
|
+
* policy associated with this user.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
71
|
+
* <p>One or more parameters are not valid. Verify the parameters and try again.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
74
|
+
* <p>The value of one or more parameters are either invalid or out of range. Verify the
|
|
75
|
+
* parameter values and try again.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ServerInternalErrorException} (server fault)
|
|
78
|
+
* <p>The server experienced an internal error. Try again.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ApplicationDiscoveryServiceServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from ApplicationDiscoveryService service.</p>
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
export declare class BatchDeleteAgentsCommand extends $Command<BatchDeleteAgentsCommandInput, BatchDeleteAgentsCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig> {
|
|
85
|
+
readonly input: BatchDeleteAgentsCommandInput;
|
|
86
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
constructor(input: BatchDeleteAgentsCommandInput);
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteAgentsCommandInput, BatchDeleteAgentsCommandOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private serialize;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private deserialize;
|
|
103
|
+
}
|
|
@@ -40,6 +40,7 @@ export interface BatchDeleteImportDataCommandOutput extends BatchDeleteImportDat
|
|
|
40
40
|
* importTaskIds: [ // ToDeleteIdentifierList // required
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
|
+
* deleteHistory: true || false,
|
|
43
44
|
* };
|
|
44
45
|
* const command = new BatchDeleteImportDataCommand(input);
|
|
45
46
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ApplicationDiscoveryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationDiscoveryServiceClient";
|
|
5
|
+
import { DescribeBatchDeleteConfigurationTaskRequest, DescribeBatchDeleteConfigurationTaskResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeBatchDeleteConfigurationTaskCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeBatchDeleteConfigurationTaskCommandInput extends DescribeBatchDeleteConfigurationTaskRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeBatchDeleteConfigurationTaskCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeBatchDeleteConfigurationTaskCommandOutput extends DescribeBatchDeleteConfigurationTaskResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ApplicationDiscoveryServiceClient, DescribeBatchDeleteConfigurationTaskCommand } from "@aws-sdk/client-application-discovery-service"; // ES Modules import
|
|
32
|
+
* // const { ApplicationDiscoveryServiceClient, DescribeBatchDeleteConfigurationTaskCommand } = require("@aws-sdk/client-application-discovery-service"); // CommonJS import
|
|
33
|
+
* const client = new ApplicationDiscoveryServiceClient(config);
|
|
34
|
+
* const input = { // DescribeBatchDeleteConfigurationTaskRequest
|
|
35
|
+
* taskId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DescribeBatchDeleteConfigurationTaskCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeBatchDeleteConfigurationTaskResponse
|
|
40
|
+
* // task: { // BatchDeleteConfigurationTask
|
|
41
|
+
* // taskId: "STRING_VALUE",
|
|
42
|
+
* // status: "INITIALIZING" || "VALIDATING" || "DELETING" || "COMPLETED" || "FAILED",
|
|
43
|
+
* // startTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // endTime: new Date("TIMESTAMP"),
|
|
45
|
+
* // configurationType: "SERVER",
|
|
46
|
+
* // requestedConfigurations: [ // ConfigurationIdList
|
|
47
|
+
* // "STRING_VALUE",
|
|
48
|
+
* // ],
|
|
49
|
+
* // deletedConfigurations: [
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // failedConfigurations: [ // FailedConfigurationList
|
|
53
|
+
* // { // FailedConfiguration
|
|
54
|
+
* // configurationId: "STRING_VALUE",
|
|
55
|
+
* // errorStatusCode: Number("int"),
|
|
56
|
+
* // errorMessage: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // deletionWarnings: [ // DeletionWarningsList
|
|
60
|
+
* // { // DeletionWarning
|
|
61
|
+
* // configurationId: "STRING_VALUE",
|
|
62
|
+
* // warningCode: Number("int"),
|
|
63
|
+
* // warningText: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // },
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param DescribeBatchDeleteConfigurationTaskCommandInput - {@link DescribeBatchDeleteConfigurationTaskCommandInput}
|
|
72
|
+
* @returns {@link DescribeBatchDeleteConfigurationTaskCommandOutput}
|
|
73
|
+
* @see {@link DescribeBatchDeleteConfigurationTaskCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link DescribeBatchDeleteConfigurationTaskCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link ApplicationDiscoveryServiceClientResolvedConfig | config} for ApplicationDiscoveryServiceClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
78
|
+
* <p>The user does not have permission to perform the action. Check the IAM
|
|
79
|
+
* policy associated with this user.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link HomeRegionNotSetException} (client fault)
|
|
82
|
+
* <p>The home Region is not set. Set the home Region to continue.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
85
|
+
* <p>The value of one or more parameters are either invalid or out of range. Verify the
|
|
86
|
+
* parameter values and try again.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ServerInternalErrorException} (server fault)
|
|
89
|
+
* <p>The server experienced an internal error. Try again.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ApplicationDiscoveryServiceServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from ApplicationDiscoveryService service.</p>
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
export declare class DescribeBatchDeleteConfigurationTaskCommand extends $Command<DescribeBatchDeleteConfigurationTaskCommandInput, DescribeBatchDeleteConfigurationTaskCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig> {
|
|
96
|
+
readonly input: DescribeBatchDeleteConfigurationTaskCommandInput;
|
|
97
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
constructor(input: DescribeBatchDeleteConfigurationTaskCommandInput);
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBatchDeleteConfigurationTaskCommandInput, DescribeBatchDeleteConfigurationTaskCommandOutput>;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
private serialize;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
private deserialize;
|
|
114
|
+
}
|