Class: Aws::LookoutMetrics::Types::SampleDataS3SourceConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb

Overview

Note:

When making an API call, you may pass SampleDataS3SourceConfig data as a hash:

{
  role_arn: "Arn", # required
  templated_path_list: ["TemplatedPath"],
  historical_data_path_list: ["HistoricalDataPath"],
  file_format_descriptor: { # required
    csv_format_descriptor: {
      file_compression: "NONE", # accepts NONE, GZIP
      charset: "Charset",
      contains_header: false,
      delimiter: "Delimiter",
      header_list: ["ColumnName"],
      quote_symbol: "QuoteSymbol",
    },
    json_format_descriptor: {
      file_compression: "NONE", # accepts NONE, GZIP
      charset: "Charset",
    },
  },
}

Contains information about the source configuration in Amazon S3.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#file_format_descriptorTypes::FileFormatDescriptor

Contains information about a source file's formatting.



2397
2398
2399
2400
2401
2402
2403
2404
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2397

class SampleDataS3SourceConfig < Struct.new(
  :role_arn,
  :templated_path_list,
  :historical_data_path_list,
  :file_format_descriptor)
  SENSITIVE = []
  include Aws::Structure
end

#historical_data_path_listArray<String>

An array of strings containing the historical set of data paths.

Returns:

  • (Array<String>)


2397
2398
2399
2400
2401
2402
2403
2404
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2397

class SampleDataS3SourceConfig < Struct.new(
  :role_arn,
  :templated_path_list,
  :historical_data_path_list,
  :file_format_descriptor)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the role.

Returns:

  • (String)


2397
2398
2399
2400
2401
2402
2403
2404
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2397

class SampleDataS3SourceConfig < Struct.new(
  :role_arn,
  :templated_path_list,
  :historical_data_path_list,
  :file_format_descriptor)
  SENSITIVE = []
  include Aws::Structure
end

#templated_path_listArray<String>

An array of strings containing the list of templated paths.

Returns:

  • (Array<String>)


2397
2398
2399
2400
2401
2402
2403
2404
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2397

class SampleDataS3SourceConfig < Struct.new(
  :role_arn,
  :templated_path_list,
  :historical_data_path_list,
  :file_format_descriptor)
  SENSITIVE = []
  include Aws::Structure
end