Paws::Lightsail::GetRelationalDatabaseMetricData - Arguments for method GetRelationalDatabaseMetricData on Paws::Lightsail
This class represents the parameters used for calling the method GetRelationalDatabaseMetricData on the Amazon Lightsail service. Use the attributes of this class as arguments to method GetRelationalDatabaseMetricData.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetRelationalDatabaseMetricData.
my $lightsail = Paws->service('Lightsail'); my $GetRelationalDatabaseMetricDataResult = $lightsail->GetRelationalDatabaseMetricData( EndTime => '1970-01-01T01:00:00', MetricName => 'CPUUtilization', Period => 1, RelationalDatabaseName => 'MyResourceName', StartTime => '1970-01-01T01:00:00', Statistics => [ 'Minimum', ... # values: Minimum, Maximum, Sum, Average, SampleCount ], Unit => 'Seconds', ); # Results: my $MetricData = $GetRelationalDatabaseMetricDataResult->MetricData; my $MetricName = $GetRelationalDatabaseMetricDataResult->MetricName; # Returns a L<Paws::Lightsail::GetRelationalDatabaseMetricDataResult> 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/lightsail/GetRelationalDatabaseMetricData
The end of the time interval from which to get metric data.
Constraints:
Specified in Universal Coordinated Time (UTC).
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the end time.
1538424000
The name of the metric data to return.
Valid values are: "CPUUtilization", "DatabaseConnections", "DiskQueueDepth", "FreeStorageSpace", "NetworkReceiveThroughput", "NetworkTransmitThroughput"
"CPUUtilization"
"DatabaseConnections"
"DiskQueueDepth"
"FreeStorageSpace"
"NetworkReceiveThroughput"
"NetworkTransmitThroughput"
The granularity, in seconds, of the returned data points.
The name of your database from which to get metric data.
The start of the time interval from which to get metric data.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as the start time.
The array of statistics for your metric data request.
The unit for the metric data request.
Valid values are: "Seconds", "Microseconds", "Milliseconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
"Seconds"
"Microseconds"
"Milliseconds"
"Bytes"
"Kilobytes"
"Megabytes"
"Gigabytes"
"Terabytes"
"Bits"
"Kilobits"
"Megabits"
"Gigabits"
"Terabits"
"Percent"
"Count"
"Bytes/Second"
"Kilobytes/Second"
"Megabytes/Second"
"Gigabytes/Second"
"Terabytes/Second"
"Bits/Second"
"Kilobits/Second"
"Megabits/Second"
"Gigabits/Second"
"Terabits/Second"
"Count/Second"
"None"
This class forms part of Paws, documenting arguments for method GetRelationalDatabaseMetricData in Paws::Lightsail
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.