import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types"; import { CloudTrailClient } from "./CloudTrailClient"; import { type AddTagsCommandInput, type AddTagsCommandOutput } from "./commands/AddTagsCommand"; import { type CancelQueryCommandInput, type CancelQueryCommandOutput } from "./commands/CancelQueryCommand"; import { type CreateChannelCommandInput, type CreateChannelCommandOutput } from "./commands/CreateChannelCommand"; import { type CreateDashboardCommandInput, type CreateDashboardCommandOutput } from "./commands/CreateDashboardCommand"; import { type CreateEventDataStoreCommandInput, type CreateEventDataStoreCommandOutput } from "./commands/CreateEventDataStoreCommand"; import { type CreateTrailCommandInput, type CreateTrailCommandOutput } from "./commands/CreateTrailCommand"; import { type DeleteChannelCommandInput, type DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand"; import { type DeleteDashboardCommandInput, type DeleteDashboardCommandOutput } from "./commands/DeleteDashboardCommand"; import { type DeleteEventDataStoreCommandInput, type DeleteEventDataStoreCommandOutput } from "./commands/DeleteEventDataStoreCommand"; import { type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand"; import { type DeleteTrailCommandInput, type DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand"; import { type DeregisterOrganizationDelegatedAdminCommandInput, type DeregisterOrganizationDelegatedAdminCommandOutput } from "./commands/DeregisterOrganizationDelegatedAdminCommand"; import { type DescribeQueryCommandInput, type DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand"; import { type DescribeTrailsCommandInput, type DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand"; import { type DisableFederationCommandInput, type DisableFederationCommandOutput } from "./commands/DisableFederationCommand"; import { type EnableFederationCommandInput, type EnableFederationCommandOutput } from "./commands/EnableFederationCommand"; import { type GenerateQueryCommandInput, type GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand"; import { type GetChannelCommandInput, type GetChannelCommandOutput } from "./commands/GetChannelCommand"; import { type GetDashboardCommandInput, type GetDashboardCommandOutput } from "./commands/GetDashboardCommand"; import { type GetEventConfigurationCommandInput, type GetEventConfigurationCommandOutput } from "./commands/GetEventConfigurationCommand"; import { type GetEventDataStoreCommandInput, type GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand"; import { type GetEventSelectorsCommandInput, type GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand"; import { type GetImportCommandInput, type GetImportCommandOutput } from "./commands/GetImportCommand"; import { type GetInsightSelectorsCommandInput, type GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand"; import { type GetQueryResultsCommandInput, type GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand"; import { type GetResourcePolicyCommandInput, type GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand"; import { type GetTrailCommandInput, type GetTrailCommandOutput } from "./commands/GetTrailCommand"; import { type GetTrailStatusCommandInput, type GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand"; import { type ListChannelsCommandInput, type ListChannelsCommandOutput } from "./commands/ListChannelsCommand"; import { type ListDashboardsCommandInput, type ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand"; import { type ListEventDataStoresCommandInput, type ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand"; import { type ListImportFailuresCommandInput, type ListImportFailuresCommandOutput } from "./commands/ListImportFailuresCommand"; import { type ListImportsCommandInput, type ListImportsCommandOutput } from "./commands/ListImportsCommand"; import { type ListInsightsDataCommandInput, type ListInsightsDataCommandOutput } from "./commands/ListInsightsDataCommand"; import { type ListInsightsMetricDataCommandInput, type ListInsightsMetricDataCommandOutput } from "./commands/ListInsightsMetricDataCommand"; import { type ListPublicKeysCommandInput, type ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand"; import { type ListQueriesCommandInput, type ListQueriesCommandOutput } from "./commands/ListQueriesCommand"; import { type ListTagsCommandInput, type ListTagsCommandOutput } from "./commands/ListTagsCommand"; import { type ListTrailsCommandInput, type ListTrailsCommandOutput } from "./commands/ListTrailsCommand"; import { type LookupEventsCommandInput, type LookupEventsCommandOutput } from "./commands/LookupEventsCommand"; import { type PutEventConfigurationCommandInput, type PutEventConfigurationCommandOutput } from "./commands/PutEventConfigurationCommand"; import { type PutEventSelectorsCommandInput, type PutEventSelectorsCommandOutput } from "./commands/PutEventSelectorsCommand"; import { type PutInsightSelectorsCommandInput, type PutInsightSelectorsCommandOutput } from "./commands/PutInsightSelectorsCommand"; import { type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand"; import { type RegisterOrganizationDelegatedAdminCommandInput, type RegisterOrganizationDelegatedAdminCommandOutput } from "./commands/RegisterOrganizationDelegatedAdminCommand"; import { type RemoveTagsCommandInput, type RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand"; import { type RestoreEventDataStoreCommandInput, type RestoreEventDataStoreCommandOutput } from "./commands/RestoreEventDataStoreCommand"; import { type SearchSampleQueriesCommandInput, type SearchSampleQueriesCommandOutput } from "./commands/SearchSampleQueriesCommand"; import { type StartDashboardRefreshCommandInput, type StartDashboardRefreshCommandOutput } from "./commands/StartDashboardRefreshCommand"; import { type StartEventDataStoreIngestionCommandInput, type StartEventDataStoreIngestionCommandOutput } from "./commands/StartEventDataStoreIngestionCommand"; import { type StartImportCommandInput, type StartImportCommandOutput } from "./commands/StartImportCommand"; import { type StartLoggingCommandInput, type StartLoggingCommandOutput } from "./commands/StartLoggingCommand"; import { type StartQueryCommandInput, type StartQueryCommandOutput } from "./commands/StartQueryCommand"; import { type StopEventDataStoreIngestionCommandInput, type StopEventDataStoreIngestionCommandOutput } from "./commands/StopEventDataStoreIngestionCommand"; import { type StopImportCommandInput, type StopImportCommandOutput } from "./commands/StopImportCommand"; import { type StopLoggingCommandInput, type StopLoggingCommandOutput } from "./commands/StopLoggingCommand"; import { type UpdateChannelCommandInput, type UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand"; import { type UpdateDashboardCommandInput, type UpdateDashboardCommandOutput } from "./commands/UpdateDashboardCommand"; import { type UpdateEventDataStoreCommandInput, type UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand"; import { type UpdateTrailCommandInput, type UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand"; export interface CloudTrail { /** * @see {@link AddTagsCommand} */ addTags(args: AddTagsCommandInput, options?: __HttpHandlerOptions): Promise; addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void; addTags(args: AddTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsCommandOutput) => void): void; /** * @see {@link CancelQueryCommand} */ cancelQuery(args: CancelQueryCommandInput, options?: __HttpHandlerOptions): Promise; cancelQuery(args: CancelQueryCommandInput, cb: (err: any, data?: CancelQueryCommandOutput) => void): void; cancelQuery(args: CancelQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelQueryCommandOutput) => void): void; /** * @see {@link CreateChannelCommand} */ createChannel(args: CreateChannelCommandInput, options?: __HttpHandlerOptions): Promise; createChannel(args: CreateChannelCommandInput, cb: (err: any, data?: CreateChannelCommandOutput) => void): void; createChannel(args: CreateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelCommandOutput) => void): void; /** * @see {@link CreateDashboardCommand} */ createDashboard(args: CreateDashboardCommandInput, options?: __HttpHandlerOptions): Promise; createDashboard(args: CreateDashboardCommandInput, cb: (err: any, data?: CreateDashboardCommandOutput) => void): void; createDashboard(args: CreateDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDashboardCommandOutput) => void): void; /** * @see {@link CreateEventDataStoreCommand} */ createEventDataStore(args: CreateEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise; createEventDataStore(args: CreateEventDataStoreCommandInput, cb: (err: any, data?: CreateEventDataStoreCommandOutput) => void): void; createEventDataStore(args: CreateEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventDataStoreCommandOutput) => void): void; /** * @see {@link CreateTrailCommand} */ createTrail(args: CreateTrailCommandInput, options?: __HttpHandlerOptions): Promise; createTrail(args: CreateTrailCommandInput, cb: (err: any, data?: CreateTrailCommandOutput) => void): void; createTrail(args: CreateTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTrailCommandOutput) => void): void; /** * @see {@link DeleteChannelCommand} */ deleteChannel(args: DeleteChannelCommandInput, options?: __HttpHandlerOptions): Promise; deleteChannel(args: DeleteChannelCommandInput, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void; deleteChannel(args: DeleteChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void; /** * @see {@link DeleteDashboardCommand} */ deleteDashboard(args: DeleteDashboardCommandInput, options?: __HttpHandlerOptions): Promise; deleteDashboard(args: DeleteDashboardCommandInput, cb: (err: any, data?: DeleteDashboardCommandOutput) => void): void; deleteDashboard(args: DeleteDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDashboardCommandOutput) => void): void; /** * @see {@link DeleteEventDataStoreCommand} */ deleteEventDataStore(args: DeleteEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise; deleteEventDataStore(args: DeleteEventDataStoreCommandInput, cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void): void; deleteEventDataStore(args: DeleteEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void): void; /** * @see {@link DeleteResourcePolicyCommand} */ deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise; deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void; deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void; /** * @see {@link DeleteTrailCommand} */ deleteTrail(args: DeleteTrailCommandInput, options?: __HttpHandlerOptions): Promise; deleteTrail(args: DeleteTrailCommandInput, cb: (err: any, data?: DeleteTrailCommandOutput) => void): void; deleteTrail(args: DeleteTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTrailCommandOutput) => void): void; /** * @see {@link DeregisterOrganizationDelegatedAdminCommand} */ deregisterOrganizationDelegatedAdmin(args: DeregisterOrganizationDelegatedAdminCommandInput, options?: __HttpHandlerOptions): Promise; deregisterOrganizationDelegatedAdmin(args: DeregisterOrganizationDelegatedAdminCommandInput, cb: (err: any, data?: DeregisterOrganizationDelegatedAdminCommandOutput) => void): void; deregisterOrganizationDelegatedAdmin(args: DeregisterOrganizationDelegatedAdminCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterOrganizationDelegatedAdminCommandOutput) => void): void; /** * @see {@link DescribeQueryCommand} */ describeQuery(): Promise; describeQuery(args: DescribeQueryCommandInput, options?: __HttpHandlerOptions): Promise; describeQuery(args: DescribeQueryCommandInput, cb: (err: any, data?: DescribeQueryCommandOutput) => void): void; describeQuery(args: DescribeQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQueryCommandOutput) => void): void; /** * @see {@link DescribeTrailsCommand} */ describeTrails(): Promise; describeTrails(args: DescribeTrailsCommandInput, options?: __HttpHandlerOptions): Promise; describeTrails(args: DescribeTrailsCommandInput, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void; describeTrails(args: DescribeTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void; /** * @see {@link DisableFederationCommand} */ disableFederation(args: DisableFederationCommandInput, options?: __HttpHandlerOptions): Promise; disableFederation(args: DisableFederationCommandInput, cb: (err: any, data?: DisableFederationCommandOutput) => void): void; disableFederation(args: DisableFederationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableFederationCommandOutput) => void): void; /** * @see {@link EnableFederationCommand} */ enableFederation(args: EnableFederationCommandInput, options?: __HttpHandlerOptions): Promise; enableFederation(args: EnableFederationCommandInput, cb: (err: any, data?: EnableFederationCommandOutput) => void): void; enableFederation(args: EnableFederationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableFederationCommandOutput) => void): void; /** * @see {@link GenerateQueryCommand} */ generateQuery(args: GenerateQueryCommandInput, options?: __HttpHandlerOptions): Promise; generateQuery(args: GenerateQueryCommandInput, cb: (err: any, data?: GenerateQueryCommandOutput) => void): void; generateQuery(args: GenerateQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateQueryCommandOutput) => void): void; /** * @see {@link GetChannelCommand} */ getChannel(args: GetChannelCommandInput, options?: __HttpHandlerOptions): Promise; getChannel(args: GetChannelCommandInput, cb: (err: any, data?: GetChannelCommandOutput) => void): void; getChannel(args: GetChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelCommandOutput) => void): void; /** * @see {@link GetDashboardCommand} */ getDashboard(args: GetDashboardCommandInput, options?: __HttpHandlerOptions): Promise; getDashboard(args: GetDashboardCommandInput, cb: (err: any, data?: GetDashboardCommandOutput) => void): void; getDashboard(args: GetDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDashboardCommandOutput) => void): void; /** * @see {@link GetEventConfigurationCommand} */ getEventConfiguration(): Promise; getEventConfiguration(args: GetEventConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; getEventConfiguration(args: GetEventConfigurationCommandInput, cb: (err: any, data?: GetEventConfigurationCommandOutput) => void): void; getEventConfiguration(args: GetEventConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventConfigurationCommandOutput) => void): void; /** * @see {@link GetEventDataStoreCommand} */ getEventDataStore(args: GetEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise; getEventDataStore(args: GetEventDataStoreCommandInput, cb: (err: any, data?: GetEventDataStoreCommandOutput) => void): void; getEventDataStore(args: GetEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventDataStoreCommandOutput) => void): void; /** * @see {@link GetEventSelectorsCommand} */ getEventSelectors(args: GetEventSelectorsCommandInput, options?: __HttpHandlerOptions): Promise; getEventSelectors(args: GetEventSelectorsCommandInput, cb: (err: any, data?: GetEventSelectorsCommandOutput) => void): void; getEventSelectors(args: GetEventSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventSelectorsCommandOutput) => void): void; /** * @see {@link GetImportCommand} */ getImport(args: GetImportCommandInput, options?: __HttpHandlerOptions): Promise; getImport(args: GetImportCommandInput, cb: (err: any, data?: GetImportCommandOutput) => void): void; getImport(args: GetImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetImportCommandOutput) => void): void; /** * @see {@link GetInsightSelectorsCommand} */ getInsightSelectors(): Promise; getInsightSelectors(args: GetInsightSelectorsCommandInput, options?: __HttpHandlerOptions): Promise; getInsightSelectors(args: GetInsightSelectorsCommandInput, cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void): void; getInsightSelectors(args: GetInsightSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInsightSelectorsCommandOutput) => void): void; /** * @see {@link GetQueryResultsCommand} */ getQueryResults(args: GetQueryResultsCommandInput, options?: __HttpHandlerOptions): Promise; getQueryResults(args: GetQueryResultsCommandInput, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void; getQueryResults(args: GetQueryResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQueryResultsCommandOutput) => void): void; /** * @see {@link GetResourcePolicyCommand} */ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise; getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void; getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void; /** * @see {@link GetTrailCommand} */ getTrail(args: GetTrailCommandInput, options?: __HttpHandlerOptions): Promise; getTrail(args: GetTrailCommandInput, cb: (err: any, data?: GetTrailCommandOutput) => void): void; getTrail(args: GetTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailCommandOutput) => void): void; /** * @see {@link GetTrailStatusCommand} */ getTrailStatus(args: GetTrailStatusCommandInput, options?: __HttpHandlerOptions): Promise; getTrailStatus(args: GetTrailStatusCommandInput, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void; getTrailStatus(args: GetTrailStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void; /** * @see {@link ListChannelsCommand} */ listChannels(): Promise; listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise; listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void; listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void; /** * @see {@link ListDashboardsCommand} */ listDashboards(): Promise; listDashboards(args: ListDashboardsCommandInput, options?: __HttpHandlerOptions): Promise; listDashboards(args: ListDashboardsCommandInput, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void; listDashboards(args: ListDashboardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void; /** * @see {@link ListEventDataStoresCommand} */ listEventDataStores(): Promise; listEventDataStores(args: ListEventDataStoresCommandInput, options?: __HttpHandlerOptions): Promise; listEventDataStores(args: ListEventDataStoresCommandInput, cb: (err: any, data?: ListEventDataStoresCommandOutput) => void): void; listEventDataStores(args: ListEventDataStoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventDataStoresCommandOutput) => void): void; /** * @see {@link ListImportFailuresCommand} */ listImportFailures(args: ListImportFailuresCommandInput, options?: __HttpHandlerOptions): Promise; listImportFailures(args: ListImportFailuresCommandInput, cb: (err: any, data?: ListImportFailuresCommandOutput) => void): void; listImportFailures(args: ListImportFailuresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportFailuresCommandOutput) => void): void; /** * @see {@link ListImportsCommand} */ listImports(): Promise; listImports(args: ListImportsCommandInput, options?: __HttpHandlerOptions): Promise; listImports(args: ListImportsCommandInput, cb: (err: any, data?: ListImportsCommandOutput) => void): void; listImports(args: ListImportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportsCommandOutput) => void): void; /** * @see {@link ListInsightsDataCommand} */ listInsightsData(args: ListInsightsDataCommandInput, options?: __HttpHandlerOptions): Promise; listInsightsData(args: ListInsightsDataCommandInput, cb: (err: any, data?: ListInsightsDataCommandOutput) => void): void; listInsightsData(args: ListInsightsDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInsightsDataCommandOutput) => void): void; /** * @see {@link ListInsightsMetricDataCommand} */ listInsightsMetricData(args: ListInsightsMetricDataCommandInput, options?: __HttpHandlerOptions): Promise; listInsightsMetricData(args: ListInsightsMetricDataCommandInput, cb: (err: any, data?: ListInsightsMetricDataCommandOutput) => void): void; listInsightsMetricData(args: ListInsightsMetricDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInsightsMetricDataCommandOutput) => void): void; /** * @see {@link ListPublicKeysCommand} */ listPublicKeys(): Promise; listPublicKeys(args: ListPublicKeysCommandInput, options?: __HttpHandlerOptions): Promise; listPublicKeys(args: ListPublicKeysCommandInput, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void; listPublicKeys(args: ListPublicKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPublicKeysCommandOutput) => void): void; /** * @see {@link ListQueriesCommand} */ listQueries(args: ListQueriesCommandInput, options?: __HttpHandlerOptions): Promise; listQueries(args: ListQueriesCommandInput, cb: (err: any, data?: ListQueriesCommandOutput) => void): void; listQueries(args: ListQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueriesCommandOutput) => void): void; /** * @see {@link ListTagsCommand} */ listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise; listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void; listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void; /** * @see {@link ListTrailsCommand} */ listTrails(): Promise; listTrails(args: ListTrailsCommandInput, options?: __HttpHandlerOptions): Promise; listTrails(args: ListTrailsCommandInput, cb: (err: any, data?: ListTrailsCommandOutput) => void): void; listTrails(args: ListTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTrailsCommandOutput) => void): void; /** * @see {@link LookupEventsCommand} */ lookupEvents(): Promise; lookupEvents(args: LookupEventsCommandInput, options?: __HttpHandlerOptions): Promise; lookupEvents(args: LookupEventsCommandInput, cb: (err: any, data?: LookupEventsCommandOutput) => void): void; lookupEvents(args: LookupEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LookupEventsCommandOutput) => void): void; /** * @see {@link PutEventConfigurationCommand} */ putEventConfiguration(): Promise; putEventConfiguration(args: PutEventConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; putEventConfiguration(args: PutEventConfigurationCommandInput, cb: (err: any, data?: PutEventConfigurationCommandOutput) => void): void; putEventConfiguration(args: PutEventConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEventConfigurationCommandOutput) => void): void; /** * @see {@link PutEventSelectorsCommand} */ putEventSelectors(args: PutEventSelectorsCommandInput, options?: __HttpHandlerOptions): Promise; putEventSelectors(args: PutEventSelectorsCommandInput, cb: (err: any, data?: PutEventSelectorsCommandOutput) => void): void; putEventSelectors(args: PutEventSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEventSelectorsCommandOutput) => void): void; /** * @see {@link PutInsightSelectorsCommand} */ putInsightSelectors(args: PutInsightSelectorsCommandInput, options?: __HttpHandlerOptions): Promise; putInsightSelectors(args: PutInsightSelectorsCommandInput, cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void): void; putInsightSelectors(args: PutInsightSelectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutInsightSelectorsCommandOutput) => void): void; /** * @see {@link PutResourcePolicyCommand} */ putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise; putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void; putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void; /** * @see {@link RegisterOrganizationDelegatedAdminCommand} */ registerOrganizationDelegatedAdmin(args: RegisterOrganizationDelegatedAdminCommandInput, options?: __HttpHandlerOptions): Promise; registerOrganizationDelegatedAdmin(args: RegisterOrganizationDelegatedAdminCommandInput, cb: (err: any, data?: RegisterOrganizationDelegatedAdminCommandOutput) => void): void; registerOrganizationDelegatedAdmin(args: RegisterOrganizationDelegatedAdminCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterOrganizationDelegatedAdminCommandOutput) => void): void; /** * @see {@link RemoveTagsCommand} */ removeTags(args: RemoveTagsCommandInput, options?: __HttpHandlerOptions): Promise; removeTags(args: RemoveTagsCommandInput, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void; removeTags(args: RemoveTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsCommandOutput) => void): void; /** * @see {@link RestoreEventDataStoreCommand} */ restoreEventDataStore(args: RestoreEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise; restoreEventDataStore(args: RestoreEventDataStoreCommandInput, cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void): void; restoreEventDataStore(args: RestoreEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreEventDataStoreCommandOutput) => void): void; /** * @see {@link SearchSampleQueriesCommand} */ searchSampleQueries(args: SearchSampleQueriesCommandInput, options?: __HttpHandlerOptions): Promise; searchSampleQueries(args: SearchSampleQueriesCommandInput, cb: (err: any, data?: SearchSampleQueriesCommandOutput) => void): void; searchSampleQueries(args: SearchSampleQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchSampleQueriesCommandOutput) => void): void; /** * @see {@link StartDashboardRefreshCommand} */ startDashboardRefresh(args: StartDashboardRefreshCommandInput, options?: __HttpHandlerOptions): Promise; startDashboardRefresh(args: StartDashboardRefreshCommandInput, cb: (err: any, data?: StartDashboardRefreshCommandOutput) => void): void; startDashboardRefresh(args: StartDashboardRefreshCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDashboardRefreshCommandOutput) => void): void; /** * @see {@link StartEventDataStoreIngestionCommand} */ startEventDataStoreIngestion(args: StartEventDataStoreIngestionCommandInput, options?: __HttpHandlerOptions): Promise; startEventDataStoreIngestion(args: StartEventDataStoreIngestionCommandInput, cb: (err: any, data?: StartEventDataStoreIngestionCommandOutput) => void): void; startEventDataStoreIngestion(args: StartEventDataStoreIngestionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartEventDataStoreIngestionCommandOutput) => void): void; /** * @see {@link StartImportCommand} */ startImport(): Promise; startImport(args: StartImportCommandInput, options?: __HttpHandlerOptions): Promise; startImport(args: StartImportCommandInput, cb: (err: any, data?: StartImportCommandOutput) => void): void; startImport(args: StartImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImportCommandOutput) => void): void; /** * @see {@link StartLoggingCommand} */ startLogging(args: StartLoggingCommandInput, options?: __HttpHandlerOptions): Promise; startLogging(args: StartLoggingCommandInput, cb: (err: any, data?: StartLoggingCommandOutput) => void): void; startLogging(args: StartLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartLoggingCommandOutput) => void): void; /** * @see {@link StartQueryCommand} */ startQuery(): Promise; startQuery(args: StartQueryCommandInput, options?: __HttpHandlerOptions): Promise; startQuery(args: StartQueryCommandInput, cb: (err: any, data?: StartQueryCommandOutput) => void): void; startQuery(args: StartQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartQueryCommandOutput) => void): void; /** * @see {@link StopEventDataStoreIngestionCommand} */ stopEventDataStoreIngestion(args: StopEventDataStoreIngestionCommandInput, options?: __HttpHandlerOptions): Promise; stopEventDataStoreIngestion(args: StopEventDataStoreIngestionCommandInput, cb: (err: any, data?: StopEventDataStoreIngestionCommandOutput) => void): void; stopEventDataStoreIngestion(args: StopEventDataStoreIngestionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopEventDataStoreIngestionCommandOutput) => void): void; /** * @see {@link StopImportCommand} */ stopImport(args: StopImportCommandInput, options?: __HttpHandlerOptions): Promise; stopImport(args: StopImportCommandInput, cb: (err: any, data?: StopImportCommandOutput) => void): void; stopImport(args: StopImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopImportCommandOutput) => void): void; /** * @see {@link StopLoggingCommand} */ stopLogging(args: StopLoggingCommandInput, options?: __HttpHandlerOptions): Promise; stopLogging(args: StopLoggingCommandInput, cb: (err: any, data?: StopLoggingCommandOutput) => void): void; stopLogging(args: StopLoggingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopLoggingCommandOutput) => void): void; /** * @see {@link UpdateChannelCommand} */ updateChannel(args: UpdateChannelCommandInput, options?: __HttpHandlerOptions): Promise; updateChannel(args: UpdateChannelCommandInput, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void; updateChannel(args: UpdateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void; /** * @see {@link UpdateDashboardCommand} */ updateDashboard(args: UpdateDashboardCommandInput, options?: __HttpHandlerOptions): Promise; updateDashboard(args: UpdateDashboardCommandInput, cb: (err: any, data?: UpdateDashboardCommandOutput) => void): void; updateDashboard(args: UpdateDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDashboardCommandOutput) => void): void; /** * @see {@link UpdateEventDataStoreCommand} */ updateEventDataStore(args: UpdateEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise; updateEventDataStore(args: UpdateEventDataStoreCommandInput, cb: (err: any, data?: UpdateEventDataStoreCommandOutput) => void): void; updateEventDataStore(args: UpdateEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventDataStoreCommandOutput) => void): void; /** * @see {@link UpdateTrailCommand} */ updateTrail(args: UpdateTrailCommandInput, options?: __HttpHandlerOptions): Promise; updateTrail(args: UpdateTrailCommandInput, cb: (err: any, data?: UpdateTrailCommandOutput) => void): void; updateTrail(args: UpdateTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTrailCommandOutput) => void): void; /** * @see {@link GetQueryResultsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link GetQueryResultsCommandOutput}. */ paginateGetQueryResults(args: GetQueryResultsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListChannelsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListChannelsCommandOutput}. */ paginateListChannels(args?: ListChannelsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListEventDataStoresCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListEventDataStoresCommandOutput}. */ paginateListEventDataStores(args?: ListEventDataStoresCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListImportFailuresCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListImportFailuresCommandOutput}. */ paginateListImportFailures(args: ListImportFailuresCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListImportsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListImportsCommandOutput}. */ paginateListImports(args?: ListImportsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListInsightsDataCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListInsightsDataCommandOutput}. */ paginateListInsightsData(args: ListInsightsDataCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListInsightsMetricDataCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListInsightsMetricDataCommandOutput}. */ paginateListInsightsMetricData(args: ListInsightsMetricDataCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListPublicKeysCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListPublicKeysCommandOutput}. */ paginateListPublicKeys(args?: ListPublicKeysCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListQueriesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListQueriesCommandOutput}. */ paginateListQueries(args: ListQueriesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListTagsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListTagsCommandOutput}. */ paginateListTags(args: ListTagsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListTrailsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListTrailsCommandOutput}. */ paginateListTrails(args?: ListTrailsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link LookupEventsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link LookupEventsCommandOutput}. */ paginateLookupEvents(args?: LookupEventsCommandInput, paginationConfig?: Omit): Paginator; } /** * CloudTrail *

This is the CloudTrail API Reference. It provides descriptions of actions, data * types, common parameters, and common errors for CloudTrail.

*

CloudTrail is a web service that records Amazon Web Services API calls for your * Amazon Web Services account and delivers log files to an Amazon S3 bucket. The * recorded information includes the identity of the user, the start time of the Amazon Web Services API call, the source IP address, the request parameters, and the response * elements returned by the service.

* *

As an alternative to the API, you can use one of the Amazon Web Services SDKs, which * consist of libraries and sample code for various programming languages and platforms * (Java, Ruby, .NET, iOS, Android, etc.). The SDKs provide programmatic access to CloudTrail. For example, the SDKs handle cryptographically signing requests, * managing errors, and retrying requests automatically. For more information about the * Amazon Web Services SDKs, including how to download and install them, see Tools to Build on Amazon Web Services.

*
*

See the CloudTrail * User Guide for information about the data that is included with each Amazon Web Services API call listed in the log files.

* @public */ export declare class CloudTrail extends CloudTrailClient implements CloudTrail { }