ApplicationDiscoveryService.Client.
batch_delete_import_data
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.batch_delete_import_data(
importTaskIds=[
'string',
]
)
[REQUIRED]
The IDs for the import tasks that you want to delete.
{
'errors': [
{
'importTaskId': 'string',
'errorCode': 'NOT_FOUND'|'INTERNAL_SERVER_ERROR'|'OVER_LIMIT',
'errorDescription': 'string'
},
]
}
Response Structure
Error messages returned for each import task that you deleted as a response for this command.
Error messages returned for each import task that you deleted as a response for this command.
The unique import ID associated with the error that occurred.
The type of error that occurred for a specific import task.
The description of the error that occurred for a specific import task.
Exceptions
ApplicationDiscoveryService.Client.exceptions.AuthorizationErrorException
ApplicationDiscoveryService.Client.exceptions.InvalidParameterException
ApplicationDiscoveryService.Client.exceptions.InvalidParameterValueException
ApplicationDiscoveryService.Client.exceptions.ServerInternalErrorException
ApplicationDiscoveryService.Client.exceptions.HomeRegionNotSetException