UNPKG

62 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class Discovery extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
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}
211declare namespace Discovery {
212 export interface AgentConfigurationStatus {
213 /**
214 * The agent/connector ID.
215 */
216 agentId?: String;
217 /**
218 * Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent/connector receives this command the next time it polls for a new command.
219 */
220 operationSucceeded?: Boolean;
221 /**
222 * A description of the operation performed.
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 * The agent or connector ID.
232 */
233 agentId?: AgentId;
234 /**
235 * The name of the host where the agent or connector resides. The host can be a server or virtual machine.
236 */
237 hostName?: String;
238 /**
239 * Network details about the host where the agent or connector resides.
240 */
241 agentNetworkInfoList?: AgentNetworkInfoList;
242 /**
243 * The ID of the connector.
244 */
245 connectorId?: String;
246 /**
247 * The agent or connector version.
248 */
249 version?: String;
250 /**
251 * The health of the agent or connector.
252 */
253 health?: AgentStatus;
254 /**
255 * Time since agent or connector health was reported.
256 */
257 lastHealthPingTime?: String;
258 /**
259 * Status of the collection process for an agent or connector.
260 */
261 collectionStatus?: String;
262 /**
263 * Type of agent.
264 */
265 agentType?: String;
266 /**
267 * Agent's first registration timestamp in UTC.
268 */
269 registeredTime?: String;
270 }
271 export interface AgentNetworkInfo {
272 /**
273 * The IP address for the host where the agent/connector resides.
274 */
275 ipAddress?: String;
276 /**
277 * The MAC address for the host where the agent/connector resides.
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 * The configuration ID of an application with which items are to be associated.
289 */
290 applicationConfigurationId: ApplicationId;
291 /**
292 * The ID of each configuration item to be associated with an application.
293 */
294 configurationIds: ConfigurationIdList;
295 }
296 export interface AssociateConfigurationItemsToApplicationResponse {
297 }
298 export interface BatchDeleteImportDataError {
299 /**
300 * The unique import ID associated with the error that occurred.
301 */
302 importTaskId?: ImportTaskIdentifier;
303 /**
304 * The type of error that occurred for a specific import task.
305 */
306 errorCode?: BatchDeleteImportDataErrorCode;
307 /**
308 * The description of the error that occurred for a specific import task.
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 * The IDs for the import tasks that you want to delete.
318 */
319 importTaskIds: ToDeleteIdentifierList;
320 }
321 export interface BatchDeleteImportDataResponse {
322 /**
323 * Error messages returned for each import task that you deleted as a response for this command.
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 * A type of IT asset to tag.
338 */
339 configurationType?: ConfigurationItemType;
340 /**
341 * The configuration ID for the item to tag. You can specify a list of keys and values.
342 */
343 configurationId?: ConfigurationId;
344 /**
345 * A type of tag on which to filter. For example, serverType.
346 */
347 key?: TagKey;
348 /**
349 * A value on which to filter. For example key = serverType and value = web server.
350 */
351 value?: TagValue;
352 /**
353 * The time the configuration tag was created in Coordinated Universal Time (UTC).
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 * The unique ID assigned to this export.
364 */
365 exportId?: ConfigurationsExportId;
366 /**
367 * Describes the status of the export. Can be one of the following values: START_IN_PROGRESS - setting up resources to start continuous export. START_FAILED - an error occurred setting up continuous export. To recover, call start-continuous-export again. ACTIVE - data is being exported to the customer bucket. ERROR - an error occurred during export. To fix the issue, call stop-continuous-export and start-continuous-export. STOP_IN_PROGRESS - stopping the export. STOP_FAILED - an error occurred stopping the export. To recover, call stop-continuous-export again. INACTIVE - the continuous export has been stopped. Data is no longer being exported to the customer bucket.
368 */
369 status?: ContinuousExportStatus;
370 /**
371 * Contains information about any errors that have occurred. This data type can have the following values: ACCESS_DENIED - You don’t have permission to start Data Exploration in Amazon Athena. Contact your AWS administrator for help. For more information, see Setting Up AWS Application Discovery Service in the Application Discovery Service User Guide. DELIVERY_STREAM_LIMIT_FAILURE - You reached the limit for Amazon Kinesis Data Firehose delivery streams. Reduce the number of streams or request a limit increase and try again. For more information, see Kinesis Data Streams Limits in the Amazon Kinesis Data Streams Developer Guide. FIREHOSE_ROLE_MISSING - The Data Exploration feature is in an error state because your IAM User is missing the AWSApplicationDiscoveryServiceFirehose role. Turn on Data Exploration in Amazon Athena and try again. For more information, see Step 3: Provide Application Discovery Service Access to Non-Administrator Users by Attaching Policies in the Application Discovery Service User Guide. FIREHOSE_STREAM_DOES_NOT_EXIST - The Data Exploration feature is in an error state because your IAM User is missing one or more of the Kinesis data delivery streams. INTERNAL_FAILURE - The Data Exploration feature is in an error state because of an internal failure. Try again later. If this problem persists, contact AWS Support. S3_BUCKET_LIMIT_FAILURE - You reached the limit for Amazon S3 buckets. Reduce the number of Amazon S3 buckets or request a limit increase and try again. For more information, see Bucket Restrictions and Limitations in the Amazon Simple Storage Service Developer Guide. S3_NOT_SIGNED_UP - Your account is not signed up for the Amazon S3 service. You must sign up before you can use Amazon S3. You can sign up at the following URL: https://aws.amazon.com/s3.
372 */
373 statusDetail?: StringMax255;
374 /**
375 * The name of the s3 bucket where the export data parquet files are stored.
376 */
377 s3Bucket?: S3Bucket;
378 /**
379 * The timestamp representing when the continuous export was started.
380 */
381 startTime?: TimeStamp;
382 /**
383 * The timestamp that represents when this continuous export was stopped.
384 */
385 stopTime?: TimeStamp;
386 /**
387 * The type of data collector used to gather this data (currently only offered for AGENT).
388 */
389 dataSource?: DataSource;
390 /**
391 * An object which describes how the data is stored. databaseName - the name of the Glue database used to store the schema.
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 * Name of the application to be created.
401 */
402 name: String;
403 /**
404 * Description of the application to be created.
405 */
406 description?: String;
407 }
408 export interface CreateApplicationResponse {
409 /**
410 * Configuration ID of an application to be created.
411 */
412 configurationId?: String;
413 }
414 export interface CreateTagsRequest {
415 /**
416 * A list of configuration items that you want to tag.
417 */
418 configurationIds: ConfigurationIdList;
419 /**
420 * Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example: {"key": "serverType", "value": "webServer"}
421 */
422 tags: TagSet;
423 }
424 export interface CreateTagsResponse {
425 }
426 export interface CustomerAgentInfo {
427 /**
428 * Number of active discovery agents.
429 */
430 activeAgents: Integer;
431 /**
432 * Number of healthy discovery agents
433 */
434 healthyAgents: Integer;
435 /**
436 * Number of blacklisted discovery agents.
437 */
438 blackListedAgents: Integer;
439 /**
440 * Number of discovery agents with status SHUTDOWN.
441 */
442 shutdownAgents: Integer;
443 /**
444 * Number of unhealthy discovery agents.
445 */
446 unhealthyAgents: Integer;
447 /**
448 * Total number of discovery agents.
449 */
450 totalAgents: Integer;
451 /**
452 * Number of unknown discovery agents.
453 */
454 unknownAgents: Integer;
455 }
456 export interface CustomerConnectorInfo {
457 /**
458 * Number of active discovery connectors.
459 */
460 activeConnectors: Integer;
461 /**
462 * Number of healthy discovery connectors.
463 */
464 healthyConnectors: Integer;
465 /**
466 * Number of blacklisted discovery connectors.
467 */
468 blackListedConnectors: Integer;
469 /**
470 * Number of discovery connectors with status SHUTDOWN,
471 */
472 shutdownConnectors: Integer;
473 /**
474 * Number of unhealthy discovery connectors.
475 */
476 unhealthyConnectors: Integer;
477 /**
478 * Total number of discovery connectors.
479 */
480 totalConnectors: Integer;
481 /**
482 * Number of unknown discovery connectors.
483 */
484 unknownConnectors: Integer;
485 }
486 export type DataSource = "AGENT"|string;
487 export type DatabaseName = string;
488 export interface DeleteApplicationsRequest {
489 /**
490 * Configuration ID of an application to be deleted.
491 */
492 configurationIds: ApplicationIdsList;
493 }
494 export interface DeleteApplicationsResponse {
495 }
496 export interface DeleteTagsRequest {
497 /**
498 * A list of configuration items with tags that you want to delete.
499 */
500 configurationIds: ConfigurationIdList;
501 /**
502 * Tags that you want to delete from one or more configuration items. Specify the tags that you want to delete in a key-value format. For example: {"key": "serverType", "value": "webServer"}
503 */
504 tags?: TagSet;
505 }
506 export interface DeleteTagsResponse {
507 }
508 export interface DescribeAgentsRequest {
509 /**
510 * The agent or the Connector IDs for which you want information. If you specify no IDs, the system returns information about all agents/Connectors associated with your AWS user account.
511 */
512 agentIds?: AgentIds;
513 /**
514 * You can filter the request using various logical operators and a key-value format. For example: {"key": "collectionStatus", "value": "STARTED"}
515 */
516 filters?: Filters;
517 /**
518 * The total number of agents/Connectors to return in a single page of output. The maximum value is 100.
519 */
520 maxResults?: Integer;
521 /**
522 * Token to retrieve the next set of results. For example, if you previously specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
523 */
524 nextToken?: NextToken;
525 }
526 export interface DescribeAgentsResponse {
527 /**
528 * Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media access control (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and the version number of each agent/Connector.
529 */
530 agentsInfo?: AgentsInfo;
531 /**
532 * Token to retrieve the next set of results. For example, if you specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
533 */
534 nextToken?: NextToken;
535 }
536 export type DescribeConfigurationsAttribute = {[key: string]: String};
537 export type DescribeConfigurationsAttributes = DescribeConfigurationsAttribute[];
538 export interface DescribeConfigurationsRequest {
539 /**
540 * One or more configuration IDs.
541 */
542 configurationIds: ConfigurationIdList;
543 }
544 export interface DescribeConfigurationsResponse {
545 /**
546 * A key in the response map. The value is an array of data.
547 */
548 configurations?: DescribeConfigurationsAttributes;
549 }
550 export type DescribeContinuousExportsMaxResults = number;
551 export interface DescribeContinuousExportsRequest {
552 /**
553 * The unique IDs assigned to the exports.
554 */
555 exportIds?: ContinuousExportIds;
556 /**
557 * A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.
558 */
559 maxResults?: DescribeContinuousExportsMaxResults;
560 /**
561 * The token from the previous call to DescribeExportTasks.
562 */
563 nextToken?: NextToken;
564 }
565 export interface DescribeContinuousExportsResponse {
566 /**
567 * A list of continuous export descriptions.
568 */
569 descriptions?: ContinuousExportDescriptions;
570 /**
571 * The token from the previous call to DescribeExportTasks.
572 */
573 nextToken?: NextToken;
574 }
575 export interface DescribeExportConfigurationsRequest {
576 /**
577 * A list of continuous export ids to search for.
578 */
579 exportIds?: ExportIds;
580 /**
581 * A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.
582 */
583 maxResults?: Integer;
584 /**
585 * The token from the previous call to describe-export-tasks.
586 */
587 nextToken?: NextToken;
588 }
589 export interface DescribeExportConfigurationsResponse {
590 /**
591 *
592 */
593 exportsInfo?: ExportsInfo;
594 /**
595 * The token from the previous call to describe-export-tasks.
596 */
597 nextToken?: NextToken;
598 }
599 export interface DescribeExportTasksRequest {
600 /**
601 * One or more unique identifiers used to query the status of an export request.
602 */
603 exportIds?: ExportIds;
604 /**
605 * One or more filters. AgentId - ID of the agent whose collected data will be exported
606 */
607 filters?: ExportFilters;
608 /**
609 * The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.
610 */
611 maxResults?: Integer;
612 /**
613 * The nextToken value returned from a previous paginated DescribeExportTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.
614 */
615 nextToken?: NextToken;
616 }
617 export interface DescribeExportTasksResponse {
618 /**
619 * Contains one or more sets of export request details. When the status of a request is SUCCEEDED, the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.
620 */
621 exportsInfo?: ExportsInfo;
622 /**
623 * The nextToken value to include in a future DescribeExportTasks request. When the results of a DescribeExportTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
624 */
625 nextToken?: NextToken;
626 }
627 export type DescribeImportTasksFilterList = ImportTaskFilter[];
628 export type DescribeImportTasksMaxResults = number;
629 export interface DescribeImportTasksRequest {
630 /**
631 * An array of name-value pairs that you provide to filter the results for the DescribeImportTask request to a specific subset of results. Currently, wildcard values aren't supported for filters.
632 */
633 filters?: DescribeImportTasksFilterList;
634 /**
635 * The maximum number of results that you want this request to return, up to 100.
636 */
637 maxResults?: DescribeImportTasksMaxResults;
638 /**
639 * The token to request a specific page of results.
640 */
641 nextToken?: NextToken;
642 }
643 export interface DescribeImportTasksResponse {
644 /**
645 * The token to request the next page of results.
646 */
647 nextToken?: NextToken;
648 /**
649 * A returned array of import tasks that match any applied filters, up to the specified number of maximum results.
650 */
651 tasks?: ImportTaskList;
652 }
653 export interface DescribeTagsRequest {
654 /**
655 * You can filter the list using a key-value format. You can separate these items by using logical operators. Allowed filters include tagKey, tagValue, and configurationId.
656 */
657 filters?: TagFilters;
658 /**
659 * The total number of items to return in a single page of output. The maximum value is 100.
660 */
661 maxResults?: Integer;
662 /**
663 * A token to start the list. Use this token to get the next set of results.
664 */
665 nextToken?: NextToken;
666 }
667 export interface DescribeTagsResponse {
668 /**
669 * Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.
670 */
671 tags?: ConfigurationTagSet;
672 /**
673 * The call returns a token. Use this token to get the next set of results.
674 */
675 nextToken?: NextToken;
676 }
677 export interface DisassociateConfigurationItemsFromApplicationRequest {
678 /**
679 * Configuration ID of an application from which each item is disassociated.
680 */
681 applicationConfigurationId: ApplicationId;
682 /**
683 * Configuration ID of each item to be disassociated from an application.
684 */
685 configurationIds: ConfigurationIdList;
686 }
687 export interface DisassociateConfigurationItemsFromApplicationResponse {
688 }
689 export interface ExportConfigurationsResponse {
690 /**
691 * A unique identifier that you can use to query the export status.
692 */
693 exportId?: ConfigurationsExportId;
694 }
695 export type ExportDataFormat = "CSV"|"GRAPHML"|string;
696 export type ExportDataFormats = ExportDataFormat[];
697 export interface ExportFilter {
698 /**
699 * A single ExportFilter name. Supported filters: agentId.
700 */
701 name: FilterName;
702 /**
703 * A single agentId for a Discovery Agent. An agentId can be found using the DescribeAgents action. Typically an ADS agentId is in the form o-0123456789abcdef0.
704 */
705 values: FilterValues;
706 /**
707 * Supported condition: EQUALS
708 */
709 condition: Condition;
710 }
711 export type ExportFilters = ExportFilter[];
712 export type ExportIds = ConfigurationsExportId[];
713 export interface ExportInfo {
714 /**
715 * A unique identifier used to query an export.
716 */
717 exportId: ConfigurationsExportId;
718 /**
719 * The status of the data export job.
720 */
721 exportStatus: ExportStatus;
722 /**
723 * A status message provided for API callers.
724 */
725 statusMessage: ExportStatusMessage;
726 /**
727 * A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded.
728 */
729 configurationsDownloadUrl?: ConfigurationsDownloadUrl;
730 /**
731 * The time that the data export was initiated.
732 */
733 exportRequestTime: ExportRequestTime;
734 /**
735 * If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using startDate and endDate.
736 */
737 isTruncated?: Boolean;
738 /**
739 * The value of startTime parameter in the StartExportTask request. If no startTime was requested, this result does not appear in ExportInfo.
740 */
741 requestedStartTime?: TimeStamp;
742 /**
743 * The endTime used in the StartExportTask request. If no endTime was requested, this result does not appear in ExportInfo.
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 * The name of the filter.
754 */
755 name: String;
756 /**
757 * A string value on which to filter. For example, if you choose the destinationServer.osVersion filter name, you could specify Ubuntu for the value.
758 */
759 values: FilterValues;
760 /**
761 * A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.
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 * The number of servers discovered.
774 */
775 servers?: Long;
776 /**
777 * The number of applications discovered.
778 */
779 applications?: Long;
780 /**
781 * The number of servers mapped to applications.
782 */
783 serversMappedToApplications?: Long;
784 /**
785 * The number of servers mapped to tags.
786 */
787 serversMappedtoTags?: Long;
788 /**
789 * Details about discovered agents, including agent status and health.
790 */
791 agentSummary?: CustomerAgentInfo;
792 /**
793 * Details about discovered connectors, including connector status and health.
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 * The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an AWS account.
801 */
802 importTaskId?: ImportTaskIdentifier;
803 /**
804 * A unique token used to prevent the same import request from occurring more than once. If you didn't provide a token, a token was automatically generated when the import task request was sent.
805 */
806 clientRequestToken?: ClientRequestToken;
807 /**
808 * A descriptive name for an import task. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
809 */
810 name?: ImportTaskName;
811 /**
812 * The URL for your import file that you've uploaded to Amazon S3.
813 */
814 importUrl?: ImportURL;
815 /**
816 * The status of the import task. An import can have the status of IMPORT_COMPLETE and still have some records fail to import from the overall request. More information can be found in the downloadable archive defined in the errorsAndFailedEntriesZip field, or in the Migration Hub management console.
817 */
818 status?: ImportStatus;
819 /**
820 * The time that the import task request was made, presented in the Unix time stamp format.
821 */
822 importRequestTime?: TimeStamp;
823 /**
824 * The time that the import task request finished, presented in the Unix time stamp format.
825 */
826 importCompletionTime?: TimeStamp;
827 /**
828 * The time that the import task request was deleted, presented in the Unix time stamp format.
829 */
830 importDeletedTime?: TimeStamp;
831 /**
832 * The total number of server records in the import file that were successfully imported.
833 */
834 serverImportSuccess?: Integer;
835 /**
836 * The total number of server records in the import file that failed to be imported.
837 */
838 serverImportFailure?: Integer;
839 /**
840 * The total number of application records in the import file that were successfully imported.
841 */
842 applicationImportSuccess?: Integer;
843 /**
844 * The total number of application records in the import file that failed to be imported.
845 */
846 applicationImportFailure?: Integer;
847 /**
848 * A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed records. You can use these two files to quickly identify records that failed, why they failed, and correct those records. Afterward, you can upload the corrected file to your Amazon S3 bucket and create another import task request. This field also includes authorization information so you can confirm the authenticity of the compressed archive before you download it. If some records failed to be imported we recommend that you correct the records in the failed entries file and then imports that failed entries file. This prevents you from having to correct and update the larger original file and attempt importing it again.
849 */
850 errorsAndFailedEntriesZip?: S3PresignedUrl;
851 }
852 export interface ImportTaskFilter {
853 /**
854 * The name, status, or import task ID for a specific import task.
855 */
856 name?: ImportTaskFilterName;
857 /**
858 * An array of strings that you can provide to match against a specific name, status, or import task ID to filter the results for your import task queries.
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 * A valid configuration identified by Application Discovery Service.
873 */
874 configurationType: ConfigurationItemType;
875 /**
876 * You can filter the request using various logical operators and a key-value format. For example: {"key": "serverType", "value": "webServer"} For a complete list of filter options and guidance about using them with this action, see Querying Discovered Configuration Items.
877 */
878 filters?: Filters;
879 /**
880 * The total number of items to return. The maximum value is 100.
881 */
882 maxResults?: Integer;
883 /**
884 * Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
885 */
886 nextToken?: NextToken;
887 /**
888 * Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action.
889 */
890 orderBy?: OrderByList;
891 }
892 export interface ListConfigurationsResponse {
893 /**
894 * Returns configuration details, including the configuration ID, attribute names, and attribute values.
895 */
896 configurations?: Configurations;
897 /**
898 * Token to retrieve the next set of results. For example, if your call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
899 */
900 nextToken?: NextToken;
901 }
902 export interface ListServerNeighborsRequest {
903 /**
904 * Configuration ID of the server for which neighbors are being listed.
905 */
906 configurationId: ConfigurationId;
907 /**
908 * Flag to indicate if port and protocol information is needed as part of the response.
909 */
910 portInformationNeeded?: Boolean;
911 /**
912 * List of configuration IDs to test for one-hop-away.
913 */
914 neighborConfigurationIds?: ConfigurationIdList;
915 /**
916 * Maximum number of results to return in a single page of output.
917 */
918 maxResults?: Integer;
919 /**
920 * Token to retrieve the next set of results. For example, if you previously specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
921 */
922 nextToken?: String;
923 }
924 export interface ListServerNeighborsResponse {
925 /**
926 * List of distinct servers that are one hop away from the given server.
927 */
928 neighbors: NeighborDetailsList;
929 /**
930 * Token to retrieve the next set of results. For example, if you specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
931 */
932 nextToken?: String;
933 /**
934 * Count of distinct servers that are one hop away from the given server.
935 */
936 knownDependencyCount?: Long;
937 }
938 export type Long = number;
939 export interface NeighborConnectionDetail {
940 /**
941 * The ID of the server that opened the network connection.
942 */
943 sourceServerId: ConfigurationId;
944 /**
945 * The ID of the server that accepted the network connection.
946 */
947 destinationServerId: ConfigurationId;
948 /**
949 * The destination network port for the connection.
950 */
951 destinationPort?: BoxedInteger;
952 /**
953 * The network protocol used for the connection.
954 */
955 transportProtocol?: String;
956 /**
957 * The number of open network connections with the neighboring server.
958 */
959 connectionsCount: Long;
960 }
961 export type NeighborDetailsList = NeighborConnectionDetail[];
962 export type NextToken = string;
963 export interface OrderByElement {
964 /**
965 * The field on which to order.
966 */
967 fieldName: String;
968 /**
969 * Ordering direction.
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 * The unique ID assigned to this export.
982 */
983 exportId?: ConfigurationsExportId;
984 /**
985 * The name of the s3 bucket where the export data parquet files are stored.
986 */
987 s3Bucket?: S3Bucket;
988 /**
989 * The timestamp representing when the continuous export was started.
990 */
991 startTime?: TimeStamp;
992 /**
993 * The type of data collector used to gather this data (currently only offered for AGENT).
994 */
995 dataSource?: DataSource;
996 /**
997 * A dictionary which describes how the data is stored. databaseName - the name of the Glue database used to store the schema.
998 */
999 schemaStorageConfig?: SchemaStorageConfig;
1000 }
1001 export interface StartDataCollectionByAgentIdsRequest {
1002 /**
1003 * The IDs of the agents or connectors from which to start collecting data. If you send a request to an agent/connector ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents/connectors and you do not have permission to contact some of those agents/connectors, the system does not throw an exception. Instead, the system shows Failed in the Description field.
1004 */
1005 agentIds: AgentIds;
1006 }
1007 export interface StartDataCollectionByAgentIdsResponse {
1008 /**
1009 * Information about agents or the connector that were instructed to start collecting data. Information includes the agent/connector ID, a description of the operation performed, and whether the agent/connector configuration was updated.
1010 */
1011 agentsConfigurationStatus?: AgentConfigurationStatusList;
1012 }
1013 export interface StartExportTaskRequest {
1014 /**
1015 * The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.
1016 */
1017 exportDataFormat?: ExportDataFormats;
1018 /**
1019 * If a filter is present, it selects the single agentId of the Application Discovery Agent for which data is exported. The agentId can be found in the results of the DescribeAgents API or CLI. If no filter is present, startTime and endTime are ignored and exported data includes both Agentless Discovery Connector data and summary data from Application Discovery agents.
1020 */
1021 filters?: ExportFilters;
1022 /**
1023 * The start timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, data is exported starting from the first data collected by the agent.
1024 */
1025 startTime?: TimeStamp;
1026 /**
1027 * The end timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, exported data includes the most recent data collected by the agent.
1028 */
1029 endTime?: TimeStamp;
1030 }
1031 export interface StartExportTaskResponse {
1032 /**
1033 * A unique identifier used to query the status of an export request.
1034 */
1035 exportId?: ConfigurationsExportId;
1036 }
1037 export interface StartImportTaskRequest {
1038 /**
1039 * Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don't provide a token, a token is automatically generated. Sending more than one StartImportTask request with the same client request token will return information about the original import task with that client request token.
1040 */
1041 clientRequestToken?: ClientRequestToken;
1042 /**
1043 * A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
1044 */
1045 name: ImportTaskName;
1046 /**
1047 * The URL for your import file that you've uploaded to Amazon S3. If you're using the AWS CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV
1048 */
1049 importUrl: ImportURL;
1050 }
1051 export interface StartImportTaskResponse {
1052 /**
1053 * An array of information related to the import task request including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
1054 */
1055 task?: ImportTask;
1056 }
1057 export interface StopContinuousExportRequest {
1058 /**
1059 * The unique ID assigned to this export.
1060 */
1061 exportId: ConfigurationsExportId;
1062 }
1063 export interface StopContinuousExportResponse {
1064 /**
1065 * Timestamp that represents when this continuous export started collecting data.
1066 */
1067 startTime?: TimeStamp;
1068 /**
1069 * Timestamp that represents when this continuous export was stopped.
1070 */
1071 stopTime?: TimeStamp;
1072 }
1073 export interface StopDataCollectionByAgentIdsRequest {
1074 /**
1075 * The IDs of the agents or connectors from which to stop collecting data.
1076 */
1077 agentIds: AgentIds;
1078 }
1079 export interface StopDataCollectionByAgentIdsResponse {
1080 /**
1081 * Information about the agents or connector that were instructed to stop collecting data. Information includes the agent/connector ID, a description of the operation performed, and whether the agent/connector configuration was updated.
1082 */
1083 agentsConfigurationStatus?: AgentConfigurationStatusList;
1084 }
1085 export type String = string;
1086 export type StringMax255 = string;
1087 export interface Tag {
1088 /**
1089 * The type of tag on which to filter.
1090 */
1091 key: TagKey;
1092 /**
1093 * A value for a tag key on which to filter.
1094 */
1095 value: TagValue;
1096 }
1097 export interface TagFilter {
1098 /**
1099 * A name of the tag filter.
1100 */
1101 name: FilterName;
1102 /**
1103 * Values for the tag filter.
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 * Configuration ID of the application to be updated.
1116 */
1117 configurationId: ApplicationId;
1118 /**
1119 * New name of the application to be updated.
1120 */
1121 name?: String;
1122 /**
1123 * New description of the application to be updated.
1124 */
1125 description?: String;
1126 }
1127 export interface UpdateApplicationResponse {
1128 }
1129 export type orderString = "ASC"|"DESC"|string;
1130 /**
1131 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1132 */
1133 export type apiVersion = "2015-11-01"|"latest"|string;
1134 export interface ClientApiVersions {
1135 /**
1136 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1137 */
1138 apiVersion?: apiVersion;
1139 }
1140 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1141 /**
1142 * Contains interfaces for use with the Discovery client.
1143 */
1144 export import Types = Discovery;
1145}
1146export = Discovery;