Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Modifies the definition of an existing profile job.
Synopsis
- data UpdateProfileJob = UpdateProfileJob' {
- encryptionMode :: Maybe EncryptionMode
- logSubscription :: Maybe LogSubscription
- maxRetries :: Maybe Natural
- encryptionKeyArn :: Maybe Text
- maxCapacity :: Maybe Int
- configuration :: Maybe ProfileConfiguration
- timeout :: Maybe Natural
- jobSample :: Maybe JobSample
- name :: Text
- outputLocation :: S3Location
- roleArn :: Text
- newUpdateProfileJob :: Text -> S3Location -> Text -> UpdateProfileJob
- updateProfileJob_encryptionMode :: Lens' UpdateProfileJob (Maybe EncryptionMode)
- updateProfileJob_logSubscription :: Lens' UpdateProfileJob (Maybe LogSubscription)
- updateProfileJob_maxRetries :: Lens' UpdateProfileJob (Maybe Natural)
- updateProfileJob_encryptionKeyArn :: Lens' UpdateProfileJob (Maybe Text)
- updateProfileJob_maxCapacity :: Lens' UpdateProfileJob (Maybe Int)
- updateProfileJob_configuration :: Lens' UpdateProfileJob (Maybe ProfileConfiguration)
- updateProfileJob_timeout :: Lens' UpdateProfileJob (Maybe Natural)
- updateProfileJob_jobSample :: Lens' UpdateProfileJob (Maybe JobSample)
- 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.
UpdateProfileJob' | |
|
Instances
:: 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:encryptionMode: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.
$sel:logSubscription: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.
$sel:maxRetries:UpdateProfileJob'
, updateProfileJob_maxRetries
- The maximum number of times to retry the job after a job run fails.
$sel:encryptionKeyArn:UpdateProfileJob'
, updateProfileJob_encryptionKeyArn
- The Amazon Resource Name (ARN) of an encryption key that is used to
protect the job.
$sel:maxCapacity:UpdateProfileJob'
, updateProfileJob_maxCapacity
- The maximum number of compute nodes that DataBrew can use when the job
processes data.
$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.
$sel:timeout: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
.
$sel:jobSample: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.
$sel:name:UpdateProfileJob'
, updateProfileJob_name
- The name of the job to be updated.
$sel:outputLocation:UpdateProfileJob'
, updateProfileJob_outputLocation
- Undocumented member.
$sel:roleArn: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_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_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_maxRetries :: Lens' UpdateProfileJob (Maybe Natural) Source #
The maximum number of times to retry the job after a job run fails.
updateProfileJob_encryptionKeyArn :: Lens' UpdateProfileJob (Maybe Text) Source #
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
updateProfileJob_maxCapacity :: Lens' UpdateProfileJob (Maybe Int) Source #
The maximum number of compute nodes that DataBrew can use when the job processes data.
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_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_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_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.
UpdateProfileJobResponse' | |
|
Instances
newUpdateProfileJobResponse Source #
:: 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.
$sel:name: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.