Class: Aws::Pinpoint::Types::SegmentImportResource

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

Overview

Provides information about the import job that created a segment. An import job is a job that creates a user segment by importing endpoint definitions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#channel_countsHash<String,Integer>

The number of channel types in the endpoint definitions that were imported to create the segment.

Returns:

  • (Hash<String,Integer>)


11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
# File 'lib/aws-sdk-pinpoint/types.rb', line 11253

class SegmentImportResource < Struct.new(
  :channel_counts,
  :external_id,
  :format,
  :role_arn,
  :s3_url,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#external_idString

(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don’t recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.

Returns:

  • (String)


11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
# File 'lib/aws-sdk-pinpoint/types.rb', line 11253

class SegmentImportResource < Struct.new(
  :channel_counts,
  :external_id,
  :format,
  :role_arn,
  :s3_url,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.

Returns:

  • (String)


11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
# File 'lib/aws-sdk-pinpoint/types.rb', line 11253

class SegmentImportResource < Struct.new(
  :channel_counts,
  :external_id,
  :format,
  :role_arn,
  :s3_url,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.

Returns:

  • (String)


11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
# File 'lib/aws-sdk-pinpoint/types.rb', line 11253

class SegmentImportResource < Struct.new(
  :channel_counts,
  :external_id,
  :format,
  :role_arn,
  :s3_url,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#s3_urlString

The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.

Returns:

  • (String)


11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
# File 'lib/aws-sdk-pinpoint/types.rb', line 11253

class SegmentImportResource < Struct.new(
  :channel_counts,
  :external_id,
  :format,
  :role_arn,
  :s3_url,
  :size)
  SENSITIVE = []
  include Aws::Structure
end

#sizeInteger

The number of endpoint definitions that were imported successfully to create the segment.

Returns:

  • (Integer)


11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
# File 'lib/aws-sdk-pinpoint/types.rb', line 11253

class SegmentImportResource < Struct.new(
  :channel_counts,
  :external_id,
  :format,
  :role_arn,
  :s3_url,
  :size)
  SENSITIVE = []
  include Aws::Structure
end