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 |
Creates a processing job.
Synopsis
- data CreateProcessingJob = CreateProcessingJob' {
- environment :: Maybe (HashMap Text Text)
- stoppingCondition :: Maybe ProcessingStoppingCondition
- experimentConfig :: Maybe ExperimentConfig
- processingInputs :: Maybe [ProcessingInput]
- networkConfig :: Maybe NetworkConfig
- processingOutputConfig :: Maybe ProcessingOutputConfig
- tags :: Maybe [Tag]
- processingJobName :: Text
- processingResources :: ProcessingResources
- appSpecification :: AppSpecification
- roleArn :: Text
- newCreateProcessingJob :: Text -> ProcessingResources -> AppSpecification -> Text -> CreateProcessingJob
- createProcessingJob_environment :: Lens' CreateProcessingJob (Maybe (HashMap Text Text))
- createProcessingJob_stoppingCondition :: Lens' CreateProcessingJob (Maybe ProcessingStoppingCondition)
- createProcessingJob_experimentConfig :: Lens' CreateProcessingJob (Maybe ExperimentConfig)
- createProcessingJob_processingInputs :: Lens' CreateProcessingJob (Maybe [ProcessingInput])
- createProcessingJob_networkConfig :: Lens' CreateProcessingJob (Maybe NetworkConfig)
- createProcessingJob_processingOutputConfig :: Lens' CreateProcessingJob (Maybe ProcessingOutputConfig)
- createProcessingJob_tags :: Lens' CreateProcessingJob (Maybe [Tag])
- createProcessingJob_processingJobName :: Lens' CreateProcessingJob Text
- createProcessingJob_processingResources :: Lens' CreateProcessingJob ProcessingResources
- createProcessingJob_appSpecification :: Lens' CreateProcessingJob AppSpecification
- createProcessingJob_roleArn :: Lens' CreateProcessingJob Text
- data CreateProcessingJobResponse = CreateProcessingJobResponse' {}
- newCreateProcessingJobResponse :: Int -> Text -> CreateProcessingJobResponse
- createProcessingJobResponse_httpStatus :: Lens' CreateProcessingJobResponse Int
- createProcessingJobResponse_processingJobArn :: Lens' CreateProcessingJobResponse Text
Creating a Request
data CreateProcessingJob Source #
See: newCreateProcessingJob
smart constructor.
CreateProcessingJob' | |
|
Instances
newCreateProcessingJob Source #
Create a value of CreateProcessingJob
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:environment:CreateProcessingJob'
, createProcessingJob_environment
- The environment variables to set in the Docker container. Up to 100 key
and values entries in the map are supported.
$sel:stoppingCondition:CreateProcessingJob'
, createProcessingJob_stoppingCondition
- The time limit for how long the processing job is allowed to run.
$sel:experimentConfig:CreateProcessingJob'
, createProcessingJob_experimentConfig
- Undocumented member.
$sel:processingInputs:CreateProcessingJob'
, createProcessingJob_processingInputs
- An array of inputs configuring the data to download into the processing
container.
$sel:networkConfig:CreateProcessingJob'
, createProcessingJob_networkConfig
- Networking options for a processing job, such as whether to allow
inbound and outbound network calls to and from processing containers,
and the VPC subnets and security groups to use for VPC-enabled
processing jobs.
$sel:processingOutputConfig:CreateProcessingJob'
, createProcessingJob_processingOutputConfig
- Output configuration for the processing job.
$sel:tags:CreateProcessingJob'
, createProcessingJob_tags
- (Optional) An array of key-value pairs. For more information, see
Using Cost Allocation Tags
in the Amazon Web Services Billing and Cost Management User Guide.
$sel:processingJobName:CreateProcessingJob'
, createProcessingJob_processingJobName
- The name of the processing job. The name must be unique within an Amazon
Web Services Region in the Amazon Web Services account.
$sel:processingResources:CreateProcessingJob'
, createProcessingJob_processingResources
- Identifies the resources, ML compute instances, and ML storage volumes
to deploy for a processing job. In distributed training, you specify
more than one instance.
$sel:appSpecification:CreateProcessingJob'
, createProcessingJob_appSpecification
- Configures the processing job to run a specified Docker container image.
$sel:roleArn:CreateProcessingJob'
, createProcessingJob_roleArn
- The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can
assume to perform tasks on your behalf.
Request Lenses
createProcessingJob_environment :: Lens' CreateProcessingJob (Maybe (HashMap Text Text)) Source #
The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported.
createProcessingJob_stoppingCondition :: Lens' CreateProcessingJob (Maybe ProcessingStoppingCondition) Source #
The time limit for how long the processing job is allowed to run.
createProcessingJob_experimentConfig :: Lens' CreateProcessingJob (Maybe ExperimentConfig) Source #
Undocumented member.
createProcessingJob_processingInputs :: Lens' CreateProcessingJob (Maybe [ProcessingInput]) Source #
An array of inputs configuring the data to download into the processing container.
createProcessingJob_networkConfig :: Lens' CreateProcessingJob (Maybe NetworkConfig) Source #
Networking options for a processing job, such as whether to allow inbound and outbound network calls to and from processing containers, and the VPC subnets and security groups to use for VPC-enabled processing jobs.
createProcessingJob_processingOutputConfig :: Lens' CreateProcessingJob (Maybe ProcessingOutputConfig) Source #
Output configuration for the processing job.
createProcessingJob_tags :: Lens' CreateProcessingJob (Maybe [Tag]) Source #
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
createProcessingJob_processingJobName :: Lens' CreateProcessingJob Text Source #
The name of the processing job. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.
createProcessingJob_processingResources :: Lens' CreateProcessingJob ProcessingResources Source #
Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.
createProcessingJob_appSpecification :: Lens' CreateProcessingJob AppSpecification Source #
Configures the processing job to run a specified Docker container image.
createProcessingJob_roleArn :: Lens' CreateProcessingJob Text Source #
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
Destructuring the Response
data CreateProcessingJobResponse Source #
See: newCreateProcessingJobResponse
smart constructor.
CreateProcessingJobResponse' | |
|
Instances
newCreateProcessingJobResponse Source #
:: Int | |
-> Text | |
-> CreateProcessingJobResponse |
Create a value of CreateProcessingJobResponse
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:CreateProcessingJobResponse'
, createProcessingJobResponse_httpStatus
- The response's http status code.
$sel:processingJobArn:CreateProcessingJobResponse'
, createProcessingJobResponse_processingJobArn
- The Amazon Resource Name (ARN) of the processing job.
Response Lenses
createProcessingJobResponse_httpStatus :: Lens' CreateProcessingJobResponse Int Source #
The response's http status code.
createProcessingJobResponse_processingJobArn :: Lens' CreateProcessingJobResponse Text Source #
The Amazon Resource Name (ARN) of the processing job.