import * as z from "zod/v4"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Selector2 = { /** * Unique identifier for the deployment. */ deploymentId: string; }; export type Selector1 = { /** * Case-sensitive, URL- and header-safe identifier from the integrating application. */ externalId: string; }; export type SelectorUnion = Selector1 | Selector2; export type CreateAwsVirtualKeyRequest = { /** * Filter by project ID or name. */ project?: string | undefined; selector: Selector1 | Selector2; awsAccountId: string; awsRegion: string; idempotencyKey: string; alias?: string | null | undefined; description?: string | null | undefined; deletionWindowDays?: number | undefined; tags?: { [k: string]: string; } | undefined; }; export declare const CreateAwsVirtualKeyStatus: { readonly Provisioning: "provisioning"; readonly Ready: "ready"; readonly ActionRequired: "action-required"; readonly Decommissioning: "decommissioning"; readonly DeletionPending: "deletion-pending"; readonly Deleted: "deleted"; readonly Failed: "failed"; }; export type CreateAwsVirtualKeyStatus = ClosedEnum; export type CreateAwsVirtualKeyVirtualKey = { /** * Unique identifier for the aws virtual key. */ id: string; projectId: string; status: CreateAwsVirtualKeyStatus; externalKeyId: string; awsAccountId: string; awsRegion: string; customKeyStoreId: string | null; kmsKeyArn: string | null; alias: string | null; description: string | null; deletionWindowDays: number; tags: { [k: string]: string; }; observedAt: Date | null; canaryPassedAt: Date | null; deletionScheduledAt: Date | null; finalDeletionObservedAt: Date | null; createdAt: Date; updatedAt: Date; }; export type CreateAwsVirtualKeySetup = { proxyUriEndpoint: string; proxyUriPath: string; accessKeyId: string; secretAccessKey: string; externalKeyId: string; }; /** * Created or resumed Virtual Key */ export type CreateAwsVirtualKeyResponse = { virtualKey: CreateAwsVirtualKeyVirtualKey; setup: CreateAwsVirtualKeySetup; }; /** @internal */ export type Selector2$Outbound = { deploymentId: string; }; /** @internal */ export declare const Selector2$outboundSchema: z.ZodType; export declare function selector2ToJSON(selector2: Selector2): string; /** @internal */ export type Selector1$Outbound = { externalId: string; }; /** @internal */ export declare const Selector1$outboundSchema: z.ZodType; export declare function selector1ToJSON(selector1: Selector1): string; /** @internal */ export type SelectorUnion$Outbound = Selector1$Outbound | Selector2$Outbound; /** @internal */ export declare const SelectorUnion$outboundSchema: z.ZodType; export declare function selectorUnionToJSON(selectorUnion: SelectorUnion): string; /** @internal */ export type CreateAwsVirtualKeyRequest$Outbound = { project?: string | undefined; selector: Selector1$Outbound | Selector2$Outbound; awsAccountId: string; awsRegion: string; idempotencyKey: string; alias?: string | null | undefined; description?: string | null | undefined; deletionWindowDays: number; tags?: { [k: string]: string; } | undefined; }; /** @internal */ export declare const CreateAwsVirtualKeyRequest$outboundSchema: z.ZodType; export declare function createAwsVirtualKeyRequestToJSON(createAwsVirtualKeyRequest: CreateAwsVirtualKeyRequest): string; /** @internal */ export declare const CreateAwsVirtualKeyStatus$inboundSchema: z.ZodEnum; /** @internal */ export declare const CreateAwsVirtualKeyVirtualKey$inboundSchema: z.ZodType; export declare function createAwsVirtualKeyVirtualKeyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateAwsVirtualKeySetup$inboundSchema: z.ZodType; export declare function createAwsVirtualKeySetupFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateAwsVirtualKeyResponse$inboundSchema: z.ZodType; export declare function createAwsVirtualKeyResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createawsvirtualkey.d.ts.map