UpdateCampaign
Source:
src/AWS/IoTFleetWise/UpdateCampaign.ts
Runtime binding for the UpdateCampaign operation (IAM action
iotfleetwise:UpdateCampaign), scoped to one Campaign.
Approves, suspends, or resumes the bound campaign at runtime — e.g. an
operations Lambda pausing data collection during an incident. Provide
the implementation with
Effect.provide(AWS.IoTFleetWise.UpdateCampaignHttp).
Campaign Control
Section titled “Campaign Control”const updateCampaign = yield* IoTFleetWise.UpdateCampaign(campaign);
yield* updateCampaign({ action: "SUSPEND" });yield* updateCampaign({ action: "RESUME" });