Personalize.Client.
describe_batch_segment_job
(**kwargs)¶Gets the properties of a batch segment job including name, Amazon Resource Name (ARN), status, input and output configurations, and the ARN of the solution version used to generate segments.
See also: AWS API Documentation
Request Syntax
response = client.describe_batch_segment_job(
batchSegmentJobArn='string'
)
[REQUIRED]
The ARN of the batch segment job to describe.
{
'batchSegmentJob': {
'jobName': 'string',
'batchSegmentJobArn': 'string',
'filterArn': 'string',
'failureReason': 'string',
'solutionVersionArn': 'string',
'numResults': 123,
'jobInput': {
's3DataSource': {
'path': 'string',
'kmsKeyArn': 'string'
}
},
'jobOutput': {
's3DataDestination': {
'path': 'string',
'kmsKeyArn': 'string'
}
},
'roleArn': 'string',
'status': 'string',
'creationDateTime': datetime(2015, 1, 1),
'lastUpdatedDateTime': datetime(2015, 1, 1)
}
}
Response Structure
Information on the specified batch segment job.
The name of the batch segment job.
The Amazon Resource Name (ARN) of the batch segment job.
The ARN of the filter used on the batch segment job.
If the batch segment job failed, the reason for the failure.
The Amazon Resource Name (ARN) of the solution version used by the batch segment job to generate batch segments.
The number of predicted users generated by the batch segment job for each line of input data.
The Amazon S3 path that leads to the input data used to generate the batch segment job.
The configuration details of an Amazon S3 input or output bucket.
The file path of the Amazon S3 bucket.
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that Amazon Personalize uses to encrypt or decrypt the input and output files.
The Amazon S3 bucket that contains the output data generated by the batch segment job.
The configuration details of an Amazon S3 input or output bucket.
The file path of the Amazon S3 bucket.
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that Amazon Personalize uses to encrypt or decrypt the input and output files.
The ARN of the Amazon Identity and Access Management (IAM) role that requested the batch segment job.
The status of the batch segment job. The status is one of the following values:
The time at which the batch segment job was created.
The time at which the batch segment job last updated.
Exceptions
Personalize.Client.exceptions.InvalidInputException
Personalize.Client.exceptions.ResourceNotFoundException