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 |
Synopsis
- data BatchParameters = BatchParameters' {}
- newBatchParameters :: Text -> Text -> BatchParameters
- batchParameters_retryStrategy :: Lens' BatchParameters (Maybe BatchRetryStrategy)
- batchParameters_arrayProperties :: Lens' BatchParameters (Maybe BatchArrayProperties)
- batchParameters_jobDefinition :: Lens' BatchParameters Text
- batchParameters_jobName :: Lens' BatchParameters Text
Documentation
data BatchParameters Source #
The custom parameters to be used when the target is an Batch job.
See: newBatchParameters
smart constructor.
BatchParameters' | |
|
Instances
Create a value of BatchParameters
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:retryStrategy:BatchParameters'
, batchParameters_retryStrategy
- The retry strategy to use for failed jobs, if the target is an Batch
job. The retry strategy is the number of times to retry the failed job
execution. Valid values are 1–10. When you specify a retry strategy
here, it overrides the retry strategy defined in the job definition.
$sel:arrayProperties:BatchParameters'
, batchParameters_arrayProperties
- The array properties for the submitted job, such as the size of the
array. The array size can be between 2 and 10,000. If you specify array
properties for a job, it becomes an array job. This parameter is used
only if the target is an Batch job.
$sel:jobDefinition:BatchParameters'
, batchParameters_jobDefinition
- The ARN or name of the job definition to use if the event target is an
Batch job. This job definition must already exist.
$sel:jobName:BatchParameters'
, batchParameters_jobName
- The name to use for this execution of the job, if the target is an Batch
job.
batchParameters_retryStrategy :: Lens' BatchParameters (Maybe BatchRetryStrategy) Source #
The retry strategy to use for failed jobs, if the target is an Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
batchParameters_arrayProperties :: Lens' BatchParameters (Maybe BatchArrayProperties) Source #
The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an Batch job.
batchParameters_jobDefinition :: Lens' BatchParameters Text Source #
The ARN or name of the job definition to use if the event target is an Batch job. This job definition must already exist.
batchParameters_jobName :: Lens' BatchParameters Text Source #
The name to use for this execution of the job, if the target is an Batch job.