| 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.UpdateRecipeJob
Description
Modifies the definition of an existing DataBrew recipe job.
Synopsis
- data UpdateRecipeJob = UpdateRecipeJob' {
- dataCatalogOutputs :: Maybe (NonEmpty DataCatalogOutput)
- databaseOutputs :: Maybe (NonEmpty DatabaseOutput)
- encryptionKeyArn :: Maybe Text
- encryptionMode :: Maybe EncryptionMode
- logSubscription :: Maybe LogSubscription
- maxCapacity :: Maybe Int
- maxRetries :: Maybe Natural
- outputs :: Maybe (NonEmpty Output)
- timeout :: Maybe Natural
- name :: Text
- roleArn :: Text
- newUpdateRecipeJob :: Text -> Text -> UpdateRecipeJob
- updateRecipeJob_dataCatalogOutputs :: Lens' UpdateRecipeJob (Maybe (NonEmpty DataCatalogOutput))
- updateRecipeJob_databaseOutputs :: Lens' UpdateRecipeJob (Maybe (NonEmpty DatabaseOutput))
- updateRecipeJob_encryptionKeyArn :: Lens' UpdateRecipeJob (Maybe Text)
- updateRecipeJob_encryptionMode :: Lens' UpdateRecipeJob (Maybe EncryptionMode)
- updateRecipeJob_logSubscription :: Lens' UpdateRecipeJob (Maybe LogSubscription)
- updateRecipeJob_maxCapacity :: Lens' UpdateRecipeJob (Maybe Int)
- updateRecipeJob_maxRetries :: Lens' UpdateRecipeJob (Maybe Natural)
- updateRecipeJob_outputs :: Lens' UpdateRecipeJob (Maybe (NonEmpty Output))
- updateRecipeJob_timeout :: Lens' UpdateRecipeJob (Maybe Natural)
- updateRecipeJob_name :: Lens' UpdateRecipeJob Text
- updateRecipeJob_roleArn :: Lens' UpdateRecipeJob Text
- data UpdateRecipeJobResponse = UpdateRecipeJobResponse' {
- httpStatus :: Int
- name :: Text
- newUpdateRecipeJobResponse :: Int -> Text -> UpdateRecipeJobResponse
- updateRecipeJobResponse_httpStatus :: Lens' UpdateRecipeJobResponse Int
- updateRecipeJobResponse_name :: Lens' UpdateRecipeJobResponse Text
Creating a Request
data UpdateRecipeJob Source #
See: newUpdateRecipeJob smart constructor.
Constructors
| UpdateRecipeJob' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateRecipeJob |
Create a value of UpdateRecipeJob 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:
UpdateRecipeJob, updateRecipeJob_dataCatalogOutputs - One or more artifacts that represent the Glue Data Catalog output from
running the job.
UpdateRecipeJob, updateRecipeJob_databaseOutputs - Represents a list of JDBC database output objects which defines the
output destination for a DataBrew recipe job to write into.
UpdateRecipeJob, updateRecipeJob_encryptionKeyArn - The Amazon Resource Name (ARN) of an encryption key that is used to
protect the job.
UpdateRecipeJob, updateRecipeJob_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.
UpdateRecipeJob, updateRecipeJob_logSubscription - Enables or disables Amazon CloudWatch logging for the job. If logging is
enabled, CloudWatch writes one log stream for each job run.
UpdateRecipeJob, updateRecipeJob_maxCapacity - The maximum number of nodes that DataBrew can consume when the job
processes data.
UpdateRecipeJob, updateRecipeJob_maxRetries - The maximum number of times to retry the job after a job run fails.
UpdateRecipeJob, updateRecipeJob_outputs - One or more artifacts that represent the output from running the job.
UpdateRecipeJob, updateRecipeJob_timeout - The job's timeout in minutes. A job that attempts to run longer than
this timeout period ends with a status of TIMEOUT.
UpdateRecipeJob, updateRecipeJob_name - The name of the job to update.
UpdateRecipeJob, updateRecipeJob_roleArn - The Amazon Resource Name (ARN) of the Identity and Access Management
(IAM) role to be assumed when DataBrew runs the job.
Request Lenses
updateRecipeJob_dataCatalogOutputs :: Lens' UpdateRecipeJob (Maybe (NonEmpty DataCatalogOutput)) Source #
One or more artifacts that represent the Glue Data Catalog output from running the job.
updateRecipeJob_databaseOutputs :: Lens' UpdateRecipeJob (Maybe (NonEmpty DatabaseOutput)) Source #
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
updateRecipeJob_encryptionKeyArn :: Lens' UpdateRecipeJob (Maybe Text) Source #
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
updateRecipeJob_encryptionMode :: Lens' UpdateRecipeJob (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.
updateRecipeJob_logSubscription :: Lens' UpdateRecipeJob (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.
updateRecipeJob_maxCapacity :: Lens' UpdateRecipeJob (Maybe Int) Source #
The maximum number of nodes that DataBrew can consume when the job processes data.
updateRecipeJob_maxRetries :: Lens' UpdateRecipeJob (Maybe Natural) Source #
The maximum number of times to retry the job after a job run fails.
updateRecipeJob_outputs :: Lens' UpdateRecipeJob (Maybe (NonEmpty Output)) Source #
One or more artifacts that represent the output from running the job.
updateRecipeJob_timeout :: Lens' UpdateRecipeJob (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.
updateRecipeJob_name :: Lens' UpdateRecipeJob Text Source #
The name of the job to update.
updateRecipeJob_roleArn :: Lens' UpdateRecipeJob 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 UpdateRecipeJobResponse Source #
See: newUpdateRecipeJobResponse smart constructor.
Constructors
| UpdateRecipeJobResponse' | |
Fields
| |
Instances
newUpdateRecipeJobResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> UpdateRecipeJobResponse |
Create a value of UpdateRecipeJobResponse 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:UpdateRecipeJobResponse', updateRecipeJobResponse_httpStatus - The response's http status code.
UpdateRecipeJob, updateRecipeJobResponse_name - The name of the job that you updated.
Response Lenses
updateRecipeJobResponse_httpStatus :: Lens' UpdateRecipeJobResponse Int Source #
The response's http status code.
updateRecipeJobResponse_name :: Lens' UpdateRecipeJobResponse Text Source #
The name of the job that you updated.