SegmentImportResource class

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.

Constructors

SegmentImportResource({required String externalId, required Format format, required String roleArn, required String s3Url, required int size, Map<String, int>? channelCounts})
SegmentImportResource.fromJson(Map<String, dynamic> json)
factory

Properties

channelCounts Map<String, int>?
The number of channel types in the endpoint definitions that were imported to create the segment.
final
externalId String
(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.
final
format Format
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.
final
hashCode int
The hash code for this object.
no setterinherited
roleArn String
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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
s3Url String
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.
final
size int
The number of endpoint definitions that were imported successfully to create the segment.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited