/** * @public * @enum */ export declare const ActionGroup: { /** * Permission group type for Agent APIs - ConfigureAgent, PostAgentProfile */ readonly AGENT_PERMISSIONS: "agentPermissions"; }; /** * @public */ export type ActionGroup = (typeof ActionGroup)[keyof typeof ActionGroup]; /** * @public * @enum */ export declare const EventPublisher: { /** * Notifications for Anomaly Detection */ readonly ANOMALY_DETECTION: "AnomalyDetection"; }; /** * @public */ export type EventPublisher = (typeof EventPublisher)[keyof typeof EventPublisher]; /** * @public * @enum */ export declare const AgentParameterField: { /** * Maximum stack depth to be captured by the CodeGuru Profiler. */ readonly MAX_STACK_DEPTH: "MaxStackDepth"; /** * Percentage of memory to be used by CodeGuru profiler. Minimum of 30MB is required for the agent. */ readonly MEMORY_USAGE_LIMIT_PERCENT: "MemoryUsageLimitPercent"; /** * Minimum time in milliseconds between sending reports. */ readonly MINIMUM_TIME_FOR_REPORTING_IN_MILLISECONDS: "MinimumTimeForReportingInMilliseconds"; /** * Reporting interval in milliseconds used to report profiles. */ readonly REPORTING_INTERVAL_IN_MILLISECONDS: "ReportingIntervalInMilliseconds"; /** * Sampling interval in milliseconds used to sample profiles. */ readonly SAMPLING_INTERVAL_IN_MILLISECONDS: "SamplingIntervalInMilliseconds"; }; /** * @public */ export type AgentParameterField = (typeof AgentParameterField)[keyof typeof AgentParameterField]; /** * @public * @enum */ export declare const AggregationPeriod: { /** * Period of one day. */ readonly P1D: "P1D"; /** * Period of one hour. */ readonly PT1H: "PT1H"; /** * Period of five minutes. */ readonly PT5M: "PT5M"; }; /** * @public */ export type AggregationPeriod = (typeof AggregationPeriod)[keyof typeof AggregationPeriod]; /** * @public * @enum */ export declare const FeedbackType: { /** * Profiler recommendation flagged as not useful. */ readonly Negative: "Negative"; /** * Profiler recommendation flagged as useful. */ readonly Positive: "Positive"; }; /** * @public */ export type FeedbackType = (typeof FeedbackType)[keyof typeof FeedbackType]; /** * @public * @enum */ export declare const MetricType: { /** * Metric value aggregated for all instances of a frame name in a profile relative to the root frame. */ readonly AggregatedRelativeTotalTime: "AggregatedRelativeTotalTime"; }; /** * @public */ export type MetricType = (typeof MetricType)[keyof typeof MetricType]; /** * @public * @enum */ export declare const MetadataField: { /** * Unique identifier for the agent instance. */ readonly AGENT_ID: "AgentId"; /** * AWS requestId of the Lambda invocation. */ readonly AWS_REQUEST_ID: "AwsRequestId"; /** * Compute platform on which agent is running. */ readonly COMPUTE_PLATFORM: "ComputePlatform"; /** * Execution environment on which Lambda function is running. */ readonly EXECUTION_ENVIRONMENT: "ExecutionEnvironment"; /** * Function ARN that's used to invoke the Lambda function. */ readonly LAMBDA_FUNCTION_ARN: "LambdaFunctionArn"; /** * Memory allocated for the Lambda function. */ readonly LAMBDA_MEMORY_LIMIT_IN_MB: "LambdaMemoryLimitInMB"; /** * Time in milliseconds for the previous Lambda invocation. */ readonly LAMBDA_PREVIOUS_EXECUTION_TIME_IN_MILLISECONDS: "LambdaPreviousExecutionTimeInMilliseconds"; /** * Time in milliseconds left before the execution times out. */ readonly LAMBDA_REMAINING_TIME_IN_MILLISECONDS: "LambdaRemainingTimeInMilliseconds"; /** * Time in milliseconds between two invocations of the Lambda function. */ readonly LAMBDA_TIME_GAP_BETWEEN_INVOKES_IN_MILLISECONDS: "LambdaTimeGapBetweenInvokesInMilliseconds"; }; /** * @public */ export type MetadataField = (typeof MetadataField)[keyof typeof MetadataField]; /** * @public * @enum */ export declare const ComputePlatform: { /** * Compute platform meant to used for AWS Lambda. */ readonly AWSLAMBDA: "AWSLambda"; /** * Compute platform meant to used for all usecases (like EC2, Fargate, physical servers etc.) but AWS Lambda. */ readonly DEFAULT: "Default"; }; /** * @public */ export type ComputePlatform = (typeof ComputePlatform)[keyof typeof ComputePlatform]; /** * @public * @enum */ export declare const OrderBy: { /** * Order by timestamp in ascending order. */ readonly TIMESTAMP_ASCENDING: "TimestampAscending"; /** * Order by timestamp in descending order. */ readonly TIMESTAMP_DESCENDING: "TimestampDescending"; }; /** * @public */ export type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];