Class: Aws::LookoutMetrics::Types::MetricSource
- Inherits:
-
Struct
- Object
- Struct
- Aws::LookoutMetrics::Types::MetricSource
- Defined in:
- gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb
Overview
When making an API call, you may pass MetricSource data as a hash:
{
s3_source_config: {
role_arn: "Arn",
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",
flow_name: "FlowName",
},
cloud_watch_config: {
role_arn: "Arn",
},
rds_source_config: {
db_instance_identifier: "RDSDatabaseIdentifier",
database_host: "DatabaseHost",
database_port: 1,
secret_manager_arn: "PoirotSecretManagerArn",
database_name: "RDSDatabaseName",
table_name: "TableName",
role_arn: "Arn",
vpc_configuration: {
subnet_id_list: ["SubnetId"], # required
security_group_id_list: ["SecurityGroupId"], # required
},
},
redshift_source_config: {
cluster_identifier: "RedshiftClusterIdentifier",
database_host: "DatabaseHost",
database_port: 1,
secret_manager_arn: "PoirotSecretManagerArn",
database_name: "RedshiftDatabaseName",
table_name: "TableName",
role_arn: "Arn",
vpc_configuration: {
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
-
#app_flow_config ⇒ Types::AppFlowConfig
An object containing information about the AppFlow configuration.
-
#cloud_watch_config ⇒ Types::CloudWatchConfig
An object containing information about the Amazon CloudWatch monitoring configuration.
-
#rds_source_config ⇒ Types::RDSSourceConfig
An object containing information about the Amazon Relational Database Service (RDS) configuration.
-
#redshift_source_config ⇒ Types::RedshiftSourceConfig
An object containing information about the Amazon Redshift database configuration.
-
#s3_source_config ⇒ Types::S3SourceConfig
Contains information about the configuration of the S3 bucket that contains source files.
Instance Attribute Details
#app_flow_config ⇒ Types::AppFlowConfig
An object containing information about the AppFlow configuration.
2481 2482 2483 2484 2485 2486 2487 2488 2489 |
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2481 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_config ⇒ Types::CloudWatchConfig
An object containing information about the Amazon CloudWatch monitoring configuration.
2481 2482 2483 2484 2485 2486 2487 2488 2489 |
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2481 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_config ⇒ Types::RDSSourceConfig
An object containing information about the Amazon Relational Database Service (RDS) configuration.
2481 2482 2483 2484 2485 2486 2487 2488 2489 |
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2481 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_config ⇒ Types::RedshiftSourceConfig
An object containing information about the Amazon Redshift database configuration.
2481 2482 2483 2484 2485 2486 2487 2488 2489 |
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2481 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_config ⇒ Types::S3SourceConfig
Contains information about the configuration of the S3 bucket that contains source files.
2481 2482 2483 2484 2485 2486 2487 2488 2489 |
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2481 class MetricSource < Struct.new( :s3_source_config, :app_flow_config, :cloud_watch_config, :rds_source_config, :redshift_source_config) SENSITIVE = [] include Aws::Structure end |