get_pipeline_metrics
Retrieve performance metrics for an AWS CodePipeline, including specified time periods, to analyze pipeline efficiency and execution trends.
Instructions
Get performance metrics for a pipeline
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endTime | No | End time for metrics in ISO format (default: now) | |
period | No | Time period in seconds for the metrics (default: 86400 - 1 day) | |
pipelineName | Yes | Name of the pipeline | |
startTime | No | Start time for metrics in ISO format (default: 1 week ago) |
Input Schema (JSON Schema)
{
"properties": {
"endTime": {
"description": "End time for metrics in ISO format (default: now)",
"format": "date-time",
"type": "string"
},
"period": {
"default": 86400,
"description": "Time period in seconds for the metrics (default: 86400 - 1 day)",
"type": "number"
},
"pipelineName": {
"description": "Name of the pipeline",
"type": "string"
},
"startTime": {
"description": "Start time for metrics in ISO format (default: 1 week ago)",
"format": "date-time",
"type": "string"
}
},
"required": [
"pipelineName"
],
"type": "object"
}