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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


30828
30829
30830
30831
30832
30833
30834
30835
30836
# File 'lib/aws-sdk-ec2/types.rb', line 30828

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)


30828
30829
30830
30831
30832
30833
30834
30835
30836
# File 'lib/aws-sdk-ec2/types.rb', line 30828

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)


30828
30829
30830
30831
30832
30833
30834
30835
30836
# File 'lib/aws-sdk-ec2/types.rb', line 30828

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)


30828
30829
30830
30831
30832
30833
30834
30835
30836
# File 'lib/aws-sdk-ec2/types.rb', line 30828

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)


30828
30829
30830
30831
30832
30833
30834
30835
30836
# File 'lib/aws-sdk-ec2/types.rb', line 30828

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