ImportJobResource
¶
Source code in docs_src/capo_pinpoint/types/import_job_resource.py
define_segment
instance-attribute
¶
define_segment: NotRequired[__boolean]
Specifies whether the import job creates a segment that contains the endpoints, when the endpoint definitions are imported.
external_id
instance-attribute
¶
external_id: NotRequired[__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.
format
instance-attribute
¶
format: NotRequired[Format]
The format of the files that contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.
If the files are stored in an Amazon S3 location and that location contains multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.
register_endpoints
instance-attribute
¶
register_endpoints: NotRequired[__boolean]
Specifies whether the import job registers the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.
role_arn
instance-attribute
¶
role_arn: NotRequired[__string]
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.
s3_url
instance-attribute
¶
s3_url: NotRequired[__string]
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains the endpoint definitions to import. This location can be a folder or a single file. If the location is a folder, Amazon Pinpoint imports endpoint definitions from the files in this location, including any subfolders that the folder contains.
The URL should be in the following format: s3://