Skip to content

/AWS1/CL_DBR=>CREATEPROFILEJOB()

About CreateProfileJob

Creates a new job to analyze a dataset and create its data profile.

Method Signature

IMPORTING

Required arguments:

IV_DATASETNAME TYPE /AWS1/DBRDATASETNAME /AWS1/DBRDATASETNAME

The name of the dataset that this job is to act upon.

IV_NAME TYPE /AWS1/DBRJOBNAME /AWS1/DBRJOBNAME

The name of the job to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

IO_OUTPUTLOCATION TYPE REF TO /AWS1/CL_DBRS3LOCATION /AWS1/CL_DBRS3LOCATION

OutputLocation

IV_ROLEARN TYPE /AWS1/DBRARN /AWS1/DBRARN

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.

Optional arguments:

IV_ENCRYPTIONKEYARN TYPE /AWS1/DBRENCRYPTIONKEYARN /AWS1/DBRENCRYPTIONKEYARN

The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.

IV_ENCRYPTIONMODE TYPE /AWS1/DBRENCRYPTIONMODE /AWS1/DBRENCRYPTIONMODE

The encryption mode for the job, which can be one of the following:

  • SSE-KMS - SSE-KMS - Server-side encryption with KMS-managed keys.

  • SSE-S3 - Server-side encryption with keys managed by Amazon S3.

IV_LOGSUBSCRIPTION TYPE /AWS1/DBRLOGSUBSCRIPTION /AWS1/DBRLOGSUBSCRIPTION

Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.

IV_MAXCAPACITY TYPE /AWS1/DBRMAXCAPACITY /AWS1/DBRMAXCAPACITY

The maximum number of nodes that DataBrew can use when the job processes data.

IV_MAXRETRIES TYPE /AWS1/DBRMAXRETRIES /AWS1/DBRMAXRETRIES

The maximum number of times to retry the job after a job run fails.

IO_CONFIGURATION TYPE REF TO /AWS1/CL_DBRPROFILECONF /AWS1/CL_DBRPROFILECONF

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.

IT_VALIDATIONCONFIGURATIONS TYPE /AWS1/CL_DBRVALIDATIONCONF=>TT_VALIDATIONCONFIGURATIONLIST TT_VALIDATIONCONFIGURATIONLIST

List of validation configurations that are applied to the profile job.

IT_TAGS TYPE /AWS1/CL_DBRTAGMAP_W=>TT_TAGMAP TT_TAGMAP

Metadata tags to apply to this job.

IV_TIMEOUT TYPE /AWS1/DBRTIMEOUT /AWS1/DBRTIMEOUT

The job's timeout in minutes. A job that attempts to run longer than this timeout period ends with a status of TIMEOUT.

IO_JOBSAMPLE TYPE REF TO /AWS1/CL_DBRJOBSAMPLE /AWS1/CL_DBRJOBSAMPLE

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, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DBRCREATEPFLJOBRSP /AWS1/CL_DBRCREATEPFLJOBRSP