Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Adds tasks, schedules, and preconditions to the specified pipeline. You
can use PutPipelineDefinition
to populate a new pipeline.
PutPipelineDefinition
also validates the configuration as it adds it
to the pipeline. Changes to the pipeline are saved unless one of the
following three validation errors exists in the pipeline.
- An object is missing a name or identifier field.
- A string or reference field is empty.
- The number of objects in the pipeline exceeds the maximum allowed objects.
- The pipeline is in a FINISHED state.
Pipeline object definitions are passed to the PutPipelineDefinition
action and returned by the GetPipelineDefinition action.
See: AWS API Reference for PutPipelineDefinition.
- putPipelineDefinition :: Text -> PutPipelineDefinition
- data PutPipelineDefinition
- ppdParameterObjects :: Lens' PutPipelineDefinition [ParameterObject]
- ppdParameterValues :: Lens' PutPipelineDefinition [ParameterValue]
- ppdPipelineId :: Lens' PutPipelineDefinition Text
- ppdPipelineObjects :: Lens' PutPipelineDefinition [PipelineObject]
- putPipelineDefinitionResponse :: Int -> Bool -> PutPipelineDefinitionResponse
- data PutPipelineDefinitionResponse
- ppdrsValidationErrors :: Lens' PutPipelineDefinitionResponse [ValidationError]
- ppdrsValidationWarnings :: Lens' PutPipelineDefinitionResponse [ValidationWarning]
- ppdrsResponseStatus :: Lens' PutPipelineDefinitionResponse Int
- ppdrsErrored :: Lens' PutPipelineDefinitionResponse Bool
Creating a Request
Creates a value of PutPipelineDefinition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutPipelineDefinition Source
Contains the parameters for PutPipelineDefinition.
See: putPipelineDefinition
smart constructor.
Request Lenses
ppdParameterObjects :: Lens' PutPipelineDefinition [ParameterObject] Source
The parameter objects used with the pipeline.
ppdParameterValues :: Lens' PutPipelineDefinition [ParameterValue] Source
The parameter values used with the pipeline.
ppdPipelineId :: Lens' PutPipelineDefinition Text Source
The ID of the pipeline.
ppdPipelineObjects :: Lens' PutPipelineDefinition [PipelineObject] Source
The objects that define the pipeline. These objects overwrite the existing pipeline definition.
Destructuring the Response
putPipelineDefinitionResponse Source
Creates a value of PutPipelineDefinitionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutPipelineDefinitionResponse Source
Contains the output of PutPipelineDefinition.
See: putPipelineDefinitionResponse
smart constructor.
Response Lenses
ppdrsValidationErrors :: Lens' PutPipelineDefinitionResponse [ValidationError] Source
The validation errors that are associated with the objects defined in
pipelineObjects
.
ppdrsValidationWarnings :: Lens' PutPipelineDefinitionResponse [ValidationWarning] Source
The validation warnings that are associated with the objects defined in
pipelineObjects
.
ppdrsResponseStatus :: Lens' PutPipelineDefinitionResponse Int Source
The response status code.
ppdrsErrored :: Lens' PutPipelineDefinitionResponse Bool Source
Indicates whether there were validation errors, and the pipeline
definition is stored but cannot be activated until you correct the
pipeline and call PutPipelineDefinition
to commit the corrected
pipeline.