Learn R Programming

paws.compute (version 0.7.0)

ec2_enable_aws_network_performance_metric_subscription: Enables Infrastructure Performance subscriptions

Description

Enables Infrastructure Performance subscriptions.

See https://www.paws-r-sdk.com/docs/ec2_enable_aws_network_performance_metric_subscription/ for full documentation.

Usage

ec2_enable_aws_network_performance_metric_subscription(
  Source = NULL,
  Destination = NULL,
  Metric = NULL,
  Statistic = NULL,
  DryRun = NULL
)

Arguments

Source

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.

Destination

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.

Metric

The metric used for the enabled subscription.

Statistic

The statistic used for the enabled subscription.

DryRun

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.