Class: Aws::IoT::Types::UpdateFleetMetricRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot/types.rb

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aggregation_fieldString

The field to aggregate.

Returns:

  • (String)


16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
# File 'lib/aws-sdk-iot/types.rb', line 16930

class UpdateFleetMetricRequest < Struct.new(
  :metric_name,
  :query_string,
  :aggregation_type,
  :period,
  :aggregation_field,
  :description,
  :query_version,
  :index_name,
  :unit,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end

#aggregation_typeTypes::AggregationType

The type of the aggregation query.



16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
# File 'lib/aws-sdk-iot/types.rb', line 16930

class UpdateFleetMetricRequest < Struct.new(
  :metric_name,
  :query_string,
  :aggregation_type,
  :period,
  :aggregation_field,
  :description,
  :query_version,
  :index_name,
  :unit,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the fleet metric.

Returns:

  • (String)


16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
# File 'lib/aws-sdk-iot/types.rb', line 16930

class UpdateFleetMetricRequest < Struct.new(
  :metric_name,
  :query_string,
  :aggregation_type,
  :period,
  :aggregation_field,
  :description,
  :query_version,
  :index_name,
  :unit,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end

#expected_versionInteger

The expected version of the fleet metric record in the registry.

Returns:

  • (Integer)


16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
# File 'lib/aws-sdk-iot/types.rb', line 16930

class UpdateFleetMetricRequest < Struct.new(
  :metric_name,
  :query_string,
  :aggregation_type,
  :period,
  :aggregation_field,
  :description,
  :query_version,
  :index_name,
  :unit,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end

#index_nameString

The name of the index to search.

Returns:

  • (String)


16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
# File 'lib/aws-sdk-iot/types.rb', line 16930

class UpdateFleetMetricRequest < Struct.new(
  :metric_name,
  :query_string,
  :aggregation_type,
  :period,
  :aggregation_field,
  :description,
  :query_version,
  :index_name,
  :unit,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end

#metric_nameString

The name of the fleet metric to update.

Returns:

  • (String)


16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
# File 'lib/aws-sdk-iot/types.rb', line 16930

class UpdateFleetMetricRequest < Struct.new(
  :metric_name,
  :query_string,
  :aggregation_type,
  :period,
  :aggregation_field,
  :description,
  :query_version,
  :index_name,
  :unit,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end

#periodInteger

The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.

Returns:

  • (Integer)


16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
# File 'lib/aws-sdk-iot/types.rb', line 16930

class UpdateFleetMetricRequest < Struct.new(
  :metric_name,
  :query_string,
  :aggregation_type,
  :period,
  :aggregation_field,
  :description,
  :query_version,
  :index_name,
  :unit,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end

#query_stringString

The search query string.

Returns:

  • (String)


16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
# File 'lib/aws-sdk-iot/types.rb', line 16930

class UpdateFleetMetricRequest < Struct.new(
  :metric_name,
  :query_string,
  :aggregation_type,
  :period,
  :aggregation_field,
  :description,
  :query_version,
  :index_name,
  :unit,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end

#query_versionString

The version of the query.

Returns:

  • (String)


16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
# File 'lib/aws-sdk-iot/types.rb', line 16930

class UpdateFleetMetricRequest < Struct.new(
  :metric_name,
  :query_string,
  :aggregation_type,
  :period,
  :aggregation_field,
  :description,
  :query_version,
  :index_name,
  :unit,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

Used to support unit transformation such as milliseconds to seconds. The unit must be supported by [CW metric].

[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html

Returns:

  • (String)


16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
# File 'lib/aws-sdk-iot/types.rb', line 16930

class UpdateFleetMetricRequest < Struct.new(
  :metric_name,
  :query_string,
  :aggregation_type,
  :period,
  :aggregation_field,
  :description,
  :query_version,
  :index_name,
  :unit,
  :expected_version)
  SENSITIVE = []
  include Aws::Structure
end