Class: Aws::LookoutMetrics::Types::MetricSource

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 MetricSource data as a hash:

{
  s3_source_config: {
    role_arn: "Arn", # required
    templated_path_list: ["TemplatedPath"],
    historical_data_path_list: ["HistoricalDataPath"],
    file_format_descriptor: {
      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",
      },
    },
  },
  app_flow_config: {
    role_arn: "Arn", # required
    flow_name: "FlowName", # required
  },
  cloud_watch_config: {
    role_arn: "Arn", # required
  },
  rds_source_config: {
    db_instance_identifier: "RDSDatabaseIdentifier", # required
    database_host: "DatabaseHost", # required
    database_port: 1, # required
    secret_manager_arn: "PoirotSecretManagerArn", # required
    database_name: "RDSDatabaseName", # required
    table_name: "TableName", # required
    role_arn: "Arn", # required
    vpc_configuration: { # required
      subnet_id_list: ["SubnetId"], # required
      security_group_id_list: ["SecurityGroupId"], # required
    },
  },
  redshift_source_config: {
    cluster_identifier: "RedshiftClusterIdentifier", # required
    database_host: "DatabaseHost", # required
    database_port: 1, # required
    secret_manager_arn: "PoirotSecretManagerArn", # required
    database_name: "RedshiftDatabaseName", # required
    table_name: "TableName", # required
    role_arn: "Arn", # required
    vpc_configuration: { # required
      subnet_id_list: ["SubnetId"], # required
      security_group_id_list: ["SecurityGroupId"], # required
    },
  },
}

Contains information about source data used to generate a metric.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_flow_configTypes::AppFlowConfig

An object containing information about the AppFlow configuration.



2069
2070
2071
2072
2073
2074
2075
2076
2077
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2069

class MetricSource < Struct.new(
  :s3_source_config,
  :app_flow_config,
  :cloud_watch_config,
  :rds_source_config,
  :redshift_source_config)
  SENSITIVE = []
  include Aws::Structure
end

#cloud_watch_configTypes::CloudWatchConfig

An object containing information about the Amazon CloudWatch monitoring configuration.



2069
2070
2071
2072
2073
2074
2075
2076
2077
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2069

class MetricSource < Struct.new(
  :s3_source_config,
  :app_flow_config,
  :cloud_watch_config,
  :rds_source_config,
  :redshift_source_config)
  SENSITIVE = []
  include Aws::Structure
end

#rds_source_configTypes::RDSSourceConfig

An object containing information about the Amazon Relational Database Service (RDS) configuration.



2069
2070
2071
2072
2073
2074
2075
2076
2077
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2069

class MetricSource < Struct.new(
  :s3_source_config,
  :app_flow_config,
  :cloud_watch_config,
  :rds_source_config,
  :redshift_source_config)
  SENSITIVE = []
  include Aws::Structure
end

#redshift_source_configTypes::RedshiftSourceConfig

An object containing information about the Amazon Redshift database configuration.



2069
2070
2071
2072
2073
2074
2075
2076
2077
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2069

class MetricSource < Struct.new(
  :s3_source_config,
  :app_flow_config,
  :cloud_watch_config,
  :rds_source_config,
  :redshift_source_config)
  SENSITIVE = []
  include Aws::Structure
end

#s3_source_configTypes::S3SourceConfig

Contains information about the configuration of the S3 bucket that contains source files.



2069
2070
2071
2072
2073
2074
2075
2076
2077
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2069

class MetricSource < Struct.new(
  :s3_source_config,
  :app_flow_config,
  :cloud_watch_config,
  :rds_source_config,
  :redshift_source_config)
  SENSITIVE = []
  include Aws::Structure
end