DataPipeline.Client.
validate_pipeline_definition
(**kwargs)¶Validates the specified pipeline definition to ensure that it is well formed and can be run without error.
See also: AWS API Documentation
Request Syntax
response = client.validate_pipeline_definition(
pipelineId='string',
pipelineObjects=[
{
'id': 'string',
'name': 'string',
'fields': [
{
'key': 'string',
'stringValue': 'string',
'refValue': 'string'
},
]
},
],
parameterObjects=[
{
'id': 'string',
'attributes': [
{
'key': 'string',
'stringValue': 'string'
},
]
},
],
parameterValues=[
{
'id': 'string',
'stringValue': 'string'
},
]
)
[REQUIRED]
The ID of the pipeline.
[REQUIRED]
The objects that define the pipeline changes to validate against the pipeline.
Contains information about a pipeline object. This can be a logical, physical, or physical attempt pipeline object. The complete set of components of a pipeline defines the pipeline.
The ID of the object.
The name of the object.
Key-value pairs that define the properties of the object.
A key-value pair that describes a property of a pipeline object. The value is specified as either a string value ( StringValue
) or a reference to another object ( RefValue
) but not as both.
The field identifier.
The field value, expressed as a String.
The field value, expressed as the identifier of another object.
The parameter objects used with the pipeline.
Contains information about a parameter object.
The ID of the parameter object.
The attributes of the parameter object.
The attributes allowed or specified with a parameter object.
The field identifier.
The field value, expressed as a String.
The parameter values used with the pipeline.
A value or list of parameter values.
The ID of the parameter value.
The field value, expressed as a String.
dict
Response Syntax
{
'validationErrors': [
{
'id': 'string',
'errors': [
'string',
]
},
],
'validationWarnings': [
{
'id': 'string',
'warnings': [
'string',
]
},
],
'errored': True|False
}
Response Structure
(dict) --
Contains the output of ValidatePipelineDefinition.
validationErrors (list) --
Any validation errors that were found.
(dict) --
Defines a validation error. Validation errors prevent pipeline activation. The set of validation errors that can be returned are defined by AWS Data Pipeline.
id (string) --
The identifier of the object that contains the validation error.
errors (list) --
A description of the validation error.
validationWarnings (list) --
Any validation warnings that were found.
(dict) --
Defines a validation warning. Validation warnings do not prevent pipeline activation. The set of validation warnings that can be returned are defined by AWS Data Pipeline.
id (string) --
The identifier of the object that contains the validation warning.
warnings (list) --
A description of the validation warning.
errored (boolean) --
Indicates whether there were validation errors.
Exceptions
DataPipeline.Client.exceptions.InternalServiceError
DataPipeline.Client.exceptions.InvalidRequestException
DataPipeline.Client.exceptions.PipelineNotFoundException
DataPipeline.Client.exceptions.PipelineDeletedException