Amazon.ServerMigrationService.AmazonServerMigrationServiceClient.ImportServerCatalog C# (CSharp) Method

ImportServerCatalog() public method

The ImportServerCatalog API is used to gather the complete list of on-premises servers on your premises. This API call requires connectors to be installed and monitoring all servers you would like imported. This API call returns immediately, but may take some time to retrieve all of the servers.
/// A parameter specified in the request is not valid, is unsupported, or cannot be used. /// /// The request is missing a required parameter. Ensure that you have supplied all the /// required parameters for the request. /// /// No connectors are available to handle this request. Please associate connector(s) /// and verify any existing connectors are healthy and can respond to requests. /// /// The specified operation is not allowed. This error can occur for a number of reasons; /// for example, you might be trying to start a Replication Run before seed Replication /// Run. /// /// This user does not have permissions to perform this operation. ///
public ImportServerCatalog ( ImportServerCatalogRequest request ) : ImportServerCatalogResponse
request ImportServerCatalogRequest Container for the necessary parameters to execute the ImportServerCatalog service method.
return ImportServerCatalogResponse
        public ImportServerCatalogResponse ImportServerCatalog(ImportServerCatalogRequest request)
        {
            var marshaller = new ImportServerCatalogRequestMarshaller();
            var unmarshaller = ImportServerCatalogResponseUnmarshaller.Instance;

            return Invoke<ImportServerCatalogRequest,ImportServerCatalogResponse>(request, marshaller, unmarshaller);
        }