Class: Aws::EC2::Types::EnableAwsNetworkPerformanceMetricSubscriptionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destinationString

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.

Returns:

  • (String)


30841
30842
30843
30844
30845
30846
30847
30848
30849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30841

class EnableAwsNetworkPerformanceMetricSubscriptionRequest < Struct.new(
  :source,
  :destination,
  :metric,
  :statistic,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

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.

Returns:

  • (Boolean)


30841
30842
30843
30844
30845
30846
30847
30848
30849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30841

class EnableAwsNetworkPerformanceMetricSubscriptionRequest < Struct.new(
  :source,
  :destination,
  :metric,
  :statistic,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#metricString

The metric used for the enabled subscription.

Returns:

  • (String)


30841
30842
30843
30844
30845
30846
30847
30848
30849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30841

class EnableAwsNetworkPerformanceMetricSubscriptionRequest < Struct.new(
  :source,
  :destination,
  :metric,
  :statistic,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

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.

Returns:

  • (String)


30841
30842
30843
30844
30845
30846
30847
30848
30849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30841

class EnableAwsNetworkPerformanceMetricSubscriptionRequest < Struct.new(
  :source,
  :destination,
  :metric,
  :statistic,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#statisticString

The statistic used for the enabled subscription.

Returns:

  • (String)


30841
30842
30843
30844
30845
30846
30847
30848
30849
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30841

class EnableAwsNetworkPerformanceMetricSubscriptionRequest < Struct.new(
  :source,
  :destination,
  :metric,
  :statistic,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end