Enables Infrastructure Performance subscriptions.
See https://www.paws-r-sdk.com/docs/ec2_enable_aws_network_performance_metric_subscription/ for full documentation.
ec2_enable_aws_network_performance_metric_subscription(
Source = NULL,
Destination = NULL,
Metric = NULL,
Statistic = NULL,
DryRun = NULL
)
The source Region (like us-east-1
) or Availability Zone ID (like
use1-az1
) that the metric subscription is enabled for. If you use
Availability Zone IDs, the Source and Destination Availability Zones
must be in the same Region.
The target Region (like us-east-2
) or Availability Zone ID (like
use2-az2
) that the metric subscription is enabled for. If you use
Availability Zone IDs, the Source and Destination Availability Zones
must be in the same Region.
The metric used for the enabled subscription.
The statistic used for the enabled subscription.
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 is UnauthorizedOperation
.