disassociateResourcesFromSubscription
inline suspend fun PricingPlanManagerClient.disassociateResourcesFromSubscription(crossinline block: DisassociateResourcesFromSubscriptionRequest.Builder.() -> Unit): DisassociateResourcesFromSubscriptionResponse
Removes one or more resources from an existing subscription.
For subscriptions in the CloudFront plan family, the associated resources must always include exactly one Amazon CloudFront distribution and exactly one AWS WAF web ACL. You cannot remove these required resources.
Samples
// Remove a resource from a subscription
val resp = pricingPlanManagerClient.disassociateResourcesFromSubscription {
arn = "arn:aws:pricingplanmanager::123456789012:subscription/sub-1234567890"
resourceArns = listOf<String>(
"arn:aws:route53:::hostedzone/Z0123456789EXAMPLE"
)
ifMatch = "2"
}Content copied to clipboard