start_job
async
¶
start_job(
action: JobAction,
execution_role_arn: IamRoleArn,
input_options: JobInputOptions,
output_options: JobOutputOptions,
*,
config_overrides: Optional[AsyncLocationClientConfig] = None,
client_token: Optional[ClientToken] = None,
action_options: Optional[JobActionOptions] = None,
name: Optional[ResourceName] = None,
tags: Optional[TagMap] = None,
) -> StartJobResponse
StartJob starts a new asynchronous bulk processing job. You specify the input data location in Amazon S3, the action to perform, and the output location where results are written.
For more information, see Job concepts in the Amazon Location Service Developer Guide.
Parameters:
-
client_token(Optional[ClientToken], default:None) –A unique identifier for this request to ensure idempotency.
-
action(JobAction) –The action to perform on the input data.
-
action_options(Optional[JobActionOptions], default:None) –Additional parameters that can be requested for each result.
-
execution_role_arn(IamRoleArn) –The Amazon Resource Name (ARN) of the IAM role that Amazon Location Service assumes during job processing. Amazon Location Service uses this role to access the input and output locations specified for the job.
The IAM role must be created in the same Amazon Web Services account where you plan to run your job.
For more information about configuring IAM roles for Amazon Location jobs, see Configure IAM permissions in the Amazon Location Service Developer Guide.
-
input_options(JobInputOptions) –Configuration for input data location and format.
Input files have a limitation of 10gb per file, and 1gb per Parquet row-group within the file.
-
name(Optional[ResourceName], default:None) –An optional name for the job resource.
-
output_options(JobOutputOptions) –Configuration for output data location and format.
-
tags(Optional[TagMap], default:None) –Tags and corresponding values to be associated with the job.
Raises:
-
AccessDeniedException–The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
-
InternalServerException–The request has failed to process because of an unknown server error, exception, or failure.
-
ThrottlingException–The request was denied because of request throttling.
-
ValidationException–The input failed to meet the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_location/_services/async_location.py
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 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 | |