disable_aws_network_performance_metric_subscription
async
¶
disable_aws_network_performance_metric_subscription(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
source: Optional[String] = None,
destination: Optional[String] = None,
metric: Optional[MetricType] = None,
statistic: Optional[StatisticType] = None,
dry_run: Optional[Boolean] = None,
) -> DisableAwsNetworkPerformanceMetricSubscriptionResult
Disables Infrastructure Performance metric subscriptions.
Parameters:
-
source(Optional[String], default:None) –The source Region or Availability Zone that the metric subscription is disabled for. For example,
us-east-1. -
destination(Optional[String], default:None) –The target Region or Availability Zone that the metric subscription is disabled for. For example,
eu-north-1. -
metric(Optional[MetricType], default:None) –The metric used for the disabled subscription.
-
statistic(Optional[StatisticType], default:None) –The statistic used for the disabled subscription.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
39259 39260 39261 39262 39263 39264 39265 39266 39267 39268 39269 39270 39271 39272 39273 39274 39275 39276 39277 39278 39279 39280 39281 39282 39283 39284 39285 39286 39287 39288 39289 39290 39291 39292 39293 39294 39295 39296 39297 39298 39299 39300 39301 39302 39303 39304 39305 39306 39307 39308 39309 39310 39311 39312 39313 39314 39315 39316 39317 39318 39319 | |