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)


33324
33325
33326
33327
33328
33329
33330
33331
33332
# File 'lib/aws-sdk-ec2/types.rb', line 33324

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)


33324
33325
33326
33327
33328
33329
33330
33331
33332
# File 'lib/aws-sdk-ec2/types.rb', line 33324

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)


33324
33325
33326
33327
33328
33329
33330
33331
33332
# File 'lib/aws-sdk-ec2/types.rb', line 33324

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)


33324
33325
33326
33327
33328
33329
33330
33331
33332
# File 'lib/aws-sdk-ec2/types.rb', line 33324

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)


33324
33325
33326
33327
33328
33329
33330
33331
33332
# File 'lib/aws-sdk-ec2/types.rb', line 33324

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