Class: Aws::CloudWatchRUM::Types::BatchCreateRumMetricDefinitionsRequest

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 is to send the metrics.

Returns:

  • (String)


346
347
348
349
350
351
352
353
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 346

class BatchCreateRumMetricDefinitionsRequest < Struct.new(
  :app_monitor_name,
  :destination,
  :destination_arn,
  :metric_definitions)
  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 Amazon Resource Name (ARN) of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write to the experiment.

Returns:

  • (String)


346
347
348
349
350
351
352
353
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 346

class BatchCreateRumMetricDefinitionsRequest < Struct.new(
  :app_monitor_name,
  :destination,
  :destination_arn,
  :metric_definitions)
  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)


346
347
348
349
350
351
352
353
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 346

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

#metric_definitionsArray<Types::MetricDefinitionRequest>

An array of structures which define the metrics that you want to send.

Returns:



346
347
348
349
350
351
352
353
# File 'lib/aws-sdk-cloudwatchrum/types.rb', line 346

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