discovery.d.ts 77 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461
  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-base';
  7. interface Blob {}
  8. declare 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 agents or collectors as specified by ID. Deleting an agent or collector does not delete the previously discovered data. To delete the data collected, use StartBatchDeleteConfigurationTask.
  24. */
  25. batchDeleteAgents(params: Discovery.Types.BatchDeleteAgentsRequest, callback?: (err: AWSError, data: Discovery.Types.BatchDeleteAgentsResponse) => void): Request<Discovery.Types.BatchDeleteAgentsResponse, AWSError>;
  26. /**
  27. * Deletes one or more agents or collectors as specified by ID. Deleting an agent or collector does not delete the previously discovered data. To delete the data collected, use StartBatchDeleteConfigurationTask.
  28. */
  29. batchDeleteAgents(callback?: (err: AWSError, data: Discovery.Types.BatchDeleteAgentsResponse) => void): Request<Discovery.Types.BatchDeleteAgentsResponse, AWSError>;
  30. /**
  31. * 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. Amazon Web Services 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.
  32. */
  33. batchDeleteImportData(params: Discovery.Types.BatchDeleteImportDataRequest, callback?: (err: AWSError, data: Discovery.Types.BatchDeleteImportDataResponse) => void): Request<Discovery.Types.BatchDeleteImportDataResponse, AWSError>;
  34. /**
  35. * 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. Amazon Web Services 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.
  36. */
  37. batchDeleteImportData(callback?: (err: AWSError, data: Discovery.Types.BatchDeleteImportDataResponse) => void): Request<Discovery.Types.BatchDeleteImportDataResponse, AWSError>;
  38. /**
  39. * Creates an application with the given name and description.
  40. */
  41. createApplication(params: Discovery.Types.CreateApplicationRequest, callback?: (err: AWSError, data: Discovery.Types.CreateApplicationResponse) => void): Request<Discovery.Types.CreateApplicationResponse, AWSError>;
  42. /**
  43. * Creates an application with the given name and description.
  44. */
  45. createApplication(callback?: (err: AWSError, data: Discovery.Types.CreateApplicationResponse) => void): Request<Discovery.Types.CreateApplicationResponse, AWSError>;
  46. /**
  47. * 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. Do not store sensitive information (like personal data) in tags.
  48. */
  49. createTags(params: Discovery.Types.CreateTagsRequest, callback?: (err: AWSError, data: Discovery.Types.CreateTagsResponse) => void): Request<Discovery.Types.CreateTagsResponse, AWSError>;
  50. /**
  51. * 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. Do not store sensitive information (like personal data) in tags.
  52. */
  53. createTags(callback?: (err: AWSError, data: Discovery.Types.CreateTagsResponse) => void): Request<Discovery.Types.CreateTagsResponse, AWSError>;
  54. /**
  55. * Deletes a list of applications and their associations with configuration items.
  56. */
  57. deleteApplications(params: Discovery.Types.DeleteApplicationsRequest, callback?: (err: AWSError, data: Discovery.Types.DeleteApplicationsResponse) => void): Request<Discovery.Types.DeleteApplicationsResponse, AWSError>;
  58. /**
  59. * Deletes a list of applications and their associations with configuration items.
  60. */
  61. deleteApplications(callback?: (err: AWSError, data: Discovery.Types.DeleteApplicationsResponse) => void): Request<Discovery.Types.DeleteApplicationsResponse, AWSError>;
  62. /**
  63. * Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
  64. */
  65. deleteTags(params: Discovery.Types.DeleteTagsRequest, callback?: (err: AWSError, data: Discovery.Types.DeleteTagsResponse) => void): Request<Discovery.Types.DeleteTagsResponse, AWSError>;
  66. /**
  67. * Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.
  68. */
  69. deleteTags(callback?: (err: AWSError, data: Discovery.Types.DeleteTagsResponse) => void): Request<Discovery.Types.DeleteTagsResponse, AWSError>;
  70. /**
  71. * Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user can be listed if you call DescribeAgents as is without passing any parameters.
  72. */
  73. describeAgents(params: Discovery.Types.DescribeAgentsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeAgentsResponse) => void): Request<Discovery.Types.DescribeAgentsResponse, AWSError>;
  74. /**
  75. * Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user can be listed if you call DescribeAgents as is without passing any parameters.
  76. */
  77. describeAgents(callback?: (err: AWSError, data: Discovery.Types.DescribeAgentsResponse) => void): Request<Discovery.Types.DescribeAgentsResponse, AWSError>;
  78. /**
  79. * Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.
  80. */
  81. describeBatchDeleteConfigurationTask(params: Discovery.Types.DescribeBatchDeleteConfigurationTaskRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeBatchDeleteConfigurationTaskResponse) => void): Request<Discovery.Types.DescribeBatchDeleteConfigurationTaskResponse, AWSError>;
  82. /**
  83. * Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.
  84. */
  85. describeBatchDeleteConfigurationTask(callback?: (err: AWSError, data: Discovery.Types.DescribeBatchDeleteConfigurationTaskResponse) => void): Request<Discovery.Types.DescribeBatchDeleteConfigurationTaskResponse, AWSError>;
  86. /**
  87. * 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 in the Amazon Web Services Application Discovery Service User Guide.
  88. */
  89. describeConfigurations(params: Discovery.Types.DescribeConfigurationsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeConfigurationsResponse) => void): Request<Discovery.Types.DescribeConfigurationsResponse, AWSError>;
  90. /**
  91. * 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 in the Amazon Web Services Application Discovery Service User Guide.
  92. */
  93. describeConfigurations(callback?: (err: AWSError, data: Discovery.Types.DescribeConfigurationsResponse) => void): Request<Discovery.Types.DescribeConfigurationsResponse, AWSError>;
  94. /**
  95. * Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call DescribeContinuousExports as is without passing any parameters.
  96. */
  97. describeContinuousExports(params: Discovery.Types.DescribeContinuousExportsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeContinuousExportsResponse) => void): Request<Discovery.Types.DescribeContinuousExportsResponse, AWSError>;
  98. /**
  99. * Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call DescribeContinuousExports as is without passing any parameters.
  100. */
  101. describeContinuousExports(callback?: (err: AWSError, data: Discovery.Types.DescribeContinuousExportsResponse) => void): Request<Discovery.Types.DescribeContinuousExportsResponse, AWSError>;
  102. /**
  103. * DescribeExportConfigurations is deprecated. Use DescribeExportTasks, instead.
  104. */
  105. describeExportConfigurations(params: Discovery.Types.DescribeExportConfigurationsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeExportConfigurationsResponse) => void): Request<Discovery.Types.DescribeExportConfigurationsResponse, AWSError>;
  106. /**
  107. * DescribeExportConfigurations is deprecated. Use DescribeExportTasks, instead.
  108. */
  109. describeExportConfigurations(callback?: (err: AWSError, data: Discovery.Types.DescribeExportConfigurationsResponse) => void): Request<Discovery.Types.DescribeExportConfigurationsResponse, AWSError>;
  110. /**
  111. * Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
  112. */
  113. describeExportTasks(params: Discovery.Types.DescribeExportTasksRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeExportTasksResponse) => void): Request<Discovery.Types.DescribeExportTasksResponse, AWSError>;
  114. /**
  115. * Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
  116. */
  117. describeExportTasks(callback?: (err: AWSError, data: Discovery.Types.DescribeExportTasksResponse) => void): Request<Discovery.Types.DescribeExportTasksResponse, AWSError>;
  118. /**
  119. * 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.
  120. */
  121. describeImportTasks(params: Discovery.Types.DescribeImportTasksRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeImportTasksResponse) => void): Request<Discovery.Types.DescribeImportTasksResponse, AWSError>;
  122. /**
  123. * 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.
  124. */
  125. describeImportTasks(callback?: (err: AWSError, data: Discovery.Types.DescribeImportTasksResponse) => void): Request<Discovery.Types.DescribeImportTasksResponse, AWSError>;
  126. /**
  127. * 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 that have tags can be listed if you call DescribeTags as is without passing any parameters.
  128. */
  129. describeTags(params: Discovery.Types.DescribeTagsRequest, callback?: (err: AWSError, data: Discovery.Types.DescribeTagsResponse) => void): Request<Discovery.Types.DescribeTagsResponse, AWSError>;
  130. /**
  131. * 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 that have tags can be listed if you call DescribeTags as is without passing any parameters.
  132. */
  133. describeTags(callback?: (err: AWSError, data: Discovery.Types.DescribeTagsResponse) => void): Request<Discovery.Types.DescribeTagsResponse, AWSError>;
  134. /**
  135. * Disassociates one or more configuration items from an application.
  136. */
  137. disassociateConfigurationItemsFromApplication(params: Discovery.Types.DisassociateConfigurationItemsFromApplicationRequest, callback?: (err: AWSError, data: Discovery.Types.DisassociateConfigurationItemsFromApplicationResponse) => void): Request<Discovery.Types.DisassociateConfigurationItemsFromApplicationResponse, AWSError>;
  138. /**
  139. * Disassociates one or more configuration items from an application.
  140. */
  141. disassociateConfigurationItemsFromApplication(callback?: (err: AWSError, data: Discovery.Types.DisassociateConfigurationItemsFromApplicationResponse) => void): Request<Discovery.Types.DisassociateConfigurationItemsFromApplicationResponse, AWSError>;
  142. /**
  143. * 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.
  144. */
  145. exportConfigurations(callback?: (err: AWSError, data: Discovery.Types.ExportConfigurationsResponse) => void): Request<Discovery.Types.ExportConfigurationsResponse, AWSError>;
  146. /**
  147. * 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.
  148. */
  149. getDiscoverySummary(params: Discovery.Types.GetDiscoverySummaryRequest, callback?: (err: AWSError, data: Discovery.Types.GetDiscoverySummaryResponse) => void): Request<Discovery.Types.GetDiscoverySummaryResponse, AWSError>;
  150. /**
  151. * 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.
  152. */
  153. getDiscoverySummary(callback?: (err: AWSError, data: Discovery.Types.GetDiscoverySummaryResponse) => void): Request<Discovery.Types.GetDiscoverySummaryResponse, AWSError>;
  154. /**
  155. * Retrieves a list of configuration items as specified by the value passed to the required parameter configurationType. Optional filtering may be applied to refine search results.
  156. */
  157. listConfigurations(params: Discovery.Types.ListConfigurationsRequest, callback?: (err: AWSError, data: Discovery.Types.ListConfigurationsResponse) => void): Request<Discovery.Types.ListConfigurationsResponse, AWSError>;
  158. /**
  159. * Retrieves a list of configuration items as specified by the value passed to the required parameter configurationType. Optional filtering may be applied to refine search results.
  160. */
  161. listConfigurations(callback?: (err: AWSError, data: Discovery.Types.ListConfigurationsResponse) => void): Request<Discovery.Types.ListConfigurationsResponse, AWSError>;
  162. /**
  163. * Retrieves a list of servers that are one network hop away from a specified server.
  164. */
  165. listServerNeighbors(params: Discovery.Types.ListServerNeighborsRequest, callback?: (err: AWSError, data: Discovery.Types.ListServerNeighborsResponse) => void): Request<Discovery.Types.ListServerNeighborsResponse, AWSError>;
  166. /**
  167. * Retrieves a list of servers that are one network hop away from a specified server.
  168. */
  169. listServerNeighbors(callback?: (err: AWSError, data: Discovery.Types.ListServerNeighborsResponse) => void): Request<Discovery.Types.ListServerNeighborsResponse, AWSError>;
  170. /**
  171. * Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems. Returns a unique deletion task identifier.
  172. */
  173. startBatchDeleteConfigurationTask(params: Discovery.Types.StartBatchDeleteConfigurationTaskRequest, callback?: (err: AWSError, data: Discovery.Types.StartBatchDeleteConfigurationTaskResponse) => void): Request<Discovery.Types.StartBatchDeleteConfigurationTaskResponse, AWSError>;
  174. /**
  175. * Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems. Returns a unique deletion task identifier.
  176. */
  177. startBatchDeleteConfigurationTask(callback?: (err: AWSError, data: Discovery.Types.StartBatchDeleteConfigurationTaskResponse) => void): Request<Discovery.Types.StartBatchDeleteConfigurationTaskResponse, AWSError>;
  178. /**
  179. * Start the continuous flow of agent's discovered data into Amazon Athena.
  180. */
  181. startContinuousExport(params: Discovery.Types.StartContinuousExportRequest, callback?: (err: AWSError, data: Discovery.Types.StartContinuousExportResponse) => void): Request<Discovery.Types.StartContinuousExportResponse, AWSError>;
  182. /**
  183. * Start the continuous flow of agent's discovered data into Amazon Athena.
  184. */
  185. startContinuousExport(callback?: (err: AWSError, data: Discovery.Types.StartContinuousExportResponse) => void): Request<Discovery.Types.StartContinuousExportResponse, AWSError>;
  186. /**
  187. * Instructs the specified agents to start collecting data.
  188. */
  189. startDataCollectionByAgentIds(params: Discovery.Types.StartDataCollectionByAgentIdsRequest, callback?: (err: AWSError, data: Discovery.Types.StartDataCollectionByAgentIdsResponse) => void): Request<Discovery.Types.StartDataCollectionByAgentIdsResponse, AWSError>;
  190. /**
  191. * Instructs the specified agents to start collecting data.
  192. */
  193. startDataCollectionByAgentIds(callback?: (err: AWSError, data: Discovery.Types.StartDataCollectionByAgentIdsResponse) => void): Request<Discovery.Types.StartDataCollectionByAgentIdsResponse, AWSError>;
  194. /**
  195. * Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services. Exports might provide an estimate of fees and savings based on certain information that you provide. Fee estimates do not include any taxes that might apply. Your actual fees and savings depend on a variety of factors, including your actual usage of Amazon Web Services services, which might vary from the estimates provided in this report. If you do not specify preferences or agentIds in the filter, a summary of all servers, applications, tags, and performance is generated. This data is an aggregation of all server data collected through on-premises tooling, file import, application grouping and applying tags. 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. Export of detailed agent data is limited to two exports per day. If you enable ec2RecommendationsPreferences in preferences , an Amazon EC2 instance matching the characteristics of each server in Application Discovery Service is generated. Changing the attributes of the ec2RecommendationsPreferences changes the criteria of the recommendation.
  196. */
  197. startExportTask(params: Discovery.Types.StartExportTaskRequest, callback?: (err: AWSError, data: Discovery.Types.StartExportTaskResponse) => void): Request<Discovery.Types.StartExportTaskResponse, AWSError>;
  198. /**
  199. * Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services. Exports might provide an estimate of fees and savings based on certain information that you provide. Fee estimates do not include any taxes that might apply. Your actual fees and savings depend on a variety of factors, including your actual usage of Amazon Web Services services, which might vary from the estimates provided in this report. If you do not specify preferences or agentIds in the filter, a summary of all servers, applications, tags, and performance is generated. This data is an aggregation of all server data collected through on-premises tooling, file import, application grouping and applying tags. 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. Export of detailed agent data is limited to two exports per day. If you enable ec2RecommendationsPreferences in preferences , an Amazon EC2 instance matching the characteristics of each server in Application Discovery Service is generated. Changing the attributes of the ec2RecommendationsPreferences changes the criteria of the recommendation.
  200. */
  201. startExportTask(callback?: (err: AWSError, data: Discovery.Types.StartExportTaskResponse) => void): Request<Discovery.Types.StartExportTaskResponse, AWSError>;
  202. /**
  203. * Starts an import task, which allows you to import details of your on-premises environment directly into Amazon Web Services Migration Hub without having to use the Amazon Web Services Application Discovery Service (Application Discovery Service) tools such as the Amazon Web Services Application Discovery Service Agentless Collector or Application 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 Amazon Web Services CLI or one of the Amazon Web Services SDKs to import the records from your file. For more information, including step-by-step procedures, see Migration Hub Import in the Amazon Web Services Application Discovery Service User Guide. There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services account. For more information, see Amazon Web Services Application Discovery Service Limits in the Amazon Web Services Application Discovery Service User Guide.
  204. */
  205. startImportTask(params: Discovery.Types.StartImportTaskRequest, callback?: (err: AWSError, data: Discovery.Types.StartImportTaskResponse) => void): Request<Discovery.Types.StartImportTaskResponse, AWSError>;
  206. /**
  207. * Starts an import task, which allows you to import details of your on-premises environment directly into Amazon Web Services Migration Hub without having to use the Amazon Web Services Application Discovery Service (Application Discovery Service) tools such as the Amazon Web Services Application Discovery Service Agentless Collector or Application 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 Amazon Web Services CLI or one of the Amazon Web Services SDKs to import the records from your file. For more information, including step-by-step procedures, see Migration Hub Import in the Amazon Web Services Application Discovery Service User Guide. There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services account. For more information, see Amazon Web Services Application Discovery Service Limits in the Amazon Web Services Application Discovery Service User Guide.
  208. */
  209. startImportTask(callback?: (err: AWSError, data: Discovery.Types.StartImportTaskResponse) => void): Request<Discovery.Types.StartImportTaskResponse, AWSError>;
  210. /**
  211. * Stop the continuous flow of agent's discovered data into Amazon Athena.
  212. */
  213. stopContinuousExport(params: Discovery.Types.StopContinuousExportRequest, callback?: (err: AWSError, data: Discovery.Types.StopContinuousExportResponse) => void): Request<Discovery.Types.StopContinuousExportResponse, AWSError>;
  214. /**
  215. * Stop the continuous flow of agent's discovered data into Amazon Athena.
  216. */
  217. stopContinuousExport(callback?: (err: AWSError, data: Discovery.Types.StopContinuousExportResponse) => void): Request<Discovery.Types.StopContinuousExportResponse, AWSError>;
  218. /**
  219. * Instructs the specified agents to stop collecting data.
  220. */
  221. stopDataCollectionByAgentIds(params: Discovery.Types.StopDataCollectionByAgentIdsRequest, callback?: (err: AWSError, data: Discovery.Types.StopDataCollectionByAgentIdsResponse) => void): Request<Discovery.Types.StopDataCollectionByAgentIdsResponse, AWSError>;
  222. /**
  223. * Instructs the specified agents to stop collecting data.
  224. */
  225. stopDataCollectionByAgentIds(callback?: (err: AWSError, data: Discovery.Types.StopDataCollectionByAgentIdsResponse) => void): Request<Discovery.Types.StopDataCollectionByAgentIdsResponse, AWSError>;
  226. /**
  227. * Updates metadata about an application.
  228. */
  229. updateApplication(params: Discovery.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: Discovery.Types.UpdateApplicationResponse) => void): Request<Discovery.Types.UpdateApplicationResponse, AWSError>;
  230. /**
  231. * Updates metadata about an application.
  232. */
  233. updateApplication(callback?: (err: AWSError, data: Discovery.Types.UpdateApplicationResponse) => void): Request<Discovery.Types.UpdateApplicationResponse, AWSError>;
  234. }
  235. declare namespace Discovery {
  236. export interface AgentConfigurationStatus {
  237. /**
  238. * The agent ID.
  239. */
  240. agentId?: String;
  241. /**
  242. * Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.
  243. */
  244. operationSucceeded?: Boolean;
  245. /**
  246. * A description of the operation performed.
  247. */
  248. description?: String;
  249. }
  250. export type AgentConfigurationStatusList = AgentConfigurationStatus[];
  251. export type AgentId = string;
  252. export type AgentIds = AgentId[];
  253. export interface AgentInfo {
  254. /**
  255. * The agent or collector ID.
  256. */
  257. agentId?: AgentId;
  258. /**
  259. * The name of the host where the agent or collector resides. The host can be a server or virtual machine.
  260. */
  261. hostName?: String;
  262. /**
  263. * Network details about the host where the agent or collector resides.
  264. */
  265. agentNetworkInfoList?: AgentNetworkInfoList;
  266. /**
  267. * The ID of the connector.
  268. */
  269. connectorId?: String;
  270. /**
  271. * The agent or collector version.
  272. */
  273. version?: String;
  274. /**
  275. * The health of the agent.
  276. */
  277. health?: AgentStatus;
  278. /**
  279. * Time since agent health was reported.
  280. */
  281. lastHealthPingTime?: String;
  282. /**
  283. * Status of the collection process for an agent.
  284. */
  285. collectionStatus?: String;
  286. /**
  287. * Type of agent.
  288. */
  289. agentType?: String;
  290. /**
  291. * Agent's first registration timestamp in UTC.
  292. */
  293. registeredTime?: String;
  294. }
  295. export interface AgentNetworkInfo {
  296. /**
  297. * The IP address for the host where the agent/collector resides.
  298. */
  299. ipAddress?: String;
  300. /**
  301. * The MAC address for the host where the agent/collector resides.
  302. */
  303. macAddress?: String;
  304. }
  305. export type AgentNetworkInfoList = AgentNetworkInfo[];
  306. export type AgentStatus = "HEALTHY"|"UNHEALTHY"|"RUNNING"|"UNKNOWN"|"BLACKLISTED"|"SHUTDOWN"|string;
  307. export type AgentsInfo = AgentInfo[];
  308. export type ApplicationDescription = string;
  309. export type ApplicationId = string;
  310. export type ApplicationIdsList = ApplicationId[];
  311. export type ApplicationName = string;
  312. export interface AssociateConfigurationItemsToApplicationRequest {
  313. /**
  314. * The configuration ID of an application with which items are to be associated.
  315. */
  316. applicationConfigurationId: ApplicationId;
  317. /**
  318. * The ID of each configuration item to be associated with an application.
  319. */
  320. configurationIds: ConfigurationIdList;
  321. }
  322. export interface AssociateConfigurationItemsToApplicationResponse {
  323. }
  324. export interface BatchDeleteAgentError {
  325. /**
  326. * The ID of the agent or data collector to delete.
  327. */
  328. agentId: AgentId;
  329. /**
  330. * The description of the error that occurred for the delete failed agent.
  331. */
  332. errorMessage: String;
  333. /**
  334. * The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.
  335. */
  336. errorCode: DeleteAgentErrorCode;
  337. }
  338. export type BatchDeleteAgentErrors = BatchDeleteAgentError[];
  339. export interface BatchDeleteAgentsRequest {
  340. /**
  341. * The list of agents to delete.
  342. */
  343. deleteAgents: DeleteAgents;
  344. }
  345. export interface BatchDeleteAgentsResponse {
  346. /**
  347. * A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
  348. */
  349. errors?: BatchDeleteAgentErrors;
  350. }
  351. export interface BatchDeleteConfigurationTask {
  352. /**
  353. * The deletion task's unique identifier.
  354. */
  355. taskId?: UUID;
  356. /**
  357. * The current execution status of the deletion task. Valid status are: INITIALIZING | VALIDATING | DELETING | COMPLETED | FAILED.
  358. */
  359. status?: BatchDeleteConfigurationTaskStatus;
  360. /**
  361. * An epoch seconds timestamp (UTC) of when the deletion task was started.
  362. */
  363. startTime?: TimeStamp;
  364. /**
  365. * An epoch seconds timestamp (UTC) of when the deletion task was completed or failed.
  366. */
  367. endTime?: TimeStamp;
  368. /**
  369. * The type of configuration item to delete. Supported types are: SERVER.
  370. */
  371. configurationType?: DeletionConfigurationItemType;
  372. /**
  373. * The list of configuration IDs that were originally requested to be deleted by the deletion task.
  374. */
  375. requestedConfigurations?: ConfigurationIdList;
  376. /**
  377. * The list of configuration IDs that were successfully deleted by the deletion task.
  378. */
  379. deletedConfigurations?: ConfigurationIdList;
  380. /**
  381. * A list of configuration IDs that failed to delete during the deletion task, each paired with an error message.
  382. */
  383. failedConfigurations?: FailedConfigurationList;
  384. /**
  385. * A list of configuration IDs that produced warnings regarding their deletion, paired with a warning message.
  386. */
  387. deletionWarnings?: DeletionWarningsList;
  388. }
  389. export type BatchDeleteConfigurationTaskStatus = "INITIALIZING"|"VALIDATING"|"DELETING"|"COMPLETED"|"FAILED"|string;
  390. export interface BatchDeleteImportDataError {
  391. /**
  392. * The unique import ID associated with the error that occurred.
  393. */
  394. importTaskId?: ImportTaskIdentifier;
  395. /**
  396. * The type of error that occurred for a specific import task.
  397. */
  398. errorCode?: BatchDeleteImportDataErrorCode;
  399. /**
  400. * The description of the error that occurred for a specific import task.
  401. */
  402. errorDescription?: BatchDeleteImportDataErrorDescription;
  403. }
  404. export type BatchDeleteImportDataErrorCode = "NOT_FOUND"|"INTERNAL_SERVER_ERROR"|"OVER_LIMIT"|string;
  405. export type BatchDeleteImportDataErrorDescription = string;
  406. export type BatchDeleteImportDataErrorList = BatchDeleteImportDataError[];
  407. export interface BatchDeleteImportDataRequest {
  408. /**
  409. * The IDs for the import tasks that you want to delete.
  410. */
  411. importTaskIds: ToDeleteIdentifierList;
  412. /**
  413. * Set to true to remove the deleted import task from DescribeImportTasks.
  414. */
  415. deleteHistory?: Boolean;
  416. }
  417. export interface BatchDeleteImportDataResponse {
  418. /**
  419. * Error messages returned for each import task that you deleted as a response for this command.
  420. */
  421. errors?: BatchDeleteImportDataErrorList;
  422. }
  423. export type Boolean = boolean;
  424. export type BoxedInteger = number;
  425. export type ClientRequestToken = string;
  426. export type Condition = string;
  427. export type Configuration = {[key: string]: String};
  428. export type ConfigurationId = string;
  429. export type ConfigurationIdList = ConfigurationId[];
  430. export type ConfigurationItemType = "SERVER"|"PROCESS"|"CONNECTION"|"APPLICATION"|string;
  431. export interface ConfigurationTag {
  432. /**
  433. * A type of IT asset to tag.
  434. */
  435. configurationType?: ConfigurationItemType;
  436. /**
  437. * The configuration ID for the item to tag. You can specify a list of keys and values.
  438. */
  439. configurationId?: ConfigurationId;
  440. /**
  441. * A type of tag on which to filter. For example, serverType.
  442. */
  443. key?: TagKey;
  444. /**
  445. * A value on which to filter. For example key = serverType and value = web server.
  446. */
  447. value?: TagValue;
  448. /**
  449. * The time the configuration tag was created in Coordinated Universal Time (UTC).
  450. */
  451. timeOfCreation?: TimeStamp;
  452. }
  453. export type ConfigurationTagSet = ConfigurationTag[];
  454. export type Configurations = Configuration[];
  455. export type ConfigurationsDownloadUrl = string;
  456. export type ConfigurationsExportId = string;
  457. export interface ContinuousExportDescription {
  458. /**
  459. * The unique ID assigned to this export.
  460. */
  461. exportId?: ConfigurationsExportId;
  462. /**
  463. * 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.
  464. */
  465. status?: ContinuousExportStatus;
  466. /**
  467. * 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 Amazon Web Services administrator for help. For more information, see Setting Up Amazon Web Services 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 user is missing the Amazon Web ServicesApplicationDiscoveryServiceFirehose role. Turn on Data Exploration in Amazon Athena and try again. For more information, see Creating the Amazon Web ServicesApplicationDiscoveryServiceFirehose Role in the Application Discovery Service User Guide. FIREHOSE_STREAM_DOES_NOT_EXIST - The Data Exploration feature is in an error state because your 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 Amazon Web Services Support. LAKE_FORMATION_ACCESS_DENIED - You don't have sufficient lake formation permissions to start continuous export. For more information, see Upgrading Amazon Web Services Glue Data Permissions to the Amazon Web Services Lake Formation Model in the Amazon Web Services Lake Formation Developer Guide. You can use one of the following two ways to resolve this issue. If you don’t want to use the Lake Formation permission model, you can change the default Data Catalog settings to use only Amazon Web Services Identity and Access Management (IAM) access control for new databases. For more information, see Change Data Catalog Settings in the Lake Formation Developer Guide. You can give the service-linked IAM roles AWSServiceRoleForApplicationDiscoveryServiceContinuousExport and AWSApplicationDiscoveryServiceFirehose the required Lake Formation permissions. For more information, see Granting Database Permissions in the Lake Formation Developer Guide. AWSServiceRoleForApplicationDiscoveryServiceContinuousExport - Grant database creator permissions, which gives the role database creation ability and implicit permissions for any created tables. For more information, see Implicit Lake Formation Permissions in the Lake Formation Developer Guide. AWSApplicationDiscoveryServiceFirehose - Grant describe permissions for all tables in the database. S3_BUCKET_LIMIT_FAILURE - You reached the limit for Amazon S3 buckets. Reduce the number of 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.
  468. */
  469. statusDetail?: StringMax255;
  470. /**
  471. * The name of the s3 bucket where the export data parquet files are stored.
  472. */
  473. s3Bucket?: S3Bucket;
  474. /**
  475. * The timestamp representing when the continuous export was started.
  476. */
  477. startTime?: TimeStamp;
  478. /**
  479. * The timestamp that represents when this continuous export was stopped.
  480. */
  481. stopTime?: TimeStamp;
  482. /**
  483. * The type of data collector used to gather this data (currently only offered for AGENT).
  484. */
  485. dataSource?: DataSource;
  486. /**
  487. * An object which describes how the data is stored. databaseName - the name of the Glue database used to store the schema.
  488. */
  489. schemaStorageConfig?: SchemaStorageConfig;
  490. }
  491. export type ContinuousExportDescriptions = ContinuousExportDescription[];
  492. export type ContinuousExportIds = ConfigurationsExportId[];
  493. export type ContinuousExportStatus = "START_IN_PROGRESS"|"START_FAILED"|"ACTIVE"|"ERROR"|"STOP_IN_PROGRESS"|"STOP_FAILED"|"INACTIVE"|string;
  494. export interface CreateApplicationRequest {
  495. /**
  496. * Name of the application to be created.
  497. */
  498. name: ApplicationName;
  499. /**
  500. * Description of the application to be created.
  501. */
  502. description?: ApplicationDescription;
  503. }
  504. export interface CreateApplicationResponse {
  505. /**
  506. * Configuration ID of an application to be created.
  507. */
  508. configurationId?: String;
  509. }
  510. export interface CreateTagsRequest {
  511. /**
  512. * A list of configuration items that you want to tag.
  513. */
  514. configurationIds: ConfigurationIdList;
  515. /**
  516. * 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"}
  517. */
  518. tags: TagSet;
  519. }
  520. export interface CreateTagsResponse {
  521. }
  522. export interface CustomerAgentInfo {
  523. /**
  524. * Number of active discovery agents.
  525. */
  526. activeAgents: Integer;
  527. /**
  528. * Number of healthy discovery agents
  529. */
  530. healthyAgents: Integer;
  531. /**
  532. * Number of blacklisted discovery agents.
  533. */
  534. blackListedAgents: Integer;
  535. /**
  536. * Number of discovery agents with status SHUTDOWN.
  537. */
  538. shutdownAgents: Integer;
  539. /**
  540. * Number of unhealthy discovery agents.
  541. */
  542. unhealthyAgents: Integer;
  543. /**
  544. * Total number of discovery agents.
  545. */
  546. totalAgents: Integer;
  547. /**
  548. * Number of unknown discovery agents.
  549. */
  550. unknownAgents: Integer;
  551. }
  552. export interface CustomerAgentlessCollectorInfo {
  553. /**
  554. * The number of active Agentless Collector collectors.
  555. */
  556. activeAgentlessCollectors: Integer;
  557. /**
  558. * The number of healthy Agentless Collector collectors.
  559. */
  560. healthyAgentlessCollectors: Integer;
  561. /**
  562. * The number of deny-listed Agentless Collector collectors.
  563. */
  564. denyListedAgentlessCollectors: Integer;
  565. /**
  566. * The number of Agentless Collector collectors with SHUTDOWN status.
  567. */
  568. shutdownAgentlessCollectors: Integer;
  569. /**
  570. * The number of unhealthy Agentless Collector collectors.
  571. */
  572. unhealthyAgentlessCollectors: Integer;
  573. /**
  574. * The total number of Agentless Collector collectors.
  575. */
  576. totalAgentlessCollectors: Integer;
  577. /**
  578. * The number of unknown Agentless Collector collectors.
  579. */
  580. unknownAgentlessCollectors: Integer;
  581. }
  582. export interface CustomerConnectorInfo {
  583. /**
  584. * Number of active discovery connectors.
  585. */
  586. activeConnectors: Integer;
  587. /**
  588. * Number of healthy discovery connectors.
  589. */
  590. healthyConnectors: Integer;
  591. /**
  592. * Number of blacklisted discovery connectors.
  593. */
  594. blackListedConnectors: Integer;
  595. /**
  596. * Number of discovery connectors with status SHUTDOWN,
  597. */
  598. shutdownConnectors: Integer;
  599. /**
  600. * Number of unhealthy discovery connectors.
  601. */
  602. unhealthyConnectors: Integer;
  603. /**
  604. * Total number of discovery connectors.
  605. */
  606. totalConnectors: Integer;
  607. /**
  608. * Number of unknown discovery connectors.
  609. */
  610. unknownConnectors: Integer;
  611. }
  612. export interface CustomerMeCollectorInfo {
  613. /**
  614. * The number of active Migration Evaluator collectors.
  615. */
  616. activeMeCollectors: Integer;
  617. /**
  618. * The number of healthy Migration Evaluator collectors.
  619. */
  620. healthyMeCollectors: Integer;
  621. /**
  622. * The number of deny-listed Migration Evaluator collectors.
  623. */
  624. denyListedMeCollectors: Integer;
  625. /**
  626. * The number of Migration Evaluator collectors with SHUTDOWN status.
  627. */
  628. shutdownMeCollectors: Integer;
  629. /**
  630. * The number of unhealthy Migration Evaluator collectors.
  631. */
  632. unhealthyMeCollectors: Integer;
  633. /**
  634. * The total number of Migration Evaluator collectors.
  635. */
  636. totalMeCollectors: Integer;
  637. /**
  638. * The number of unknown Migration Evaluator collectors.
  639. */
  640. unknownMeCollectors: Integer;
  641. }
  642. export type DataSource = "AGENT"|string;
  643. export type DatabaseName = string;
  644. export interface DeleteAgent {
  645. /**
  646. * The ID of the agent or data collector to delete.
  647. */
  648. agentId: AgentId;
  649. /**
  650. * Optional flag used to force delete an agent or data collector. It is needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it to be re-registered with a different agent ID after data collector re-connects with Amazon Web Services.
  651. */
  652. force?: Boolean;
  653. }
  654. export type DeleteAgentErrorCode = "NOT_FOUND"|"INTERNAL_SERVER_ERROR"|"AGENT_IN_USE"|string;
  655. export type DeleteAgents = DeleteAgent[];
  656. export interface DeleteApplicationsRequest {
  657. /**
  658. * Configuration ID of an application to be deleted.
  659. */
  660. configurationIds: ApplicationIdsList;
  661. }
  662. export interface DeleteApplicationsResponse {
  663. }
  664. export interface DeleteTagsRequest {
  665. /**
  666. * A list of configuration items with tags that you want to delete.
  667. */
  668. configurationIds: ConfigurationIdList;
  669. /**
  670. * 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"}
  671. */
  672. tags?: TagSet;
  673. }
  674. export interface DeleteTagsResponse {
  675. }
  676. export type DeletionConfigurationItemType = "SERVER"|string;
  677. export interface DeletionWarning {
  678. /**
  679. * The unique identifier of the configuration that produced a warning.
  680. */
  681. configurationId?: ConfigurationId;
  682. /**
  683. * The integer warning code associated with the warning message.
  684. */
  685. warningCode?: WarningCode;
  686. /**
  687. * A descriptive message of the warning the associated configuration ID produced.
  688. */
  689. warningText?: WarningText;
  690. }
  691. export type DeletionWarningsList = DeletionWarning[];
  692. export interface DescribeAgentsRequest {
  693. /**
  694. * The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
  695. */
  696. agentIds?: AgentIds;
  697. /**
  698. * You can filter the request using various logical operators and a key-value format. For example: {"key": "collectionStatus", "value": "STARTED"}
  699. */
  700. filters?: Filters;
  701. /**
  702. * The total number of agents/collectors to return in a single page of output. The maximum value is 100.
  703. */
  704. maxResults?: Integer;
  705. /**
  706. * 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.
  707. */
  708. nextToken?: NextToken;
  709. }
  710. export interface DescribeAgentsResponse {
  711. /**
  712. * Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
  713. */
  714. agentsInfo?: AgentsInfo;
  715. /**
  716. * 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.
  717. */
  718. nextToken?: NextToken;
  719. }
  720. export interface DescribeBatchDeleteConfigurationTaskRequest {
  721. /**
  722. * The ID of the task to delete.
  723. */
  724. taskId: UUID;
  725. }
  726. export interface DescribeBatchDeleteConfigurationTaskResponse {
  727. /**
  728. * The BatchDeleteConfigurationTask that represents the deletion task being executed.
  729. */
  730. task?: BatchDeleteConfigurationTask;
  731. }
  732. export type DescribeConfigurationsAttribute = {[key: string]: String};
  733. export type DescribeConfigurationsAttributes = DescribeConfigurationsAttribute[];
  734. export interface DescribeConfigurationsRequest {
  735. /**
  736. * One or more configuration IDs.
  737. */
  738. configurationIds: ConfigurationIdList;
  739. }
  740. export interface DescribeConfigurationsResponse {
  741. /**
  742. * A key in the response map. The value is an array of data.
  743. */
  744. configurations?: DescribeConfigurationsAttributes;
  745. }
  746. export type DescribeContinuousExportsMaxResults = number;
  747. export interface DescribeContinuousExportsRequest {
  748. /**
  749. * The unique IDs assigned to the exports.
  750. */
  751. exportIds?: ContinuousExportIds;
  752. /**
  753. * A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.
  754. */
  755. maxResults?: DescribeContinuousExportsMaxResults;
  756. /**
  757. * The token from the previous call to DescribeExportTasks.
  758. */
  759. nextToken?: NextToken;
  760. }
  761. export interface DescribeContinuousExportsResponse {
  762. /**
  763. * A list of continuous export descriptions.
  764. */
  765. descriptions?: ContinuousExportDescriptions;
  766. /**
  767. * The token from the previous call to DescribeExportTasks.
  768. */
  769. nextToken?: NextToken;
  770. }
  771. export interface DescribeExportConfigurationsRequest {
  772. /**
  773. * A list of continuous export IDs to search for.
  774. */
  775. exportIds?: ExportIds;
  776. /**
  777. * A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.
  778. */
  779. maxResults?: Integer;
  780. /**
  781. * The token from the previous call to describe-export-tasks.
  782. */
  783. nextToken?: NextToken;
  784. }
  785. export interface DescribeExportConfigurationsResponse {
  786. /**
  787. *
  788. */
  789. exportsInfo?: ExportsInfo;
  790. /**
  791. * The token from the previous call to describe-export-tasks.
  792. */
  793. nextToken?: NextToken;
  794. }
  795. export interface DescribeExportTasksRequest {
  796. /**
  797. * One or more unique identifiers used to query the status of an export request.
  798. */
  799. exportIds?: ExportIds;
  800. /**
  801. * One or more filters. AgentId - ID of the agent whose collected data will be exported
  802. */
  803. filters?: ExportFilters;
  804. /**
  805. * 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.
  806. */
  807. maxResults?: Integer;
  808. /**
  809. * 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.
  810. */
  811. nextToken?: NextToken;
  812. }
  813. export interface DescribeExportTasksResponse {
  814. /**
  815. * 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.
  816. */
  817. exportsInfo?: ExportsInfo;
  818. /**
  819. * 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.
  820. */
  821. nextToken?: NextToken;
  822. }
  823. export type DescribeImportTasksFilterList = ImportTaskFilter[];
  824. export type DescribeImportTasksMaxResults = number;
  825. export interface DescribeImportTasksRequest {
  826. /**
  827. * 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.
  828. */
  829. filters?: DescribeImportTasksFilterList;
  830. /**
  831. * The maximum number of results that you want this request to return, up to 100.
  832. */
  833. maxResults?: DescribeImportTasksMaxResults;
  834. /**
  835. * The token to request a specific page of results.
  836. */
  837. nextToken?: NextToken;
  838. }
  839. export interface DescribeImportTasksResponse {
  840. /**
  841. * The token to request the next page of results.
  842. */
  843. nextToken?: NextToken;
  844. /**
  845. * A returned array of import tasks that match any applied filters, up to the specified number of maximum results.
  846. */
  847. tasks?: ImportTaskList;
  848. }
  849. export interface DescribeTagsRequest {
  850. /**
  851. * 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.
  852. */
  853. filters?: TagFilters;
  854. /**
  855. * The total number of items to return in a single page of output. The maximum value is 100.
  856. */
  857. maxResults?: Integer;
  858. /**
  859. * A token to start the list. Use this token to get the next set of results.
  860. */
  861. nextToken?: NextToken;
  862. }
  863. export interface DescribeTagsResponse {
  864. /**
  865. * 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.
  866. */
  867. tags?: ConfigurationTagSet;
  868. /**
  869. * The call returns a token. Use this token to get the next set of results.
  870. */
  871. nextToken?: NextToken;
  872. }
  873. export interface DisassociateConfigurationItemsFromApplicationRequest {
  874. /**
  875. * Configuration ID of an application from which each item is disassociated.
  876. */
  877. applicationConfigurationId: ApplicationId;
  878. /**
  879. * Configuration ID of each item to be disassociated from an application.
  880. */
  881. configurationIds: ConfigurationIdList;
  882. }
  883. export interface DisassociateConfigurationItemsFromApplicationResponse {
  884. }
  885. export type EC2InstanceType = string;
  886. export interface Ec2RecommendationsExportPreferences {
  887. /**
  888. * If set to true, the export preferences is set to Ec2RecommendationsExportPreferences.
  889. */
  890. enabled?: ExportEnabled;
  891. /**
  892. * The recommended EC2 instance type that matches the CPU usage metric of server performance data.
  893. */
  894. cpuPerformanceMetricBasis?: UsageMetricBasis;
  895. /**
  896. * The recommended EC2 instance type that matches the Memory usage metric of server performance data.
  897. */
  898. ramPerformanceMetricBasis?: UsageMetricBasis;
  899. /**
  900. * The target tenancy to use for your recommended EC2 instances.
  901. */
  902. tenancy?: Tenancy;
  903. /**
  904. * An array of instance types to exclude from recommendations.
  905. */
  906. excludedInstanceTypes?: ExcludedInstanceTypes;
  907. /**
  908. * The target Amazon Web Services Region for the recommendations. You can use any of the Region codes available for the chosen service, as listed in Amazon Web Services service endpoints in the Amazon Web Services General Reference.
  909. */
  910. preferredRegion?: UserPreferredRegion;
  911. /**
  912. * The contract type for a reserved instance. If blank, we assume an On-Demand instance is preferred.
  913. */
  914. reservedInstanceOptions?: ReservedInstanceOptions;
  915. }
  916. export type ErrorMessage = string;
  917. export type ErrorStatusCode = number;
  918. export type ExcludedInstanceTypes = EC2InstanceType[];
  919. export interface ExportConfigurationsResponse {
  920. /**
  921. * A unique identifier that you can use to query the export status.
  922. */
  923. exportId?: ConfigurationsExportId;
  924. }
  925. export type ExportDataFormat = "CSV"|string;
  926. export type ExportDataFormats = ExportDataFormat[];
  927. export type ExportEnabled = boolean;
  928. export interface ExportFilter {
  929. /**
  930. * A single ExportFilter name. Supported filters: agentIds.
  931. */
  932. name: FilterName;
  933. /**
  934. * A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form o-0123456789abcdef0.
  935. */
  936. values: FilterValues;
  937. /**
  938. * Supported condition: EQUALS
  939. */
  940. condition: Condition;
  941. }
  942. export type ExportFilters = ExportFilter[];
  943. export type ExportIds = ConfigurationsExportId[];
  944. export interface ExportInfo {
  945. /**
  946. * A unique identifier used to query an export.
  947. */
  948. exportId: ConfigurationsExportId;
  949. /**
  950. * The status of the data export job.
  951. */
  952. exportStatus: ExportStatus;
  953. /**
  954. * A status message provided for API callers.
  955. */
  956. statusMessage: ExportStatusMessage;
  957. /**
  958. * A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded.
  959. */
  960. configurationsDownloadUrl?: ConfigurationsDownloadUrl;
  961. /**
  962. * The time that the data export was initiated.
  963. */
  964. exportRequestTime: ExportRequestTime;
  965. /**
  966. * 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.
  967. */
  968. isTruncated?: Boolean;
  969. /**
  970. * The value of startTime parameter in the StartExportTask request. If no startTime was requested, this result does not appear in ExportInfo.
  971. */
  972. requestedStartTime?: TimeStamp;
  973. /**
  974. * The endTime used in the StartExportTask request. If no endTime was requested, this result does not appear in ExportInfo.
  975. */
  976. requestedEndTime?: TimeStamp;
  977. }
  978. export interface ExportPreferences {
  979. /**
  980. * If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service.
  981. */
  982. ec2RecommendationsPreferences?: Ec2RecommendationsExportPreferences;
  983. }
  984. export type ExportRequestTime = Date;
  985. export type ExportStatus = "FAILED"|"SUCCEEDED"|"IN_PROGRESS"|string;
  986. export type ExportStatusMessage = string;
  987. export type ExportsInfo = ExportInfo[];
  988. export interface FailedConfiguration {
  989. /**
  990. * The unique identifier of the configuration the failed to delete.
  991. */
  992. configurationId?: ConfigurationId;
  993. /**
  994. * The integer error code associated with the error message.
  995. */
  996. errorStatusCode?: ErrorStatusCode;
  997. /**
  998. * A descriptive message indicating why the associated configuration failed to delete.
  999. */
  1000. errorMessage?: ErrorMessage;
  1001. }
  1002. export type FailedConfigurationList = FailedConfiguration[];
  1003. export interface Filter {
  1004. /**
  1005. * The name of the filter.
  1006. */
  1007. name: String;
  1008. /**
  1009. * A string value on which to filter. For example, if you choose the destinationServer.osVersion filter name, you could specify Ubuntu for the value.
  1010. */
  1011. values: FilterValues;
  1012. /**
  1013. * 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.
  1014. */
  1015. condition: Condition;
  1016. }
  1017. export type FilterName = string;
  1018. export type FilterValue = string;
  1019. export type FilterValues = FilterValue[];
  1020. export type Filters = Filter[];
  1021. export interface GetDiscoverySummaryRequest {
  1022. }
  1023. export interface GetDiscoverySummaryResponse {
  1024. /**
  1025. * The number of servers discovered.
  1026. */
  1027. servers?: Long;
  1028. /**
  1029. * The number of applications discovered.
  1030. */
  1031. applications?: Long;
  1032. /**
  1033. * The number of servers mapped to applications.
  1034. */
  1035. serversMappedToApplications?: Long;
  1036. /**
  1037. * The number of servers mapped to tags.
  1038. */
  1039. serversMappedtoTags?: Long;
  1040. /**
  1041. * Details about discovered agents, including agent status and health.
  1042. */
  1043. agentSummary?: CustomerAgentInfo;
  1044. /**
  1045. * Details about discovered connectors, including connector status and health.
  1046. */
  1047. connectorSummary?: CustomerConnectorInfo;
  1048. /**
  1049. * Details about Migration Evaluator collectors, including collector status and health.
  1050. */
  1051. meCollectorSummary?: CustomerMeCollectorInfo;
  1052. /**
  1053. * Details about Agentless Collector collectors, including status.
  1054. */
  1055. agentlessCollectorSummary?: CustomerAgentlessCollectorInfo;
  1056. }
  1057. 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;
  1058. export interface ImportTask {
  1059. /**
  1060. * The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an Amazon Web Services account.
  1061. */
  1062. importTaskId?: ImportTaskIdentifier;
  1063. /**
  1064. * 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.
  1065. */
  1066. clientRequestToken?: ClientRequestToken;
  1067. /**
  1068. * 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.
  1069. */
  1070. name?: ImportTaskName;
  1071. /**
  1072. * The URL for your import file that you've uploaded to Amazon S3.
  1073. */
  1074. importUrl?: ImportURL;
  1075. /**
  1076. * 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.
  1077. */
  1078. status?: ImportStatus;
  1079. /**
  1080. * The time that the import task request was made, presented in the Unix time stamp format.
  1081. */
  1082. importRequestTime?: TimeStamp;
  1083. /**
  1084. * The time that the import task request finished, presented in the Unix time stamp format.
  1085. */
  1086. importCompletionTime?: TimeStamp;
  1087. /**
  1088. * The time that the import task request was deleted, presented in the Unix time stamp format.
  1089. */
  1090. importDeletedTime?: TimeStamp;
  1091. /**
  1092. * The total number of server records in the import file that were successfully imported.
  1093. */
  1094. serverImportSuccess?: Integer;
  1095. /**
  1096. * The total number of server records in the import file that failed to be imported.
  1097. */
  1098. serverImportFailure?: Integer;
  1099. /**
  1100. * The total number of application records in the import file that were successfully imported.
  1101. */
  1102. applicationImportSuccess?: Integer;
  1103. /**
  1104. * The total number of application records in the import file that failed to be imported.
  1105. */
  1106. applicationImportFailure?: Integer;
  1107. /**
  1108. * 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.
  1109. */
  1110. errorsAndFailedEntriesZip?: S3PresignedUrl;
  1111. }
  1112. export interface ImportTaskFilter {
  1113. /**
  1114. * The name, status, or import task ID for a specific import task.
  1115. */
  1116. name?: ImportTaskFilterName;
  1117. /**
  1118. * 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.
  1119. */
  1120. values?: ImportTaskFilterValueList;
  1121. }
  1122. export type ImportTaskFilterName = "IMPORT_TASK_ID"|"STATUS"|"NAME"|string;
  1123. export type ImportTaskFilterValue = string;
  1124. export type ImportTaskFilterValueList = ImportTaskFilterValue[];
  1125. export type ImportTaskIdentifier = string;
  1126. export type ImportTaskList = ImportTask[];
  1127. export type ImportTaskName = string;
  1128. export type ImportURL = string;
  1129. export type Integer = number;
  1130. export interface ListConfigurationsRequest {
  1131. /**
  1132. * A valid configuration identified by Application Discovery Service.
  1133. */
  1134. configurationType: ConfigurationItemType;
  1135. /**
  1136. * 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 Using the ListConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.
  1137. */
  1138. filters?: Filters;
  1139. /**
  1140. * The total number of items to return. The maximum value is 100.
  1141. */
  1142. maxResults?: Integer;
  1143. /**
  1144. * 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.
  1145. */
  1146. nextToken?: NextToken;
  1147. /**
  1148. * 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 in the Amazon Web Services Application Discovery Service User Guide.
  1149. */
  1150. orderBy?: OrderByList;
  1151. }
  1152. export interface ListConfigurationsResponse {
  1153. /**
  1154. * Returns configuration details, including the configuration ID, attribute names, and attribute values.
  1155. */
  1156. configurations?: Configurations;
  1157. /**
  1158. * 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.
  1159. */
  1160. nextToken?: NextToken;
  1161. }
  1162. export interface ListServerNeighborsRequest {
  1163. /**
  1164. * Configuration ID of the server for which neighbors are being listed.
  1165. */
  1166. configurationId: ConfigurationId;
  1167. /**
  1168. * Flag to indicate if port and protocol information is needed as part of the response.
  1169. */
  1170. portInformationNeeded?: Boolean;
  1171. /**
  1172. * List of configuration IDs to test for one-hop-away.
  1173. */
  1174. neighborConfigurationIds?: ConfigurationIdList;
  1175. /**
  1176. * Maximum number of results to return in a single page of output.
  1177. */
  1178. maxResults?: Integer;
  1179. /**
  1180. * 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.
  1181. */
  1182. nextToken?: String;
  1183. }
  1184. export interface ListServerNeighborsResponse {
  1185. /**
  1186. * List of distinct servers that are one hop away from the given server.
  1187. */
  1188. neighbors: NeighborDetailsList;
  1189. /**
  1190. * 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.
  1191. */
  1192. nextToken?: String;
  1193. /**
  1194. * Count of distinct servers that are one hop away from the given server.
  1195. */
  1196. knownDependencyCount?: Long;
  1197. }
  1198. export type Long = number;
  1199. export interface NeighborConnectionDetail {
  1200. /**
  1201. * The ID of the server that opened the network connection.
  1202. */
  1203. sourceServerId: ConfigurationId;
  1204. /**
  1205. * The ID of the server that accepted the network connection.
  1206. */
  1207. destinationServerId: ConfigurationId;
  1208. /**
  1209. * The destination network port for the connection.
  1210. */
  1211. destinationPort?: BoxedInteger;
  1212. /**
  1213. * The network protocol used for the connection.
  1214. */
  1215. transportProtocol?: String;
  1216. /**
  1217. * The number of open network connections with the neighboring server.
  1218. */
  1219. connectionsCount: Long;
  1220. }
  1221. export type NeighborDetailsList = NeighborConnectionDetail[];
  1222. export type NextToken = string;
  1223. export type OfferingClass = "STANDARD"|"CONVERTIBLE"|string;
  1224. export interface OrderByElement {
  1225. /**
  1226. * The field on which to order.
  1227. */
  1228. fieldName: OrderByElementFieldName;
  1229. /**
  1230. * Ordering direction.
  1231. */
  1232. sortOrder?: orderString;
  1233. }
  1234. export type OrderByElementFieldName = string;
  1235. export type OrderByList = OrderByElement[];
  1236. export type PurchasingOption = "ALL_UPFRONT"|"PARTIAL_UPFRONT"|"NO_UPFRONT"|string;
  1237. export interface ReservedInstanceOptions {
  1238. /**
  1239. * The payment plan to use for your Reserved Instance.
  1240. */
  1241. purchasingOption: PurchasingOption;
  1242. /**
  1243. * The flexibility to change the instance types needed for your Reserved Instance.
  1244. */
  1245. offeringClass: OfferingClass;
  1246. /**
  1247. * The preferred duration of the Reserved Instance term.
  1248. */
  1249. termLength: TermLength;
  1250. }
  1251. export type S3Bucket = string;
  1252. export type S3PresignedUrl = string;
  1253. export type SchemaStorageConfig = {[key: string]: String};
  1254. export interface StartBatchDeleteConfigurationTaskRequest {
  1255. /**
  1256. * The type of configuration item to delete. Supported types are: SERVER.
  1257. */
  1258. configurationType: DeletionConfigurationItemType;
  1259. /**
  1260. * The list of configuration IDs that will be deleted by the task.
  1261. */
  1262. configurationIds: ConfigurationIdList;
  1263. }
  1264. export interface StartBatchDeleteConfigurationTaskResponse {
  1265. /**
  1266. * The unique identifier associated with the newly started deletion task.
  1267. */
  1268. taskId?: UUID;
  1269. }
  1270. export interface StartContinuousExportRequest {
  1271. }
  1272. export interface StartContinuousExportResponse {
  1273. /**
  1274. * The unique ID assigned to this export.
  1275. */
  1276. exportId?: ConfigurationsExportId;
  1277. /**
  1278. * The name of the s3 bucket where the export data parquet files are stored.
  1279. */
  1280. s3Bucket?: S3Bucket;
  1281. /**
  1282. * The timestamp representing when the continuous export was started.
  1283. */
  1284. startTime?: TimeStamp;
  1285. /**
  1286. * The type of data collector used to gather this data (currently only offered for AGENT).
  1287. */
  1288. dataSource?: DataSource;
  1289. /**
  1290. * A dictionary which describes how the data is stored. databaseName - the name of the Glue database used to store the schema.
  1291. */
  1292. schemaStorageConfig?: SchemaStorageConfig;
  1293. }
  1294. export interface StartDataCollectionByAgentIdsRequest {
  1295. /**
  1296. * The IDs of the agents from which to start collecting data. If you send a request to an agent ID that you do not have permission to contact, according to your Amazon Web Services 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 and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows Failed in the Description field.
  1297. */
  1298. agentIds: AgentIds;
  1299. }
  1300. export interface StartDataCollectionByAgentIdsResponse {
  1301. /**
  1302. * Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.
  1303. */
  1304. agentsConfigurationStatus?: AgentConfigurationStatusList;
  1305. }
  1306. export interface StartExportTaskRequest {
  1307. /**
  1308. * The file format for the returned export data. Default value is CSV. Note: The GRAPHML option has been deprecated.
  1309. */
  1310. exportDataFormat?: ExportDataFormats;
  1311. /**
  1312. * 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 Amazon Web Services Application Discovery Service Agentless Collector collectors data and summary data from Application Discovery Agent agents.
  1313. */
  1314. filters?: ExportFilters;
  1315. /**
  1316. * 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.
  1317. */
  1318. startTime?: TimeStamp;
  1319. /**
  1320. * 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.
  1321. */
  1322. endTime?: TimeStamp;
  1323. /**
  1324. * Indicates the type of data that needs to be exported. Only one ExportPreferences can be enabled at any time.
  1325. */
  1326. preferences?: ExportPreferences;
  1327. }
  1328. export interface StartExportTaskResponse {
  1329. /**
  1330. * A unique identifier used to query the status of an export request.
  1331. */
  1332. exportId?: ConfigurationsExportId;
  1333. }
  1334. export interface StartImportTaskRequest {
  1335. /**
  1336. * 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.
  1337. */
  1338. clientRequestToken?: ClientRequestToken;
  1339. /**
  1340. * 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.
  1341. */
  1342. name: ImportTaskName;
  1343. /**
  1344. * The URL for your import file that you've uploaded to Amazon S3. If you're using the Amazon Web Services CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV
  1345. */
  1346. importUrl: ImportURL;
  1347. }
  1348. export interface StartImportTaskResponse {
  1349. /**
  1350. * 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.
  1351. */
  1352. task?: ImportTask;
  1353. }
  1354. export interface StopContinuousExportRequest {
  1355. /**
  1356. * The unique ID assigned to this export.
  1357. */
  1358. exportId: ConfigurationsExportId;
  1359. }
  1360. export interface StopContinuousExportResponse {
  1361. /**
  1362. * Timestamp that represents when this continuous export started collecting data.
  1363. */
  1364. startTime?: TimeStamp;
  1365. /**
  1366. * Timestamp that represents when this continuous export was stopped.
  1367. */
  1368. stopTime?: TimeStamp;
  1369. }
  1370. export interface StopDataCollectionByAgentIdsRequest {
  1371. /**
  1372. * The IDs of the agents from which to stop collecting data.
  1373. */
  1374. agentIds: AgentIds;
  1375. }
  1376. export interface StopDataCollectionByAgentIdsResponse {
  1377. /**
  1378. * Information about the agents that were instructed to stop collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.
  1379. */
  1380. agentsConfigurationStatus?: AgentConfigurationStatusList;
  1381. }
  1382. export type String = string;
  1383. export type StringMax255 = string;
  1384. export interface Tag {
  1385. /**
  1386. * The type of tag on which to filter.
  1387. */
  1388. key: TagKey;
  1389. /**
  1390. * A value for a tag key on which to filter.
  1391. */
  1392. value: TagValue;
  1393. }
  1394. export interface TagFilter {
  1395. /**
  1396. * A name of the tag filter.
  1397. */
  1398. name: FilterName;
  1399. /**
  1400. * Values for the tag filter.
  1401. */
  1402. values: FilterValues;
  1403. }
  1404. export type TagFilters = TagFilter[];
  1405. export type TagKey = string;
  1406. export type TagSet = Tag[];
  1407. export type TagValue = string;
  1408. export type Tenancy = "DEDICATED"|"SHARED"|string;
  1409. export type TermLength = "ONE_YEAR"|"THREE_YEAR"|string;
  1410. export type TimeStamp = Date;
  1411. export type ToDeleteIdentifierList = ImportTaskIdentifier[];
  1412. export type UUID = string;
  1413. export interface UpdateApplicationRequest {
  1414. /**
  1415. * Configuration ID of the application to be updated.
  1416. */
  1417. configurationId: ApplicationId;
  1418. /**
  1419. * New name of the application to be updated.
  1420. */
  1421. name?: ApplicationName;
  1422. /**
  1423. * New description of the application to be updated.
  1424. */
  1425. description?: ApplicationDescription;
  1426. }
  1427. export interface UpdateApplicationResponse {
  1428. }
  1429. export interface UsageMetricBasis {
  1430. /**
  1431. * A utilization metric that is used by the recommendations.
  1432. */
  1433. name?: UsageMetricBasisName;
  1434. /**
  1435. * Specifies the percentage of the specified utilization metric that is used by the recommendations.
  1436. */
  1437. percentageAdjust?: UsageMetricPercentageAdjust;
  1438. }
  1439. export type UsageMetricBasisName = string;
  1440. export type UsageMetricPercentageAdjust = number;
  1441. export type UserPreferredRegion = string;
  1442. export type WarningCode = number;
  1443. export type WarningText = string;
  1444. export type orderString = "ASC"|"DESC"|string;
  1445. /**
  1446. * 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.
  1447. */
  1448. export type apiVersion = "2015-11-01"|"latest"|string;
  1449. export interface ClientApiVersions {
  1450. /**
  1451. * 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.
  1452. */
  1453. apiVersion?: apiVersion;
  1454. }
  1455. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  1456. /**
  1457. * Contains interfaces for use with the Discovery client.
  1458. */
  1459. export import Types = Discovery;
  1460. }
  1461. export = Discovery;