library
turbot/pagerduty
OverviewPipelines
0
Triggers
0
Variables
GitHub

Snooze Incident

Snooze an incident.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run pagerduty.pipeline.snooze_incident \
--arg 'from=<string>' \
--arg 'duration=<number>' \
--arg 'incident_id=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = pagerduty.pipeline.snooze_incident
args = {
from = <string>
duration = <number>
incident_id = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
fromstringYesThe email address of a valid user associated with the account making the request.-
durationnumberYesThe number of seconds to snooze the incident for. After this number of seconds has elapsed, the incident will return to the triggered state.-
incident_idstringYesThe ID of the incident.-

Outputs

NameDescription
incidentThe incident that was successfully snoozed.