/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the discovery-2015-11-01.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ApplicationDiscoveryService.Model; namespace Amazon.ApplicationDiscoveryService { /// /// Interface for accessing ApplicationDiscoveryService /// /// Amazon Web Services Application Discovery Service /// /// Amazon Web Services Application Discovery Service (Application Discovery Service) /// helps you plan application migration projects. It automatically identifies servers, /// virtual machines (VMs), and network dependencies in your on-premises data centers. /// For more information, see the Amazon /// Web Services Application Discovery Service FAQ. /// /// /// /// Application Discovery Service offers three ways of performing discovery and collecting /// data about your on-premises servers: /// /// /// /// Working With This Guide /// /// /// /// This API reference provides descriptions, syntax, and usage examples for each of the /// actions and data types for Application Discovery Service. The topic for each action /// shows the API request parameters and the response. Alternatively, you can use one /// of the Amazon Web Services SDKs to access an API that is tailored to the programming /// language or platform that you're using. For more information, see Amazon /// Web Services SDKs. /// /// /// /// This guide is intended for use with the Amazon /// Web Services Application Discovery Service User Guide. /// /// /// /// All data is handled according to the Amazon /// Web Services Privacy Policy. You can operate Application Discovery Service offline /// to inspect collected data before it is shared with the service. /// /// /// public partial interface IAmazonApplicationDiscoveryService : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IApplicationDiscoveryServicePaginatorFactory Paginators { get; } #endif #region AssociateConfigurationItemsToApplication /// /// Associates one or more configuration items with an application. /// /// Container for the necessary parameters to execute the AssociateConfigurationItemsToApplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateConfigurationItemsToApplication service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for AssociateConfigurationItemsToApplication Operation Task AssociateConfigurationItemsToApplicationAsync(AssociateConfigurationItemsToApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchDeleteImportData /// /// 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. /// /// /// Container for the necessary parameters to execute the BatchDeleteImportData service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchDeleteImportData service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for BatchDeleteImportData Operation Task BatchDeleteImportDataAsync(BatchDeleteImportDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateApplication /// /// Creates an application with the given name and description. /// /// Container for the necessary parameters to execute the CreateApplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateApplication service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for CreateApplication Operation Task CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateTags /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CreateTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTags service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The specified configuration ID was not located. Verify the configuration ID and try /// again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for CreateTags Operation Task CreateTagsAsync(CreateTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteApplications /// /// Deletes a list of applications and their associations with configuration items. /// /// Container for the necessary parameters to execute the DeleteApplications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteApplications service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for DeleteApplications Operation Task DeleteApplicationsAsync(DeleteApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteTags /// /// Deletes the association between configuration items and one or more tags. This API /// accepts a list of multiple configuration items. /// /// Container for the necessary parameters to execute the DeleteTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTags service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The specified configuration ID was not located. Verify the configuration ID and try /// again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for DeleteTags Operation Task DeleteTagsAsync(DeleteTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAgents /// /// 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. /// /// Container for the necessary parameters to execute the DescribeAgents service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAgents service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for DescribeAgents Operation Task DescribeAgentsAsync(DescribeAgentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeConfigurations /// /// 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. /// ///
///
/// Container for the necessary parameters to execute the DescribeConfigurations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeConfigurations service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for DescribeConfigurations Operation Task DescribeConfigurationsAsync(DescribeConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeContinuousExports /// /// 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. /// /// Container for the necessary parameters to execute the DescribeContinuousExports service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeContinuousExports service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// This operation is not permitted. /// /// /// The specified configuration ID was not located. Verify the configuration ID and try /// again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for DescribeContinuousExports Operation Task DescribeContinuousExportsAsync(DescribeContinuousExportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeExportConfigurations /// /// DescribeExportConfigurations is deprecated. Use DescribeExportTasks, /// instead. /// /// Container for the necessary parameters to execute the DescribeExportConfigurations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeExportConfigurations service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The specified configuration ID was not located. Verify the configuration ID and try /// again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for DescribeExportConfigurations Operation [Obsolete("Deprecated in favor of DescribeExportTasks.")] Task DescribeExportConfigurationsAsync(DescribeExportConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeExportTasks /// /// Retrieve status of one or more export tasks. You can retrieve the status of up to /// 100 export tasks. /// /// Container for the necessary parameters to execute the DescribeExportTasks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeExportTasks service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for DescribeExportTasks Operation Task DescribeExportTasksAsync(DescribeExportTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeImportTasks /// /// 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. /// /// Container for the necessary parameters to execute the DescribeImportTasks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeImportTasks service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for DescribeImportTasks Operation Task DescribeImportTasksAsync(DescribeImportTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeTags /// /// 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. /// ///
/// Container for the necessary parameters to execute the DescribeTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTags service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The specified configuration ID was not located. Verify the configuration ID and try /// again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for DescribeTags Operation Task DescribeTagsAsync(DescribeTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateConfigurationItemsFromApplication /// /// Disassociates one or more configuration items from an application. /// /// Container for the necessary parameters to execute the DisassociateConfigurationItemsFromApplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateConfigurationItemsFromApplication service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for DisassociateConfigurationItemsFromApplication Operation Task DisassociateConfigurationItemsFromApplicationAsync(DisassociateConfigurationItemsFromApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ExportConfigurations /// /// 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. /// /// /// Container for the necessary parameters to execute the ExportConfigurations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExportConfigurations service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// This operation is not permitted. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for ExportConfigurations Operation [Obsolete("Deprecated in favor of StartExportTask.")] Task ExportConfigurationsAsync(ExportConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDiscoverySummary /// /// 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. /// /// /// Container for the necessary parameters to execute the GetDiscoverySummary service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDiscoverySummary service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for GetDiscoverySummary Operation Task GetDiscoverySummaryAsync(GetDiscoverySummaryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListConfigurations /// /// 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. /// /// Container for the necessary parameters to execute the ListConfigurations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListConfigurations service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The specified configuration ID was not located. Verify the configuration ID and try /// again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for ListConfigurations Operation Task ListConfigurationsAsync(ListConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListServerNeighbors /// /// Retrieves a list of servers that are one network hop away from a specified server. /// /// Container for the necessary parameters to execute the ListServerNeighbors service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListServerNeighbors service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for ListServerNeighbors Operation Task ListServerNeighborsAsync(ListServerNeighborsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartContinuousExport /// /// Start the continuous flow of agent's discovered data into Amazon Athena. /// /// Container for the necessary parameters to execute the StartContinuousExport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartContinuousExport service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// This operation is not permitted. /// /// /// This issue occurs when the same clientRequestToken is used with the StartImportTask /// action, but with different parameters. For example, you use the same request token /// but have two different import URLs, you can encounter this issue. If the import tasks /// are meant to be different, use a different clientRequestToken, and try /// again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for StartContinuousExport Operation Task StartContinuousExportAsync(StartContinuousExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartDataCollectionByAgentIds /// /// Instructs the specified agents to start collecting data. /// /// Container for the necessary parameters to execute the StartDataCollectionByAgentIds service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartDataCollectionByAgentIds service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for StartDataCollectionByAgentIds Operation Task StartDataCollectionByAgentIdsAsync(StartDataCollectionByAgentIdsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartExportTask /// /// 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. /// /// /// Container for the necessary parameters to execute the StartExportTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartExportTask service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// This operation is not permitted. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for StartExportTask Operation Task StartExportTaskAsync(StartExportTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartImportTask /// /// 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: /// ///
  1. /// /// 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. /// ///
  2. /// /// Fill out the template with your server and application data. /// ///
  3. /// /// 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. /// ///
  4. /// /// 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. /// /// ///
/// Container for the necessary parameters to execute the StartImportTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartImportTask service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// This issue occurs when the same clientRequestToken is used with the StartImportTask /// action, but with different parameters. For example, you use the same request token /// but have two different import URLs, you can encounter this issue. If the import tasks /// are meant to be different, use a different clientRequestToken, and try /// again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for StartImportTask Operation Task StartImportTaskAsync(StartImportTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopContinuousExport /// /// Stop the continuous flow of agent's discovered data into Amazon Athena. /// /// Container for the necessary parameters to execute the StopContinuousExport service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopContinuousExport service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// This operation is not permitted. /// /// /// This issue occurs when the same clientRequestToken is used with the StartImportTask /// action, but with different parameters. For example, you use the same request token /// but have two different import URLs, you can encounter this issue. If the import tasks /// are meant to be different, use a different clientRequestToken, and try /// again. /// /// /// The specified configuration ID was not located. Verify the configuration ID and try /// again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for StopContinuousExport Operation Task StopContinuousExportAsync(StopContinuousExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopDataCollectionByAgentIds /// /// Instructs the specified agents to stop collecting data. /// /// Container for the necessary parameters to execute the StopDataCollectionByAgentIds service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopDataCollectionByAgentIds service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for StopDataCollectionByAgentIds Operation Task StopDataCollectionByAgentIdsAsync(StopDataCollectionByAgentIdsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateApplication /// /// Updates metadata about an application. /// /// Container for the necessary parameters to execute the UpdateApplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateApplication service method, as returned by ApplicationDiscoveryService. /// /// The user does not have permission to perform the action. Check the IAM policy associated /// with this user. /// /// /// The home Region is not set. Set the home Region to continue. /// /// /// One or more parameters are not valid. Verify the parameters and try again. /// /// /// The value of one or more parameters are either invalid or out of range. Verify the /// parameter values and try again. /// /// /// The server experienced an internal error. Try again. /// /// REST API Reference for UpdateApplication Operation Task UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }