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)


35449
35450
35451
35452
35453
35454
35455
35456
35457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35449

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)


35449
35450
35451
35452
35453
35454
35455
35456
35457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35449

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)


35449
35450
35451
35452
35453
35454
35455
35456
35457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35449

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)


35449
35450
35451
35452
35453
35454
35455
35456
35457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35449

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)


35449
35450
35451
35452
35453
35454
35455
35456
35457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35449

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