Class: Aws::Pinpoint::Types::SegmentResponse

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

Overview

Segment definition.

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

The ID of the application to which the segment applies.

Returns:

  • (String)


6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
# File 'lib/aws-sdk-pinpoint/types.rb', line 6291

class SegmentResponse < Struct.new(
  :application_id,
  :creation_date,
  :dimensions,
  :id,
  :import_definition,
  :last_modified_date,
  :name,
  :segment_type,
  :version)
  include Aws::Structure
end

#creation_dateString

The date the segment was created in ISO 8601 format.

Returns:

  • (String)


6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
# File 'lib/aws-sdk-pinpoint/types.rb', line 6291

class SegmentResponse < Struct.new(
  :application_id,
  :creation_date,
  :dimensions,
  :id,
  :import_definition,
  :last_modified_date,
  :name,
  :segment_type,
  :version)
  include Aws::Structure
end

#dimensionsTypes::SegmentDimensions

The segment dimensions attributes.



6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
# File 'lib/aws-sdk-pinpoint/types.rb', line 6291

class SegmentResponse < Struct.new(
  :application_id,
  :creation_date,
  :dimensions,
  :id,
  :import_definition,
  :last_modified_date,
  :name,
  :segment_type,
  :version)
  include Aws::Structure
end

#idString

The unique segment ID.

Returns:

  • (String)


6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
# File 'lib/aws-sdk-pinpoint/types.rb', line 6291

class SegmentResponse < Struct.new(
  :application_id,
  :creation_date,
  :dimensions,
  :id,
  :import_definition,
  :last_modified_date,
  :name,
  :segment_type,
  :version)
  include Aws::Structure
end

#import_definitionTypes::SegmentImportResource

The import job settings.



6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
# File 'lib/aws-sdk-pinpoint/types.rb', line 6291

class SegmentResponse < Struct.new(
  :application_id,
  :creation_date,
  :dimensions,
  :id,
  :import_definition,
  :last_modified_date,
  :name,
  :segment_type,
  :version)
  include Aws::Structure
end

#last_modified_dateString

The date the segment was last updated in ISO 8601 format.

Returns:

  • (String)


6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
# File 'lib/aws-sdk-pinpoint/types.rb', line 6291

class SegmentResponse < Struct.new(
  :application_id,
  :creation_date,
  :dimensions,
  :id,
  :import_definition,
  :last_modified_date,
  :name,
  :segment_type,
  :version)
  include Aws::Structure
end

#nameString

The name of segment

Returns:

  • (String)


6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
# File 'lib/aws-sdk-pinpoint/types.rb', line 6291

class SegmentResponse < Struct.new(
  :application_id,
  :creation_date,
  :dimensions,
  :id,
  :import_definition,
  :last_modified_date,
  :name,
  :segment_type,
  :version)
  include Aws::Structure
end

#segment_typeString

The segment type: DIMENSIONAL - A dynamic segment built from selection criteria based on endpoint data reported by your app. You create this type of segment by using the segment builder in the Amazon Pinpoint console or by making a POST request to the segments resource. IMPORT - A static segment built from an imported set of endpoint definitions. You create this type of segment by importing a segment in the Amazon Pinpoint console or by making a POST request to the jobs/import resource.

Returns:

  • (String)


6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
# File 'lib/aws-sdk-pinpoint/types.rb', line 6291

class SegmentResponse < Struct.new(
  :application_id,
  :creation_date,
  :dimensions,
  :id,
  :import_definition,
  :last_modified_date,
  :name,
  :segment_type,
  :version)
  include Aws::Structure
end

#versionInteger

The segment version number.

Returns:

  • (Integer)


6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
# File 'lib/aws-sdk-pinpoint/types.rb', line 6291

class SegmentResponse < Struct.new(
  :application_id,
  :creation_date,
  :dimensions,
  :id,
  :import_definition,
  :last_modified_date,
  :name,
  :segment_type,
  :version)
  include Aws::Structure
end