GlueDataBrew.Client.
update_profile_job
(**kwargs)¶Modifies the definition of an existing profile job.
See also: AWS API Documentation
Request Syntax
response = client.update_profile_job(
Configuration={
'DatasetStatisticsConfiguration': {
'IncludedStatistics': [
'string',
],
'Overrides': [
{
'Statistic': 'string',
'Parameters': {
'string': 'string'
}
},
]
},
'ProfileColumns': [
{
'Regex': 'string',
'Name': 'string'
},
],
'ColumnStatisticsConfigurations': [
{
'Selectors': [
{
'Regex': 'string',
'Name': 'string'
},
],
'Statistics': {
'IncludedStatistics': [
'string',
],
'Overrides': [
{
'Statistic': 'string',
'Parameters': {
'string': 'string'
}
},
]
}
},
],
'EntityDetectorConfiguration': {
'EntityTypes': [
'string',
],
'AllowedStatistics': [
{
'Statistics': [
'string',
]
},
]
}
},
EncryptionKeyArn='string',
EncryptionMode='SSE-KMS'|'SSE-S3',
Name='string',
LogSubscription='ENABLE'|'DISABLE',
MaxCapacity=123,
MaxRetries=123,
OutputLocation={
'Bucket': 'string',
'Key': 'string',
'BucketOwner': 'string'
},
ValidationConfigurations=[
{
'RulesetArn': 'string',
'ValidationMode': 'CHECK_ALL'
},
],
RoleArn='string',
Timeout=123,
JobSample={
'Mode': 'FULL_DATASET'|'CUSTOM_ROWS',
'Size': 123
}
)
Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of evaluations. When configuration is null, the profile job will run with default settings.
Configuration for inter-column evaluations. Configuration can be used to select evaluations and override parameters of evaluations. When configuration is undefined, the profile job will run all supported inter-column evaluations.
List of included evaluations. When the list is undefined, all supported evaluations will be included.
List of overrides for evaluations.
Override of a particular evaluation for a profile job.
The name of an evaluation
A map that includes overrides of an evaluation’s parameters.
List of column selectors. ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.
Selector of a column from a dataset for profile job configuration. One selector includes either a column name or a regular expression.
A regular expression for selecting a column from a dataset.
The name of a column from a dataset.
List of configurations for column evaluations. ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.
Configuration for column evaluations for a profile job. ColumnStatisticsConfiguration can be used to select evaluations and override parameters of evaluations for particular columns.
List of column selectors. Selectors can be used to select columns from the dataset. When selectors are undefined, configuration will be applied to all supported columns.
Selector of a column from a dataset for profile job configuration. One selector includes either a column name or a regular expression.
A regular expression for selecting a column from a dataset.
The name of a column from a dataset.
Configuration for evaluations. Statistics can be used to select evaluations and override parameters of evaluations.
List of included evaluations. When the list is undefined, all supported evaluations will be included.
List of overrides for evaluations.
Override of a particular evaluation for a profile job.
The name of an evaluation
A map that includes overrides of an evaluation’s parameters.
Configuration of entity detection for a profile job. When undefined, entity detection is disabled.
Entity types to detect. Can be any of the following:
The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE.
Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities.
Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, no statistics will be computed on columns that contain detected entities.
One or more column statistics to allow for columns that contain detected entities.
The encryption mode for the job, which can be one of the following:
SSE-KMS
- Server-side encryption with keys managed by KMS.SSE-S3
- Server-side encryption with keys managed by Amazon S3.[REQUIRED]
The name of the job to be updated.
[REQUIRED]
Represents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.
The Amazon S3 bucket name.
The unique name of the object in the bucket.
The Amazon Web Services account ID of the bucket owner.
List of validation configurations that are applied to the profile job.
Configuration for data quality validation. Used to select the Rulesets and Validation Mode to be used in the profile job. When ValidationConfiguration is null, the profile job will run without data quality validation.
The Amazon Resource Name (ARN) for the ruleset to be validated in the profile job. The TargetArn of the selected ruleset should be the same as the Amazon Resource Name (ARN) of the dataset that is associated with the profile job.
Mode of data quality validation. Default mode is “CHECK_ALL” which verifies all rules defined in the selected ruleset.
[REQUIRED]
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.
TIMEOUT
.Sample configuration for Profile Jobs only. Determines the number of rows on which the Profile job will be executed. If a JobSample value is not provided for profile jobs, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.
A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:
Size
parameter.The Size
parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on the specified number of rows. The maximum value for size is Long.MAX_VALUE.
Long.MAX_VALUE = 9223372036854775807
dict
Response Syntax
{
'Name': 'string'
}
Response Structure
(dict) --
Name (string) --
The name of the job that was updated.
Exceptions
GlueDataBrew.Client.exceptions.AccessDeniedException
GlueDataBrew.Client.exceptions.ResourceNotFoundException
GlueDataBrew.Client.exceptions.ValidationException