cancelSubscriptionChange

Cancels a pending scheduled change on a subscription, such as a pending downgrade or cancellation. The subscription returns to its state before the change was scheduled.

You cannot cancel a scheduled change close to its effective date. If the change is within the processing window, this operation returns an error.

Samples

// Cancel a pending subscription change
val resp = pricingPlanManagerClient.cancelSubscriptionChange {
    arn = "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890"
    ifMatch = "3"
}