Class: Aws::EC2::Types::EnableAwsNetworkPerformanceMetricSubscriptionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::EnableAwsNetworkPerformanceMetricSubscriptionRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#destination ⇒ String
The target Region (like
us-east-2
) or Availability Zone ID (likeuse2-az2
) that the metric subscription is enabled for. -
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#metric ⇒ String
The metric used for the enabled subscription.
-
#source ⇒ String
The source Region (like
us-east-1
) or Availability Zone ID (likeuse1-az1
) that the metric subscription is enabled for. -
#statistic ⇒ String
The statistic used for the enabled subscription.
Instance Attribute Details
#destination ⇒ String
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.
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_run ⇒ Boolean
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
.
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 |
#metric ⇒ String
The metric used for the enabled subscription.
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 |
#source ⇒ String
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.
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 |
#statistic ⇒ String
The statistic used for the enabled subscription.
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 |