From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Paws::LookoutMetrics::UpdateMetricSet - Arguments for method UpdateMetricSet on Paws::LookoutMetrics

DESCRIPTION

This class represents the parameters used for calling the method UpdateMetricSet on the Amazon Lookout for Metrics service. Use the attributes of this class as arguments to method UpdateMetricSet.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMetricSet.

SYNOPSIS

my $lookoutmetrics = Paws->service('LookoutMetrics');
my $UpdateMetricSetResponse = $lookoutmetrics->UpdateMetricSet(
MetricSetArn => 'MyArn',
DimensionList => [
'MyColumnName', ... # min: 1, max: 63
], # OPTIONAL
MetricList => [
{
AggregationFunction => 'AVG', # values: AVG, SUM
MetricName => 'MyColumnName', # min: 1, max: 63
Namespace => 'MyNamespace', # min: 1, max: 255; OPTIONAL
},
...
], # OPTIONAL
MetricSetDescription => 'MyMetricSetDescription', # OPTIONAL
MetricSetFrequency => 'P1D', # OPTIONAL
MetricSource => {
AppFlowConfig => {
FlowName => 'MyFlowName', # max: 256
RoleArn => 'MyArn', # max: 256
}, # OPTIONAL
CloudWatchConfig => {
RoleArn => 'MyArn', # max: 256
}, # OPTIONAL
RDSSourceConfig => {
DBInstanceIdentifier => 'MyRDSDatabaseIdentifier', # min: 1, max: 63
DatabaseHost => 'MyDatabaseHost', # min: 1, max: 253
DatabaseName => 'MyRDSDatabaseName', # min: 1, max: 64
DatabasePort => 1, # min: 1, max: 65535
RoleArn => 'MyArn', # max: 256
SecretManagerArn => 'MyPoirotSecretManagerArn', # max: 256
TableName => 'MyTableName', # min: 1, max: 100
VpcConfiguration => {
SecurityGroupIdList => [
'MySecurityGroupId', ... # min: 1, max: 255
],
SubnetIdList => [
'MySubnetId', ... # max: 255
],
},
}, # OPTIONAL
RedshiftSourceConfig => {
ClusterIdentifier => 'MyRedshiftClusterIdentifier', # min: 1, max: 63
DatabaseHost => 'MyDatabaseHost', # min: 1, max: 253
DatabaseName => 'MyRedshiftDatabaseName', # min: 1, max: 100
DatabasePort => 1, # min: 1, max: 65535
RoleArn => 'MyArn', # max: 256
SecretManagerArn => 'MyPoirotSecretManagerArn', # max: 256
TableName => 'MyTableName', # min: 1, max: 100
VpcConfiguration => {
SecurityGroupIdList => [
'MySecurityGroupId', ... # min: 1, max: 255
],
SubnetIdList => [
'MySubnetId', ... # max: 255
],
},
}, # OPTIONAL
S3SourceConfig => {
RoleArn => 'MyArn', # max: 256
FileFormatDescriptor => {
CsvFormatDescriptor => {
Charset => 'MyCharset', # max: 63; OPTIONAL
ContainsHeader => 1, # OPTIONAL
Delimiter => 'MyDelimiter', # max: 1; OPTIONAL
FileCompression => 'NONE', # values: NONE, GZIP; OPTIONAL
HeaderList => [
'MyColumnName', ... # min: 1, max: 63
], # OPTIONAL
QuoteSymbol => 'MyQuoteSymbol', # max: 1; OPTIONAL
}, # OPTIONAL
JsonFormatDescriptor => {
Charset => 'MyCharset', # max: 63; OPTIONAL
FileCompression => 'NONE', # values: NONE, GZIP; OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
HistoricalDataPathList => [
'MyHistoricalDataPath', ... # max: 1024
], # min: 1, max: 1; OPTIONAL
TemplatedPathList => [
'MyTemplatedPath', ... # max: 1024
], # min: 1, max: 1; OPTIONAL
}, # OPTIONAL
}, # OPTIONAL
Offset => 1, # OPTIONAL
TimestampColumn => {
ColumnFormat => 'MyDateTimeFormat', # max: 63; OPTIONAL
ColumnName => 'MyColumnName', # min: 1, max: 63
}, # OPTIONAL
);
# Results:
my $MetricSetArn = $UpdateMetricSetResponse->MetricSetArn;
# Returns a L<Paws::LookoutMetrics::UpdateMetricSetResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics/UpdateMetricSet

ATTRIBUTES

DimensionList => ArrayRef[Str|Undef]

The dimension list.

MetricList => ArrayRef[Paws::LookoutMetrics::Metric]

The metric list.

REQUIRED MetricSetArn => Str

The ARN of the dataset to update.

MetricSetDescription => Str

The dataset's description.

MetricSetFrequency => Str

The dataset's interval.

Valid values are: "P1D", "PT1H", "PT10M", "PT5M"

MetricSource => Paws::LookoutMetrics::MetricSource

Offset => Int

After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3 and Redshift datasources.

TimestampColumn => Paws::LookoutMetrics::TimestampColumn

The timestamp column.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateMetricSet in Paws::LookoutMetrics

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues