Class: Aws::Pinpoint::Types::SegmentReference

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

Overview

Note:

When making an API call, you may pass SegmentReference data as a hash:

{
  id: "__string", # required
  version: 1,
}

Specifies the segment identifier and version of a segment.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The unique identifier for the segment.

Returns:

  • (String)


13459
13460
13461
13462
13463
# File 'lib/aws-sdk-pinpoint/types.rb', line 13459

class SegmentReference < Struct.new(
  :id,
  :version)
  include Aws::Structure
end

#versionInteger

The version number of the segment.

Returns:

  • (Integer)


13459
13460
13461
13462
13463
# File 'lib/aws-sdk-pinpoint/types.rb', line 13459

class SegmentReference < Struct.new(
  :id,
  :version)
  include Aws::Structure
end