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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchevidently/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)


2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2759

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)


2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2759

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)


2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2759

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)


2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2759

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)


2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2759

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)


2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2759

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)


2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2759

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.

Returns:

  • (String)


2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2759

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>)


2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2759

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