Class: Aws::Pinpoint::Types::ImportJobRequest

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

Overview

Note:

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",
}

Instance Attribute Summary collapse

Instance Attribute Details

#define_segmentBoolean

Sets whether the endpoints create a segment when they are imported.

Returns:

  • (Boolean)


3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
# File 'lib/aws-sdk-pinpoint/types.rb', line 3100

class ImportJobRequest < Struct.new(
  :define_segment,
  :external_id,
  :format,
  :register_endpoints,
  :role_arn,
  :s3_url,
  :segment_id,
  :segment_name)
  include Aws::Structure
end

#external_idString

A unique, custom ID assigned to the IAM role that restricts who can assume the role.

Returns:

  • (String)


3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
# File 'lib/aws-sdk-pinpoint/types.rb', line 3100

class ImportJobRequest < Struct.new(
  :define_segment,
  :external_id,
  :format,
  :register_endpoints,
  :role_arn,
  :s3_url,
  :segment_id,
  :segment_name)
  include Aws::Structure
end

#formatString

The format of the files that contain the endpoint definitions. Valid values: CSV, JSON

Returns:

  • (String)


3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
# File 'lib/aws-sdk-pinpoint/types.rb', line 3100

class ImportJobRequest < Struct.new(
  :define_segment,
  :external_id,
  :format,
  :register_endpoints,
  :role_arn,
  :s3_url,
  :segment_id,
  :segment_name)
  include Aws::Structure
end

#register_endpointsBoolean

Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.

Returns:

  • (Boolean)


3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
# File 'lib/aws-sdk-pinpoint/types.rb', line 3100

class ImportJobRequest < Struct.new(
  :define_segment,
  :external_id,
  :format,
  :register_endpoints,
  :role_arn,
  :s3_url,
  :segment_id,
  :segment_name)
  include Aws::Structure
end

#role_arnString

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.

Returns:

  • (String)


3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
# File 'lib/aws-sdk-pinpoint/types.rb', line 3100

class ImportJobRequest < Struct.new(
  :define_segment,
  :external_id,
  :format,
  :register_endpoints,
  :role_arn,
  :s3_url,
  :segment_id,
  :segment_name)
  include Aws::Structure
end

#s3_urlString

A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import. The location can be a folder or a single file. The URL should follow this format: s3://bucket-name/folder-name/file-name Amazon Pinpoint will import endpoints from this location and any subfolders it contains.

Returns:

  • (String)


3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
# File 'lib/aws-sdk-pinpoint/types.rb', line 3100

class ImportJobRequest < Struct.new(
  :define_segment,
  :external_id,
  :format,
  :register_endpoints,
  :role_arn,
  :s3_url,
  :segment_id,
  :segment_name)
  include Aws::Structure
end

#segment_idString

The ID of the segment to update if the import job is meant to update an existing segment.

Returns:

  • (String)


3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
# File 'lib/aws-sdk-pinpoint/types.rb', line 3100

class ImportJobRequest < Struct.new(
  :define_segment,
  :external_id,
  :format,
  :register_endpoints,
  :role_arn,
  :s3_url,
  :segment_id,
  :segment_name)
  include Aws::Structure
end

#segment_nameString

A custom name for the segment created by the import job. Use if DefineSegment is true.

Returns:

  • (String)


3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
# File 'lib/aws-sdk-pinpoint/types.rb', line 3100

class ImportJobRequest < Struct.new(
  :define_segment,
  :external_id,
  :format,
  :register_endpoints,
  :role_arn,
  :s3_url,
  :segment_id,
  :segment_name)
  include Aws::Structure
end