1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class Discovery extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: Discovery.Types.ClientConfiguration)
|
13 | config: Config & Discovery.Types.ClientConfiguration;
|
14 | /**
|
15 | * Associates one or more configuration items with an application.
|
16 | */
|
17 | associateConfigurationItemsToApplication(params: Discovery.Types.AssociateConfigurationItemsToApplicationRequest, callback?: (err: AWSError, data: Discovery.Types.AssociateConfigurationItemsToApplicationResponse) => void): Request<Discovery.Types.AssociateConfigurationItemsToApplicationResponse, AWSError>;
|
18 | /**
|
19 | * Associates one or more configuration items with an application.
|
20 | */
|
21 | associateConfigurationItemsToApplication(callback?: (err: AWSError, data: Discovery.Types.AssociateConfigurationItemsToApplicationResponse) => void): Request<Discovery.Types.AssociateConfigurationItemsToApplicationResponse, AWSError>;
|
22 | /**
|
23 | * Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records that can identify servers or applications. AWS Application Discovery Service has built-in matching logic that will identify when discovered servers match existing entries that you've previously discovered, the information for the already-existing discovered server is updated. When you delete an import task that contains records that were used to match, the information in those matched records that comes from the deleted records will also be deleted.
|
24 | */
|
25 | batchDeleteImportData(params: Discovery.Types.BatchDeleteImportDataRequest, callback?: (err: AWSError, data: Discovery.Types.BatchDeleteImportDataResponse) => void): Request<Discovery.Types.BatchDeleteImportDataResponse, AWSError>;
|
26 | /**
|
27 | * Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records that can identify servers or applications. AWS Application Discovery Service has built-in matching logic that will identify when discovered servers match existing entries that you've previously discovered, the information for the already-existing discovered server is updated. When you delete an import task that contains records that were used to match, the information in those matched records that comes from the deleted records will also be deleted.
|
28 | */
|
29 | batchDeleteImportData(callback?: (err: AWSError, data: Discovery.Types.BatchDeleteImportDataResponse) => void): Request<Discovery.Types.BatchDeleteImportDataResponse, AWSError>;
|
30 | /**
|
31 | * Creates an application with the given name and description.
|
32 | */
|
33 | createApplication(params: Discovery.Types.CreateApplicationRequest, callback?: (err: AWSError, data: Discovery.Types.CreateApplicationResponse) => void): Request<Discovery.Types.CreateApplicationResponse, AWSError>;
|
34 | /**
|
35 | * Creates an application with the given name and description.
|
36 | */
|
37 | createApplication(callback?: (err: AWSError, data: Discovery.Types.CreateApplicationResponse) => void): Request<Discovery.Types.CreateApplicationResponse, AWSError>;
|
38 | /**
|
39 | * Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items.
|
40 | */
|
41 | createTags(params: Discovery.Types.CreateTagsRequest, callback?: (err: AWSError, data: Discovery.Types.CreateTagsResponse) => void): Request<Discovery.Types.CreateTagsResponse, AWSError>;
|
42 | /**
|
43 | * Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items.
|
44 | */
|
45 | createTags(callback?: (err: AWSError, data: Discovery.Types.CreateTagsResponse) => void): Request<Discovery.Types.CreateTagsResponse, AWSError>;
|
46 | /**
|
47 | * Deletes a list of applications and their associations with configuration items.
|
48 | */
|
49 | deleteApplications(params: Discovery.Types.DeleteApplicationsRequest, callback?: (err: AWSError, data: Discovery.Types.DeleteApplicationsResponse) => void): Request<Discovery.Types.DeleteApplicationsResponse, AWSError>;
|
50 | /**
|
51 | * Deletes a list of applications and their associations with configuration items.
|
52 | */
|
53 | deleteApplications(callback?: (err: AWSError, data: Discovery.Types.DeleteApplicationsResponse) => void): Request<Discovery.Types.DeleteApplicationsResponse, AWSError>;
|
54 | /**
|
55 | * Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
|
56 | */
|
57 | deleteTags(params: Discovery.Types.DeleteTagsRequest, callback?: (err: AWSError, data: Discovery.Types.DeleteTagsResponse) => void): Request<Discovery.Types.DeleteTagsResponse, AWSError>;
|
58 | /**
|
59 | * Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
|
60 | */
|
61 | deleteTags(callback?: (err: AWSError, data: Discovery.Types.DeleteTagsResponse) => void): Request<Discovery.Types.DeleteTagsResponse, AWSError>;
|
62 | /**
|
63 | * Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user account can be listed if you call DescribeAgents as is without passing any parameters.
|
64 | */
|
65 | describeAgents(params: Discovery.Types.DescribeAgentsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeAgentsResponse) => void): Request<Discovery.Types.DescribeAgentsResponse, AWSError>;
|
66 | /**
|
67 | * Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user account can be listed if you call DescribeAgents as is without passing any parameters.
|
68 | */
|
69 | describeAgents(callback?: (err: AWSError, data: Discovery.Types.DescribeAgentsResponse) => void): Request<Discovery.Types.DescribeAgentsResponse, AWSError>;
|
70 | /**
|
71 | * Retrieves attributes for a list of configuration item IDs. All of the supplied IDs must be for the same asset type from one of the following: server application process connection Output fields are specific to the asset type specified. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, number of network cards, etc. For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action.
|
72 | */
|
73 | describeConfigurations(params: Discovery.Types.DescribeConfigurationsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeConfigurationsResponse) => void): Request<Discovery.Types.DescribeConfigurationsResponse, AWSError>;
|
74 | /**
|
75 | * Retrieves attributes for a list of configuration item IDs. All of the supplied IDs must be for the same asset type from one of the following: server application process connection Output fields are specific to the asset type specified. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, number of network cards, etc. For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action.
|
76 | */
|
77 | describeConfigurations(callback?: (err: AWSError, data: Discovery.Types.DescribeConfigurationsResponse) => void): Request<Discovery.Types.DescribeConfigurationsResponse, AWSError>;
|
78 | /**
|
79 | * Lists exports as specified by ID. All continuous exports associated with your user account can be listed if you call DescribeContinuousExports as is without passing any parameters.
|
80 | */
|
81 | describeContinuousExports(params: Discovery.Types.DescribeContinuousExportsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeContinuousExportsResponse) => void): Request<Discovery.Types.DescribeContinuousExportsResponse, AWSError>;
|
82 | /**
|
83 | * Lists exports as specified by ID. All continuous exports associated with your user account can be listed if you call DescribeContinuousExports as is without passing any parameters.
|
84 | */
|
85 | describeContinuousExports(callback?: (err: AWSError, data: Discovery.Types.DescribeContinuousExportsResponse) => void): Request<Discovery.Types.DescribeContinuousExportsResponse, AWSError>;
|
86 | /**
|
87 | * DescribeExportConfigurations is deprecated. Use DescribeImportTasks, instead.
|
88 | */
|
89 | describeExportConfigurations(params: Discovery.Types.DescribeExportConfigurationsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeExportConfigurationsResponse) => void): Request<Discovery.Types.DescribeExportConfigurationsResponse, AWSError>;
|
90 | /**
|
91 | * DescribeExportConfigurations is deprecated. Use DescribeImportTasks, instead.
|
92 | */
|
93 | describeExportConfigurations(callback?: (err: AWSError, data: Discovery.Types.DescribeExportConfigurationsResponse) => void): Request<Discovery.Types.DescribeExportConfigurationsResponse, AWSError>;
|
94 | /**
|
95 | * Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
|
96 | */
|
97 | describeExportTasks(params: Discovery.Types.DescribeExportTasksRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeExportTasksResponse) => void): Request<Discovery.Types.DescribeExportTasksResponse, AWSError>;
|
98 | /**
|
99 | * Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
|
100 | */
|
101 | describeExportTasks(callback?: (err: AWSError, data: Discovery.Types.DescribeExportTasksResponse) => void): Request<Discovery.Types.DescribeExportTasksResponse, AWSError>;
|
102 | /**
|
103 | * Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
|
104 | */
|
105 | describeImportTasks(params: Discovery.Types.DescribeImportTasksRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeImportTasksResponse) => void): Request<Discovery.Types.DescribeImportTasksResponse, AWSError>;
|
106 | /**
|
107 | * Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
|
108 | */
|
109 | describeImportTasks(callback?: (err: AWSError, data: Discovery.Types.DescribeImportTasksResponse) => void): Request<Discovery.Types.DescribeImportTasksResponse, AWSError>;
|
110 | /**
|
111 | * Retrieves a list of configuration items that have tags as specified by the key-value pairs, name and value, passed to the optional parameter filters. There are three valid tag filter names: tagKey tagValue configurationId Also, all configuration items associated with your user account that have tags can be listed if you call DescribeTags as is without passing any parameters.
|
112 | */
|
113 | describeTags(params: Discovery.Types.DescribeTagsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeTagsResponse) => void): Request<Discovery.Types.DescribeTagsResponse, AWSError>;
|
114 | /**
|
115 | * Retrieves a list of configuration items that have tags as specified by the key-value pairs, name and value, passed to the optional parameter filters. There are three valid tag filter names: tagKey tagValue configurationId Also, all configuration items associated with your user account that have tags can be listed if you call DescribeTags as is without passing any parameters.
|
116 | */
|
117 | describeTags(callback?: (err: AWSError, data: Discovery.Types.DescribeTagsResponse) => void): Request<Discovery.Types.DescribeTagsResponse, AWSError>;
|
118 | /**
|
119 | * Disassociates one or more configuration items from an application.
|
120 | */
|
121 | disassociateConfigurationItemsFromApplication(params: Discovery.Types.DisassociateConfigurationItemsFromApplicationRequest, callback?: (err: AWSError, data: Discovery.Types.DisassociateConfigurationItemsFromApplicationResponse) => void): Request<Discovery.Types.DisassociateConfigurationItemsFromApplicationResponse, AWSError>;
|
122 | /**
|
123 | * Disassociates one or more configuration items from an application.
|
124 | */
|
125 | disassociateConfigurationItemsFromApplication(callback?: (err: AWSError, data: Discovery.Types.DisassociateConfigurationItemsFromApplicationResponse) => void): Request<Discovery.Types.DisassociateConfigurationItemsFromApplicationResponse, AWSError>;
|
126 | /**
|
127 | * Deprecated. Use StartExportTask instead. Exports all discovered configuration data to an Amazon S3 bucket or an application that enables you to view and evaluate the data. Data includes tags and tag associations, processes, connections, servers, and system performance. This API returns an export ID that you can query using the DescribeExportConfigurations API. The system imposes a limit of two configuration exports in six hours.
|
128 | */
|
129 | exportConfigurations(callback?: (err: AWSError, data: Discovery.Types.ExportConfigurationsResponse) => void): Request<Discovery.Types.ExportConfigurationsResponse, AWSError>;
|
130 | /**
|
131 | * Retrieves a short summary of discovered assets. This API operation takes no request parameters and is called as is at the command prompt as shown in the example.
|
132 | */
|
133 | getDiscoverySummary(params: Discovery.Types.GetDiscoverySummaryRequest, callback?: (err: AWSError, data: Discovery.Types.GetDiscoverySummaryResponse) => void): Request<Discovery.Types.GetDiscoverySummaryResponse, AWSError>;
|
134 | /**
|
135 | * Retrieves a short summary of discovered assets. This API operation takes no request parameters and is called as is at the command prompt as shown in the example.
|
136 | */
|
137 | getDiscoverySummary(callback?: (err: AWSError, data: Discovery.Types.GetDiscoverySummaryResponse) => void): Request<Discovery.Types.GetDiscoverySummaryResponse, AWSError>;
|
138 | /**
|
139 | * Retrieves a list of configuration items as specified by the value passed to the required paramater configurationType. Optional filtering may be applied to refine search results.
|
140 | */
|
141 | listConfigurations(params: Discovery.Types.ListConfigurationsRequest, callback?: (err: AWSError, data: Discovery.Types.ListConfigurationsResponse) => void): Request<Discovery.Types.ListConfigurationsResponse, AWSError>;
|
142 | /**
|
143 | * Retrieves a list of configuration items as specified by the value passed to the required paramater configurationType. Optional filtering may be applied to refine search results.
|
144 | */
|
145 | listConfigurations(callback?: (err: AWSError, data: Discovery.Types.ListConfigurationsResponse) => void): Request<Discovery.Types.ListConfigurationsResponse, AWSError>;
|
146 | /**
|
147 | * Retrieves a list of servers that are one network hop away from a specified server.
|
148 | */
|
149 | listServerNeighbors(params: Discovery.Types.ListServerNeighborsRequest, callback?: (err: AWSError, data: Discovery.Types.ListServerNeighborsResponse) => void): Request<Discovery.Types.ListServerNeighborsResponse, AWSError>;
|
150 | /**
|
151 | * Retrieves a list of servers that are one network hop away from a specified server.
|
152 | */
|
153 | listServerNeighbors(callback?: (err: AWSError, data: Discovery.Types.ListServerNeighborsResponse) => void): Request<Discovery.Types.ListServerNeighborsResponse, AWSError>;
|
154 | /**
|
155 | * Start the continuous flow of agent's discovered data into Amazon Athena.
|
156 | */
|
157 | startContinuousExport(params: Discovery.Types.StartContinuousExportRequest, callback?: (err: AWSError, data: Discovery.Types.StartContinuousExportResponse) => void): Request<Discovery.Types.StartContinuousExportResponse, AWSError>;
|
158 | /**
|
159 | * Start the continuous flow of agent's discovered data into Amazon Athena.
|
160 | */
|
161 | startContinuousExport(callback?: (err: AWSError, data: Discovery.Types.StartContinuousExportResponse) => void): Request<Discovery.Types.StartContinuousExportResponse, AWSError>;
|
162 | /**
|
163 | * Instructs the specified agents or connectors to start collecting data.
|
164 | */
|
165 | startDataCollectionByAgentIds(params: Discovery.Types.StartDataCollectionByAgentIdsRequest, callback?: (err: AWSError, data: Discovery.Types.StartDataCollectionByAgentIdsResponse) => void): Request<Discovery.Types.StartDataCollectionByAgentIdsResponse, AWSError>;
|
166 | /**
|
167 | * Instructs the specified agents or connectors to start collecting data.
|
168 | */
|
169 | startDataCollectionByAgentIds(callback?: (err: AWSError, data: Discovery.Types.StartDataCollectionByAgentIdsResponse) => void): Request<Discovery.Types.StartDataCollectionByAgentIdsResponse, AWSError>;
|
170 | /**
|
171 | * Begins the export of discovered data to an S3 bucket. If you specify agentIds in a filter, the task exports up to 72 hours of detailed data collected by the identified Application Discovery Agent, including network, process, and performance details. A time range for exported agent data may be set by using startTime and endTime. Export of detailed agent data is limited to five concurrently running exports. If you do not include an agentIds filter, summary data is exported that includes both AWS Agentless Discovery Connector data and summary data from AWS Discovery Agents. Export of summary data is limited to two exports per day.
|
172 | */
|
173 | startExportTask(params: Discovery.Types.StartExportTaskRequest, callback?: (err: AWSError, data: Discovery.Types.StartExportTaskResponse) => void): Request<Discovery.Types.StartExportTaskResponse, AWSError>;
|
174 | /**
|
175 | * Begins the export of discovered data to an S3 bucket. If you specify agentIds in a filter, the task exports up to 72 hours of detailed data collected by the identified Application Discovery Agent, including network, process, and performance details. A time range for exported agent data may be set by using startTime and endTime. Export of detailed agent data is limited to five concurrently running exports. If you do not include an agentIds filter, summary data is exported that includes both AWS Agentless Discovery Connector data and summary data from AWS Discovery Agents. Export of summary data is limited to two exports per day.
|
176 | */
|
177 | startExportTask(callback?: (err: AWSError, data: Discovery.Types.StartExportTaskResponse) => void): Request<Discovery.Types.StartExportTaskResponse, AWSError>;
|
178 | /**
|
179 | * Starts an import task, which allows you to import details of your on-premises environment directly into AWS without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector or Discovery Agent. This gives you the option to perform migration assessment and planning directly from your imported data, including the ability to group your devices as applications and track their migration status. To start an import request, do this: Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3-us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv. Fill out the template with your server and application data. Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in the CSV format. Use the console or the StartImportTask command with the AWS CLI or one of the AWS SDKs to import the records from your file. For more information, including step-by-step procedures, see Migration Hub Import in the AWS Application Discovery Service User Guide. There are limits to the number of import tasks you can create (and delete) in an AWS account. For more information, see AWS Application Discovery Service Limits in the AWS Application Discovery Service User Guide.
|
180 | */
|
181 | startImportTask(params: Discovery.Types.StartImportTaskRequest, callback?: (err: AWSError, data: Discovery.Types.StartImportTaskResponse) => void): Request<Discovery.Types.StartImportTaskResponse, AWSError>;
|
182 | /**
|
183 | * Starts an import task, which allows you to import details of your on-premises environment directly into AWS without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector or Discovery Agent. This gives you the option to perform migration assessment and planning directly from your imported data, including the ability to group your devices as applications and track their migration status. To start an import request, do this: Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3-us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv. Fill out the template with your server and application data. Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in the CSV format. Use the console or the StartImportTask command with the AWS CLI or one of the AWS SDKs to import the records from your file. For more information, including step-by-step procedures, see Migration Hub Import in the AWS Application Discovery Service User Guide. There are limits to the number of import tasks you can create (and delete) in an AWS account. For more information, see AWS Application Discovery Service Limits in the AWS Application Discovery Service User Guide.
|
184 | */
|
185 | startImportTask(callback?: (err: AWSError, data: Discovery.Types.StartImportTaskResponse) => void): Request<Discovery.Types.StartImportTaskResponse, AWSError>;
|
186 | /**
|
187 | * Stop the continuous flow of agent's discovered data into Amazon Athena.
|
188 | */
|
189 | stopContinuousExport(params: Discovery.Types.StopContinuousExportRequest, callback?: (err: AWSError, data: Discovery.Types.StopContinuousExportResponse) => void): Request<Discovery.Types.StopContinuousExportResponse, AWSError>;
|
190 | /**
|
191 | * Stop the continuous flow of agent's discovered data into Amazon Athena.
|
192 | */
|
193 | stopContinuousExport(callback?: (err: AWSError, data: Discovery.Types.StopContinuousExportResponse) => void): Request<Discovery.Types.StopContinuousExportResponse, AWSError>;
|
194 | /**
|
195 | * Instructs the specified agents or connectors to stop collecting data.
|
196 | */
|
197 | stopDataCollectionByAgentIds(params: Discovery.Types.StopDataCollectionByAgentIdsRequest, callback?: (err: AWSError, data: Discovery.Types.StopDataCollectionByAgentIdsResponse) => void): Request<Discovery.Types.StopDataCollectionByAgentIdsResponse, AWSError>;
|
198 | /**
|
199 | * Instructs the specified agents or connectors to stop collecting data.
|
200 | */
|
201 | stopDataCollectionByAgentIds(callback?: (err: AWSError, data: Discovery.Types.StopDataCollectionByAgentIdsResponse) => void): Request<Discovery.Types.StopDataCollectionByAgentIdsResponse, AWSError>;
|
202 | /**
|
203 | * Updates metadata about an application.
|
204 | */
|
205 | updateApplication(params: Discovery.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: Discovery.Types.UpdateApplicationResponse) => void): Request<Discovery.Types.UpdateApplicationResponse, AWSError>;
|
206 | /**
|
207 | * Updates metadata about an application.
|
208 | */
|
209 | updateApplication(callback?: (err: AWSError, data: Discovery.Types.UpdateApplicationResponse) => void): Request<Discovery.Types.UpdateApplicationResponse, AWSError>;
|
210 | }
|
211 | declare namespace Discovery {
|
212 | export interface AgentConfigurationStatus {
|
213 | |
214 |
|
215 |
|
216 | agentId?: String;
|
217 | |
218 |
|
219 |
|
220 | operationSucceeded?: Boolean;
|
221 | |
222 |
|
223 |
|
224 | description?: String;
|
225 | }
|
226 | export type AgentConfigurationStatusList = AgentConfigurationStatus[];
|
227 | export type AgentId = string;
|
228 | export type AgentIds = AgentId[];
|
229 | export interface AgentInfo {
|
230 | |
231 |
|
232 |
|
233 | agentId?: AgentId;
|
234 | |
235 |
|
236 |
|
237 | hostName?: String;
|
238 | |
239 |
|
240 |
|
241 | agentNetworkInfoList?: AgentNetworkInfoList;
|
242 | |
243 |
|
244 |
|
245 | connectorId?: String;
|
246 | |
247 |
|
248 |
|
249 | version?: String;
|
250 | |
251 |
|
252 |
|
253 | health?: AgentStatus;
|
254 | |
255 |
|
256 |
|
257 | lastHealthPingTime?: String;
|
258 | |
259 |
|
260 |
|
261 | collectionStatus?: String;
|
262 | |
263 |
|
264 |
|
265 | agentType?: String;
|
266 | |
267 |
|
268 |
|
269 | registeredTime?: String;
|
270 | }
|
271 | export interface AgentNetworkInfo {
|
272 | |
273 |
|
274 |
|
275 | ipAddress?: String;
|
276 | |
277 |
|
278 |
|
279 | macAddress?: String;
|
280 | }
|
281 | export type AgentNetworkInfoList = AgentNetworkInfo[];
|
282 | export type AgentStatus = "HEALTHY"|"UNHEALTHY"|"RUNNING"|"UNKNOWN"|"BLACKLISTED"|"SHUTDOWN"|string;
|
283 | export type AgentsInfo = AgentInfo[];
|
284 | export type ApplicationId = string;
|
285 | export type ApplicationIdsList = ApplicationId[];
|
286 | export interface AssociateConfigurationItemsToApplicationRequest {
|
287 | |
288 |
|
289 |
|
290 | applicationConfigurationId: ApplicationId;
|
291 | |
292 |
|
293 |
|
294 | configurationIds: ConfigurationIdList;
|
295 | }
|
296 | export interface AssociateConfigurationItemsToApplicationResponse {
|
297 | }
|
298 | export interface BatchDeleteImportDataError {
|
299 | |
300 |
|
301 |
|
302 | importTaskId?: ImportTaskIdentifier;
|
303 | |
304 |
|
305 |
|
306 | errorCode?: BatchDeleteImportDataErrorCode;
|
307 | |
308 |
|
309 |
|
310 | errorDescription?: BatchDeleteImportDataErrorDescription;
|
311 | }
|
312 | export type BatchDeleteImportDataErrorCode = "NOT_FOUND"|"INTERNAL_SERVER_ERROR"|"OVER_LIMIT"|string;
|
313 | export type BatchDeleteImportDataErrorDescription = string;
|
314 | export type BatchDeleteImportDataErrorList = BatchDeleteImportDataError[];
|
315 | export interface BatchDeleteImportDataRequest {
|
316 | |
317 |
|
318 |
|
319 | importTaskIds: ToDeleteIdentifierList;
|
320 | }
|
321 | export interface BatchDeleteImportDataResponse {
|
322 | |
323 |
|
324 |
|
325 | errors?: BatchDeleteImportDataErrorList;
|
326 | }
|
327 | export type Boolean = boolean;
|
328 | export type BoxedInteger = number;
|
329 | export type ClientRequestToken = string;
|
330 | export type Condition = string;
|
331 | export type Configuration = {[key: string]: String};
|
332 | export type ConfigurationId = string;
|
333 | export type ConfigurationIdList = ConfigurationId[];
|
334 | export type ConfigurationItemType = "SERVER"|"PROCESS"|"CONNECTION"|"APPLICATION"|string;
|
335 | export interface ConfigurationTag {
|
336 | |
337 |
|
338 |
|
339 | configurationType?: ConfigurationItemType;
|
340 | |
341 |
|
342 |
|
343 | configurationId?: ConfigurationId;
|
344 | |
345 |
|
346 |
|
347 | key?: TagKey;
|
348 | |
349 |
|
350 |
|
351 | value?: TagValue;
|
352 | |
353 |
|
354 |
|
355 | timeOfCreation?: TimeStamp;
|
356 | }
|
357 | export type ConfigurationTagSet = ConfigurationTag[];
|
358 | export type Configurations = Configuration[];
|
359 | export type ConfigurationsDownloadUrl = string;
|
360 | export type ConfigurationsExportId = string;
|
361 | export interface ContinuousExportDescription {
|
362 | |
363 |
|
364 |
|
365 | exportId?: ConfigurationsExportId;
|
366 | |
367 |
|
368 |
|
369 | status?: ContinuousExportStatus;
|
370 | |
371 |
|
372 |
|
373 | statusDetail?: StringMax255;
|
374 | |
375 |
|
376 |
|
377 | s3Bucket?: S3Bucket;
|
378 | |
379 |
|
380 |
|
381 | startTime?: TimeStamp;
|
382 | |
383 |
|
384 |
|
385 | stopTime?: TimeStamp;
|
386 | |
387 |
|
388 |
|
389 | dataSource?: DataSource;
|
390 | |
391 |
|
392 |
|
393 | schemaStorageConfig?: SchemaStorageConfig;
|
394 | }
|
395 | export type ContinuousExportDescriptions = ContinuousExportDescription[];
|
396 | export type ContinuousExportIds = ConfigurationsExportId[];
|
397 | export type ContinuousExportStatus = "START_IN_PROGRESS"|"START_FAILED"|"ACTIVE"|"ERROR"|"STOP_IN_PROGRESS"|"STOP_FAILED"|"INACTIVE"|string;
|
398 | export interface CreateApplicationRequest {
|
399 | |
400 |
|
401 |
|
402 | name: String;
|
403 | |
404 |
|
405 |
|
406 | description?: String;
|
407 | }
|
408 | export interface CreateApplicationResponse {
|
409 | |
410 |
|
411 |
|
412 | configurationId?: String;
|
413 | }
|
414 | export interface CreateTagsRequest {
|
415 | |
416 |
|
417 |
|
418 | configurationIds: ConfigurationIdList;
|
419 | |
420 |
|
421 |
|
422 | tags: TagSet;
|
423 | }
|
424 | export interface CreateTagsResponse {
|
425 | }
|
426 | export interface CustomerAgentInfo {
|
427 | |
428 |
|
429 |
|
430 | activeAgents: Integer;
|
431 | |
432 |
|
433 |
|
434 | healthyAgents: Integer;
|
435 | |
436 |
|
437 |
|
438 | blackListedAgents: Integer;
|
439 | |
440 |
|
441 |
|
442 | shutdownAgents: Integer;
|
443 | |
444 |
|
445 |
|
446 | unhealthyAgents: Integer;
|
447 | |
448 |
|
449 |
|
450 | totalAgents: Integer;
|
451 | |
452 |
|
453 |
|
454 | unknownAgents: Integer;
|
455 | }
|
456 | export interface CustomerConnectorInfo {
|
457 | |
458 |
|
459 |
|
460 | activeConnectors: Integer;
|
461 | |
462 |
|
463 |
|
464 | healthyConnectors: Integer;
|
465 | |
466 |
|
467 |
|
468 | blackListedConnectors: Integer;
|
469 | |
470 |
|
471 |
|
472 | shutdownConnectors: Integer;
|
473 | |
474 |
|
475 |
|
476 | unhealthyConnectors: Integer;
|
477 | |
478 |
|
479 |
|
480 | totalConnectors: Integer;
|
481 | |
482 |
|
483 |
|
484 | unknownConnectors: Integer;
|
485 | }
|
486 | export type DataSource = "AGENT"|string;
|
487 | export type DatabaseName = string;
|
488 | export interface DeleteApplicationsRequest {
|
489 | |
490 |
|
491 |
|
492 | configurationIds: ApplicationIdsList;
|
493 | }
|
494 | export interface DeleteApplicationsResponse {
|
495 | }
|
496 | export interface DeleteTagsRequest {
|
497 | |
498 |
|
499 |
|
500 | configurationIds: ConfigurationIdList;
|
501 | |
502 |
|
503 |
|
504 | tags?: TagSet;
|
505 | }
|
506 | export interface DeleteTagsResponse {
|
507 | }
|
508 | export interface DescribeAgentsRequest {
|
509 | |
510 |
|
511 |
|
512 | agentIds?: AgentIds;
|
513 | |
514 |
|
515 |
|
516 | filters?: Filters;
|
517 | |
518 |
|
519 |
|
520 | maxResults?: Integer;
|
521 | |
522 |
|
523 |
|
524 | nextToken?: NextToken;
|
525 | }
|
526 | export interface DescribeAgentsResponse {
|
527 | |
528 |
|
529 |
|
530 | agentsInfo?: AgentsInfo;
|
531 | |
532 |
|
533 |
|
534 | nextToken?: NextToken;
|
535 | }
|
536 | export type DescribeConfigurationsAttribute = {[key: string]: String};
|
537 | export type DescribeConfigurationsAttributes = DescribeConfigurationsAttribute[];
|
538 | export interface DescribeConfigurationsRequest {
|
539 | |
540 |
|
541 |
|
542 | configurationIds: ConfigurationIdList;
|
543 | }
|
544 | export interface DescribeConfigurationsResponse {
|
545 | |
546 |
|
547 |
|
548 | configurations?: DescribeConfigurationsAttributes;
|
549 | }
|
550 | export type DescribeContinuousExportsMaxResults = number;
|
551 | export interface DescribeContinuousExportsRequest {
|
552 | |
553 |
|
554 |
|
555 | exportIds?: ContinuousExportIds;
|
556 | |
557 |
|
558 |
|
559 | maxResults?: DescribeContinuousExportsMaxResults;
|
560 | |
561 |
|
562 |
|
563 | nextToken?: NextToken;
|
564 | }
|
565 | export interface DescribeContinuousExportsResponse {
|
566 | |
567 |
|
568 |
|
569 | descriptions?: ContinuousExportDescriptions;
|
570 | |
571 |
|
572 |
|
573 | nextToken?: NextToken;
|
574 | }
|
575 | export interface DescribeExportConfigurationsRequest {
|
576 | |
577 |
|
578 |
|
579 | exportIds?: ExportIds;
|
580 | |
581 |
|
582 |
|
583 | maxResults?: Integer;
|
584 | |
585 |
|
586 |
|
587 | nextToken?: NextToken;
|
588 | }
|
589 | export interface DescribeExportConfigurationsResponse {
|
590 | |
591 |
|
592 |
|
593 | exportsInfo?: ExportsInfo;
|
594 | |
595 |
|
596 |
|
597 | nextToken?: NextToken;
|
598 | }
|
599 | export interface DescribeExportTasksRequest {
|
600 | |
601 |
|
602 |
|
603 | exportIds?: ExportIds;
|
604 | |
605 |
|
606 |
|
607 | filters?: ExportFilters;
|
608 | |
609 |
|
610 |
|
611 | maxResults?: Integer;
|
612 | |
613 |
|
614 |
|
615 | nextToken?: NextToken;
|
616 | }
|
617 | export interface DescribeExportTasksResponse {
|
618 | |
619 |
|
620 |
|
621 | exportsInfo?: ExportsInfo;
|
622 | |
623 |
|
624 |
|
625 | nextToken?: NextToken;
|
626 | }
|
627 | export type DescribeImportTasksFilterList = ImportTaskFilter[];
|
628 | export type DescribeImportTasksMaxResults = number;
|
629 | export interface DescribeImportTasksRequest {
|
630 | |
631 |
|
632 |
|
633 | filters?: DescribeImportTasksFilterList;
|
634 | |
635 |
|
636 |
|
637 | maxResults?: DescribeImportTasksMaxResults;
|
638 | |
639 |
|
640 |
|
641 | nextToken?: NextToken;
|
642 | }
|
643 | export interface DescribeImportTasksResponse {
|
644 | |
645 |
|
646 |
|
647 | nextToken?: NextToken;
|
648 | |
649 |
|
650 |
|
651 | tasks?: ImportTaskList;
|
652 | }
|
653 | export interface DescribeTagsRequest {
|
654 | |
655 |
|
656 |
|
657 | filters?: TagFilters;
|
658 | |
659 |
|
660 |
|
661 | maxResults?: Integer;
|
662 | |
663 |
|
664 |
|
665 | nextToken?: NextToken;
|
666 | }
|
667 | export interface DescribeTagsResponse {
|
668 | |
669 |
|
670 |
|
671 | tags?: ConfigurationTagSet;
|
672 | |
673 |
|
674 |
|
675 | nextToken?: NextToken;
|
676 | }
|
677 | export interface DisassociateConfigurationItemsFromApplicationRequest {
|
678 | |
679 |
|
680 |
|
681 | applicationConfigurationId: ApplicationId;
|
682 | |
683 |
|
684 |
|
685 | configurationIds: ConfigurationIdList;
|
686 | }
|
687 | export interface DisassociateConfigurationItemsFromApplicationResponse {
|
688 | }
|
689 | export interface ExportConfigurationsResponse {
|
690 | |
691 |
|
692 |
|
693 | exportId?: ConfigurationsExportId;
|
694 | }
|
695 | export type ExportDataFormat = "CSV"|"GRAPHML"|string;
|
696 | export type ExportDataFormats = ExportDataFormat[];
|
697 | export interface ExportFilter {
|
698 | |
699 |
|
700 |
|
701 | name: FilterName;
|
702 | |
703 |
|
704 |
|
705 | values: FilterValues;
|
706 | |
707 |
|
708 |
|
709 | condition: Condition;
|
710 | }
|
711 | export type ExportFilters = ExportFilter[];
|
712 | export type ExportIds = ConfigurationsExportId[];
|
713 | export interface ExportInfo {
|
714 | |
715 |
|
716 |
|
717 | exportId: ConfigurationsExportId;
|
718 | |
719 |
|
720 |
|
721 | exportStatus: ExportStatus;
|
722 | |
723 |
|
724 |
|
725 | statusMessage: ExportStatusMessage;
|
726 | |
727 |
|
728 |
|
729 | configurationsDownloadUrl?: ConfigurationsDownloadUrl;
|
730 | |
731 |
|
732 |
|
733 | exportRequestTime: ExportRequestTime;
|
734 | |
735 |
|
736 |
|
737 | isTruncated?: Boolean;
|
738 | |
739 |
|
740 |
|
741 | requestedStartTime?: TimeStamp;
|
742 | |
743 |
|
744 |
|
745 | requestedEndTime?: TimeStamp;
|
746 | }
|
747 | export type ExportRequestTime = Date;
|
748 | export type ExportStatus = "FAILED"|"SUCCEEDED"|"IN_PROGRESS"|string;
|
749 | export type ExportStatusMessage = string;
|
750 | export type ExportsInfo = ExportInfo[];
|
751 | export interface Filter {
|
752 | |
753 |
|
754 |
|
755 | name: String;
|
756 | |
757 |
|
758 |
|
759 | values: FilterValues;
|
760 | |
761 |
|
762 |
|
763 | condition: Condition;
|
764 | }
|
765 | export type FilterName = string;
|
766 | export type FilterValue = string;
|
767 | export type FilterValues = FilterValue[];
|
768 | export type Filters = Filter[];
|
769 | export interface GetDiscoverySummaryRequest {
|
770 | }
|
771 | export interface GetDiscoverySummaryResponse {
|
772 | |
773 |
|
774 |
|
775 | servers?: Long;
|
776 | |
777 |
|
778 |
|
779 | applications?: Long;
|
780 | |
781 |
|
782 |
|
783 | serversMappedToApplications?: Long;
|
784 | |
785 |
|
786 |
|
787 | serversMappedtoTags?: Long;
|
788 | |
789 |
|
790 |
|
791 | agentSummary?: CustomerAgentInfo;
|
792 | |
793 |
|
794 |
|
795 | connectorSummary?: CustomerConnectorInfo;
|
796 | }
|
797 | export type ImportStatus = "IMPORT_IN_PROGRESS"|"IMPORT_COMPLETE"|"IMPORT_COMPLETE_WITH_ERRORS"|"IMPORT_FAILED"|"IMPORT_FAILED_SERVER_LIMIT_EXCEEDED"|"IMPORT_FAILED_RECORD_LIMIT_EXCEEDED"|"DELETE_IN_PROGRESS"|"DELETE_COMPLETE"|"DELETE_FAILED"|"DELETE_FAILED_LIMIT_EXCEEDED"|"INTERNAL_ERROR"|string;
|
798 | export interface ImportTask {
|
799 | |
800 |
|
801 |
|
802 | importTaskId?: ImportTaskIdentifier;
|
803 | |
804 |
|
805 |
|
806 | clientRequestToken?: ClientRequestToken;
|
807 | |
808 |
|
809 |
|
810 | name?: ImportTaskName;
|
811 | |
812 |
|
813 |
|
814 | importUrl?: ImportURL;
|
815 | |
816 |
|
817 |
|
818 | status?: ImportStatus;
|
819 | |
820 |
|
821 |
|
822 | importRequestTime?: TimeStamp;
|
823 | |
824 |
|
825 |
|
826 | importCompletionTime?: TimeStamp;
|
827 | |
828 |
|
829 |
|
830 | importDeletedTime?: TimeStamp;
|
831 | |
832 |
|
833 |
|
834 | serverImportSuccess?: Integer;
|
835 | |
836 |
|
837 |
|
838 | serverImportFailure?: Integer;
|
839 | |
840 |
|
841 |
|
842 | applicationImportSuccess?: Integer;
|
843 | |
844 |
|
845 |
|
846 | applicationImportFailure?: Integer;
|
847 | |
848 |
|
849 |
|
850 | errorsAndFailedEntriesZip?: S3PresignedUrl;
|
851 | }
|
852 | export interface ImportTaskFilter {
|
853 | |
854 |
|
855 |
|
856 | name?: ImportTaskFilterName;
|
857 | |
858 |
|
859 |
|
860 | values?: ImportTaskFilterValueList;
|
861 | }
|
862 | export type ImportTaskFilterName = "IMPORT_TASK_ID"|"STATUS"|"NAME"|string;
|
863 | export type ImportTaskFilterValue = string;
|
864 | export type ImportTaskFilterValueList = ImportTaskFilterValue[];
|
865 | export type ImportTaskIdentifier = string;
|
866 | export type ImportTaskList = ImportTask[];
|
867 | export type ImportTaskName = string;
|
868 | export type ImportURL = string;
|
869 | export type Integer = number;
|
870 | export interface ListConfigurationsRequest {
|
871 | |
872 |
|
873 |
|
874 | configurationType: ConfigurationItemType;
|
875 | |
876 |
|
877 |
|
878 | filters?: Filters;
|
879 | |
880 |
|
881 |
|
882 | maxResults?: Integer;
|
883 | |
884 |
|
885 |
|
886 | nextToken?: NextToken;
|
887 | |
888 |
|
889 |
|
890 | orderBy?: OrderByList;
|
891 | }
|
892 | export interface ListConfigurationsResponse {
|
893 | |
894 |
|
895 |
|
896 | configurations?: Configurations;
|
897 | |
898 |
|
899 |
|
900 | nextToken?: NextToken;
|
901 | }
|
902 | export interface ListServerNeighborsRequest {
|
903 | |
904 |
|
905 |
|
906 | configurationId: ConfigurationId;
|
907 | |
908 |
|
909 |
|
910 | portInformationNeeded?: Boolean;
|
911 | |
912 |
|
913 |
|
914 | neighborConfigurationIds?: ConfigurationIdList;
|
915 | |
916 |
|
917 |
|
918 | maxResults?: Integer;
|
919 | |
920 |
|
921 |
|
922 | nextToken?: String;
|
923 | }
|
924 | export interface ListServerNeighborsResponse {
|
925 | |
926 |
|
927 |
|
928 | neighbors: NeighborDetailsList;
|
929 | |
930 |
|
931 |
|
932 | nextToken?: String;
|
933 | |
934 |
|
935 |
|
936 | knownDependencyCount?: Long;
|
937 | }
|
938 | export type Long = number;
|
939 | export interface NeighborConnectionDetail {
|
940 | |
941 |
|
942 |
|
943 | sourceServerId: ConfigurationId;
|
944 | |
945 |
|
946 |
|
947 | destinationServerId: ConfigurationId;
|
948 | |
949 |
|
950 |
|
951 | destinationPort?: BoxedInteger;
|
952 | |
953 |
|
954 |
|
955 | transportProtocol?: String;
|
956 | |
957 |
|
958 |
|
959 | connectionsCount: Long;
|
960 | }
|
961 | export type NeighborDetailsList = NeighborConnectionDetail[];
|
962 | export type NextToken = string;
|
963 | export interface OrderByElement {
|
964 | |
965 |
|
966 |
|
967 | fieldName: String;
|
968 | |
969 |
|
970 |
|
971 | sortOrder?: orderString;
|
972 | }
|
973 | export type OrderByList = OrderByElement[];
|
974 | export type S3Bucket = string;
|
975 | export type S3PresignedUrl = string;
|
976 | export type SchemaStorageConfig = {[key: string]: String};
|
977 | export interface StartContinuousExportRequest {
|
978 | }
|
979 | export interface StartContinuousExportResponse {
|
980 | |
981 |
|
982 |
|
983 | exportId?: ConfigurationsExportId;
|
984 | |
985 |
|
986 |
|
987 | s3Bucket?: S3Bucket;
|
988 | |
989 |
|
990 |
|
991 | startTime?: TimeStamp;
|
992 | |
993 |
|
994 |
|
995 | dataSource?: DataSource;
|
996 | |
997 |
|
998 |
|
999 | schemaStorageConfig?: SchemaStorageConfig;
|
1000 | }
|
1001 | export interface StartDataCollectionByAgentIdsRequest {
|
1002 | |
1003 |
|
1004 |
|
1005 | agentIds: AgentIds;
|
1006 | }
|
1007 | export interface StartDataCollectionByAgentIdsResponse {
|
1008 | |
1009 |
|
1010 |
|
1011 | agentsConfigurationStatus?: AgentConfigurationStatusList;
|
1012 | }
|
1013 | export interface StartExportTaskRequest {
|
1014 | |
1015 |
|
1016 |
|
1017 | exportDataFormat?: ExportDataFormats;
|
1018 | |
1019 |
|
1020 |
|
1021 | filters?: ExportFilters;
|
1022 | |
1023 |
|
1024 |
|
1025 | startTime?: TimeStamp;
|
1026 | |
1027 |
|
1028 |
|
1029 | endTime?: TimeStamp;
|
1030 | }
|
1031 | export interface StartExportTaskResponse {
|
1032 | |
1033 |
|
1034 |
|
1035 | exportId?: ConfigurationsExportId;
|
1036 | }
|
1037 | export interface StartImportTaskRequest {
|
1038 | |
1039 |
|
1040 |
|
1041 | clientRequestToken?: ClientRequestToken;
|
1042 | |
1043 |
|
1044 |
|
1045 | name: ImportTaskName;
|
1046 | |
1047 |
|
1048 |
|
1049 | importUrl: ImportURL;
|
1050 | }
|
1051 | export interface StartImportTaskResponse {
|
1052 | |
1053 |
|
1054 |
|
1055 | task?: ImportTask;
|
1056 | }
|
1057 | export interface StopContinuousExportRequest {
|
1058 | |
1059 |
|
1060 |
|
1061 | exportId: ConfigurationsExportId;
|
1062 | }
|
1063 | export interface StopContinuousExportResponse {
|
1064 | |
1065 |
|
1066 |
|
1067 | startTime?: TimeStamp;
|
1068 | |
1069 |
|
1070 |
|
1071 | stopTime?: TimeStamp;
|
1072 | }
|
1073 | export interface StopDataCollectionByAgentIdsRequest {
|
1074 | |
1075 |
|
1076 |
|
1077 | agentIds: AgentIds;
|
1078 | }
|
1079 | export interface StopDataCollectionByAgentIdsResponse {
|
1080 | |
1081 |
|
1082 |
|
1083 | agentsConfigurationStatus?: AgentConfigurationStatusList;
|
1084 | }
|
1085 | export type String = string;
|
1086 | export type StringMax255 = string;
|
1087 | export interface Tag {
|
1088 | |
1089 |
|
1090 |
|
1091 | key: TagKey;
|
1092 | |
1093 |
|
1094 |
|
1095 | value: TagValue;
|
1096 | }
|
1097 | export interface TagFilter {
|
1098 | |
1099 |
|
1100 |
|
1101 | name: FilterName;
|
1102 | |
1103 |
|
1104 |
|
1105 | values: FilterValues;
|
1106 | }
|
1107 | export type TagFilters = TagFilter[];
|
1108 | export type TagKey = string;
|
1109 | export type TagSet = Tag[];
|
1110 | export type TagValue = string;
|
1111 | export type TimeStamp = Date;
|
1112 | export type ToDeleteIdentifierList = ImportTaskIdentifier[];
|
1113 | export interface UpdateApplicationRequest {
|
1114 | |
1115 |
|
1116 |
|
1117 | configurationId: ApplicationId;
|
1118 | |
1119 |
|
1120 |
|
1121 | name?: String;
|
1122 | |
1123 |
|
1124 |
|
1125 | description?: String;
|
1126 | }
|
1127 | export interface UpdateApplicationResponse {
|
1128 | }
|
1129 | export type orderString = "ASC"|"DESC"|string;
|
1130 | |
1131 |
|
1132 |
|
1133 | export type apiVersion = "2015-11-01"|"latest"|string;
|
1134 | export interface ClientApiVersions {
|
1135 | |
1136 |
|
1137 |
|
1138 | apiVersion?: apiVersion;
|
1139 | }
|
1140 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
1141 | |
1142 |
|
1143 |
|
1144 | export import Types = Discovery;
|
1145 | }
|
1146 | export = Discovery;
|