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

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

Overview

Specifies the settings for a job that imports endpoint definitions from an Amazon Simple Storage Service (Amazon S3) bucket.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#define_segmentBoolean

Specifies whether to create a segment that contains the endpoints, when the endpoint definitions are imported.

Returns:

  • (Boolean)


7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
# File 'lib/aws-sdk-pinpoint/types.rb', line 7632

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

#external_idString

(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.

Returns:

  • (String)


7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
# File 'lib/aws-sdk-pinpoint/types.rb', line 7632

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

#formatString

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 Amazon S3 location stores multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.

Returns:

  • (String)


7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
# File 'lib/aws-sdk-pinpoint/types.rb', line 7632

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

#register_endpointsBoolean

Specifies whether to register the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.

Returns:

  • (Boolean)


7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
# File 'lib/aws-sdk-pinpoint/types.rb', line 7632

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

#role_arnString

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.

Returns:

  • (String)


7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
# File 'lib/aws-sdk-pinpoint/types.rb', line 7632

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

#s3_urlString

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://bucket-name/folder-name/file-name. The location can end with the key for an individual object or a prefix that qualifies multiple objects.

Returns:

  • (String)


7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
# File 'lib/aws-sdk-pinpoint/types.rb', line 7632

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

#segment_idString

The identifier for the segment to update or add the imported endpoint definitions to, if the import job is meant to update an existing segment.

Returns:

  • (String)


7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
# File 'lib/aws-sdk-pinpoint/types.rb', line 7632

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

#segment_nameString

A custom name for the segment that’s created by the import job, if the value of the DefineSegment property is true.

Returns:

  • (String)


7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
# File 'lib/aws-sdk-pinpoint/types.rb', line 7632

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