AWSPinpointTargetingSegmentImportResource
Objective-C
@interface AWSPinpointTargetingSegmentImportResource
Swift
class AWSPinpointTargetingSegmentImportResource
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.
Required parameters: [Format, S3Url, Size, ExternalId, RoleArn]
-
The number of channel types in the endpoint definitions that were imported to create the segment.
Declaration
Objective-C
@property (nonatomic, strong) NSDictionary<NSString *, NSNumber *> *_Nullable channelCounts;
Swift
var channelCounts: [String : NSNumber]? { get set }
-
(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.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable externalId;
Swift
var externalId: String? { get set }
-
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.
Declaration
Objective-C
@property (nonatomic) AWSPinpointTargetingFormat format;
Swift
var format: AWSPinpointTargetingFormat { get set }
-
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.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable roleArn;
Swift
var roleArn: String? { get set }
-
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable s3Url;
Swift
var s3Url: String? { get set }
-
The number of endpoint definitions that were imported successfully to create the segment.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable size;
Swift
var size: NSNumber? { get set }