| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DataBrew.UpdateProfileJob
Description
Modifies the definition of an existing profile job.
Synopsis
- data UpdateProfileJob = UpdateProfileJob' {
- configuration :: Maybe ProfileConfiguration
- encryptionKeyArn :: Maybe Text
- encryptionMode :: Maybe EncryptionMode
- jobSample :: Maybe JobSample
- logSubscription :: Maybe LogSubscription
- maxCapacity :: Maybe Int
- maxRetries :: Maybe Natural
- timeout :: Maybe Natural
- validationConfigurations :: Maybe (NonEmpty ValidationConfiguration)
- name :: Text
- outputLocation :: S3Location
- roleArn :: Text
- newUpdateProfileJob :: Text -> S3Location -> Text -> UpdateProfileJob
- updateProfileJob_configuration :: Lens' UpdateProfileJob (Maybe ProfileConfiguration)
- updateProfileJob_encryptionKeyArn :: Lens' UpdateProfileJob (Maybe Text)
- updateProfileJob_encryptionMode :: Lens' UpdateProfileJob (Maybe EncryptionMode)
- updateProfileJob_jobSample :: Lens' UpdateProfileJob (Maybe JobSample)
- updateProfileJob_logSubscription :: Lens' UpdateProfileJob (Maybe LogSubscription)
- updateProfileJob_maxCapacity :: Lens' UpdateProfileJob (Maybe Int)
- updateProfileJob_maxRetries :: Lens' UpdateProfileJob (Maybe Natural)
- updateProfileJob_timeout :: Lens' UpdateProfileJob (Maybe Natural)
- updateProfileJob_validationConfigurations :: Lens' UpdateProfileJob (Maybe (NonEmpty ValidationConfiguration))
- updateProfileJob_name :: Lens' UpdateProfileJob Text
- updateProfileJob_outputLocation :: Lens' UpdateProfileJob S3Location
- updateProfileJob_roleArn :: Lens' UpdateProfileJob Text
- data UpdateProfileJobResponse = UpdateProfileJobResponse' {
- httpStatus :: Int
- name :: Text
- newUpdateProfileJobResponse :: Int -> Text -> UpdateProfileJobResponse
- updateProfileJobResponse_httpStatus :: Lens' UpdateProfileJobResponse Int
- updateProfileJobResponse_name :: Lens' UpdateProfileJobResponse Text
Creating a Request
data UpdateProfileJob Source #
See: newUpdateProfileJob smart constructor.
Constructors
| UpdateProfileJob' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> S3Location | |
| -> Text | |
| -> UpdateProfileJob |
Create a value of UpdateProfileJob with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:configuration:UpdateProfileJob', updateProfileJob_configuration - 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.
UpdateProfileJob, updateProfileJob_encryptionKeyArn - The Amazon Resource Name (ARN) of an encryption key that is used to
protect the job.
UpdateProfileJob, updateProfileJob_encryptionMode - 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.
UpdateProfileJob, updateProfileJob_jobSample - 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.
UpdateProfileJob, updateProfileJob_logSubscription - Enables or disables Amazon CloudWatch logging for the job. If logging is
enabled, CloudWatch writes one log stream for each job run.
UpdateProfileJob, updateProfileJob_maxCapacity - The maximum number of compute nodes that DataBrew can use when the job
processes data.
UpdateProfileJob, updateProfileJob_maxRetries - The maximum number of times to retry the job after a job run fails.
UpdateProfileJob, updateProfileJob_timeout - The job's timeout in minutes. A job that attempts to run longer than
this timeout period ends with a status of TIMEOUT.
UpdateProfileJob, updateProfileJob_validationConfigurations - List of validation configurations that are applied to the profile job.
UpdateProfileJob, updateProfileJob_name - The name of the job to be updated.
$sel:outputLocation:UpdateProfileJob', updateProfileJob_outputLocation - Undocumented member.
UpdateProfileJob, updateProfileJob_roleArn - The Amazon Resource Name (ARN) of the Identity and Access Management
(IAM) role to be assumed when DataBrew runs the job.
Request Lenses
updateProfileJob_configuration :: Lens' UpdateProfileJob (Maybe ProfileConfiguration) Source #
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.
updateProfileJob_encryptionKeyArn :: Lens' UpdateProfileJob (Maybe Text) Source #
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
updateProfileJob_encryptionMode :: Lens' UpdateProfileJob (Maybe EncryptionMode) Source #
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.
updateProfileJob_jobSample :: Lens' UpdateProfileJob (Maybe JobSample) Source #
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.
updateProfileJob_logSubscription :: Lens' UpdateProfileJob (Maybe LogSubscription) Source #
Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.
updateProfileJob_maxCapacity :: Lens' UpdateProfileJob (Maybe Int) Source #
The maximum number of compute nodes that DataBrew can use when the job processes data.
updateProfileJob_maxRetries :: Lens' UpdateProfileJob (Maybe Natural) Source #
The maximum number of times to retry the job after a job run fails.
updateProfileJob_timeout :: Lens' UpdateProfileJob (Maybe Natural) Source #
The job's timeout in minutes. A job that attempts to run longer than
this timeout period ends with a status of TIMEOUT.
updateProfileJob_validationConfigurations :: Lens' UpdateProfileJob (Maybe (NonEmpty ValidationConfiguration)) Source #
List of validation configurations that are applied to the profile job.
updateProfileJob_name :: Lens' UpdateProfileJob Text Source #
The name of the job to be updated.
updateProfileJob_outputLocation :: Lens' UpdateProfileJob S3Location Source #
Undocumented member.
updateProfileJob_roleArn :: Lens' UpdateProfileJob Text Source #
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.
Destructuring the Response
data UpdateProfileJobResponse Source #
See: newUpdateProfileJobResponse smart constructor.
Constructors
| UpdateProfileJobResponse' | |
Fields
| |
Instances
newUpdateProfileJobResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> UpdateProfileJobResponse |
Create a value of UpdateProfileJobResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateProfileJobResponse', updateProfileJobResponse_httpStatus - The response's http status code.
UpdateProfileJob, updateProfileJobResponse_name - The name of the job that was updated.
Response Lenses
updateProfileJobResponse_httpStatus :: Lens' UpdateProfileJobResponse Int Source #
The response's http status code.
updateProfileJobResponse_name :: Lens' UpdateProfileJobResponse Text Source #
The name of the job that was updated.