resolve-cloud-sdk v0.34.3
API
- Auth
- Deployments
- bootstrapDeployment
- buildDeployment
- createDeployment
- describeDeployment
- dropDeployment
- getDeploymentUploadSignedUrl
- listDeployments
- shutdownDeployment
- Sagas
- Logs
- Tracing
- Environment variables
- Read models
- Domains
- Event stores
- Domains
- System
- Certificates
authAuthWhoAmI
Get the current user's profile information.
Method
GETPath
/v0/auth/whoamiResult
{
userId: string
userName: string
isAdmin: boolean
}authLogin
Log in to reSolve Cloud.
Method
POSTPath
/v0/auth/loginBody
{
userName: string
password: string
}Result
voidauthLogout
Log out of reSolve Cloud.
Method
POSTPath
/v0/auth/logoutResult
voidauthRefreshToken
Refresh your authentication token on reSolve Cloud.
Method
POSTPath
/v0/auth/refreshTokenResult
voidbootstrapDeployment
Run the specified deployment.
Method
PATCHPath
/v0/deployments/:deploymentId/bootstrapParams
{ deploymentId: string }Result
voidbuildDeployment
Build an uploaded application on the cloud.
Method
PATCHPath
/v0/deployments/:deploymentId/uploadParams
{ deploymentId: string }Body
Partial<{
npmRegistry: string
}>Result
{
installLog: string
files: Array<string>
}clearEventStore
Remove all events from an event store.
Method
PATCHPath
/v0/event-stores/:eventStoreId/clearParams
{ eventStoreId: string }Result
voidcloneEventStore
Create a new event store based on the specified event store.
Method
PATCHPath
/v0/event-stores/:eventStoreId/cloneParams
{ eventStoreId: string }Result
{
eventStoreId: string
eventStoreDatabaseName: string
}createDeployment
Create a new deployment.
Method
POSTPath
/v0/deploymentsBody
{
applicationName: string
version: string
eventStoreId: string
} & Partial<{ domain: string }>Result
{
deploymentId: string
applicationName: string
version: string
domains: Array<string>
} & Partial<{ eventStoreId: string }>createDomain
Create a new domain with the specified certificate based on a list of aliases.
Method
POSTPath
/v0/domainsBody
{
certificateId: string
aliases: Array<string>
} & Partial<{ domainId: string }>Result
{
domainId: string
domainType:
| "proxy"
| "static"
| "uploader"
domainName: string
resourceARN: string
aliases: Array<string>
verified: boolean
owner: string
users: "*" | Array<string>
verificationCode: string
certificateId: string
}createEventStore
Create a new event store.
Method
POSTPath
/v0/event-storesBody
{ version: string }Result
{ eventStoreId: string }deleteSagaProperty
Delete a saga property.
Method
DELETEPath
/v0/deployments/:deploymentId/sagas/:sagaName/properties/:keyParams
{
deploymentId: string
sagaName: string
key: string
}Result
voiddescribeDeployment
Obtain information about a deployment.
Method
GETPath
/v0/deployments/:deploymentIdParams
{ deploymentId: string }Result
{
deploymentId: string
applicationName: string
version: string
domains: Array<string>
} & Partial<{ eventStoreId: string }>describeExecution
Get the status of a long-running operation specified by its ID.
Method
GETPath
/v0/describe-execution/:executionIdParams
{ executionId: string }Result
{
status:
| "RUNNING"
| "SUCCEEDED"
| "FAILED"
| "TIMED_OUT"
| "ABORTED"
output: any
}disableLogs
Disable logs for a deployment.
Method
PATCHPath
/v0/deployments/:deploymentId/logs/disableParams
{ deploymentId: string }Result
voiddisableTracing
Disable performance tracing for a deployment.
Method
PATCHPath
/v0/deployments/:deploymentId/tracing/disableParams
{ deploymentId: string }Result
voiddropCertificate
Remove the specified certificate.
Method
DELETEPath
/v0/certificates/:certificateIdParams
{ certificateId: string }Result
voiddropDeployment
Remove an existing deployment.
Method
DELETEPath
/v0/deployments/:deploymentIdParams
{ deploymentId: string }Body
Partial<{
withEventStore: boolean
}>Result
voiddropDomain
Remove the specified domain.
Method
DELETEPath
/v0/domains/:domainIdParams
{ domainId: string }Result
voiddropEventStore
Remove an existing event store.
Method
DELETEPath
/v0/event-stores/:eventStoreIdParams
{ eventStoreId: string }Result
voidenableLogs
Enable logs for a deployment.
Method
PATCHPath
/v0/deployments/:deploymentId/logs/enableParams
{ deploymentId: string }Body
Partial<{
logLevel:
| "log"
| "error"
| "warn"
| "debug"
| "info"
| "verbose"
scope: string
}>Result
voidenableTracing
Enable performance tracing for a deployment.
Method
PATCHPath
/v0/deployments/:deploymentId/tracing/enableParams
{ deploymentId: string }Result
voidensureCertificate
Check an SSL certificate's validity.
Method
PUTPath
/v0/certificatesBody
{
certificate: string
key: string
} & Partial<{
certificateId: string
chain: string
}>Result
stringexportEventStore
Export events from the specified event store.
Method
PATCHPath
/v0/event-stores/:eventStoreId/exportParams
{ eventStoreId: string }Query
Partial<{
cursor: string
}>Result
voidfreezeEventStore
Disable event store updates.
Method
PATCHPath
/v0/event-stores/:eventStoreId/freezeParams
{ eventStoreId: string }Result
voidgetClientAppConfig
Get reSolve Cloud's app client ID and user pool ID on Amazon Cognito.
Method
GETPath
/v0/client-app-configResult
{
clientId: string
userPoolId: string
}getDeploymentUploadSignedUrl
Get URLs used to upload an application's source code and static resources.
Method
GETPath
/v0/deployments/:deploymentId/uploadParams
{ deploymentId: string }Result
{
codeUploadUrl: string
staticUploadUrl: string
}getEventStore
Get information about the specified event store.
Method
GETPath
/v0/event-stores/:eventStoreIdParams
{ eventStoreId: string }Result
{
eventStoreClusterArn: string
eventStoreSecretArn: string
eventStoreDatabaseName: string
version: string
eventStoreId: string
linkedDeployments: Array<string>
region: string
accessKeyId: string
secretAccessKey: string
sessionToken: string
}getExportUrls
Get URLs used to download files that contain events and secrets to import as well as a file that contains information about the status of the export process.
Method
GETPath
/v0/event-stores/:eventStoreId/exportParams
{ eventStoreId: string }Result
{
eventsExportUrl: string
secretsExportUrl: string
statusFileUrl: string
}getImportUrls
Get URLs used to upload files that contain events and secrets to import.
Method
GETPath
/v0/event-stores/:eventStoreId/importParams
{ eventStoreId: string }Query
{
eventsPartCount: string
secretsPartCount: string
}Result
{
eventsImportUrls: Array<string>
secretsImportUrls: Array<string>
}getLogs
Get logs for a time interval.
Method
GETPath
/v0/deployments/:deploymentId/logsParams
{ deploymentId: string }Query
Partial<{
startTime: string
endTime: string
filterPattern: string
streamLimit: string
}>Result
stringgetSagaProperty
Get a saga property's value.
Method
GETPath
/v0/deployments/:deploymentId/sagas/:sagaName/properties/:keyParams
{
deploymentId: string
sagaName: string
key: string
}Result
{ [K in string]: any }getSummaries
Get the list of a deployment's performance tracing summaries for the specified time interval.
Method
GETPath
/v0/deployments/:deploymentId/tracing/summaryParams
{ deploymentId: string }Query
{
startTime: string
endTime: string
} & Partial<{
filterExpression: string
}>Result
Array<
Partial<{
id: string
responseTime: number
http: Partial<{
httpURL: string
httpStatus: number
httpMethod: string
userAgent: string
clientIp: string
}>
}> & { [K in string]: any }
>getTracingDetails
Get details on the specified performance trace.
Method
GETPath
/v0/deployments/:deploymentId/tracing/detailsParams
{ deploymentId: string }Query
{
traceIds: Array<string>
}Result
Array<{
[K in string]: any
}>getTracingStatus
Check whether performance tracing is enabled for a deployment.
Method
GETPath
/v0/deployments/:deploymentId/tracing/statusParams
{ deploymentId: string }Result
"enabled" | "disabled"getVerificationCode
Get a code to add to a verification record within your domain zone.
Method
GETPath
/v0/domains/:domainId/verification-codeParams
{ domainId: string }Result
{
verificationCode: string
}heartbeat
Check if the service is available.
Method
HEADPath
/v0/Result
voidimportEventStore
Import events into the specified event store.
Method
PATCHPath
/v0/event-stores/:eventStoreId/importParams
{ eventStoreId: string }Body
{ partIndex: number }Result
voidlinkDeployment
Connect an existing application deployment to the specified event store.
Method
PATCHPath
/v0/event-stores/:eventStoreId/linkParams
{ eventStoreId: string }Body
{ deploymentId: string }Result
voidlistCertificates
Get a list of the available SSL certificates.
Method
GETPath
/v0/certificatesResult
Array<
{
certificateId: string
additionalNames: Array<string>
resourceARN: string
} & Partial<{
domainName: string
importedAt: string
issuer: string
notBefore: string
notAfter: string
}>
>listDeployments
Get a list of existing deployments.
Method
GETPath
/v0/deploymentsQuery
Partial<{
applicationName: string
}>Result
Array<
{
deploymentId: string
applicationName: string
version: string
domains: Array<string>
} & Partial<{ eventStoreId: string }>
>listDomains
Get a list of the available domains.
Method
GETPath
/v0/domainsResult
Array<{
domainId: string
domainType:
| "proxy"
| "static"
| "uploader"
domainName: string
resourceARN: string
aliases: Array<string>
verified: boolean
owner: string
users: "*" | Array<string>
verificationCode: string
certificateId: string
}>listEnvironmentVariables
Get a list of a deployment's environment variables.
Method
GETPath
/v0/deployments/:deploymentId/environmentParams
{ deploymentId: string }Result
{ [K in string]: string }listEventStores
Get a list of objects that describe available event stores.
Method
GETPath
/v0/event-storesResult
Array<{
version: string
eventStoreId: string
linkedDeployments: Array<string>
eventStoreDatabaseName: string
events: number | null
secrets: number | null
modifiedAt: number | null
createdAt: number | null
isFrozen: boolean | null
}>listReadModels
Obtain the list of a deployment's read models.
Method
GETPath
/v0/deployments/:deploymentId/read-modelsParams
{ deploymentId: string }Result
Array<{
name: string
status: string | null
successEvent:
| { [K in string]: any }
| null
failedEvent:
| { [K in string]: any }
| null
errors: Array<{
name: string
message: string
stack: string
}>
}>listSagaProperties
Get the list of assigned saga properties.
Method
GETPath
/v0/deployments/:deploymentId/sagas/:sagaName/propertiesParams
{
deploymentId: string
sagaName: string
}Result
anylistSagas
Get the list of a deployment's sagas.
Method
GETPath
/v0/deployments/:deploymentId/sagasParams
{ deploymentId: string }Result
Array<{
name: string
status: string | null
successEvent:
| { [K in string]: any }
| null
failedEvent:
| { [K in string]: any }
| null
errors: Array<{
name: string
message: string
stack: string
}>
}>listVersions
Get a list of the available reSolve versions.
Method
GETPath
/v0/runtimesResult
Array<string>pauseReadModel
Pause read model updates.
Method
PATCHPath
/v0/deployments/:deploymentId/read-models/:readModelName/pauseParams
{
deploymentId: string
readModelName: string
}Result
voidpauseSaga
Pause saga updates.
Method
PATCHPath
/v0/deployments/:deploymentId/sagas/:sagaName/pauseParams
{
deploymentId: string
sagaName: string
}Result
anyreleaseDomain
Release a domain from the associated application deployments.
Method
DELETEPath
/v0/domainsBody
{ domain: string }Result
voidremoveEnvironmentVariables
Remove environment variables.
Method
DELETEPath
/v0/deployments/:deploymentId/environmentParams
{ deploymentId: string }Body
{
variables: Array<string>
}Result
voidremoveLogs
Remove a deployment's logs.
Method
DELETEPath
/v0/deployments/:deploymentId/logsParams
{ deploymentId: string }Result
voidresetReadModel
Reset a read model's persistent state.
Method
PATCHPath
/v0/deployments/:deploymentId/read-models/:readModelName/resetParams
{
deploymentId: string
readModelName: string
}Result
voidresetSaga
Reset a saga's persistent state.
Method
PATCHPath
/v0/deployments/:deploymentId/sagas/:sagaName/resetParams
{
deploymentId: string
sagaName: string
}Result
voidresumeReadModel
Resume read model updates.
Method
PATCHPath
/v0/deployments/:deploymentId/read-models/:readModelName/resumeParams
{
deploymentId: string
readModelName: string
}Result
voidresumeSaga
Resume saga updates.
Method
PATCHPath
/v0/deployments/:deploymentId/sagas/:sagaName/resumeParams
{
deploymentId: string
sagaName: string
}Result
voidsetDeploymentDomain
Assigns a domain to a deployment.
Method
PUTPath
/v0/deployments/:deploymentId/domainParams
{ deploymentId: string }Body
{ domain: string }Result
voidsetEnvironmentVariables
Set environment variables for a deployment.
Method
PUTPath
/v0/deployments/:deploymentId/environmentParams
{ deploymentId: string }Body
{
variables: { [K in string]: string }
}Result
voidsetSagaProperty
Assign a value to a saga property.
Method
PUTPath
/v0/deployments/:deploymentId/sagas/:sagaName/propertiesParams
{
deploymentId: string
sagaName: string
}Body
{
key: string
value: string
}Result
voidshutdownDeployment
Shut down a deployment.
Method
PATCHPath
/v0/deployments/:deploymentId/shutdownParams
{ deploymentId: string }Result
voidunfreezeEventStore
Resume event store updates.
Method
PATCHPath
/v0/event-stores/:eventStoreId/unfreezeParams
{ eventStoreId: string }Result
voidunlinkDeployment
Disconnect an application deployment from the specified event store.
Method
PATCHPath
/v0/event-stores/:eventStoreId/unlinkParams
{ eventStoreId: string }Body
{ deploymentId: string }Result
voidunsetDeploymentDomain
Detach a domain from a deployment.
Method
DELETEPath
/v0/deployments/:deploymentId/domainParams
{ deploymentId: string }Body
{ domain: string }Result
voidverifyDomain
Verify a domain after a verification record was added to the domain zone.
Method
PATCHPath
/v0/domains/:domainId/verifyParams
{ domainId: string }Result
void3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago