Class: Aws::Pinpoint::Types::ImportJobRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::ImportJobRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
Overview
When making an API call, you may pass ImportJobRequest data as a hash:
{
define_segment: false,
external_id: "__string",
format: "CSV", # accepts CSV, JSON
register_endpoints: false,
role_arn: "__string",
s3_url: "__string",
segment_id: "__string",
segment_name: "__string",
}
Import job request.
Instance Attribute Summary collapse
-
#define_segment ⇒ Boolean
Sets whether the endpoints create a segment when they are imported.
-
#external_id ⇒ String
(Deprecated) Your AWS account ID, which you assigned to the ExternalID key in an IAM trust policy.
-
#format ⇒ String
The format of the files that contain the endpoint definitions.
-
#register_endpoints ⇒ Boolean
Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.
-
#role_arn ⇒ String
The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import.
-
#s3_url ⇒ String
The URL of the S3 bucket that contains the segment information to import.
-
#segment_id ⇒ String
The ID of the segment to update if the import job is meant to update an existing segment.
-
#segment_name ⇒ String
A custom name for the segment created by the import job.
Instance Attribute Details
#define_segment ⇒ Boolean
Sets whether the endpoints create a segment when they are imported.
6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6144 class ImportJobRequest < Struct.new( :define_segment, :external_id, :format, :register_endpoints, :role_arn, :s3_url, :segment_id, :segment_name) include Aws::Structure end |
#external_id ⇒ String
(Deprecated) Your AWS account ID, which you assigned to the ExternalID key in an IAM trust policy. Used by Amazon Pinpoint to assume an IAM role. This requirement is removed, and external IDs are not recommended for IAM roles assumed by Amazon Pinpoint.
6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6144 class ImportJobRequest < Struct.new( :define_segment, :external_id, :format, :register_endpoints, :role_arn, :s3_url, :segment_id, :segment_name) include Aws::Structure end |
#format ⇒ String
The format of the files that contain the endpoint definitions. Valid values: CSV, JSON
6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6144 class ImportJobRequest < Struct.new( :define_segment, :external_id, :format, :register_endpoints, :role_arn, :s3_url, :segment_id, :segment_name) include Aws::Structure end |
#register_endpoints ⇒ Boolean
Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.
6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6144 class ImportJobRequest < Struct.new( :define_segment, :external_id, :format, :register_endpoints, :role_arn, :s3_url, :segment_id, :segment_name) include Aws::Structure end |
#role_arn ⇒ String
The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that contains the endpoints to import.
6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6144 class ImportJobRequest < Struct.new( :define_segment, :external_id, :format, :register_endpoints, :role_arn, :s3_url, :segment_id, :segment_name) include Aws::Structure end |
#s3_url ⇒ String
The URL of the S3 bucket that contains the segment information to import. The location can be a folder or a single file. The URL should use the following format: s3://bucket-name/folder-name/file-name Amazon Pinpoint imports endpoints from this location and any subfolders it contains.
6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6144 class ImportJobRequest < Struct.new( :define_segment, :external_id, :format, :register_endpoints, :role_arn, :s3_url, :segment_id, :segment_name) include Aws::Structure end |
#segment_id ⇒ String
The ID of the segment to update if the import job is meant to update an existing segment.
6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6144 class ImportJobRequest < Struct.new( :define_segment, :external_id, :format, :register_endpoints, :role_arn, :s3_url, :segment_id, :segment_name) include Aws::Structure end |
#segment_name ⇒ String
A custom name for the segment created by the import job. Use if DefineSegment is true.
6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6144 class ImportJobRequest < Struct.new( :define_segment, :external_id, :format, :register_endpoints, :role_arn, :s3_url, :segment_id, :segment_name) include Aws::Structure end |