SageMakergeospatialcapabilities / Client / start_vector_enrichment_job
start_vector_enrichment_job#
- SageMakergeospatialcapabilities.Client.start_vector_enrichment_job(**kwargs)#
Creates a Vector Enrichment job for the supplied job type. Currently, there are two supported job types: reverse geocoding and map matching.
See also: AWS API Documentation
Request Syntax
response = client.start_vector_enrichment_job( ClientToken='string', ExecutionRoleArn='string', InputConfig={ 'DataSourceConfig': { 'S3Data': { 'KmsKeyId': 'string', 'S3Uri': 'string' } }, 'DocumentType': 'CSV' }, JobConfig={ 'MapMatchingConfig': { 'IdAttributeName': 'string', 'TimestampAttributeName': 'string', 'XAttributeName': 'string', 'YAttributeName': 'string' }, 'ReverseGeocodingConfig': { 'XAttributeName': 'string', 'YAttributeName': 'string' } }, KmsKeyId='string', Name='string', Tags={ 'string': 'string' } )
- Parameters:
ClientToken (string) –
A unique token that guarantees that the call to this API is idempotent.
This field is autopopulated if not provided.
ExecutionRoleArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the IAM role that you specified for the job.
InputConfig (dict) –
[REQUIRED]
Input configuration information for the Vector Enrichment job.
DataSourceConfig (dict) – [REQUIRED] .. note:: This is a Tagged Union structure. Only one of the following top level keys can be set:
S3Data
.S3Data (dict) –
KmsKeyId (string) –
The Amazon Key Management Service (KMS) key ID for server-side encryption.
S3Uri (string) – [REQUIRED]
The URL to the Amazon S3 data for the Vector Enrichment job.
DocumentType (string) – [REQUIRED]
JobConfig (dict) –
[REQUIRED]
An object containing information about the job configuration.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
MapMatchingConfig
,ReverseGeocodingConfig
.MapMatchingConfig (dict) –
IdAttributeName (string) – [REQUIRED]
TimestampAttributeName (string) – [REQUIRED]
The name of the timestamp attribute.
XAttributeName (string) – [REQUIRED]
The name of the X-attribute
YAttributeName (string) – [REQUIRED]
The name of the Y-attribute
ReverseGeocodingConfig (dict) –
XAttributeName (string) – [REQUIRED]
YAttributeName (string) – [REQUIRED]
KmsKeyId (string) – The Amazon Key Management Service (KMS) key ID for server-side encryption.
Name (string) –
[REQUIRED]
The name of the Vector Enrichment job.
Tags (dict) –
Each tag consists of a key and a value.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'Arn': 'string', 'CreationTime': datetime(2015, 1, 1), 'DurationInSeconds': 123, 'ExecutionRoleArn': 'string', 'InputConfig': { 'DataSourceConfig': { 'S3Data': { 'KmsKeyId': 'string', 'S3Uri': 'string' } }, 'DocumentType': 'CSV' }, 'JobConfig': { 'MapMatchingConfig': { 'IdAttributeName': 'string', 'TimestampAttributeName': 'string', 'XAttributeName': 'string', 'YAttributeName': 'string' }, 'ReverseGeocodingConfig': { 'XAttributeName': 'string', 'YAttributeName': 'string' } }, 'KmsKeyId': 'string', 'Name': 'string', 'Status': 'INITIALIZING'|'IN_PROGRESS'|'STOPPING'|'STOPPED'|'COMPLETED'|'FAILED'|'DELETING'|'DELETED', 'Tags': { 'string': 'string' }, 'Type': 'REVERSE_GEOCODING'|'MAP_MATCHING' }
Response Structure
(dict) –
Arn (string) –
The Amazon Resource Name (ARN) of the Vector Enrichment job.
CreationTime (datetime) –
The creation time.
DurationInSeconds (integer) –
The duration of the Vector Enrichment job, in seconds.
ExecutionRoleArn (string) –
The Amazon Resource Name (ARN) of the IAM role that you specified for the job.
InputConfig (dict) –
Input configuration information for starting the Vector Enrichment job.
DataSourceConfig (dict) – .. note:: This is a Tagged Union structure. Only one of the following top level keys will be set:
S3Data
. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBER
is as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
S3Data (dict) –
KmsKeyId (string) –
The Amazon Key Management Service (KMS) key ID for server-side encryption.
S3Uri (string) –
The URL to the Amazon S3 data for the Vector Enrichment job.
DocumentType (string) –
JobConfig (dict) –
An object containing information about the job configuration.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
MapMatchingConfig
,ReverseGeocodingConfig
. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBER
is as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
MapMatchingConfig (dict) –
IdAttributeName (string) –
TimestampAttributeName (string) –
The name of the timestamp attribute.
XAttributeName (string) –
The name of the X-attribute
YAttributeName (string) –
The name of the Y-attribute
ReverseGeocodingConfig (dict) –
XAttributeName (string) –
YAttributeName (string) –
KmsKeyId (string) –
The Amazon Key Management Service (KMS) key ID for server-side encryption.
Name (string) –
The name of the Vector Enrichment job.
Status (string) –
The status of the Vector Enrichment job being started.
Tags (dict) –
Each tag consists of a key and a value.
(string) –
(string) –
Type (string) –
The type of the Vector Enrichment job.
Exceptions
SageMakergeospatialcapabilities.Client.exceptions.ServiceQuotaExceededException
SageMakergeospatialcapabilities.Client.exceptions.AccessDeniedException
SageMakergeospatialcapabilities.Client.exceptions.ValidationException
SageMakergeospatialcapabilities.Client.exceptions.ThrottlingException
SageMakergeospatialcapabilities.Client.exceptions.InternalServerException
SageMakergeospatialcapabilities.Client.exceptions.ResourceNotFoundException
SageMakergeospatialcapabilities.Client.exceptions.ConflictException