enable_aws_network_performance_metric_subscription

EC2.Client.enable_aws_network_performance_metric_subscription(**kwargs)

Enables Infrastructure Performance subscriptions.

See also: AWS API Documentation

Request Syntax

response = client.enable_aws_network_performance_metric_subscription(
    Source='string',
    Destination='string',
    Metric='aggregate-latency',
    Statistic='p50',
    DryRun=True|False
)
Parameters
  • Source (string) -- The source Region or Availability Zone that the metric subscription is enabled for. For example, us-east-1 .
  • Destination (string) -- The target Region or Availability Zone that the metric subscription is enabled for. For example, eu-west-1 .
  • Metric (string) -- The metric used for the enabled subscription.
  • Statistic (string) -- The statistic used for the enabled subscription.
  • DryRun (boolean) -- 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 .
Return type

dict

Returns

Response Syntax

{
    'Output': True|False
}

Response Structure

  • (dict) --

    • Output (boolean) --

      Indicates whether the subscribe action was successful.