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 or Availability Zone that the metric subscription is enabled for. For example, ‘eu-west-1`.

Returns:

  • (String)


30567
30568
30569
30570
30571
30572
30573
30574
30575
# File 'lib/aws-sdk-ec2/types.rb', line 30567

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)


30567
30568
30569
30570
30571
30572
30573
30574
30575
# File 'lib/aws-sdk-ec2/types.rb', line 30567

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)


30567
30568
30569
30570
30571
30572
30573
30574
30575
# File 'lib/aws-sdk-ec2/types.rb', line 30567

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

#sourceString

The source Region or Availability Zone that the metric subscription is enabled for. For example, ‘us-east-1`.

Returns:

  • (String)


30567
30568
30569
30570
30571
30572
30573
30574
30575
# File 'lib/aws-sdk-ec2/types.rb', line 30567

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)


30567
30568
30569
30570
30571
30572
30573
30574
30575
# File 'lib/aws-sdk-ec2/types.rb', line 30567

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