| 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 |
Amazonka.SageMaker.CreatePipeline
Description
Creates a pipeline using a JSON pipeline definition.
Synopsis
- data CreatePipeline = CreatePipeline' {}
- newCreatePipeline :: Text -> Text -> Text -> Text -> CreatePipeline
- createPipeline_pipelineDisplayName :: Lens' CreatePipeline (Maybe Text)
- createPipeline_pipelineDescription :: Lens' CreatePipeline (Maybe Text)
- createPipeline_tags :: Lens' CreatePipeline (Maybe [Tag])
- createPipeline_pipelineName :: Lens' CreatePipeline Text
- createPipeline_pipelineDefinition :: Lens' CreatePipeline Text
- createPipeline_clientRequestToken :: Lens' CreatePipeline Text
- createPipeline_roleArn :: Lens' CreatePipeline Text
- data CreatePipelineResponse = CreatePipelineResponse' {
- pipelineArn :: Maybe Text
- httpStatus :: Int
- newCreatePipelineResponse :: Int -> CreatePipelineResponse
- createPipelineResponse_pipelineArn :: Lens' CreatePipelineResponse (Maybe Text)
- createPipelineResponse_httpStatus :: Lens' CreatePipelineResponse Int
Creating a Request
data CreatePipeline Source #
See: newCreatePipeline smart constructor.
Constructors
| CreatePipeline' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> CreatePipeline |
Create a value of CreatePipeline 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:pipelineDisplayName:CreatePipeline', createPipeline_pipelineDisplayName - The display name of the pipeline.
$sel:pipelineDescription:CreatePipeline', createPipeline_pipelineDescription - A description of the pipeline.
$sel:tags:CreatePipeline', createPipeline_tags - A list of tags to apply to the created pipeline.
$sel:pipelineName:CreatePipeline', createPipeline_pipelineName - The name of the pipeline.
$sel:pipelineDefinition:CreatePipeline', createPipeline_pipelineDefinition - The JSON pipeline definition of the pipeline.
$sel:clientRequestToken:CreatePipeline', createPipeline_clientRequestToken - A unique, case-sensitive identifier that you provide to ensure the
idempotency of the operation. An idempotent operation completes no more
than one time.
$sel:roleArn:CreatePipeline', createPipeline_roleArn - The Amazon Resource Name (ARN) of the role used by the pipeline to
access and create resources.
Request Lenses
createPipeline_pipelineDisplayName :: Lens' CreatePipeline (Maybe Text) Source #
The display name of the pipeline.
createPipeline_pipelineDescription :: Lens' CreatePipeline (Maybe Text) Source #
A description of the pipeline.
createPipeline_tags :: Lens' CreatePipeline (Maybe [Tag]) Source #
A list of tags to apply to the created pipeline.
createPipeline_pipelineName :: Lens' CreatePipeline Text Source #
The name of the pipeline.
createPipeline_pipelineDefinition :: Lens' CreatePipeline Text Source #
The JSON pipeline definition of the pipeline.
createPipeline_clientRequestToken :: Lens' CreatePipeline Text Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.
createPipeline_roleArn :: Lens' CreatePipeline Text Source #
The Amazon Resource Name (ARN) of the role used by the pipeline to access and create resources.
Destructuring the Response
data CreatePipelineResponse Source #
See: newCreatePipelineResponse smart constructor.
Constructors
| CreatePipelineResponse' | |
Fields
| |
Instances
newCreatePipelineResponse Source #
Create a value of CreatePipelineResponse 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:pipelineArn:CreatePipelineResponse', createPipelineResponse_pipelineArn - The Amazon Resource Name (ARN) of the created pipeline.
$sel:httpStatus:CreatePipelineResponse', createPipelineResponse_httpStatus - The response's http status code.
Response Lenses
createPipelineResponse_pipelineArn :: Lens' CreatePipelineResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the created pipeline.
createPipelineResponse_httpStatus :: Lens' CreatePipelineResponse Int Source #
The response's http status code.