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 |
Validates the specified pipeline definition to ensure that it is well formed and can be run without error.
Synopsis
- data ValidatePipelineDefinition = ValidatePipelineDefinition' {}
- newValidatePipelineDefinition :: Text -> ValidatePipelineDefinition
- validatePipelineDefinition_parameterObjects :: Lens' ValidatePipelineDefinition (Maybe [ParameterObject])
- validatePipelineDefinition_parameterValues :: Lens' ValidatePipelineDefinition (Maybe [ParameterValue])
- validatePipelineDefinition_pipelineId :: Lens' ValidatePipelineDefinition Text
- validatePipelineDefinition_pipelineObjects :: Lens' ValidatePipelineDefinition [PipelineObject]
- data ValidatePipelineDefinitionResponse = ValidatePipelineDefinitionResponse' {}
- newValidatePipelineDefinitionResponse :: Int -> Bool -> ValidatePipelineDefinitionResponse
- validatePipelineDefinitionResponse_validationErrors :: Lens' ValidatePipelineDefinitionResponse (Maybe [ValidationError])
- validatePipelineDefinitionResponse_validationWarnings :: Lens' ValidatePipelineDefinitionResponse (Maybe [ValidationWarning])
- validatePipelineDefinitionResponse_httpStatus :: Lens' ValidatePipelineDefinitionResponse Int
- validatePipelineDefinitionResponse_errored :: Lens' ValidatePipelineDefinitionResponse Bool
Creating a Request
data ValidatePipelineDefinition Source #
Contains the parameters for ValidatePipelineDefinition.
See: newValidatePipelineDefinition
smart constructor.
ValidatePipelineDefinition' | |
|
Instances
newValidatePipelineDefinition Source #
Create a value of ValidatePipelineDefinition
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:parameterObjects:ValidatePipelineDefinition'
, validatePipelineDefinition_parameterObjects
- The parameter objects used with the pipeline.
$sel:parameterValues:ValidatePipelineDefinition'
, validatePipelineDefinition_parameterValues
- The parameter values used with the pipeline.
$sel:pipelineId:ValidatePipelineDefinition'
, validatePipelineDefinition_pipelineId
- The ID of the pipeline.
$sel:pipelineObjects:ValidatePipelineDefinition'
, validatePipelineDefinition_pipelineObjects
- The objects that define the pipeline changes to validate against the
pipeline.
Request Lenses
validatePipelineDefinition_parameterObjects :: Lens' ValidatePipelineDefinition (Maybe [ParameterObject]) Source #
The parameter objects used with the pipeline.
validatePipelineDefinition_parameterValues :: Lens' ValidatePipelineDefinition (Maybe [ParameterValue]) Source #
The parameter values used with the pipeline.
validatePipelineDefinition_pipelineId :: Lens' ValidatePipelineDefinition Text Source #
The ID of the pipeline.
validatePipelineDefinition_pipelineObjects :: Lens' ValidatePipelineDefinition [PipelineObject] Source #
The objects that define the pipeline changes to validate against the pipeline.
Destructuring the Response
data ValidatePipelineDefinitionResponse Source #
Contains the output of ValidatePipelineDefinition.
See: newValidatePipelineDefinitionResponse
smart constructor.
ValidatePipelineDefinitionResponse' | |
|
Instances
newValidatePipelineDefinitionResponse Source #
Create a value of ValidatePipelineDefinitionResponse
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:validationErrors:ValidatePipelineDefinitionResponse'
, validatePipelineDefinitionResponse_validationErrors
- Any validation errors that were found.
$sel:validationWarnings:ValidatePipelineDefinitionResponse'
, validatePipelineDefinitionResponse_validationWarnings
- Any validation warnings that were found.
$sel:httpStatus:ValidatePipelineDefinitionResponse'
, validatePipelineDefinitionResponse_httpStatus
- The response's http status code.
$sel:errored:ValidatePipelineDefinitionResponse'
, validatePipelineDefinitionResponse_errored
- Indicates whether there were validation errors.
Response Lenses
validatePipelineDefinitionResponse_validationErrors :: Lens' ValidatePipelineDefinitionResponse (Maybe [ValidationError]) Source #
Any validation errors that were found.
validatePipelineDefinitionResponse_validationWarnings :: Lens' ValidatePipelineDefinitionResponse (Maybe [ValidationWarning]) Source #
Any validation warnings that were found.
validatePipelineDefinitionResponse_httpStatus :: Lens' ValidatePipelineDefinitionResponse Int Source #
The response's http status code.
validatePipelineDefinitionResponse_errored :: Lens' ValidatePipelineDefinitionResponse Bool Source #
Indicates whether there were validation errors.