export * from './cloud' /** * The config types, re-exported from ts-cloud. * * `config/cloud.ts` is typed by `CloudConfig`, and an application writing that * file should not have to know that the shape lives one package over - * `@stacksjs/cloud` is the package it configures. Documented as coming from * here for a long time before it did (stacksjs/stacks#2581). */ export type { CloudConfig, EnvironmentType, InfrastructureConfig } from '@stacksjs/ts-cloud' export * from './helpers' export type * from './types' /** * The mail servers, and the AWS clients `@stacksjs/buddy`'s mail commands use. * * Keep the clients available from the root. Module-preserving builds also * publish the local mail server subpaths, but the removed `imap/s3` wrapper * has no source module. Import the client from here or from ts-cloud. * * The clients are ts-cloud's own, under the names this package has always * exported. They used to be vendored copies under `imap/` that drifted: the * S3 bucket configuration getters and SES's `getSendQuota` and * `getSendStatistics` read `result.` from a parser that strips * the root, so each returned undefined, and `getBucketLocation` always said * us-east-1. ts-cloud fixed those (0.16.19 and 0.16.20) and took the copies' * one local fix, the Secrets Manager `ClientRequestToken` (0.16.21), so the * copies are gone. The classes come from the package root, so they are the * same classes every other ts-cloud caller gets; only types and the pure * `buildQueryParams` helper come from the `./aws` subpath, which is the one * place ts-cloud exports them. */ export * from './imap/smtp-server' export { AWSClient, S3Client, SecretsManagerClient } from '@stacksjs/ts-cloud' export type { AWSClientConfig, AWSError, AWSRequestOptions, S3CopyOptions, S3ListOptions, S3Object, S3SyncOptions, } from '@stacksjs/ts-cloud' export { buildQueryParams } from '@stacksjs/ts-cloud/aws' export type { AWSCredentials, CreateSecretOptions, GetSecretValueOptions, PutSecretValueOptions, RotationRules, Secret, SecretValue, UpdateSecretOptions, } from '@stacksjs/ts-cloud/aws'