import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * GetInstanceMetricDataInput shape */ export interface GetInstanceMetricDataInput { /** *
The name of the instance for which you want to get metrics data.
*/ instanceName: string; /** *The metric name to get data about.
*/ metricName: "CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | string; /** *The granularity, in seconds, of the returned data points.
*/ period: number; /** *The start time of the time period.
*/ startTime: Date | string | number; /** *The end time of the time period.
*/ endTime: Date | string | number; /** *The unit. The list of valid values is below.
*/ unit: "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" | string; /** *The instance statistics.
*/ statistics: Array<"Minimum" | "Maximum" | "Sum" | "Average" | "SampleCount" | string> | Iterable<"Minimum" | "Maximum" | "Sum" | "Average" | "SampleCount" | string>; /** * The maximum number of times this operation should be retried. If set, this value will override the `maxRetries` configuration set on the client for this command. */ $maxRetries?: number; /** * An object that may be queried to determine if the underlying operation has been aborted. * * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal */ $abortSignal?: __aws_sdk_types.AbortSignal; /** * Per-request HTTP configuration options. If set, any options specified will override the corresponding HTTP option set on the client for this command. */ $httpOptions?: __HttpOptions__; }