Class: Aws::IoT::Types::CreateFleetMetricRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::CreateFleetMetricRequest
- Defined in:
- gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#aggregation_field ⇒ String
The field to aggregate.
-
#aggregation_type ⇒ Types::AggregationType
The type of the aggregation query.
-
#description ⇒ String
The fleet metric description.
-
#index_name ⇒ String
The name of the index to search.
-
#metric_name ⇒ String
The name of the fleet metric to create.
-
#period ⇒ Integer
The time in seconds between fleet metric emissions.
-
#query_string ⇒ String
The search query string.
-
#query_version ⇒ String
The query version.
-
#tags ⇒ Array<Types::Tag>
Metadata, which can be used to manage the fleet metric.
-
#unit ⇒ String
Used to support unit transformation such as milliseconds to seconds.
Instance Attribute Details
#aggregation_field ⇒ String
The field to aggregate.
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2771 class CreateFleetMetricRequest < Struct.new( :metric_name, :query_string, :aggregation_type, :period, :aggregation_field, :description, :query_version, :index_name, :unit, :tags) SENSITIVE = [] include Aws::Structure end |
#aggregation_type ⇒ Types::AggregationType
The type of the aggregation query.
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2771 class CreateFleetMetricRequest < Struct.new( :metric_name, :query_string, :aggregation_type, :period, :aggregation_field, :description, :query_version, :index_name, :unit, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The fleet metric description.
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2771 class CreateFleetMetricRequest < Struct.new( :metric_name, :query_string, :aggregation_type, :period, :aggregation_field, :description, :query_version, :index_name, :unit, :tags) SENSITIVE = [] include Aws::Structure end |
#index_name ⇒ String
The name of the index to search.
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2771 class CreateFleetMetricRequest < Struct.new( :metric_name, :query_string, :aggregation_type, :period, :aggregation_field, :description, :query_version, :index_name, :unit, :tags) SENSITIVE = [] include Aws::Structure end |
#metric_name ⇒ String
The name of the fleet metric to create.
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2771 class CreateFleetMetricRequest < Struct.new( :metric_name, :query_string, :aggregation_type, :period, :aggregation_field, :description, :query_version, :index_name, :unit, :tags) SENSITIVE = [] include Aws::Structure end |
#period ⇒ Integer
The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2771 class CreateFleetMetricRequest < Struct.new( :metric_name, :query_string, :aggregation_type, :period, :aggregation_field, :description, :query_version, :index_name, :unit, :tags) SENSITIVE = [] include Aws::Structure end |
#query_string ⇒ String
The search query string.
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2771 class CreateFleetMetricRequest < Struct.new( :metric_name, :query_string, :aggregation_type, :period, :aggregation_field, :description, :query_version, :index_name, :unit, :tags) SENSITIVE = [] include Aws::Structure end |
#query_version ⇒ String
The query version.
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2771 class CreateFleetMetricRequest < Struct.new( :metric_name, :query_string, :aggregation_type, :period, :aggregation_field, :description, :query_version, :index_name, :unit, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
Metadata, which can be used to manage the fleet metric.
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2771 class CreateFleetMetricRequest < Struct.new( :metric_name, :query_string, :aggregation_type, :period, :aggregation_field, :description, :query_version, :index_name, :unit, :tags) SENSITIVE = [] include Aws::Structure end |
#unit ⇒ String
Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric. Default to null.
2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2771 class CreateFleetMetricRequest < Struct.new( :metric_name, :query_string, :aggregation_type, :period, :aggregation_field, :description, :query_version, :index_name, :unit, :tags) SENSITIVE = [] include Aws::Structure end |