Class: Aws::EC2::Types::GetCapacityManagerMetricDataRequest

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

#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)


42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42597

class GetCapacityManagerMetricDataRequest < Struct.new(
  :metric_names,
  :start_time,
  :end_time,
  :period,
  :group_by,
  :filter_by,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

The end time for the metric data query, in ISO 8601 format. If the end time is beyond the latest ingested data, it will be automatically adjusted to the latest available data point.

Returns:

  • (Time)


42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42597

class GetCapacityManagerMetricDataRequest < Struct.new(
  :metric_names,
  :start_time,
  :end_time,
  :period,
  :group_by,
  :filter_by,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#filter_byArray<Types::CapacityManagerCondition>

Conditions to filter the metric data. Each filter specifies a dimension, comparison operator ('equals', 'in'), and values to match against.



42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42597

class GetCapacityManagerMetricDataRequest < Struct.new(
  :metric_names,
  :start_time,
  :end_time,
  :period,
  :group_by,
  :filter_by,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#group_byArray<String>

The dimensions by which to group the metric data. This determines how the data is aggregated and returned.

Returns:

  • (Array<String>)


42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42597

class GetCapacityManagerMetricDataRequest < Struct.new(
  :metric_names,
  :start_time,
  :end_time,
  :period,
  :group_by,
  :filter_by,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of data points to return. Valid range is 1 to 100,000. Use with NextToken for pagination of large result sets.

Returns:

  • (Integer)


42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42597

class GetCapacityManagerMetricDataRequest < Struct.new(
  :metric_names,
  :start_time,
  :end_time,
  :period,
  :group_by,
  :filter_by,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#metric_namesArray<String>

The names of the metrics to retrieve. Maximum of 10 metrics per request.

Returns:

  • (Array<String>)


42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42597

class GetCapacityManagerMetricDataRequest < Struct.new(
  :metric_names,
  :start_time,
  :end_time,
  :period,
  :group_by,
  :filter_by,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token for the next page of results. Use this value in a subsequent call to retrieve additional data points.

Returns:

  • (String)


42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42597

class GetCapacityManagerMetricDataRequest < Struct.new(
  :metric_names,
  :start_time,
  :end_time,
  :period,
  :group_by,
  :filter_by,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#periodInteger

The granularity, in seconds, of the returned data points.

Returns:

  • (Integer)


42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42597

class GetCapacityManagerMetricDataRequest < Struct.new(
  :metric_names,
  :start_time,
  :end_time,
  :period,
  :group_by,
  :filter_by,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The start time for the metric data query, in ISO 8601 format. The time range (end time - start time) must be a multiple of the specified period.

Returns:

  • (Time)


42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42597

class GetCapacityManagerMetricDataRequest < Struct.new(
  :metric_names,
  :start_time,
  :end_time,
  :period,
  :group_by,
  :filter_by,
  :max_results,
  :next_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end