import { ActionGroup, AgentParameterField, AggregationPeriod, ComputePlatform, EventPublisher, FeedbackType, MetadataField, MetricType, OrderBy, } from "./enums"; export interface Channel { id?: string | undefined; uri: string | undefined; eventPublishers: EventPublisher[] | undefined; } export interface AddNotificationChannelsRequest { profilingGroupName: string | undefined; channels: Channel[] | undefined; } export interface NotificationConfiguration { channels?: Channel[] | undefined; } export interface AddNotificationChannelsResponse { notificationConfiguration?: NotificationConfiguration | undefined; } export interface AgentConfiguration { shouldProfile: boolean | undefined; periodInSeconds: number | undefined; agentParameters?: Partial> | undefined; } export interface AgentOrchestrationConfig { profilingEnabled: boolean | undefined; } export interface AggregatedProfileTime { start?: Date | undefined; period?: AggregationPeriod | undefined; } export interface UserFeedback { type: FeedbackType | undefined; } export interface AnomalyInstance { id: string | undefined; startTime: Date | undefined; endTime?: Date | undefined; userFeedback?: UserFeedback | undefined; } export interface Metric { frameName: string | undefined; type: MetricType | undefined; threadStates: string[] | undefined; } export interface Anomaly { metric: Metric | undefined; reason: string | undefined; instances: AnomalyInstance[] | undefined; } export interface FrameMetric { frameName: string | undefined; type: MetricType | undefined; threadStates: string[] | undefined; } export interface BatchGetFrameMetricDataRequest { profilingGroupName: string | undefined; startTime?: Date | undefined; endTime?: Date | undefined; period?: string | undefined; targetResolution?: AggregationPeriod | undefined; frameMetrics?: FrameMetric[] | undefined; } export interface TimestampStructure { value: Date | undefined; } export interface FrameMetricDatum { frameMetric: FrameMetric | undefined; values: number[] | undefined; } export interface BatchGetFrameMetricDataResponse { startTime: Date | undefined; endTime: Date | undefined; resolution: AggregationPeriod | undefined; endTimes: TimestampStructure[] | undefined; unprocessedEndTimes: Record | undefined; frameMetricData: FrameMetricDatum[] | undefined; } export interface GetFindingsReportAccountSummaryRequest { nextToken?: string | undefined; maxResults?: number | undefined; dailyReportsOnly?: boolean | undefined; } export interface FindingsReportSummary { id?: string | undefined; profilingGroupName?: string | undefined; profileStartTime?: Date | undefined; profileEndTime?: Date | undefined; totalNumberOfFindings?: number | undefined; } export interface GetFindingsReportAccountSummaryResponse { reportSummaries: FindingsReportSummary[] | undefined; nextToken?: string | undefined; } export interface ListTagsForResourceRequest { resourceArn: string | undefined; } export interface ListTagsForResourceResponse { tags?: Record | undefined; } export interface ConfigureAgentRequest { profilingGroupName: string | undefined; fleetInstanceId?: string | undefined; metadata?: Partial> | undefined; } export interface ConfigureAgentResponse { configuration: AgentConfiguration | undefined; } export interface CreateProfilingGroupRequest { profilingGroupName: string | undefined; computePlatform?: ComputePlatform | undefined; clientToken?: string | undefined; agentOrchestrationConfig?: AgentOrchestrationConfig | undefined; tags?: Record | undefined; } export interface ProfilingStatus { latestAgentProfileReportedAt?: Date | undefined; latestAggregatedProfile?: AggregatedProfileTime | undefined; latestAgentOrchestratedAt?: Date | undefined; } export interface ProfilingGroupDescription { name?: string | undefined; agentOrchestrationConfig?: AgentOrchestrationConfig | undefined; arn?: string | undefined; createdAt?: Date | undefined; updatedAt?: Date | undefined; profilingStatus?: ProfilingStatus | undefined; computePlatform?: ComputePlatform | undefined; tags?: Record | undefined; } export interface CreateProfilingGroupResponse { profilingGroup: ProfilingGroupDescription | undefined; } export interface DeleteProfilingGroupRequest { profilingGroupName: string | undefined; } export interface DeleteProfilingGroupResponse {} export interface DescribeProfilingGroupRequest { profilingGroupName: string | undefined; } export interface DescribeProfilingGroupResponse { profilingGroup: ProfilingGroupDescription | undefined; } export interface GetNotificationConfigurationRequest { profilingGroupName: string | undefined; } export interface GetNotificationConfigurationResponse { notificationConfiguration: NotificationConfiguration | undefined; } export interface GetPolicyRequest { profilingGroupName: string | undefined; } export interface GetPolicyResponse { policy: string | undefined; revisionId: string | undefined; } export interface GetProfileRequest { profilingGroupName: string | undefined; startTime?: Date | undefined; period?: string | undefined; endTime?: Date | undefined; maxDepth?: number | undefined; accept?: string | undefined; } export interface GetProfileResponse { profile: Uint8Array | undefined; contentType: string | undefined; contentEncoding?: string | undefined; } export interface GetRecommendationsRequest { profilingGroupName: string | undefined; startTime: Date | undefined; endTime: Date | undefined; locale?: string | undefined; } export interface Pattern { id?: string | undefined; name?: string | undefined; description?: string | undefined; resolutionSteps?: string | undefined; targetFrames?: string[][] | undefined; thresholdPercent?: number | undefined; countersToAggregate?: string[] | undefined; } export interface Match { targetFramesIndex?: number | undefined; frameAddress?: string | undefined; thresholdBreachValue?: number | undefined; } export interface Recommendation { allMatchesCount: number | undefined; allMatchesSum: number | undefined; pattern: Pattern | undefined; topMatches: Match[] | undefined; startTime: Date | undefined; endTime: Date | undefined; } export interface GetRecommendationsResponse { profilingGroupName: string | undefined; profileStartTime: Date | undefined; profileEndTime: Date | undefined; recommendations: Recommendation[] | undefined; anomalies: Anomaly[] | undefined; } export interface ListFindingsReportsRequest { profilingGroupName: string | undefined; startTime: Date | undefined; endTime: Date | undefined; nextToken?: string | undefined; maxResults?: number | undefined; dailyReportsOnly?: boolean | undefined; } export interface ListFindingsReportsResponse { findingsReportSummaries: FindingsReportSummary[] | undefined; nextToken?: string | undefined; } export interface ListProfileTimesRequest { profilingGroupName: string | undefined; startTime: Date | undefined; endTime: Date | undefined; period: AggregationPeriod | undefined; orderBy?: OrderBy | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface ProfileTime { start?: Date | undefined; } export interface ListProfileTimesResponse { profileTimes: ProfileTime[] | undefined; nextToken?: string | undefined; } export interface ListProfilingGroupsRequest { nextToken?: string | undefined; maxResults?: number | undefined; includeDescription?: boolean | undefined; } export interface ListProfilingGroupsResponse { profilingGroupNames: string[] | undefined; profilingGroups?: ProfilingGroupDescription[] | undefined; nextToken?: string | undefined; } export interface PostAgentProfileRequest { profilingGroupName: string | undefined; agentProfile: Uint8Array | undefined; profileToken?: string | undefined; contentType: string | undefined; } export interface PostAgentProfileResponse {} export interface PutPermissionRequest { profilingGroupName: string | undefined; actionGroup: ActionGroup | undefined; principals: string[] | undefined; revisionId?: string | undefined; } export interface PutPermissionResponse { policy: string | undefined; revisionId: string | undefined; } export interface RemoveNotificationChannelRequest { profilingGroupName: string | undefined; channelId: string | undefined; } export interface RemoveNotificationChannelResponse { notificationConfiguration?: NotificationConfiguration | undefined; } export interface RemovePermissionRequest { profilingGroupName: string | undefined; actionGroup: ActionGroup | undefined; revisionId: string | undefined; } export interface RemovePermissionResponse { policy: string | undefined; revisionId: string | undefined; } export interface SubmitFeedbackRequest { profilingGroupName: string | undefined; anomalyInstanceId: string | undefined; type: FeedbackType | undefined; comment?: string | undefined; } export interface SubmitFeedbackResponse {} export interface UpdateProfilingGroupRequest { profilingGroupName: string | undefined; agentOrchestrationConfig: AgentOrchestrationConfig | undefined; } export interface UpdateProfilingGroupResponse { profilingGroup: ProfilingGroupDescription | undefined; } export interface TagResourceRequest { resourceArn: string | undefined; tags: Record | undefined; } export interface TagResourceResponse {} export interface UntagResourceRequest { resourceArn: string | undefined; tagKeys: string[] | undefined; } export interface UntagResourceResponse {}