Class: Aws::CloudWatchRUM::Types::UpdateRumMetricDefinitionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_monitor_nameString

The name of the CloudWatch RUM app monitor that sends these metrics.

Returns:

  • (String)


1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 1706

class UpdateRumMetricDefinitionRequest < Struct.new(
  :app_monitor_name,
  :destination,
  :destination_arn,
  :metric_definition,
  :metric_definition_id)
  SENSITIVE = []
  include Aws::Structure
end

#destinationString

The destination to send the metrics to. Valid values are ‘CloudWatch` and `Evidently`. If you specify `Evidently`, you must also specify the ARN of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write to the experiment.

Returns:

  • (String)


1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 1706

class UpdateRumMetricDefinitionRequest < Struct.new(
  :app_monitor_name,
  :destination,
  :destination_arn,
  :metric_definition,
  :metric_definition_id)
  SENSITIVE = []
  include Aws::Structure
end

#destination_arnString

This parameter is required if ‘Destination` is `Evidently`. If `Destination` is `CloudWatch`, do not use this parameter.

This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see [PutRumMetricsDestination].

[1]: docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutRumMetricsDestination.html

Returns:

  • (String)


1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 1706

class UpdateRumMetricDefinitionRequest < Struct.new(
  :app_monitor_name,
  :destination,
  :destination_arn,
  :metric_definition,
  :metric_definition_id)
  SENSITIVE = []
  include Aws::Structure
end

#metric_definitionTypes::MetricDefinitionRequest

A structure that contains the new definition that you want to use for this metric.



1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 1706

class UpdateRumMetricDefinitionRequest < Struct.new(
  :app_monitor_name,
  :destination,
  :destination_arn,
  :metric_definition,
  :metric_definition_id)
  SENSITIVE = []
  include Aws::Structure
end

#metric_definition_idString

The ID of the metric definition to update.

Returns:

  • (String)


1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 1706

class UpdateRumMetricDefinitionRequest < Struct.new(
  :app_monitor_name,
  :destination,
  :destination_arn,
  :metric_definition,
  :metric_definition_id)
  SENSITIVE = []
  include Aws::Structure
end