@aws-sdk/client-application-discovery-service 3.431.0 → 3.435.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
|
@@ -0,0 +1,101 @@
|
|
|
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 { StartBatchDeleteConfigurationTaskRequest, StartBatchDeleteConfigurationTaskResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartBatchDeleteConfigurationTaskCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartBatchDeleteConfigurationTaskCommandInput extends StartBatchDeleteConfigurationTaskRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartBatchDeleteConfigurationTaskCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartBatchDeleteConfigurationTaskCommandOutput extends StartBatchDeleteConfigurationTaskResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Takes a list of configurationId as input and starts an asynchronous deletion
|
|
28
|
+
* task to remove the configurationItems. Returns a unique deletion task identifier.
|
|
29
|
+
* </p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ApplicationDiscoveryServiceClient, StartBatchDeleteConfigurationTaskCommand } from "@aws-sdk/client-application-discovery-service"; // ES Modules import
|
|
34
|
+
* // const { ApplicationDiscoveryServiceClient, StartBatchDeleteConfigurationTaskCommand } = require("@aws-sdk/client-application-discovery-service"); // CommonJS import
|
|
35
|
+
* const client = new ApplicationDiscoveryServiceClient(config);
|
|
36
|
+
* const input = { // StartBatchDeleteConfigurationTaskRequest
|
|
37
|
+
* configurationType: "SERVER", // required
|
|
38
|
+
* configurationIds: [ // ConfigurationIdList // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
42
|
+
* const command = new StartBatchDeleteConfigurationTaskCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // StartBatchDeleteConfigurationTaskResponse
|
|
45
|
+
* // taskId: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param StartBatchDeleteConfigurationTaskCommandInput - {@link StartBatchDeleteConfigurationTaskCommandInput}
|
|
51
|
+
* @returns {@link StartBatchDeleteConfigurationTaskCommandOutput}
|
|
52
|
+
* @see {@link StartBatchDeleteConfigurationTaskCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link StartBatchDeleteConfigurationTaskCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link ApplicationDiscoveryServiceClientResolvedConfig | config} for ApplicationDiscoveryServiceClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
57
|
+
* <p>The user does not have permission to perform the action. Check the IAM
|
|
58
|
+
* policy associated with this user.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link HomeRegionNotSetException} (client fault)
|
|
61
|
+
* <p>The home Region is not set. Set the home Region to continue.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
64
|
+
* <p>The value of one or more parameters are either invalid or out of range. Verify the
|
|
65
|
+
* parameter values and try again.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
68
|
+
* <p>
|
|
69
|
+
* The limit of 200 configuration IDs per request has been exceeded.
|
|
70
|
+
* </p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link OperationNotPermittedException} (client fault)
|
|
73
|
+
* <p>This operation is not permitted.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ServerInternalErrorException} (server fault)
|
|
76
|
+
* <p>The server experienced an internal error. Try again.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ApplicationDiscoveryServiceServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from ApplicationDiscoveryService service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class StartBatchDeleteConfigurationTaskCommand extends $Command<StartBatchDeleteConfigurationTaskCommandInput, StartBatchDeleteConfigurationTaskCommandOutput, ApplicationDiscoveryServiceClientResolvedConfig> {
|
|
83
|
+
readonly input: StartBatchDeleteConfigurationTaskCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: StartBatchDeleteConfigurationTaskCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationDiscoveryServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartBatchDeleteConfigurationTaskCommandInput, StartBatchDeleteConfigurationTaskCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export * from "./AssociateConfigurationItemsToApplicationCommand";
|
|
2
|
+
export * from "./BatchDeleteAgentsCommand";
|
|
2
3
|
export * from "./BatchDeleteImportDataCommand";
|
|
3
4
|
export * from "./CreateApplicationCommand";
|
|
4
5
|
export * from "./CreateTagsCommand";
|
|
5
6
|
export * from "./DeleteApplicationsCommand";
|
|
6
7
|
export * from "./DeleteTagsCommand";
|
|
7
8
|
export * from "./DescribeAgentsCommand";
|
|
9
|
+
export * from "./DescribeBatchDeleteConfigurationTaskCommand";
|
|
8
10
|
export * from "./DescribeConfigurationsCommand";
|
|
9
11
|
export * from "./DescribeContinuousExportsCommand";
|
|
10
12
|
export * from "./DescribeExportConfigurationsCommand";
|
|
@@ -16,6 +18,7 @@ export * from "./ExportConfigurationsCommand";
|
|
|
16
18
|
export * from "./GetDiscoverySummaryCommand";
|
|
17
19
|
export * from "./ListConfigurationsCommand";
|
|
18
20
|
export * from "./ListServerNeighborsCommand";
|
|
21
|
+
export * from "./StartBatchDeleteConfigurationTaskCommand";
|
|
19
22
|
export * from "./StartContinuousExportCommand";
|
|
20
23
|
export * from "./StartDataCollectionByAgentIdsCommand";
|
|
21
24
|
export * from "./StartExportTaskCommand";
|
|
@@ -200,6 +200,99 @@ export declare class ServerInternalErrorException extends __BaseException {
|
|
|
200
200
|
*/
|
|
201
201
|
constructor(opts: __ExceptionOptionType<ServerInternalErrorException, __BaseException>);
|
|
202
202
|
}
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
* <p>
|
|
206
|
+
* An object representing the agent or data collector to be deleted along with
|
|
207
|
+
* the optional configurations for error handling.
|
|
208
|
+
* </p>
|
|
209
|
+
*/
|
|
210
|
+
export interface DeleteAgent {
|
|
211
|
+
/**
|
|
212
|
+
* @public
|
|
213
|
+
* <p>
|
|
214
|
+
* The ID of the agent or data collector to delete.
|
|
215
|
+
* </p>
|
|
216
|
+
*/
|
|
217
|
+
agentId: string | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
* <p>
|
|
221
|
+
* Optional flag used to force delete an agent or data collector. It is needed to delete any agent in
|
|
222
|
+
* HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it
|
|
223
|
+
* to be re-registered with a different agent ID after data collector re-connects with Amazon Web Services.
|
|
224
|
+
* </p>
|
|
225
|
+
*/
|
|
226
|
+
force?: boolean;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export interface BatchDeleteAgentsRequest {
|
|
232
|
+
/**
|
|
233
|
+
* @public
|
|
234
|
+
* <p>
|
|
235
|
+
* The list of agents to delete.
|
|
236
|
+
* </p>
|
|
237
|
+
*/
|
|
238
|
+
deleteAgents: DeleteAgent[] | undefined;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* @public
|
|
242
|
+
* @enum
|
|
243
|
+
*/
|
|
244
|
+
export declare const DeleteAgentErrorCode: {
|
|
245
|
+
readonly AGENT_IN_USE: "AGENT_IN_USE";
|
|
246
|
+
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
247
|
+
readonly NOT_FOUND: "NOT_FOUND";
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
export type DeleteAgentErrorCode = (typeof DeleteAgentErrorCode)[keyof typeof DeleteAgentErrorCode];
|
|
253
|
+
/**
|
|
254
|
+
* @public
|
|
255
|
+
* <p>
|
|
256
|
+
* An object representing the agent or data collector that failed to delete, each containing agentId,
|
|
257
|
+
* errorMessage, and errorCode.
|
|
258
|
+
* </p>
|
|
259
|
+
*/
|
|
260
|
+
export interface BatchDeleteAgentError {
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
* <p>
|
|
264
|
+
* The ID of the agent or data collector to delete.
|
|
265
|
+
* </p>
|
|
266
|
+
*/
|
|
267
|
+
agentId: string | undefined;
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
* <p>
|
|
271
|
+
* The description of the error that occurred for the delete failed agent.
|
|
272
|
+
* </p>
|
|
273
|
+
*/
|
|
274
|
+
errorMessage: string | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
* <p>
|
|
278
|
+
* The type of error that occurred for the delete failed agent.
|
|
279
|
+
* Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.
|
|
280
|
+
* </p>
|
|
281
|
+
*/
|
|
282
|
+
errorCode: DeleteAgentErrorCode | undefined;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
export interface BatchDeleteAgentsResponse {
|
|
288
|
+
/**
|
|
289
|
+
* @public
|
|
290
|
+
* <p>
|
|
291
|
+
* A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
|
|
292
|
+
* </p>
|
|
293
|
+
*/
|
|
294
|
+
errors?: BatchDeleteAgentError[];
|
|
295
|
+
}
|
|
203
296
|
/**
|
|
204
297
|
* @public
|
|
205
298
|
*/
|
|
@@ -209,6 +302,14 @@ export interface BatchDeleteImportDataRequest {
|
|
|
209
302
|
* <p>The IDs for the import tasks that you want to delete.</p>
|
|
210
303
|
*/
|
|
211
304
|
importTaskIds: string[] | undefined;
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
* <p>
|
|
308
|
+
* Set to <code>true</code> to remove the deleted import task from
|
|
309
|
+
* <a>DescribeImportTasks</a>.
|
|
310
|
+
* </p>
|
|
311
|
+
*/
|
|
312
|
+
deleteHistory?: boolean;
|
|
212
313
|
}
|
|
213
314
|
/**
|
|
214
315
|
* @public
|
|
@@ -464,6 +565,188 @@ export interface DescribeAgentsResponse {
|
|
|
464
565
|
*/
|
|
465
566
|
nextToken?: string;
|
|
466
567
|
}
|
|
568
|
+
/**
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
export interface DescribeBatchDeleteConfigurationTaskRequest {
|
|
572
|
+
/**
|
|
573
|
+
* @public
|
|
574
|
+
* <p>
|
|
575
|
+
* The ID of the task to delete.
|
|
576
|
+
* </p>
|
|
577
|
+
*/
|
|
578
|
+
taskId: string | undefined;
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* @public
|
|
582
|
+
* @enum
|
|
583
|
+
*/
|
|
584
|
+
export declare const DeletionConfigurationItemType: {
|
|
585
|
+
readonly SERVER: "SERVER";
|
|
586
|
+
};
|
|
587
|
+
/**
|
|
588
|
+
* @public
|
|
589
|
+
*/
|
|
590
|
+
export type DeletionConfigurationItemType = (typeof DeletionConfigurationItemType)[keyof typeof DeletionConfigurationItemType];
|
|
591
|
+
/**
|
|
592
|
+
* @public
|
|
593
|
+
* <p>
|
|
594
|
+
* A configuration ID paired with a warning message.
|
|
595
|
+
* </p>
|
|
596
|
+
*/
|
|
597
|
+
export interface DeletionWarning {
|
|
598
|
+
/**
|
|
599
|
+
* @public
|
|
600
|
+
* <p>
|
|
601
|
+
* The unique identifier of the configuration that produced a warning.
|
|
602
|
+
* </p>
|
|
603
|
+
*/
|
|
604
|
+
configurationId?: string;
|
|
605
|
+
/**
|
|
606
|
+
* @public
|
|
607
|
+
* <p>
|
|
608
|
+
* The integer warning code associated with the warning message.
|
|
609
|
+
* </p>
|
|
610
|
+
*/
|
|
611
|
+
warningCode?: number;
|
|
612
|
+
/**
|
|
613
|
+
* @public
|
|
614
|
+
* <p>
|
|
615
|
+
* A descriptive message of the warning the associated configuration ID produced.
|
|
616
|
+
* </p>
|
|
617
|
+
*/
|
|
618
|
+
warningText?: string;
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* @public
|
|
622
|
+
* <p>
|
|
623
|
+
* A configuration ID paired with an error message.
|
|
624
|
+
* </p>
|
|
625
|
+
*/
|
|
626
|
+
export interface FailedConfiguration {
|
|
627
|
+
/**
|
|
628
|
+
* @public
|
|
629
|
+
* <p>
|
|
630
|
+
* The unique identifier of the configuration the failed to delete.
|
|
631
|
+
* </p>
|
|
632
|
+
*/
|
|
633
|
+
configurationId?: string;
|
|
634
|
+
/**
|
|
635
|
+
* @public
|
|
636
|
+
* <p>
|
|
637
|
+
* The integer error code associated with the error message.
|
|
638
|
+
* </p>
|
|
639
|
+
*/
|
|
640
|
+
errorStatusCode?: number;
|
|
641
|
+
/**
|
|
642
|
+
* @public
|
|
643
|
+
* <p>
|
|
644
|
+
* A descriptive message indicating why the associated configuration failed to delete.
|
|
645
|
+
* </p>
|
|
646
|
+
*/
|
|
647
|
+
errorMessage?: string;
|
|
648
|
+
}
|
|
649
|
+
/**
|
|
650
|
+
* @public
|
|
651
|
+
* @enum
|
|
652
|
+
*/
|
|
653
|
+
export declare const BatchDeleteConfigurationTaskStatus: {
|
|
654
|
+
readonly COMPLETED: "COMPLETED";
|
|
655
|
+
readonly DELETING: "DELETING";
|
|
656
|
+
readonly FAILED: "FAILED";
|
|
657
|
+
readonly INITIALIZING: "INITIALIZING";
|
|
658
|
+
readonly VALIDATING: "VALIDATING";
|
|
659
|
+
};
|
|
660
|
+
/**
|
|
661
|
+
* @public
|
|
662
|
+
*/
|
|
663
|
+
export type BatchDeleteConfigurationTaskStatus = (typeof BatchDeleteConfigurationTaskStatus)[keyof typeof BatchDeleteConfigurationTaskStatus];
|
|
664
|
+
/**
|
|
665
|
+
* @public
|
|
666
|
+
* <p>
|
|
667
|
+
* A metadata object that represents the deletion task being executed.
|
|
668
|
+
* </p>
|
|
669
|
+
*/
|
|
670
|
+
export interface BatchDeleteConfigurationTask {
|
|
671
|
+
/**
|
|
672
|
+
* @public
|
|
673
|
+
* <p>
|
|
674
|
+
* The deletion task's unique identifier.
|
|
675
|
+
* </p>
|
|
676
|
+
*/
|
|
677
|
+
taskId?: string;
|
|
678
|
+
/**
|
|
679
|
+
* @public
|
|
680
|
+
* <p>
|
|
681
|
+
* The current execution status of the deletion task.
|
|
682
|
+
* Valid status are: INITIALIZING | VALIDATING | DELETING | COMPLETED | FAILED.
|
|
683
|
+
* </p>
|
|
684
|
+
*/
|
|
685
|
+
status?: BatchDeleteConfigurationTaskStatus;
|
|
686
|
+
/**
|
|
687
|
+
* @public
|
|
688
|
+
* <p>
|
|
689
|
+
* An epoch seconds timestamp (UTC) of when the deletion task was started.
|
|
690
|
+
* </p>
|
|
691
|
+
*/
|
|
692
|
+
startTime?: Date;
|
|
693
|
+
/**
|
|
694
|
+
* @public
|
|
695
|
+
* <p>
|
|
696
|
+
* An epoch seconds timestamp (UTC) of when the deletion task was completed or failed.
|
|
697
|
+
* </p>
|
|
698
|
+
*/
|
|
699
|
+
endTime?: Date;
|
|
700
|
+
/**
|
|
701
|
+
* @public
|
|
702
|
+
* <p>
|
|
703
|
+
* The type of configuration item to delete. Supported types are: SERVER.
|
|
704
|
+
* </p>
|
|
705
|
+
*/
|
|
706
|
+
configurationType?: DeletionConfigurationItemType;
|
|
707
|
+
/**
|
|
708
|
+
* @public
|
|
709
|
+
* <p>
|
|
710
|
+
* The list of configuration IDs that were originally requested to be deleted by the deletion task.
|
|
711
|
+
* </p>
|
|
712
|
+
*/
|
|
713
|
+
requestedConfigurations?: string[];
|
|
714
|
+
/**
|
|
715
|
+
* @public
|
|
716
|
+
* <p>
|
|
717
|
+
* The list of configuration IDs that were successfully deleted by the deletion task.
|
|
718
|
+
* </p>
|
|
719
|
+
*/
|
|
720
|
+
deletedConfigurations?: string[];
|
|
721
|
+
/**
|
|
722
|
+
* @public
|
|
723
|
+
* <p>
|
|
724
|
+
* A list of configuration IDs that failed to delete during the deletion task,
|
|
725
|
+
* each paired with an error message.
|
|
726
|
+
* </p>
|
|
727
|
+
*/
|
|
728
|
+
failedConfigurations?: FailedConfiguration[];
|
|
729
|
+
/**
|
|
730
|
+
* @public
|
|
731
|
+
* <p>
|
|
732
|
+
* A list of configuration IDs that produced warnings regarding their deletion,
|
|
733
|
+
* paired with a warning message.
|
|
734
|
+
* </p>
|
|
735
|
+
*/
|
|
736
|
+
deletionWarnings?: DeletionWarning[];
|
|
737
|
+
}
|
|
738
|
+
/**
|
|
739
|
+
* @public
|
|
740
|
+
*/
|
|
741
|
+
export interface DescribeBatchDeleteConfigurationTaskResponse {
|
|
742
|
+
/**
|
|
743
|
+
* @public
|
|
744
|
+
* <p>
|
|
745
|
+
* The <code>BatchDeleteConfigurationTask</code> that represents the deletion task being executed.
|
|
746
|
+
* </p>
|
|
747
|
+
*/
|
|
748
|
+
task?: BatchDeleteConfigurationTask;
|
|
749
|
+
}
|
|
467
750
|
/**
|
|
468
751
|
* @public
|
|
469
752
|
*/
|
|
@@ -1623,6 +1906,51 @@ export interface ListServerNeighborsResponse {
|
|
|
1623
1906
|
*/
|
|
1624
1907
|
knownDependencyCount?: number;
|
|
1625
1908
|
}
|
|
1909
|
+
/**
|
|
1910
|
+
* @public
|
|
1911
|
+
* <p>
|
|
1912
|
+
* The limit of 200 configuration IDs per request has been exceeded.
|
|
1913
|
+
* </p>
|
|
1914
|
+
*/
|
|
1915
|
+
export declare class LimitExceededException extends __BaseException {
|
|
1916
|
+
readonly name: "LimitExceededException";
|
|
1917
|
+
readonly $fault: "client";
|
|
1918
|
+
/**
|
|
1919
|
+
* @internal
|
|
1920
|
+
*/
|
|
1921
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
1922
|
+
}
|
|
1923
|
+
/**
|
|
1924
|
+
* @public
|
|
1925
|
+
*/
|
|
1926
|
+
export interface StartBatchDeleteConfigurationTaskRequest {
|
|
1927
|
+
/**
|
|
1928
|
+
* @public
|
|
1929
|
+
* <p>
|
|
1930
|
+
* The type of configuration item to delete. Supported types are: SERVER.
|
|
1931
|
+
* </p>
|
|
1932
|
+
*/
|
|
1933
|
+
configurationType: DeletionConfigurationItemType | undefined;
|
|
1934
|
+
/**
|
|
1935
|
+
* @public
|
|
1936
|
+
* <p>
|
|
1937
|
+
* The list of configuration IDs that will be deleted by the task.
|
|
1938
|
+
* </p>
|
|
1939
|
+
*/
|
|
1940
|
+
configurationIds: string[] | undefined;
|
|
1941
|
+
}
|
|
1942
|
+
/**
|
|
1943
|
+
* @public
|
|
1944
|
+
*/
|
|
1945
|
+
export interface StartBatchDeleteConfigurationTaskResponse {
|
|
1946
|
+
/**
|
|
1947
|
+
* @public
|
|
1948
|
+
* <p>
|
|
1949
|
+
* The unique identifier associated with the newly started deletion task.
|
|
1950
|
+
* </p>
|
|
1951
|
+
*/
|
|
1952
|
+
taskId?: string;
|
|
1953
|
+
}
|
|
1626
1954
|
/**
|
|
1627
1955
|
* @public
|
|
1628
1956
|
* <p>Conflict error.</p>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeAgentsCommandInput, DescribeAgentsCommandOutput } from "../commands/DescribeAgentsCommand";
|
|
3
|
+
import { ApplicationDiscoveryServicePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateDescribeAgents(config: ApplicationDiscoveryServicePaginationConfiguration, input: DescribeAgentsCommandInput, ...additionalArguments: any): Paginator<DescribeAgentsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeExportConfigurationsCommandInput, DescribeExportConfigurationsCommandOutput } from "../commands/DescribeExportConfigurationsCommand";
|
|
3
|
+
import { ApplicationDiscoveryServicePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateDescribeExportConfigurations(config: ApplicationDiscoveryServicePaginationConfiguration, input: DescribeExportConfigurationsCommandInput, ...additionalArguments: any): Paginator<DescribeExportConfigurationsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeExportTasksCommandInput, DescribeExportTasksCommandOutput } from "../commands/DescribeExportTasksCommand";
|
|
3
|
+
import { ApplicationDiscoveryServicePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateDescribeExportTasks(config: ApplicationDiscoveryServicePaginationConfiguration, input: DescribeExportTasksCommandInput, ...additionalArguments: any): Paginator<DescribeExportTasksCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "../commands/DescribeTagsCommand";
|
|
3
|
+
import { ApplicationDiscoveryServicePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateDescribeTags(config: ApplicationDiscoveryServicePaginationConfiguration, input: DescribeTagsCommandInput, ...additionalArguments: any): Paginator<DescribeTagsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListConfigurationsCommandInput, ListConfigurationsCommandOutput } from "../commands/ListConfigurationsCommand";
|
|
3
|
+
import { ApplicationDiscoveryServicePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListConfigurations(config: ApplicationDiscoveryServicePaginationConfiguration, input: ListConfigurationsCommandInput, ...additionalArguments: any): Paginator<ListConfigurationsCommandOutput>;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export * from "./DescribeAgentsPaginator";
|
|
1
2
|
export * from "./DescribeContinuousExportsPaginator";
|
|
3
|
+
export * from "./DescribeExportConfigurationsPaginator";
|
|
4
|
+
export * from "./DescribeExportTasksPaginator";
|
|
2
5
|
export * from "./DescribeImportTasksPaginator";
|
|
6
|
+
export * from "./DescribeTagsPaginator";
|
|
3
7
|
export * from "./Interfaces";
|
|
8
|
+
export * from "./ListConfigurationsPaginator";
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
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";
|
|
@@ -29,6 +32,10 @@ import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from ".
|
|
|
29
32
|
* serializeAws_json1_1AssociateConfigurationItemsToApplicationCommand
|
|
30
33
|
*/
|
|
31
34
|
export declare const se_AssociateConfigurationItemsToApplicationCommand: (input: AssociateConfigurationItemsToApplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
+
/**
|
|
36
|
+
* serializeAws_json1_1BatchDeleteAgentsCommand
|
|
37
|
+
*/
|
|
38
|
+
export declare const se_BatchDeleteAgentsCommand: (input: BatchDeleteAgentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
39
|
/**
|
|
33
40
|
* serializeAws_json1_1BatchDeleteImportDataCommand
|
|
34
41
|
*/
|
|
@@ -53,6 +60,10 @@ export declare const se_DeleteTagsCommand: (input: DeleteTagsCommandInput, conte
|
|
|
53
60
|
* serializeAws_json1_1DescribeAgentsCommand
|
|
54
61
|
*/
|
|
55
62
|
export declare const se_DescribeAgentsCommand: (input: DescribeAgentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
|
+
/**
|
|
64
|
+
* serializeAws_json1_1DescribeBatchDeleteConfigurationTaskCommand
|
|
65
|
+
*/
|
|
66
|
+
export declare const se_DescribeBatchDeleteConfigurationTaskCommand: (input: DescribeBatchDeleteConfigurationTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
67
|
/**
|
|
57
68
|
* serializeAws_json1_1DescribeConfigurationsCommand
|
|
58
69
|
*/
|
|
@@ -97,6 +108,10 @@ export declare const se_ListConfigurationsCommand: (input: ListConfigurationsCom
|
|
|
97
108
|
* serializeAws_json1_1ListServerNeighborsCommand
|
|
98
109
|
*/
|
|
99
110
|
export declare const se_ListServerNeighborsCommand: (input: ListServerNeighborsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
111
|
+
/**
|
|
112
|
+
* serializeAws_json1_1StartBatchDeleteConfigurationTaskCommand
|
|
113
|
+
*/
|
|
114
|
+
export declare const se_StartBatchDeleteConfigurationTaskCommand: (input: StartBatchDeleteConfigurationTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
100
115
|
/**
|
|
101
116
|
* serializeAws_json1_1StartContinuousExportCommand
|
|
102
117
|
*/
|
|
@@ -129,6 +144,10 @@ export declare const se_UpdateApplicationCommand: (input: UpdateApplicationComma
|
|
|
129
144
|
* deserializeAws_json1_1AssociateConfigurationItemsToApplicationCommand
|
|
130
145
|
*/
|
|
131
146
|
export declare const de_AssociateConfigurationItemsToApplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateConfigurationItemsToApplicationCommandOutput>;
|
|
147
|
+
/**
|
|
148
|
+
* deserializeAws_json1_1BatchDeleteAgentsCommand
|
|
149
|
+
*/
|
|
150
|
+
export declare const de_BatchDeleteAgentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchDeleteAgentsCommandOutput>;
|
|
132
151
|
/**
|
|
133
152
|
* deserializeAws_json1_1BatchDeleteImportDataCommand
|
|
134
153
|
*/
|
|
@@ -153,6 +172,10 @@ export declare const de_DeleteTagsCommand: (output: __HttpResponse, context: __S
|
|
|
153
172
|
* deserializeAws_json1_1DescribeAgentsCommand
|
|
154
173
|
*/
|
|
155
174
|
export declare const de_DescribeAgentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAgentsCommandOutput>;
|
|
175
|
+
/**
|
|
176
|
+
* deserializeAws_json1_1DescribeBatchDeleteConfigurationTaskCommand
|
|
177
|
+
*/
|
|
178
|
+
export declare const de_DescribeBatchDeleteConfigurationTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeBatchDeleteConfigurationTaskCommandOutput>;
|
|
156
179
|
/**
|
|
157
180
|
* deserializeAws_json1_1DescribeConfigurationsCommand
|
|
158
181
|
*/
|
|
@@ -197,6 +220,10 @@ export declare const de_ListConfigurationsCommand: (output: __HttpResponse, cont
|
|
|
197
220
|
* deserializeAws_json1_1ListServerNeighborsCommand
|
|
198
221
|
*/
|
|
199
222
|
export declare const de_ListServerNeighborsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListServerNeighborsCommandOutput>;
|
|
223
|
+
/**
|
|
224
|
+
* deserializeAws_json1_1StartBatchDeleteConfigurationTaskCommand
|
|
225
|
+
*/
|
|
226
|
+
export declare const de_StartBatchDeleteConfigurationTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartBatchDeleteConfigurationTaskCommandOutput>;
|
|
200
227
|
/**
|
|
201
228
|
* deserializeAws_json1_1StartContinuousExportCommand
|
|
202
229
|
*/
|