start_export_task
async
¶
start_export_task(
*,
config_overrides: Optional[AsyncApplicationDiscoveryServiceClientConfig] = None,
export_data_format: Optional[ExportDataFormats] = None,
filters: Optional[ExportFilters] = None,
start_time: Optional[TimeStamp] = None,
end_time: Optional[TimeStamp] = None,
preferences: Optional[ExportPreferences] = None,
) -> StartExportTaskResponse
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.
Parameters:
-
export_data_format(Optional[ExportDataFormats], default:None) –The file format for the returned export data. Default value is
CSV. Note: TheGRAPHMLoption has been deprecated. -
filters(Optional[ExportFilters], default:None) –If a filter is present, it selects the single
agentIdof the Application Discovery Agent for which data is exported. TheagentIdcan be found in the results of theDescribeAgentsAPI or CLI. If no filter is present,startTimeandendTimeare ignored and exported data includes both Amazon Web Services Application Discovery Service Agentless Collector collectors data and summary data from Application Discovery Agent agents. -
start_time(Optional[TimeStamp], default:None) –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.
-
end_time(Optional[TimeStamp], default:None) –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.
-
preferences(Optional[ExportPreferences], default:None) –Indicates the type of data that needs to be exported. Only one ExportPreferences can be enabled at any time.
Raises:
-
AuthorizationErrorException–The user does not have permission to perform the action. Check the IAM policy associated with this user.
-
HomeRegionNotSetException–The home Region is not set. Set the home Region to continue.
-
InvalidParameterException–One or more parameters are not valid. Verify the parameters and try again.
-
InvalidParameterValueException–The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.
-
OperationNotPermittedException–This operation is not permitted.
-
ServerInternalErrorException–The server experienced an internal error. Try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_application_discovery_service/_services/async_application_discovery_service.py
1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 | |