Cirro API surface (@cirrobio/api-client 0.13.39)¶
Generated from the package type declarations. Regenerate for the installed version with python3 tools/api_surface.py <node_modules path> before trusting a method name.
data.X means the getter on new DataService(...). Methods take one object argument with the fields shown (? = optional) and return a Promise of the type shown.
AppRegistrationsApi (data.appRegistrations)¶
approveApp({ id: string })→voidarchiveAppRegistration({ id: string })→voidcreateAppRegistration({ appRegistrationInput: AppRegistrationInput })→AppRegistrationSecretResponsegetAppRegistration({ id: string })→AppRegistrationDetaillistAppRegistrationTemplates()→Array<AppRegistrationTemplate>listAppRegistrations({ limit?: number, nextToken?: string })→PaginatedResponseAppRegistrationDtolistMyAppRegistrations()→Array<AppRegistration>regenerateSecret({ id: string })→AppRegistrationSecretResponseupdateAppRegistration({ id: string, appRegistrationInput: AppRegistrationInput })→AppRegistrationDetail
AuditApi (data.audit)¶
getEvent({ auditEventId: string })→AuditEventlistEvents({ username?: string, entityType?: ListEventsEntityTypeEnum, entityId?: string, limit?: number, nextToken?: string })→PaginatedResponseAuditEventDto
BillingApi (data.billing)¶
createBillingAccount({ billingAccountRequest: BillingAccountRequest })→CreateResponsedeleteBillingAccount({ billingAccountId: string })→voidgetBillingAccounts({ includeArchived?: boolean })→Array<BillingAccount>updateBillingAccount({ billingAccountId: string, billingAccountRequest: BillingAccountRequest })→void
ComputeEnvironmentApi (data.computeEnvironments)¶
createAgent({ agentInput: AgentInput })→CreateResponsecreateComputeEnvironment({ projectId: string, computeEnvironmentConfigurationInput: ComputeEnvironmentConfigurationInput })→CreateResponsedeleteAgent({ agentId: string })→voiddeleteComputeEnvironment({ projectId: string, computeEnvironmentId: string })→voidgetAgents()→Array<AgentDetail>getComputeEnvironments({ projectId: string })→Array<ComputeEnvironmentConfiguration>updateAgent({ agentId: string, agentInput: AgentInput })→voidupdateComputeEnvironment({ projectId: string, computeEnvironmentId: string, computeEnvironmentConfigurationInput: ComputeEnvironmentConfigurationInput })→void
DashboardsApi (data.dashboards)¶
createDashboard({ projectId: string, dashboardInput: DashboardInput })→CreateResponsecreateDashboardTemplate({ dashboardInput: DashboardInput })→CreateResponsedeleteDashboard({ projectId: string, dashboardId: string })→voiddeleteDashboardTemplate({ dashboardId: string })→voidgetDashboard({ projectId: string, dashboardId: string })→DashboardgetDashboardTemplate({ dashboardId: string })→DashboardgetDashboardTemplates()→Array<Dashboard>getDashboards({ projectId: string })→Array<Dashboard>updateDashboard({ projectId: string, dashboardId: string, dashboardInput: DashboardInput })→DashboardupdateDashboardTemplate({ dashboardId: string, dashboardInput: DashboardInput })→Dashboard
DatasetsApi (data.datasets)¶
deleteDataset({ projectId: string, datasetId: string })→voidgetDataset({ datasetId: string, projectId: string })→DatasetDetailgetDatasetManifest({ datasetId: string, projectId: string, fileOffset?: number, fileLimit?: number })→DatasetAssetsManifestgetDatasets({ projectId: string, limit?: number, nextToken?: string })→PaginatedResponseDatasetListDtogetSampleSheets({ projectId: string, datasetId: string })→SampleSheetsimportPublicDataset({ projectId: string, importDataRequest: ImportDataRequest })→CreateResponseingestSamples({ projectId: string, datasetId: string })→voidregenerateManifest({ projectId: string, datasetId: string })→voidrerunTransform({ projectId: string, datasetId: string })→voidupdateDataset({ projectId: string, datasetId: string, updateDatasetRequest: UpdateDatasetRequest })→DatasetDetailuploadDataset({ projectId: string, uploadDatasetRequest: UploadDatasetRequest })→UploadDatasetCreateResponse
ExecutionApi (data.execution)¶
calculateCost({ projectId: string, datasetId: string })→CostResponsegetExecutionLogs({ datasetId: string, projectId: string, forceLive?: boolean })→GetExecutionLogsResponsegetProjectSummary({ projectId: string, numberOfDays?: number })→{ [key: string]: Array<Task>; }getTask({ datasetId: string, projectId: string, taskId: string, forceLive?: boolean })→TaskgetTaskFiles({ datasetId: string, projectId: string, taskId: string })→GetTaskFilesResponsegetTaskLineage({ datasetId: string, projectId: string, taskId: string })→GetTaskLineageResponsegetTaskLogs({ datasetId: string, projectId: string, taskId: string, forceLive?: boolean, source?: TaskLogSource })→GetExecutionLogsResponsegetTasksForExecution({ datasetId: string, projectId: string, forceLive?: boolean })→Array<Task>runAnalysis({ projectId: string, runAnalysisRequest: RunAnalysisRequest })→CreateResponsestopAnalysis({ datasetId: string, projectId: string })→StopExecutionResponse
FeedApi (data.feed)¶
createDiscussion({ discussionInput: DiscussionInput })→DiscussiondeleteDiscussion({ discussionId: string })→voiddeleteMessage({ discussionId: string, messageId: string })→voidgetDiscussion({ discussionId: string })→DiscussiongetDiscussionsForEntity({ entityType: EntityType, entityId: string, nextToken?: string | null, limit?: number, order?: SortOrder | null })→PaginatedResponseDiscussiongetMessagesForDiscussion({ discussionId: string, nextToken?: string | null, limit?: number, threadId?: string | null, order?: SortOrder | null })→PaginatedResponseMessagepostMessage({ discussionId: string, messageInput: MessageInput })→voidupdateDiscussion({ discussionId: string, discussionInput: DiscussionInput })→voidupdateMessage({ discussionId: string, messageId: string, messageInput: MessageInput })→void
FileApi (data.file)¶
generateGovernanceFileAccessToken({ requirementId: string, governanceFileAccessRequest: GovernanceFileAccessRequest })→AWSCredentialsgenerateProjectFileAccessToken({ projectId: string, projectFileAccessRequest: ProjectFileAccessRequest })→AWSCredentialsgenerateProjectSftpToken({ projectId: string, generateSftpCredentialsRequest: GenerateSftpCredentialsRequest })→SftpCredentialsgetProjectFile({ projectId: string, datasetId: string })→ProjectFilequeryProjectFiles({ projectId: string, source?: DatasetSource | null, fileType?: string | null, datasetId?: string | null, processId?: string | null, createdBy?: string | null, pathContains?: string | null, minSize?: number | null, maxSize?: number | null, createdAfter?: Date | null, createdBefore?: Date | null, sortOrder?: SqlSortOrder | null, limit?: number | null, nextToken?: string | null })→ProjectFileQueryResponse
GovernanceApi (data.governance)¶
createClassification({ classificationInput: ClassificationInput })→GovernanceClassificationcreateContact({ contactInput: ContactInput })→GovernanceContactcreateRequirement({ requirementInput: RequirementInput })→GovernanceRequirementdeleteClassification({ classificationId: string })→voiddeleteContact({ contactId: string })→voiddeleteRequirement({ requirementId: string })→voidfulfillRequirement({ projectId: string, requirementId: string, requirementFulfillmentInput: RequirementFulfillmentInput })→FulfillmentResponsegetClassification({ classificationId: string })→GovernanceClassificationgetClassifications()→Array<GovernanceClassification>getContact({ contactId: string })→GovernanceContactgetContacts()→Array<GovernanceContact>getRequirement({ requirementId: string })→GovernanceRequirementgetRequirements({ projectId?: string })→Array<GovernanceRequirement>getRequirementsByProject({ projectId: string, username?: string })→Array<ProjectRequirement>updateClassification({ classificationId: string, classificationInput: ClassificationInput })→GovernanceClassificationupdateContact({ contactId: string, contactInput: ContactInput })→GovernanceContactupdateRequirement({ requirementId: string, requirementInput: RequirementInput })→GovernanceRequirementupdateRequirementFileForProject({ requirementId: string, projectId: string, governanceFileInput: GovernanceFileInput })→void
MetadataApi (data.metadata)¶
getDatasetSamples({ projectId: string, datasetId: string })→Array<Sample>getProjectSamples({ projectId: string, limit?: number, nextToken?: string })→PaginatedResponseSampleDtogetProjectSchema({ projectId: string })→FormSchemagetSampleById({ projectId: string, sampleId: string })→SampleupdateProjectSchema({ projectId: string, formSchema: FormSchema })→voidupdateSample({ projectId: string, sampleId: string, sampleRequest: SampleRequest })→Sample
MetricsApi (data.metrics)¶
getAllMetrics()→Array<ProjectMetrics>getMetricsSummary()→TenantMetricsgetProjectMetrics({ projectId: string })→ProjectMetrics
ProcessesApi (data.processes)¶
archiveCustomProcess({ processId: string })→voidcalculatePipelineCost({ processId: string, body: object })→PipelineCostcreateCustomProcess({ customProcessInput: CustomProcessInput })→CreateResponsegetLatestProcessRevision({ processId: string })→ProcessRevisiongetProcess({ processId: string })→ProcessDetailgetProcessDocumentation({ processId: string })→ProcessDocumentationgetProcessParameters({ processId: string })→ProcessParameterSchemagetProcessResource({ processId: string, type: ProcessResource })→ProcessResourceContentgetProcessRevision({ processId: string, revisionNum: number })→ProcessRevisiongetProcesses({ includeArchived?: boolean })→Array<Process>listProcessRevisions({ processId: string, limit?: number, nextToken?: string })→PaginatedResponseProcessRevisionDtosaveProcessRevision({ processId: string, processRevisionSaveRequest: ProcessRevisionSaveRequest, ifMatch?: string | null })→ProcessRevisionSaveResponsesyncCustomProcess({ processId: string })→CustomPipelineSettingsupdateCustomProcess({ processId: string, customProcessInput: CustomProcessInput })→voidvalidateFileNamePatterns({ processId: string, validateFileNamePatternsRequest: ValidateFileNamePatternsRequest })→Array<FileNameMatch>validateFileRequirements({ processId: string, validateFileRequirementsRequest: ValidateFileRequirementsRequest })→FileRequirements
ProjectRequestsApi (data.projectRequests)¶
createProjectRequest({ projectRequest: ProjectRequest })→CreateResponse
ProjectsApi (data.projects)¶
approveAccessRequest({ projectId: string, accessRequestId: string, approveProjectAccessRequest: ApproveProjectAccessRequest })→voidarchiveProject({ projectId: string })→voidcreateAccessRequest({ projectId: string, createProjectAccessRequest: CreateProjectAccessRequest })→CreateResponsecreateProject({ projectInput: ProjectInput })→CreateResponsedenyAccessRequest({ projectId: string, accessRequestId: string })→voidgetAccessRequests({ projectId: string, includeClosed?: boolean })→Array<ProjectAccessRequest>getDiscoverableProjects()→Array<Project>getProject({ projectId: string })→ProjectDetailgetProjectCreateOptions()→ProjectCreateOptionsgetProjectUsers({ projectId: string })→Array<ProjectUser>getProjects()→Array<Project>getQuotas({ projectId: string })→Array<CloudQuota>redeployProject({ projectId: string })→voidrequestQuotaIncrease({ projectId: string, requestQuotaIncreaseCommand: RequestQuotaIncreaseCommand })→RequestQuotaIncreaseResponsesetUserProjectRole({ projectId: string, setUserProjectRoleRequest: SetUserProjectRoleRequest })→voidunarchiveProject({ projectId: string })→voidupdateProject({ projectId: string, projectInput: ProjectInput })→ProjectDetailupdateProjectTags({ projectId: string, tag: Array<Tag> })→void
ReferencesApi (data.references)¶
createProjectReference({ projectId: string, createReferenceRequest: CreateReferenceRequest })→ReferencedeleteProjectReference({ projectId: string })→voidgetReferenceTypes()→Array<ReferenceType>getReferences()→Array<Reference>getReferencesForProject({ projectId: string })→Array<Reference>refreshProjectReferences({ projectId: string })→void
SharedFilesystemsApi (data.sharedFilesystems)¶
createSharedFilesystem({ projectId: string, sharedFilesystemInput: SharedFilesystemInput })→CreateResponsedeleteSharedFilesystem({ projectId: string, filesystemId: string })→voidgetSharedFilesystem({ projectId: string, filesystemId: string })→SharedFilesystemlistSharedFilesystems({ projectId: string })→Array<SharedFilesystem>updateSharedFilesystem({ projectId: string, filesystemId: string, sharedFilesystemInput: SharedFilesystemInput })→SharedFilesystem
SharingApi (data.sharing)¶
createShare({ projectId: string, shareInput: ShareInput })→CreateResponsedeleteShare({ projectId: string, shareId: string })→voidgetDiscoverableShares({ projectId: string })→Array<Share>getShare({ projectId: string, shareId: string })→ShareDetailgetShareUsages({ projectId: string, shareId: string, limit?: number, nextToken?: string })→PaginatedResponseShareUsagegetSharedDatasets({ projectId: string, shareId: string, limit?: number, nextToken?: string })→PaginatedResponseDatasetListDtogetShares({ projectId: string })→Array<Share>revokeShareUsage({ projectId: string, shareId: string, usageId: string })→voidsubscribeShare({ projectId: string, shareId: string })→voidunsubscribeShare({ projectId: string, shareId: string })→voidupdateShare({ projectId: string, shareId: string, shareInput: ShareInput })→void
SheetsApi (data.sheets)¶
createSheet({ projectId: string, sheetInput: SheetInput })→CreateResponsedeleteSheet({ projectId: string, sheetId: string })→voiddeleteSheetData({ projectId: string, sheetId: string, deleteRowsRequest: DeleteRowsRequest })→SheetDataUpdateResponsedeleteSheetMapping({ projectId: string, sheetId: string, targetType: EntityType, targetId: string })→voidgetJobs({ projectId: string, sheetId: string })→Array<SheetJob>getSheet({ projectId: string, sheetId: string })→SheetDetailgetSheetData({ projectId: string, sheetId: string, limit?: number, page?: number, orderBy?: string | null, order?: SqlSortOrder })→SheetQueryResponsegetSheetMapping({ projectId: string, sheetId: string, targetType: EntityType, targetId: string })→TargetMappinggetSheetMappings({ projectId: string, sheetId: string })→Array<TargetMapping>getSheets({ projectId: string })→Array<Sheet>insertSheetData({ projectId: string, sheetId: string, insertRowsRequest: InsertRowsRequest })→SheetDataUpdateResponsequeryData({ projectId: string, sheetQueryRequest: SheetQueryRequest })→SheetQueryResponsequerySheetData({ projectId: string, sheetId: string, sheetDataRequest: SheetDataRequest })→SheetQueryResponserefreshView({ projectId: string, sheetId: string })→voidsaveSheetMapping({ projectId: string, sheetId: string, targetType: EntityType, targetId: string, targetMappingInput: TargetMappingInput })→TargetMappingtriggerIngest({ projectId: string, sheetId: string, sheetIngestRequest: SheetIngestRequest })→voidupdateSheet({ projectId: string, sheetId: string, sheetInput: SheetInput, dryRun?: boolean })→SheetUpdateResponseupdateSheetData({ projectId: string, sheetId: string, updateRowsRequest: UpdateRowsRequest })→SheetDataUpdateResponse
SystemApi (data.system)¶
getServiceConnections()→Array<ServiceConnection>info()→SystemInfoResponse
ToolsApi (data.tools)¶
moveDataset({ moveDatasetInput: MoveDatasetInput })→MoveDatasetResponse
UsersApi (data.users)¶
activateUser({ username: string })→voiddeactivateUser({ username: string, removeFromProjects?: boolean })→voidgetUser({ username: string })→UserDetailinviteUser({ inviteUserRequest: InviteUserRequest })→InviteUserResponselistUsers({ username?: string | null, limit?: number, nextToken?: string })→PaginatedResponseUserDtosignOutUser({ username: string })→voidupdateUser({ username: string, updateUserRequest: UpdateUserRequest })→User
WorkspacesApi (data.workspaces)¶
connectWorkspace({ projectId: string, workspaceId: string })→WorkspaceConnectionResponsecreateWorkspace({ projectId: string, workspaceInput: WorkspaceInput })→CreateResponsedeleteWorkspace({ projectId: string, workspaceId: string, force?: boolean })→voiddisconnectWorkspace({ projectId: string, workspaceId: string, sessionId: string })→voidgetWorkspace({ projectId: string, workspaceId: string })→WorkspacegetWorkspaceEnvironments()→Array<WorkspaceEnvironment>getWorkspaceLogs({ projectId: string, workspaceId: string })→Array<LogEntry>getWorkspaces({ projectId: string })→Array<Workspace>postponeAutoStop({ projectId: string, workspaceId: string, postponeWorkspaceAutostopInput: PostponeWorkspaceAutostopInput })→WorkspacestartWorkspace({ projectId: string, workspaceId: string })→voidstopWorkspace({ projectId: string, workspaceId: string })→voidupdateWorkspace({ projectId: string, workspaceId: string, workspaceInput: WorkspaceInput })→void