Class: Aws::CloudWatchEvidently::Types::Segment

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

Overview

This structure contains information about one audience segment. You can use segments in your experiments and launches to narrow the user sessions used for experiment or launch to only the user sessions that match one or more criteria.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the segment.

Returns:

  • (String)


2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 2805

class Segment < Struct.new(
  :arn,
  :created_time,
  :description,
  :experiment_count,
  :last_updated_time,
  :launch_count,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#created_timeTime

The date and time that this segment was created.

Returns:

  • (Time)


2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 2805

class Segment < Struct.new(
  :arn,
  :created_time,
  :description,
  :experiment_count,
  :last_updated_time,
  :launch_count,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The customer-created description for this segment.

Returns:

  • (String)


2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 2805

class Segment < Struct.new(
  :arn,
  :created_time,
  :description,
  :experiment_count,
  :last_updated_time,
  :launch_count,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#experiment_countInteger

The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running.

Returns:

  • (Integer)


2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 2805

class Segment < Struct.new(
  :arn,
  :created_time,
  :description,
  :experiment_count,
  :last_updated_time,
  :launch_count,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_timeTime

The date and time that this segment was most recently updated.

Returns:

  • (Time)


2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 2805

class Segment < Struct.new(
  :arn,
  :created_time,
  :description,
  :experiment_count,
  :last_updated_time,
  :launch_count,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#launch_countInteger

The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running.

Returns:

  • (Integer)


2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 2805

class Segment < Struct.new(
  :arn,
  :created_time,
  :description,
  :experiment_count,
  :last_updated_time,
  :launch_count,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the segment.

Returns:

  • (String)


2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 2805

class Segment < Struct.new(
  :arn,
  :created_time,
  :description,
  :experiment_count,
  :last_updated_time,
  :launch_count,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#patternString

The pattern that defines the attributes to use to evalute whether a user session will be in the segment. For more information about the pattern syntax, see [Segment rule pattern syntax].

[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html

Returns:

  • (String)


2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 2805

class Segment < Struct.new(
  :arn,
  :created_time,
  :description,
  :experiment_count,
  :last_updated_time,
  :launch_count,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The list of tag keys and values associated with this launch.

Returns:

  • (Hash<String,String>)


2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 2805

class Segment < Struct.new(
  :arn,
  :created_time,
  :description,
  :experiment_count,
  :last_updated_time,
  :launch_count,
  :name,
  :pattern,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end