import { AgentStatus, BatchDeleteConfigurationTaskStatus, BatchDeleteImportDataErrorCode, ConfigurationItemType, ContinuousExportStatus, DataSource, DeleteAgentErrorCode, DeletionConfigurationItemType, ExportDataFormat, ExportStatus, FileClassification, ImportStatus, ImportTaskFilterName, OfferingClass, OrderString, PurchasingOption, Tenancy, TermLength, } from "./enums"; export interface AgentConfigurationStatus { agentId?: string | undefined; operationSucceeded?: boolean | undefined; description?: string | undefined; } export interface AgentNetworkInfo { ipAddress?: string | undefined; macAddress?: string | undefined; } export interface AgentInfo { agentId?: string | undefined; hostName?: string | undefined; agentNetworkInfoList?: AgentNetworkInfo[] | undefined; connectorId?: string | undefined; version?: string | undefined; health?: AgentStatus | undefined; lastHealthPingTime?: string | undefined; collectionStatus?: string | undefined; agentType?: string | undefined; registeredTime?: string | undefined; } export interface AssociateConfigurationItemsToApplicationRequest { applicationConfigurationId: string | undefined; configurationIds: string[] | undefined; } export interface AssociateConfigurationItemsToApplicationResponse {} export interface DeleteAgent { agentId: string | undefined; force?: boolean | undefined; } export interface BatchDeleteAgentsRequest { deleteAgents: DeleteAgent[] | undefined; } export interface BatchDeleteAgentError { agentId: string | undefined; errorMessage: string | undefined; errorCode: DeleteAgentErrorCode | undefined; } export interface BatchDeleteAgentsResponse { errors?: BatchDeleteAgentError[] | undefined; } export interface BatchDeleteImportDataRequest { importTaskIds: string[] | undefined; deleteHistory?: boolean | undefined; } export interface BatchDeleteImportDataError { importTaskId?: string | undefined; errorCode?: BatchDeleteImportDataErrorCode | undefined; errorDescription?: string | undefined; } export interface BatchDeleteImportDataResponse { errors?: BatchDeleteImportDataError[] | undefined; } export interface CreateApplicationRequest { name: string | undefined; description?: string | undefined; wave?: string | undefined; } export interface CreateApplicationResponse { configurationId?: string | undefined; } export interface Tag { key: string | undefined; value: string | undefined; } export interface CreateTagsRequest { configurationIds: string[] | undefined; tags: Tag[] | undefined; } export interface CreateTagsResponse {} export interface DeleteApplicationsRequest { configurationIds: string[] | undefined; } export interface DeleteApplicationsResponse {} export interface DeleteTagsRequest { configurationIds: string[] | undefined; tags?: Tag[] | undefined; } export interface DeleteTagsResponse {} export interface Filter { name: string | undefined; values: string[] | undefined; condition: string | undefined; } export interface DescribeAgentsRequest { agentIds?: string[] | undefined; filters?: Filter[] | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface DescribeAgentsResponse { agentsInfo?: AgentInfo[] | undefined; nextToken?: string | undefined; } export interface DescribeBatchDeleteConfigurationTaskRequest { taskId: string | undefined; } export interface DeletionWarning { configurationId?: string | undefined; warningCode?: number | undefined; warningText?: string | undefined; } export interface FailedConfiguration { configurationId?: string | undefined; errorStatusCode?: number | undefined; errorMessage?: string | undefined; } export interface BatchDeleteConfigurationTask { taskId?: string | undefined; status?: BatchDeleteConfigurationTaskStatus | undefined; startTime?: Date | undefined; endTime?: Date | undefined; configurationType?: DeletionConfigurationItemType | undefined; requestedConfigurations?: string[] | undefined; deletedConfigurations?: string[] | undefined; failedConfigurations?: FailedConfiguration[] | undefined; deletionWarnings?: DeletionWarning[] | undefined; } export interface DescribeBatchDeleteConfigurationTaskResponse { task?: BatchDeleteConfigurationTask | undefined; } export interface DescribeConfigurationsRequest { configurationIds: string[] | undefined; } export interface DescribeConfigurationsResponse { configurations?: Record[] | undefined; } export interface DescribeContinuousExportsRequest { exportIds?: string[] | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface ContinuousExportDescription { exportId?: string | undefined; status?: ContinuousExportStatus | undefined; statusDetail?: string | undefined; s3Bucket?: string | undefined; startTime?: Date | undefined; stopTime?: Date | undefined; dataSource?: DataSource | undefined; schemaStorageConfig?: Record | undefined; } export interface DescribeContinuousExportsResponse { descriptions?: ContinuousExportDescription[] | undefined; nextToken?: string | undefined; } export interface DescribeExportConfigurationsRequest { exportIds?: string[] | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface ExportInfo { exportId: string | undefined; exportStatus: ExportStatus | undefined; statusMessage: string | undefined; configurationsDownloadUrl?: string | undefined; exportRequestTime: Date | undefined; isTruncated?: boolean | undefined; requestedStartTime?: Date | undefined; requestedEndTime?: Date | undefined; } export interface DescribeExportConfigurationsResponse { exportsInfo?: ExportInfo[] | undefined; nextToken?: string | undefined; } export interface ExportFilter { name: string | undefined; values: string[] | undefined; condition: string | undefined; } export interface DescribeExportTasksRequest { exportIds?: string[] | undefined; filters?: ExportFilter[] | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface DescribeExportTasksResponse { exportsInfo?: ExportInfo[] | undefined; nextToken?: string | undefined; } export interface ImportTaskFilter { name?: ImportTaskFilterName | undefined; values?: string[] | undefined; } export interface DescribeImportTasksRequest { filters?: ImportTaskFilter[] | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface ImportTask { importTaskId?: string | undefined; clientRequestToken?: string | undefined; name?: string | undefined; importUrl?: string | undefined; status?: ImportStatus | undefined; importRequestTime?: Date | undefined; importCompletionTime?: Date | undefined; importDeletedTime?: Date | undefined; fileClassification?: FileClassification | undefined; serverImportSuccess?: number | undefined; serverImportFailure?: number | undefined; applicationImportSuccess?: number | undefined; applicationImportFailure?: number | undefined; errorsAndFailedEntriesZip?: string | undefined; } export interface DescribeImportTasksResponse { nextToken?: string | undefined; tasks?: ImportTask[] | undefined; } export interface TagFilter { name: string | undefined; values: string[] | undefined; } export interface DescribeTagsRequest { filters?: TagFilter[] | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface ConfigurationTag { configurationType?: ConfigurationItemType | undefined; configurationId?: string | undefined; key?: string | undefined; value?: string | undefined; timeOfCreation?: Date | undefined; } export interface DescribeTagsResponse { tags?: ConfigurationTag[] | undefined; nextToken?: string | undefined; } export interface DisassociateConfigurationItemsFromApplicationRequest { applicationConfigurationId: string | undefined; configurationIds: string[] | undefined; } export interface DisassociateConfigurationItemsFromApplicationResponse {} export interface ExportConfigurationsResponse { exportId?: string | undefined; } export interface GetDiscoverySummaryRequest {} export interface CustomerAgentlessCollectorInfo { activeAgentlessCollectors: number | undefined; healthyAgentlessCollectors: number | undefined; denyListedAgentlessCollectors: number | undefined; shutdownAgentlessCollectors: number | undefined; unhealthyAgentlessCollectors: number | undefined; totalAgentlessCollectors: number | undefined; unknownAgentlessCollectors: number | undefined; } export interface CustomerAgentInfo { activeAgents: number | undefined; healthyAgents: number | undefined; blackListedAgents: number | undefined; shutdownAgents: number | undefined; unhealthyAgents: number | undefined; totalAgents: number | undefined; unknownAgents: number | undefined; } export interface CustomerConnectorInfo { activeConnectors: number | undefined; healthyConnectors: number | undefined; blackListedConnectors: number | undefined; shutdownConnectors: number | undefined; unhealthyConnectors: number | undefined; totalConnectors: number | undefined; unknownConnectors: number | undefined; } export interface CustomerMeCollectorInfo { activeMeCollectors: number | undefined; healthyMeCollectors: number | undefined; denyListedMeCollectors: number | undefined; shutdownMeCollectors: number | undefined; unhealthyMeCollectors: number | undefined; totalMeCollectors: number | undefined; unknownMeCollectors: number | undefined; } export interface GetDiscoverySummaryResponse { servers?: number | undefined; applications?: number | undefined; serversMappedToApplications?: number | undefined; serversMappedtoTags?: number | undefined; agentSummary?: CustomerAgentInfo | undefined; connectorSummary?: CustomerConnectorInfo | undefined; meCollectorSummary?: CustomerMeCollectorInfo | undefined; agentlessCollectorSummary?: CustomerAgentlessCollectorInfo | undefined; } export interface OrderByElement { fieldName: string | undefined; sortOrder?: OrderString | undefined; } export interface ListConfigurationsRequest { configurationType: ConfigurationItemType | undefined; filters?: Filter[] | undefined; maxResults?: number | undefined; nextToken?: string | undefined; orderBy?: OrderByElement[] | undefined; } export interface ListConfigurationsResponse { configurations?: Record[] | undefined; nextToken?: string | undefined; } export interface ListServerNeighborsRequest { configurationId: string | undefined; portInformationNeeded?: boolean | undefined; neighborConfigurationIds?: string[] | undefined; maxResults?: number | undefined; nextToken?: string | undefined; } export interface NeighborConnectionDetail { sourceServerId: string | undefined; destinationServerId: string | undefined; destinationPort?: number | undefined; transportProtocol?: string | undefined; connectionsCount: number | undefined; } export interface ListServerNeighborsResponse { neighbors: NeighborConnectionDetail[] | undefined; nextToken?: string | undefined; knownDependencyCount?: number | undefined; } export interface StartBatchDeleteConfigurationTaskRequest { configurationType: DeletionConfigurationItemType | undefined; configurationIds: string[] | undefined; } export interface StartBatchDeleteConfigurationTaskResponse { taskId?: string | undefined; } export interface StartContinuousExportRequest {} export interface StartContinuousExportResponse { exportId?: string | undefined; s3Bucket?: string | undefined; startTime?: Date | undefined; dataSource?: DataSource | undefined; schemaStorageConfig?: Record | undefined; } export interface StartDataCollectionByAgentIdsRequest { agentIds: string[] | undefined; } export interface StartDataCollectionByAgentIdsResponse { agentsConfigurationStatus?: AgentConfigurationStatus[] | undefined; } export interface UsageMetricBasis { name?: string | undefined; percentageAdjust?: number | undefined; } export interface ReservedInstanceOptions { purchasingOption: PurchasingOption | undefined; offeringClass: OfferingClass | undefined; termLength: TermLength | undefined; } export interface Ec2RecommendationsExportPreferences { enabled?: boolean | undefined; cpuPerformanceMetricBasis?: UsageMetricBasis | undefined; ramPerformanceMetricBasis?: UsageMetricBasis | undefined; tenancy?: Tenancy | undefined; excludedInstanceTypes?: string[] | undefined; preferredRegion?: string | undefined; reservedInstanceOptions?: ReservedInstanceOptions | undefined; } export type ExportPreferences = | ExportPreferences.Ec2RecommendationsPreferencesMember | ExportPreferences.$UnknownMember; export declare namespace ExportPreferences { interface Ec2RecommendationsPreferencesMember { ec2RecommendationsPreferences: Ec2RecommendationsExportPreferences; $unknown?: never; } interface $UnknownMember { ec2RecommendationsPreferences?: never; $unknown: [string, any]; } interface Visitor { ec2RecommendationsPreferences: (value: Ec2RecommendationsExportPreferences) => T; _: (name: string, value: any) => T; } } export interface StartExportTaskRequest { exportDataFormat?: ExportDataFormat[] | undefined; filters?: ExportFilter[] | undefined; startTime?: Date | undefined; endTime?: Date | undefined; preferences?: ExportPreferences | undefined; } export interface StartExportTaskResponse { exportId?: string | undefined; } export interface StartImportTaskRequest { clientRequestToken?: string | undefined; name: string | undefined; importUrl: string | undefined; } export interface StartImportTaskResponse { task?: ImportTask | undefined; } export interface StopContinuousExportRequest { exportId: string | undefined; } export interface StopContinuousExportResponse { startTime?: Date | undefined; stopTime?: Date | undefined; } export interface StopDataCollectionByAgentIdsRequest { agentIds: string[] | undefined; } export interface StopDataCollectionByAgentIdsResponse { agentsConfigurationStatus?: AgentConfigurationStatus[] | undefined; } export interface UpdateApplicationRequest { configurationId: string | undefined; name?: string | undefined; description?: string | undefined; wave?: string | undefined; } export interface UpdateApplicationResponse {}