import { z } from 'zod'; /** * The auth, graphql and storage exports here are duplicated from the submodule exports in the package.json file * This is because these types need to be consumed in CDK Constructs that may be JSII classes. JSII only supports * CommonJS modules which can't interpret submodule exports */ /** * ---------- Platform exports ---------- */ export declare const platformOutputKey = "AWS::Amplify::Platform"; export * from './platform/index.js'; /** * ---------- Custom exports ---------- */ export declare const customOutputKey = "AWS::Amplify::Custom"; export * from './custom/index.js'; /** * ---------- Auth exports ---------- */ /** * re-export the auth output schema */ export * from './auth/index.js'; /** * Expected key that auth output is stored under */ export declare const authOutputKey = "AWS::Amplify::Auth"; /** * ---------- GraphQL exports ---------- */ /** * re-export the graphql output schema */ export * from './graphql/index.js'; /** * Expected key that graphql output is stored under */ export declare const graphqlOutputKey = "AWS::Amplify::GraphQL"; /** * ---------- Storage exports ---------- */ /** * re-export the storage output schema */ export * from './storage/index.js'; /** * Expected key that storage output is stored under */ export declare const storageOutputKey = "AWS::Amplify::Storage"; /** * ---------- Function exports ---------- */ /** * re-export the function output schema */ export * from './function/index.js'; /** * Expected key that function output is stored under */ export declare const functionOutputKey = "AWS::Amplify::Function"; /** * ---------- AI conversation exports ---------- */ /** * re-export the AI conversation output schema */ export * from './ai/conversation/index.js'; /** * Expected key that AI conversation output is stored under */ export declare const aiConversationOutputKey = "AWS::Amplify::AI::Conversation"; /** * ---------- Unified exports ---------- */ /** * Defines the unified expected shape of Amplify backend output. * As new constructs are added that need to contribute backend output, entries should be added here so that client config generation is aware of these outputs */ export declare const unifiedBackendOutputSchema: z.ZodObject<{ "AWS::Amplify::Platform": z.ZodOptional; payload: z.ZodObject<{ deploymentType: z.ZodString; region: z.ZodString; }, "strip", z.ZodTypeAny, { deploymentType: string; region: string; }, { deploymentType: string; region: string; }>; }, "strip", z.ZodTypeAny, { version: "1"; payload: { deploymentType: string; region: string; }; }, { version: "1"; payload: { deploymentType: string; region: string; }; }>]>>; "AWS::Amplify::Auth": z.ZodOptional; payload: z.ZodObject<{ authRegion: z.ZodString; userPoolId: z.ZodString; webClientId: z.ZodString; identityPoolId: z.ZodString; allowUnauthenticatedIdentities: z.ZodOptional; usernameAttributes: z.ZodOptional; signupAttributes: z.ZodOptional; passwordPolicyMinLength: z.ZodOptional; passwordPolicyRequirements: z.ZodOptional; mfaConfiguration: z.ZodOptional; mfaTypes: z.ZodOptional; verificationMechanisms: z.ZodOptional; socialProviders: z.ZodOptional; oauthCognitoDomain: z.ZodOptional; oauthScope: z.ZodOptional; oauthRedirectSignIn: z.ZodOptional; oauthRedirectSignOut: z.ZodOptional; oauthClientId: z.ZodOptional; oauthResponseType: z.ZodOptional; groups: z.ZodOptional; passwordlessOptions: z.ZodOptional; }, "strip", z.ZodTypeAny, { authRegion: string; userPoolId: string; webClientId: string; identityPoolId: string; allowUnauthenticatedIdentities?: string | undefined; usernameAttributes?: string | undefined; signupAttributes?: string | undefined; passwordPolicyMinLength?: string | undefined; passwordPolicyRequirements?: string | undefined; mfaConfiguration?: string | undefined; mfaTypes?: string | undefined; verificationMechanisms?: string | undefined; socialProviders?: string | undefined; oauthCognitoDomain?: string | undefined; oauthScope?: string | undefined; oauthRedirectSignIn?: string | undefined; oauthRedirectSignOut?: string | undefined; oauthClientId?: string | undefined; oauthResponseType?: string | undefined; groups?: string | undefined; passwordlessOptions?: string | undefined; }, { authRegion: string; userPoolId: string; webClientId: string; identityPoolId: string; allowUnauthenticatedIdentities?: string | undefined; usernameAttributes?: string | undefined; signupAttributes?: string | undefined; passwordPolicyMinLength?: string | undefined; passwordPolicyRequirements?: string | undefined; mfaConfiguration?: string | undefined; mfaTypes?: string | undefined; verificationMechanisms?: string | undefined; socialProviders?: string | undefined; oauthCognitoDomain?: string | undefined; oauthScope?: string | undefined; oauthRedirectSignIn?: string | undefined; oauthRedirectSignOut?: string | undefined; oauthClientId?: string | undefined; oauthResponseType?: string | undefined; groups?: string | undefined; passwordlessOptions?: string | undefined; }>; }, "strip", z.ZodTypeAny, { version: "1"; payload: { authRegion: string; userPoolId: string; webClientId: string; identityPoolId: string; allowUnauthenticatedIdentities?: string | undefined; usernameAttributes?: string | undefined; signupAttributes?: string | undefined; passwordPolicyMinLength?: string | undefined; passwordPolicyRequirements?: string | undefined; mfaConfiguration?: string | undefined; mfaTypes?: string | undefined; verificationMechanisms?: string | undefined; socialProviders?: string | undefined; oauthCognitoDomain?: string | undefined; oauthScope?: string | undefined; oauthRedirectSignIn?: string | undefined; oauthRedirectSignOut?: string | undefined; oauthClientId?: string | undefined; oauthResponseType?: string | undefined; groups?: string | undefined; passwordlessOptions?: string | undefined; }; }, { version: "1"; payload: { authRegion: string; userPoolId: string; webClientId: string; identityPoolId: string; allowUnauthenticatedIdentities?: string | undefined; usernameAttributes?: string | undefined; signupAttributes?: string | undefined; passwordPolicyMinLength?: string | undefined; passwordPolicyRequirements?: string | undefined; mfaConfiguration?: string | undefined; mfaTypes?: string | undefined; verificationMechanisms?: string | undefined; socialProviders?: string | undefined; oauthCognitoDomain?: string | undefined; oauthScope?: string | undefined; oauthRedirectSignIn?: string | undefined; oauthRedirectSignOut?: string | undefined; oauthClientId?: string | undefined; oauthResponseType?: string | undefined; groups?: string | undefined; passwordlessOptions?: string | undefined; }; }>]>>; "AWS::Amplify::GraphQL": z.ZodOptional; payload: z.ZodObject<{ awsAppsyncRegion: z.ZodString; awsAppsyncApiEndpoint: z.ZodString; awsAppsyncAuthenticationType: z.ZodEnum<["API_KEY", "AWS_LAMBDA", "AWS_IAM", "OPENID_CONNECT", "AMAZON_COGNITO_USER_POOLS"]>; awsAppsyncAdditionalAuthenticationTypes: z.ZodOptional; awsAppsyncConflictResolutionMode: z.ZodOptional; awsAppsyncApiKey: z.ZodOptional; awsAppsyncApiId: z.ZodString; amplifyApiModelSchemaS3Uri: z.ZodString; }, "strip", z.ZodTypeAny, { awsAppsyncRegion: string; awsAppsyncApiEndpoint: string; awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS"; awsAppsyncApiId: string; amplifyApiModelSchemaS3Uri: string; awsAppsyncAdditionalAuthenticationTypes?: string | undefined; awsAppsyncConflictResolutionMode?: string | undefined; awsAppsyncApiKey?: string | undefined; }, { awsAppsyncRegion: string; awsAppsyncApiEndpoint: string; awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS"; awsAppsyncApiId: string; amplifyApiModelSchemaS3Uri: string; awsAppsyncAdditionalAuthenticationTypes?: string | undefined; awsAppsyncConflictResolutionMode?: string | undefined; awsAppsyncApiKey?: string | undefined; }>; }, "strip", z.ZodTypeAny, { version: "1"; payload: { awsAppsyncRegion: string; awsAppsyncApiEndpoint: string; awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS"; awsAppsyncApiId: string; amplifyApiModelSchemaS3Uri: string; awsAppsyncAdditionalAuthenticationTypes?: string | undefined; awsAppsyncConflictResolutionMode?: string | undefined; awsAppsyncApiKey?: string | undefined; }; }, { version: "1"; payload: { awsAppsyncRegion: string; awsAppsyncApiEndpoint: string; awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS"; awsAppsyncApiId: string; amplifyApiModelSchemaS3Uri: string; awsAppsyncAdditionalAuthenticationTypes?: string | undefined; awsAppsyncConflictResolutionMode?: string | undefined; awsAppsyncApiKey?: string | undefined; }; }>]>>; "AWS::Amplify::Storage": z.ZodOptional; payload: z.ZodObject<{ bucketName: z.ZodString; storageRegion: z.ZodString; buckets: z.ZodOptional; }, "strip", z.ZodTypeAny, { bucketName: string; storageRegion: string; buckets?: string | undefined; }, { bucketName: string; storageRegion: string; buckets?: string | undefined; }>; }, "strip", z.ZodTypeAny, { version: "1"; payload: { bucketName: string; storageRegion: string; buckets?: string | undefined; }; }, { version: "1"; payload: { bucketName: string; storageRegion: string; buckets?: string | undefined; }; }>]>>; "AWS::Amplify::Custom": z.ZodOptional; payload: z.ZodObject<{ customOutputs: z.ZodString; }, "strip", z.ZodTypeAny, { customOutputs: string; }, { customOutputs: string; }>; }, "strip", z.ZodTypeAny, { version: "1"; payload: { customOutputs: string; }; }, { version: "1"; payload: { customOutputs: string; }; }>]>>; "AWS::Amplify::Function": z.ZodOptional; payload: z.ZodObject<{ definedFunctions: z.ZodString; }, "strip", z.ZodTypeAny, { definedFunctions: string; }, { definedFunctions: string; }>; }, "strip", z.ZodTypeAny, { version: "1"; payload: { definedFunctions: string; }; }, { version: "1"; payload: { definedFunctions: string; }; }>]>>; "AWS::Amplify::AI::Conversation": z.ZodOptional; payload: z.ZodObject<{ definedConversationHandlers: z.ZodString; }, "strip", z.ZodTypeAny, { definedConversationHandlers: string; }, { definedConversationHandlers: string; }>; }, "strip", z.ZodTypeAny, { version: "1"; payload: { definedConversationHandlers: string; }; }, { version: "1"; payload: { definedConversationHandlers: string; }; }>]>>; }, "strip", z.ZodTypeAny, { "AWS::Amplify::Platform"?: { version: "1"; payload: { deploymentType: string; region: string; }; } | undefined; "AWS::Amplify::Custom"?: { version: "1"; payload: { customOutputs: string; }; } | undefined; "AWS::Amplify::Auth"?: { version: "1"; payload: { authRegion: string; userPoolId: string; webClientId: string; identityPoolId: string; allowUnauthenticatedIdentities?: string | undefined; usernameAttributes?: string | undefined; signupAttributes?: string | undefined; passwordPolicyMinLength?: string | undefined; passwordPolicyRequirements?: string | undefined; mfaConfiguration?: string | undefined; mfaTypes?: string | undefined; verificationMechanisms?: string | undefined; socialProviders?: string | undefined; oauthCognitoDomain?: string | undefined; oauthScope?: string | undefined; oauthRedirectSignIn?: string | undefined; oauthRedirectSignOut?: string | undefined; oauthClientId?: string | undefined; oauthResponseType?: string | undefined; groups?: string | undefined; passwordlessOptions?: string | undefined; }; } | undefined; "AWS::Amplify::GraphQL"?: { version: "1"; payload: { awsAppsyncRegion: string; awsAppsyncApiEndpoint: string; awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS"; awsAppsyncApiId: string; amplifyApiModelSchemaS3Uri: string; awsAppsyncAdditionalAuthenticationTypes?: string | undefined; awsAppsyncConflictResolutionMode?: string | undefined; awsAppsyncApiKey?: string | undefined; }; } | undefined; "AWS::Amplify::Storage"?: { version: "1"; payload: { bucketName: string; storageRegion: string; buckets?: string | undefined; }; } | undefined; "AWS::Amplify::Function"?: { version: "1"; payload: { definedFunctions: string; }; } | undefined; "AWS::Amplify::AI::Conversation"?: { version: "1"; payload: { definedConversationHandlers: string; }; } | undefined; }, { "AWS::Amplify::Platform"?: { version: "1"; payload: { deploymentType: string; region: string; }; } | undefined; "AWS::Amplify::Custom"?: { version: "1"; payload: { customOutputs: string; }; } | undefined; "AWS::Amplify::Auth"?: { version: "1"; payload: { authRegion: string; userPoolId: string; webClientId: string; identityPoolId: string; allowUnauthenticatedIdentities?: string | undefined; usernameAttributes?: string | undefined; signupAttributes?: string | undefined; passwordPolicyMinLength?: string | undefined; passwordPolicyRequirements?: string | undefined; mfaConfiguration?: string | undefined; mfaTypes?: string | undefined; verificationMechanisms?: string | undefined; socialProviders?: string | undefined; oauthCognitoDomain?: string | undefined; oauthScope?: string | undefined; oauthRedirectSignIn?: string | undefined; oauthRedirectSignOut?: string | undefined; oauthClientId?: string | undefined; oauthResponseType?: string | undefined; groups?: string | undefined; passwordlessOptions?: string | undefined; }; } | undefined; "AWS::Amplify::GraphQL"?: { version: "1"; payload: { awsAppsyncRegion: string; awsAppsyncApiEndpoint: string; awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS"; awsAppsyncApiId: string; amplifyApiModelSchemaS3Uri: string; awsAppsyncAdditionalAuthenticationTypes?: string | undefined; awsAppsyncConflictResolutionMode?: string | undefined; awsAppsyncApiKey?: string | undefined; }; } | undefined; "AWS::Amplify::Storage"?: { version: "1"; payload: { bucketName: string; storageRegion: string; buckets?: string | undefined; }; } | undefined; "AWS::Amplify::Function"?: { version: "1"; payload: { definedFunctions: string; }; } | undefined; "AWS::Amplify::AI::Conversation"?: { version: "1"; payload: { definedConversationHandlers: string; }; } | undefined; }>; /** * This type is a subset of the BackendOutput type that is exposed by the platform. * It represents BackendOutput that has been validated against the schema of known output values */ export type UnifiedBackendOutput = z.infer; //# sourceMappingURL=index.d.ts.map