disable_aws_network_performance_metric_subscription
¶
disable_aws_network_performance_metric_subscription(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
38746 38747 38748 38749 38750 38751 38752 38753 38754 38755 38756 38757 38758 38759 38760 38761 38762 38763 38764 38765 38766 38767 38768 38769 38770 38771 38772 38773 38774 38775 38776 38777 38778 38779 38780 38781 38782 38783 38784 38785 38786 38787 38788 38789 38790 38791 38792 38793 38794 38795 38796 38797 38798 38799 38800 38801 38802 38803 38804 38805 | |