import { CcApiSimpleCommand } from '../../lib/cc-api-command.js'; import type { IdResolve } from '../../types/resource-id-resolver.types.js'; import type { RenewCellarCredentialsCommandInput, RenewCellarCredentialsCommandOutput } from './renew-cellar-credentials-command.types.js'; /** * The error codes this command can produce, to compare against `error.code`. * * - `CELLAR_NOT_FOUND`: the add-on does not exist, or does not belong to the given owner */ export declare const RENEW_CELLAR_CREDENTIALS_ERROR_CODES: { readonly CELLAR_NOT_FOUND: 'clever.cellar.not-found'; }; export type RenewCellarCredentialsErrorCode = (typeof RENEW_CELLAR_CREDENTIALS_ERROR_CODES)[keyof typeof RENEW_CELLAR_CREDENTIALS_ERROR_CODES]; /** * Rotates the S3 credentials of a Cellar add-on. * * The previous key stops working, so every client using it has to be updated. * * Common error codes: see {@link RENEW_CELLAR_CREDENTIALS_ERROR_CODES} * * @endpoint [POST] /v4/cellar/organisations/:XXX/cellar/:XXX/credentials/renew * @group Cellar * @version 4 */ export declare class RenewCellarCredentialsCommand extends CcApiSimpleCommand { toRequestParams(params: RenewCellarCredentialsCommandInput): Partial; getIdsToResolve(): IdResolve; isIdempotent(): boolean; } //# sourceMappingURL=renew-cellar-credentials-command.d.ts.map