@aws-amplify/graphql-api-construct 1.15.1 → 1.16.0-ai-streaming.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. package/.jsii +30 -30
  2. package/CHANGELOG.md +15 -0
  3. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  4. package/lib/amplify-graphql-api.js +9 -12
  5. package/lib/amplify-graphql-definition.js +1 -1
  6. package/lib/internal/metadata.d.ts +4 -0
  7. package/lib/internal/metadata.js +42 -0
  8. package/lib/sql-model-datasource-strategy.js +1 -1
  9. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.d.ts +12 -1
  10. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.js +22 -2
  11. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.d.ts +2 -2
  12. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.js +1 -1
  13. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.d.ts +8 -2
  14. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.js +196 -34
  15. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_message_history_retriever.js +34 -8
  16. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.d.ts +5 -3
  17. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.js +20 -5
  18. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.d.ts +3 -1
  19. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.js +6 -7
  20. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_streaming_response_sender.d.ts +22 -0
  21. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_streaming_response_sender.js +38 -0
  22. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/default_handler.d.ts +1 -1
  23. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/event_tools_provider.js +2 -2
  24. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.d.ts +7 -7
  25. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.js +3 -2
  26. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/executable_tool_factory.d.ts +7 -0
  27. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/executable_tool_factory.js +16 -0
  28. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/graphql_request_executor.d.ts +2 -1
  29. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/graphql_request_executor.js +4 -2
  30. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.d.ts +3 -2
  31. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.js +4 -2
  32. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.d.ts +47 -14
  33. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.js +1 -1
  34. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/README.md +4 -0
  35. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/index.d.ts +23 -0
  36. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/index.js +10 -0
  37. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/v1.d.ts +22 -0
  38. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/v1.js +11 -0
  39. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.d.ts +113 -0
  40. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.js +10 -0
  41. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.d.ts +112 -0
  42. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.js +30 -0
  43. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.d.ts +23 -0
  44. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.js +10 -0
  45. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.d.ts +22 -0
  46. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.js +11 -0
  47. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.d.ts +23 -0
  48. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.js +10 -0
  49. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.d.ts +22 -0
  50. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.js +11 -0
  51. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.d.ts +59 -0
  52. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.js +12 -0
  53. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.d.ts +59 -0
  54. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.js +25 -0
  55. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.d.ts +508 -0
  56. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.js +112 -0
  57. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.d.ts +2 -0
  58. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.js +18 -0
  59. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.d.ts +42 -0
  60. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.js +22 -0
  61. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.d.ts +28 -0
  62. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.js +10 -0
  63. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.d.ts +27 -0
  64. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.js +12 -0
  65. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.d.ts +33 -0
  66. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.js +10 -0
  67. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.d.ts +32 -0
  68. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.js +33 -0
  69. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/package.json +27 -0
  70. package/node_modules/@aws-amplify/ai-constructs/package.json +9 -2
  71. package/node_modules/@aws-amplify/graphql-auth-transformer/API.md +0 -2
  72. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +6 -0
  73. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.d.ts +4 -3
  74. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.d.ts.map +1 -1
  75. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js +20 -9
  76. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js.map +1 -1
  77. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/schema.d.ts +1 -0
  78. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/schema.d.ts.map +1 -1
  79. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/schema.js +8 -1
  80. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/schema.js.map +1 -1
  81. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +12 -12
  82. package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +10 -0
  83. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts +3 -0
  84. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts.map +1 -1
  85. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js +53 -5
  86. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js.map +1 -1
  87. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-streaming-mutation-reduce-chunks-resolver-fn.template.js +105 -0
  88. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-streaming-mutation-reduce-chunks-resolver.d.ts +4 -0
  89. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-streaming-mutation-reduce-chunks-resolver.d.ts.map +1 -0
  90. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-streaming-mutation-reduce-chunks-resolver.js +25 -0
  91. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-streaming-mutation-reduce-chunks-resolver.js.map +1 -0
  92. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-streaming-mutation-resolver-fn.template.js +125 -0
  93. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-streaming-mutation-resolver.d.ts +4 -0
  94. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-streaming-mutation-resolver.d.ts.map +1 -0
  95. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-streaming-mutation-resolver.js +25 -0
  96. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-streaming-mutation-resolver.js.map +1 -0
  97. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver-fn.template.js +14 -1
  98. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.d.ts.map +1 -1
  99. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js +8 -1
  100. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js.map +1 -1
  101. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts.map +1 -1
  102. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js +3 -2
  103. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js.map +1 -1
  104. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts +1 -0
  105. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts.map +1 -1
  106. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js +19 -0
  107. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js.map +1 -1
  108. package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +10 -10
  109. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +4 -0
  110. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +7 -7
  111. package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +4 -0
  112. package/node_modules/@aws-amplify/graphql-directives/package.json +2 -2
  113. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +4 -0
  114. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +6 -6
  115. package/node_modules/@aws-amplify/graphql-generation-transformer/CHANGELOG.md +4 -0
  116. package/node_modules/@aws-amplify/graphql-generation-transformer/package.json +6 -6
  117. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +4 -0
  118. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +6 -6
  119. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +4 -0
  120. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +7 -7
  121. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +4 -0
  122. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  123. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +10 -10
  124. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +4 -0
  125. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  126. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  127. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  128. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +6 -6
  129. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +4 -0
  130. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  131. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +6 -6
  132. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +4 -0
  133. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +8 -8
  134. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +4 -0
  135. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  136. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +7 -7
  137. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +4 -0
  138. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +7 -7
  139. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +4 -0
  140. package/node_modules/@aws-amplify/graphql-transformer/package.json +17 -17
  141. package/node_modules/@aws-amplify/graphql-transformer-core/API.md +3 -0
  142. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +6 -0
  143. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +1 -1
  144. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts.map +1 -1
  145. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +3 -2
  146. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
  147. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/graphql-utils.d.ts +1 -0
  148. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/graphql-utils.d.ts.map +1 -1
  149. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/graphql-utils.js +6 -1
  150. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/graphql-utils.js.map +1 -1
  151. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +4 -4
  152. package/node_modules/graphql-transformer-common/API.md +3 -0
  153. package/node_modules/graphql-transformer-common/CHANGELOG.md +6 -0
  154. package/node_modules/graphql-transformer-common/LICENSE +201 -0
  155. package/node_modules/graphql-transformer-common/lib/definition.d.ts +1 -0
  156. package/node_modules/graphql-transformer-common/lib/definition.d.ts.map +1 -1
  157. package/node_modules/graphql-transformer-common/lib/definition.js +20 -1
  158. package/node_modules/graphql-transformer-common/lib/definition.js.map +1 -1
  159. package/node_modules/graphql-transformer-common/package.json +3 -2
  160. package/package.json +21 -21
  161. package/src/amplify-graphql-api.ts +12 -12
  162. package/src/internal/metadata.ts +40 -0
@@ -0,0 +1,59 @@
1
+ import { z } from 'zod';
2
+ export { AwsAppsyncAuthenticationType, AwsAppsyncAuthenticationZodEnum, } from './v1.js';
3
+ export declare const versionedGraphqlOutputSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
4
+ version: z.ZodLiteral<"1">;
5
+ payload: z.ZodObject<{
6
+ awsAppsyncRegion: z.ZodString;
7
+ awsAppsyncApiEndpoint: z.ZodString;
8
+ awsAppsyncAuthenticationType: z.ZodEnum<["API_KEY", "AWS_LAMBDA", "AWS_IAM", "OPENID_CONNECT", "AMAZON_COGNITO_USER_POOLS"]>;
9
+ awsAppsyncAdditionalAuthenticationTypes: z.ZodOptional<z.ZodString>;
10
+ awsAppsyncConflictResolutionMode: z.ZodOptional<z.ZodString>;
11
+ awsAppsyncApiKey: z.ZodOptional<z.ZodString>;
12
+ awsAppsyncApiId: z.ZodString;
13
+ amplifyApiModelSchemaS3Uri: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ awsAppsyncRegion: string;
16
+ awsAppsyncApiEndpoint: string;
17
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
18
+ awsAppsyncApiId: string;
19
+ amplifyApiModelSchemaS3Uri: string;
20
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
21
+ awsAppsyncConflictResolutionMode?: string | undefined;
22
+ awsAppsyncApiKey?: string | undefined;
23
+ }, {
24
+ awsAppsyncRegion: string;
25
+ awsAppsyncApiEndpoint: string;
26
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
27
+ awsAppsyncApiId: string;
28
+ amplifyApiModelSchemaS3Uri: string;
29
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
30
+ awsAppsyncConflictResolutionMode?: string | undefined;
31
+ awsAppsyncApiKey?: string | undefined;
32
+ }>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ version: "1";
35
+ payload: {
36
+ awsAppsyncRegion: string;
37
+ awsAppsyncApiEndpoint: string;
38
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
39
+ awsAppsyncApiId: string;
40
+ amplifyApiModelSchemaS3Uri: string;
41
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
42
+ awsAppsyncConflictResolutionMode?: string | undefined;
43
+ awsAppsyncApiKey?: string | undefined;
44
+ };
45
+ }, {
46
+ version: "1";
47
+ payload: {
48
+ awsAppsyncRegion: string;
49
+ awsAppsyncApiEndpoint: string;
50
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
51
+ awsAppsyncApiId: string;
52
+ amplifyApiModelSchemaS3Uri: string;
53
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
54
+ awsAppsyncConflictResolutionMode?: string | undefined;
55
+ awsAppsyncApiKey?: string | undefined;
56
+ };
57
+ }>]>;
58
+ export type GraphqlOutput = z.infer<typeof versionedGraphqlOutputSchema>;
59
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.versionedGraphqlOutputSchema = exports.AwsAppsyncAuthenticationZodEnum = void 0;
4
+ const zod_1 = require("zod");
5
+ const v1_js_1 = require("./v1.js");
6
+ var v1_js_2 = require("./v1.js");
7
+ Object.defineProperty(exports, "AwsAppsyncAuthenticationZodEnum", { enumerable: true, get: function () { return v1_js_2.AwsAppsyncAuthenticationZodEnum; } });
8
+ exports.versionedGraphqlOutputSchema = zod_1.z.discriminatedUnion('version', [
9
+ v1_js_1.graphqlOutputSchema,
10
+ // this is where additional graphql major version schemas would go
11
+ ]);
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZ3JhcGhxbC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw2QkFBd0I7QUFDeEIsbUNBQXVFO0FBRXZFLGlDQUdpQjtBQURmLHdIQUFBLCtCQUErQixPQUFBO0FBR3BCLFFBQUEsNEJBQTRCLEdBQUcsT0FBQyxDQUFDLGtCQUFrQixDQUFDLFNBQVMsRUFBRTtJQUMxRSwyQkFBcUI7SUFDckIsa0VBQWtFO0NBQ25FLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHogfSBmcm9tICd6b2QnO1xuaW1wb3J0IHsgZ3JhcGhxbE91dHB1dFNjaGVtYSBhcyBncmFwaHFsT3V0cHV0U2NoZW1hVjEgfSBmcm9tICcuL3YxLmpzJztcblxuZXhwb3J0IHtcbiAgQXdzQXBwc3luY0F1dGhlbnRpY2F0aW9uVHlwZSxcbiAgQXdzQXBwc3luY0F1dGhlbnRpY2F0aW9uWm9kRW51bSxcbn0gZnJvbSAnLi92MS5qcyc7XG5cbmV4cG9ydCBjb25zdCB2ZXJzaW9uZWRHcmFwaHFsT3V0cHV0U2NoZW1hID0gei5kaXNjcmltaW5hdGVkVW5pb24oJ3ZlcnNpb24nLCBbXG4gIGdyYXBocWxPdXRwdXRTY2hlbWFWMSxcbiAgLy8gdGhpcyBpcyB3aGVyZSBhZGRpdGlvbmFsIGdyYXBocWwgbWFqb3IgdmVyc2lvbiBzY2hlbWFzIHdvdWxkIGdvXG5dKTtcblxuZXhwb3J0IHR5cGUgR3JhcGhxbE91dHB1dCA9IHouaW5mZXI8dHlwZW9mIHZlcnNpb25lZEdyYXBocWxPdXRwdXRTY2hlbWE+O1xuIl19
@@ -0,0 +1,59 @@
1
+ import { z } from 'zod';
2
+ export declare const AwsAppsyncAuthenticationZodEnum: z.ZodEnum<["API_KEY", "AWS_LAMBDA", "AWS_IAM", "OPENID_CONNECT", "AMAZON_COGNITO_USER_POOLS"]>;
3
+ export type AwsAppsyncAuthenticationType = z.infer<typeof AwsAppsyncAuthenticationZodEnum>;
4
+ export declare const graphqlOutputSchema: z.ZodObject<{
5
+ version: z.ZodLiteral<"1">;
6
+ payload: z.ZodObject<{
7
+ awsAppsyncRegion: z.ZodString;
8
+ awsAppsyncApiEndpoint: z.ZodString;
9
+ awsAppsyncAuthenticationType: z.ZodEnum<["API_KEY", "AWS_LAMBDA", "AWS_IAM", "OPENID_CONNECT", "AMAZON_COGNITO_USER_POOLS"]>;
10
+ awsAppsyncAdditionalAuthenticationTypes: z.ZodOptional<z.ZodString>;
11
+ awsAppsyncConflictResolutionMode: z.ZodOptional<z.ZodString>;
12
+ awsAppsyncApiKey: z.ZodOptional<z.ZodString>;
13
+ awsAppsyncApiId: z.ZodString;
14
+ amplifyApiModelSchemaS3Uri: z.ZodString;
15
+ }, "strip", z.ZodTypeAny, {
16
+ awsAppsyncRegion: string;
17
+ awsAppsyncApiEndpoint: string;
18
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
19
+ awsAppsyncApiId: string;
20
+ amplifyApiModelSchemaS3Uri: string;
21
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
22
+ awsAppsyncConflictResolutionMode?: string | undefined;
23
+ awsAppsyncApiKey?: string | undefined;
24
+ }, {
25
+ awsAppsyncRegion: string;
26
+ awsAppsyncApiEndpoint: string;
27
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
28
+ awsAppsyncApiId: string;
29
+ amplifyApiModelSchemaS3Uri: string;
30
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
31
+ awsAppsyncConflictResolutionMode?: string | undefined;
32
+ awsAppsyncApiKey?: string | undefined;
33
+ }>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ version: "1";
36
+ payload: {
37
+ awsAppsyncRegion: string;
38
+ awsAppsyncApiEndpoint: string;
39
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
40
+ awsAppsyncApiId: string;
41
+ amplifyApiModelSchemaS3Uri: string;
42
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
43
+ awsAppsyncConflictResolutionMode?: string | undefined;
44
+ awsAppsyncApiKey?: string | undefined;
45
+ };
46
+ }, {
47
+ version: "1";
48
+ payload: {
49
+ awsAppsyncRegion: string;
50
+ awsAppsyncApiEndpoint: string;
51
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
52
+ awsAppsyncApiId: string;
53
+ amplifyApiModelSchemaS3Uri: string;
54
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
55
+ awsAppsyncConflictResolutionMode?: string | undefined;
56
+ awsAppsyncApiKey?: string | undefined;
57
+ };
58
+ }>;
59
+ //# sourceMappingURL=v1.d.ts.map
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.graphqlOutputSchema = exports.AwsAppsyncAuthenticationZodEnum = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.AwsAppsyncAuthenticationZodEnum = zod_1.z.enum([
6
+ 'API_KEY',
7
+ 'AWS_LAMBDA',
8
+ 'AWS_IAM',
9
+ 'OPENID_CONNECT',
10
+ 'AMAZON_COGNITO_USER_POOLS',
11
+ ]);
12
+ exports.graphqlOutputSchema = zod_1.z.object({
13
+ version: zod_1.z.literal('1'),
14
+ payload: zod_1.z.object({
15
+ awsAppsyncRegion: zod_1.z.string(),
16
+ awsAppsyncApiEndpoint: zod_1.z.string(),
17
+ awsAppsyncAuthenticationType: exports.AwsAppsyncAuthenticationZodEnum,
18
+ awsAppsyncAdditionalAuthenticationTypes: zod_1.z.string().optional(),
19
+ awsAppsyncConflictResolutionMode: zod_1.z.string().optional(),
20
+ awsAppsyncApiKey: zod_1.z.string().optional(),
21
+ awsAppsyncApiId: zod_1.z.string(),
22
+ amplifyApiModelSchemaS3Uri: zod_1.z.string(),
23
+ }),
24
+ });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidjEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZ3JhcGhxbC92MS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw2QkFBd0I7QUFFWCxRQUFBLCtCQUErQixHQUFHLE9BQUMsQ0FBQyxJQUFJLENBQUM7SUFDcEQsU0FBUztJQUNULFlBQVk7SUFDWixTQUFTO0lBQ1QsZ0JBQWdCO0lBQ2hCLDJCQUEyQjtDQUM1QixDQUFDLENBQUM7QUFLVSxRQUFBLG1CQUFtQixHQUFHLE9BQUMsQ0FBQyxNQUFNLENBQUM7SUFDMUMsT0FBTyxFQUFFLE9BQUMsQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDO0lBQ3ZCLE9BQU8sRUFBRSxPQUFDLENBQUMsTUFBTSxDQUFDO1FBQ2hCLGdCQUFnQixFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUU7UUFDNUIscUJBQXFCLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRTtRQUNqQyw0QkFBNEIsRUFBRSx1Q0FBK0I7UUFDN0QsdUNBQXVDLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRSxDQUFDLFFBQVEsRUFBRTtRQUM5RCxnQ0FBZ0MsRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsUUFBUSxFQUFFO1FBQ3ZELGdCQUFnQixFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxRQUFRLEVBQUU7UUFDdkMsZUFBZSxFQUFFLE9BQUMsQ0FBQyxNQUFNLEVBQUU7UUFDM0IsMEJBQTBCLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRTtLQUN2QyxDQUFDO0NBQ0gsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgeiB9IGZyb20gJ3pvZCc7XG5cbmV4cG9ydCBjb25zdCBBd3NBcHBzeW5jQXV0aGVudGljYXRpb25ab2RFbnVtID0gei5lbnVtKFtcbiAgJ0FQSV9LRVknLFxuICAnQVdTX0xBTUJEQScsXG4gICdBV1NfSUFNJyxcbiAgJ09QRU5JRF9DT05ORUNUJyxcbiAgJ0FNQVpPTl9DT0dOSVRPX1VTRVJfUE9PTFMnLFxuXSk7XG5leHBvcnQgdHlwZSBBd3NBcHBzeW5jQXV0aGVudGljYXRpb25UeXBlID0gei5pbmZlcjxcbiAgdHlwZW9mIEF3c0FwcHN5bmNBdXRoZW50aWNhdGlvblpvZEVudW1cbj47XG5cbmV4cG9ydCBjb25zdCBncmFwaHFsT3V0cHV0U2NoZW1hID0gei5vYmplY3Qoe1xuICB2ZXJzaW9uOiB6LmxpdGVyYWwoJzEnKSxcbiAgcGF5bG9hZDogei5vYmplY3Qoe1xuICAgIGF3c0FwcHN5bmNSZWdpb246IHouc3RyaW5nKCksXG4gICAgYXdzQXBwc3luY0FwaUVuZHBvaW50OiB6LnN0cmluZygpLFxuICAgIGF3c0FwcHN5bmNBdXRoZW50aWNhdGlvblR5cGU6IEF3c0FwcHN5bmNBdXRoZW50aWNhdGlvblpvZEVudW0sXG4gICAgYXdzQXBwc3luY0FkZGl0aW9uYWxBdXRoZW50aWNhdGlvblR5cGVzOiB6LnN0cmluZygpLm9wdGlvbmFsKCksXG4gICAgYXdzQXBwc3luY0NvbmZsaWN0UmVzb2x1dGlvbk1vZGU6IHouc3RyaW5nKCkub3B0aW9uYWwoKSxcbiAgICBhd3NBcHBzeW5jQXBpS2V5OiB6LnN0cmluZygpLm9wdGlvbmFsKCksXG4gICAgYXdzQXBwc3luY0FwaUlkOiB6LnN0cmluZygpLFxuICAgIGFtcGxpZnlBcGlNb2RlbFNjaGVtYVMzVXJpOiB6LnN0cmluZygpLFxuICB9KSxcbn0pO1xuIl19
@@ -0,0 +1,508 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * The auth, graphql and storage exports here are duplicated from the submodule exports in the package.json file
4
+ * This is because these types need to be consumed in CDK Constructs that may be JSII classes. JSII only supports
5
+ * CommonJS modules which can't interpret submodule exports
6
+ */
7
+ /**
8
+ * ---------- Platform exports ----------
9
+ */
10
+ export declare const platformOutputKey = "AWS::Amplify::Platform";
11
+ export * from './platform/index.js';
12
+ /**
13
+ * ---------- Custom exports ----------
14
+ */
15
+ export declare const customOutputKey = "AWS::Amplify::Custom";
16
+ export * from './custom/index.js';
17
+ /**
18
+ * ---------- Auth exports ----------
19
+ */
20
+ /**
21
+ * re-export the auth output schema
22
+ */
23
+ export * from './auth/index.js';
24
+ /**
25
+ * Expected key that auth output is stored under
26
+ */
27
+ export declare const authOutputKey = "AWS::Amplify::Auth";
28
+ /**
29
+ * ---------- GraphQL exports ----------
30
+ */
31
+ /**
32
+ * re-export the graphql output schema
33
+ */
34
+ export * from './graphql/index.js';
35
+ /**
36
+ * Expected key that graphql output is stored under
37
+ */
38
+ export declare const graphqlOutputKey = "AWS::Amplify::GraphQL";
39
+ /**
40
+ * ---------- Storage exports ----------
41
+ */
42
+ /**
43
+ * re-export the storage output schema
44
+ */
45
+ export * from './storage/index.js';
46
+ /**
47
+ * Expected key that storage output is stored under
48
+ */
49
+ export declare const storageOutputKey = "AWS::Amplify::Storage";
50
+ /**
51
+ * ---------- Function exports ----------
52
+ */
53
+ /**
54
+ * re-export the function output schema
55
+ */
56
+ export * from './function/index.js';
57
+ /**
58
+ * Expected key that function output is stored under
59
+ */
60
+ export declare const functionOutputKey = "AWS::Amplify::Function";
61
+ /**
62
+ * ---------- AI conversation exports ----------
63
+ */
64
+ /**
65
+ * re-export the AI conversation output schema
66
+ */
67
+ export * from './ai/conversation/index.js';
68
+ /**
69
+ * Expected key that AI conversation output is stored under
70
+ */
71
+ export declare const aiConversationOutputKey = "AWS::Amplify::AI::Conversation";
72
+ /**
73
+ * ---------- Unified exports ----------
74
+ */
75
+ /**
76
+ * Defines the unified expected shape of Amplify backend output.
77
+ * 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
78
+ */
79
+ export declare const unifiedBackendOutputSchema: z.ZodObject<{
80
+ "AWS::Amplify::Platform": z.ZodOptional<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
81
+ version: z.ZodLiteral<"1">;
82
+ payload: z.ZodObject<{
83
+ deploymentType: z.ZodString;
84
+ region: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ deploymentType: string;
87
+ region: string;
88
+ }, {
89
+ deploymentType: string;
90
+ region: string;
91
+ }>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ version: "1";
94
+ payload: {
95
+ deploymentType: string;
96
+ region: string;
97
+ };
98
+ }, {
99
+ version: "1";
100
+ payload: {
101
+ deploymentType: string;
102
+ region: string;
103
+ };
104
+ }>]>>;
105
+ "AWS::Amplify::Auth": z.ZodOptional<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
106
+ version: z.ZodLiteral<"1">;
107
+ payload: z.ZodObject<{
108
+ authRegion: z.ZodString;
109
+ userPoolId: z.ZodString;
110
+ webClientId: z.ZodString;
111
+ identityPoolId: z.ZodString;
112
+ allowUnauthenticatedIdentities: z.ZodOptional<z.ZodString>;
113
+ usernameAttributes: z.ZodOptional<z.ZodString>;
114
+ signupAttributes: z.ZodOptional<z.ZodString>;
115
+ passwordPolicyMinLength: z.ZodOptional<z.ZodString>;
116
+ passwordPolicyRequirements: z.ZodOptional<z.ZodString>;
117
+ mfaConfiguration: z.ZodOptional<z.ZodString>;
118
+ mfaTypes: z.ZodOptional<z.ZodString>;
119
+ verificationMechanisms: z.ZodOptional<z.ZodString>;
120
+ socialProviders: z.ZodOptional<z.ZodString>;
121
+ oauthCognitoDomain: z.ZodOptional<z.ZodString>;
122
+ oauthScope: z.ZodOptional<z.ZodString>;
123
+ oauthRedirectSignIn: z.ZodOptional<z.ZodString>;
124
+ oauthRedirectSignOut: z.ZodOptional<z.ZodString>;
125
+ oauthClientId: z.ZodOptional<z.ZodString>;
126
+ oauthResponseType: z.ZodOptional<z.ZodString>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ authRegion: string;
129
+ userPoolId: string;
130
+ webClientId: string;
131
+ identityPoolId: string;
132
+ allowUnauthenticatedIdentities?: string | undefined;
133
+ usernameAttributes?: string | undefined;
134
+ signupAttributes?: string | undefined;
135
+ passwordPolicyMinLength?: string | undefined;
136
+ passwordPolicyRequirements?: string | undefined;
137
+ mfaConfiguration?: string | undefined;
138
+ mfaTypes?: string | undefined;
139
+ verificationMechanisms?: string | undefined;
140
+ socialProviders?: string | undefined;
141
+ oauthCognitoDomain?: string | undefined;
142
+ oauthScope?: string | undefined;
143
+ oauthRedirectSignIn?: string | undefined;
144
+ oauthRedirectSignOut?: string | undefined;
145
+ oauthClientId?: string | undefined;
146
+ oauthResponseType?: string | undefined;
147
+ }, {
148
+ authRegion: string;
149
+ userPoolId: string;
150
+ webClientId: string;
151
+ identityPoolId: string;
152
+ allowUnauthenticatedIdentities?: string | undefined;
153
+ usernameAttributes?: string | undefined;
154
+ signupAttributes?: string | undefined;
155
+ passwordPolicyMinLength?: string | undefined;
156
+ passwordPolicyRequirements?: string | undefined;
157
+ mfaConfiguration?: string | undefined;
158
+ mfaTypes?: string | undefined;
159
+ verificationMechanisms?: string | undefined;
160
+ socialProviders?: string | undefined;
161
+ oauthCognitoDomain?: string | undefined;
162
+ oauthScope?: string | undefined;
163
+ oauthRedirectSignIn?: string | undefined;
164
+ oauthRedirectSignOut?: string | undefined;
165
+ oauthClientId?: string | undefined;
166
+ oauthResponseType?: string | undefined;
167
+ }>;
168
+ }, "strip", z.ZodTypeAny, {
169
+ version: "1";
170
+ payload: {
171
+ authRegion: string;
172
+ userPoolId: string;
173
+ webClientId: string;
174
+ identityPoolId: string;
175
+ allowUnauthenticatedIdentities?: string | undefined;
176
+ usernameAttributes?: string | undefined;
177
+ signupAttributes?: string | undefined;
178
+ passwordPolicyMinLength?: string | undefined;
179
+ passwordPolicyRequirements?: string | undefined;
180
+ mfaConfiguration?: string | undefined;
181
+ mfaTypes?: string | undefined;
182
+ verificationMechanisms?: string | undefined;
183
+ socialProviders?: string | undefined;
184
+ oauthCognitoDomain?: string | undefined;
185
+ oauthScope?: string | undefined;
186
+ oauthRedirectSignIn?: string | undefined;
187
+ oauthRedirectSignOut?: string | undefined;
188
+ oauthClientId?: string | undefined;
189
+ oauthResponseType?: string | undefined;
190
+ };
191
+ }, {
192
+ version: "1";
193
+ payload: {
194
+ authRegion: string;
195
+ userPoolId: string;
196
+ webClientId: string;
197
+ identityPoolId: string;
198
+ allowUnauthenticatedIdentities?: string | undefined;
199
+ usernameAttributes?: string | undefined;
200
+ signupAttributes?: string | undefined;
201
+ passwordPolicyMinLength?: string | undefined;
202
+ passwordPolicyRequirements?: string | undefined;
203
+ mfaConfiguration?: string | undefined;
204
+ mfaTypes?: string | undefined;
205
+ verificationMechanisms?: string | undefined;
206
+ socialProviders?: string | undefined;
207
+ oauthCognitoDomain?: string | undefined;
208
+ oauthScope?: string | undefined;
209
+ oauthRedirectSignIn?: string | undefined;
210
+ oauthRedirectSignOut?: string | undefined;
211
+ oauthClientId?: string | undefined;
212
+ oauthResponseType?: string | undefined;
213
+ };
214
+ }>]>>;
215
+ "AWS::Amplify::GraphQL": z.ZodOptional<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
216
+ version: z.ZodLiteral<"1">;
217
+ payload: z.ZodObject<{
218
+ awsAppsyncRegion: z.ZodString;
219
+ awsAppsyncApiEndpoint: z.ZodString;
220
+ awsAppsyncAuthenticationType: z.ZodEnum<["API_KEY", "AWS_LAMBDA", "AWS_IAM", "OPENID_CONNECT", "AMAZON_COGNITO_USER_POOLS"]>;
221
+ awsAppsyncAdditionalAuthenticationTypes: z.ZodOptional<z.ZodString>;
222
+ awsAppsyncConflictResolutionMode: z.ZodOptional<z.ZodString>;
223
+ awsAppsyncApiKey: z.ZodOptional<z.ZodString>;
224
+ awsAppsyncApiId: z.ZodString;
225
+ amplifyApiModelSchemaS3Uri: z.ZodString;
226
+ }, "strip", z.ZodTypeAny, {
227
+ awsAppsyncRegion: string;
228
+ awsAppsyncApiEndpoint: string;
229
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
230
+ awsAppsyncApiId: string;
231
+ amplifyApiModelSchemaS3Uri: string;
232
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
233
+ awsAppsyncConflictResolutionMode?: string | undefined;
234
+ awsAppsyncApiKey?: string | undefined;
235
+ }, {
236
+ awsAppsyncRegion: string;
237
+ awsAppsyncApiEndpoint: string;
238
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
239
+ awsAppsyncApiId: string;
240
+ amplifyApiModelSchemaS3Uri: string;
241
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
242
+ awsAppsyncConflictResolutionMode?: string | undefined;
243
+ awsAppsyncApiKey?: string | undefined;
244
+ }>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ version: "1";
247
+ payload: {
248
+ awsAppsyncRegion: string;
249
+ awsAppsyncApiEndpoint: string;
250
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
251
+ awsAppsyncApiId: string;
252
+ amplifyApiModelSchemaS3Uri: string;
253
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
254
+ awsAppsyncConflictResolutionMode?: string | undefined;
255
+ awsAppsyncApiKey?: string | undefined;
256
+ };
257
+ }, {
258
+ version: "1";
259
+ payload: {
260
+ awsAppsyncRegion: string;
261
+ awsAppsyncApiEndpoint: string;
262
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
263
+ awsAppsyncApiId: string;
264
+ amplifyApiModelSchemaS3Uri: string;
265
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
266
+ awsAppsyncConflictResolutionMode?: string | undefined;
267
+ awsAppsyncApiKey?: string | undefined;
268
+ };
269
+ }>]>>;
270
+ "AWS::Amplify::Storage": z.ZodOptional<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
271
+ version: z.ZodLiteral<"1">;
272
+ payload: z.ZodObject<{
273
+ bucketName: z.ZodString;
274
+ storageRegion: z.ZodString;
275
+ buckets: z.ZodOptional<z.ZodString>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ bucketName: string;
278
+ storageRegion: string;
279
+ buckets?: string | undefined;
280
+ }, {
281
+ bucketName: string;
282
+ storageRegion: string;
283
+ buckets?: string | undefined;
284
+ }>;
285
+ }, "strip", z.ZodTypeAny, {
286
+ version: "1";
287
+ payload: {
288
+ bucketName: string;
289
+ storageRegion: string;
290
+ buckets?: string | undefined;
291
+ };
292
+ }, {
293
+ version: "1";
294
+ payload: {
295
+ bucketName: string;
296
+ storageRegion: string;
297
+ buckets?: string | undefined;
298
+ };
299
+ }>]>>;
300
+ "AWS::Amplify::Custom": z.ZodOptional<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
301
+ version: z.ZodLiteral<"1">;
302
+ payload: z.ZodObject<{
303
+ customOutputs: z.ZodString;
304
+ }, "strip", z.ZodTypeAny, {
305
+ customOutputs: string;
306
+ }, {
307
+ customOutputs: string;
308
+ }>;
309
+ }, "strip", z.ZodTypeAny, {
310
+ version: "1";
311
+ payload: {
312
+ customOutputs: string;
313
+ };
314
+ }, {
315
+ version: "1";
316
+ payload: {
317
+ customOutputs: string;
318
+ };
319
+ }>]>>;
320
+ "AWS::Amplify::Function": z.ZodOptional<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
321
+ version: z.ZodLiteral<"1">;
322
+ payload: z.ZodObject<{
323
+ definedFunctions: z.ZodString;
324
+ }, "strip", z.ZodTypeAny, {
325
+ definedFunctions: string;
326
+ }, {
327
+ definedFunctions: string;
328
+ }>;
329
+ }, "strip", z.ZodTypeAny, {
330
+ version: "1";
331
+ payload: {
332
+ definedFunctions: string;
333
+ };
334
+ }, {
335
+ version: "1";
336
+ payload: {
337
+ definedFunctions: string;
338
+ };
339
+ }>]>>;
340
+ "AWS::Amplify::AI::Conversation": z.ZodOptional<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
341
+ version: z.ZodLiteral<"1">;
342
+ payload: z.ZodObject<{
343
+ definedConversationHandlers: z.ZodString;
344
+ }, "strip", z.ZodTypeAny, {
345
+ definedConversationHandlers: string;
346
+ }, {
347
+ definedConversationHandlers: string;
348
+ }>;
349
+ }, "strip", z.ZodTypeAny, {
350
+ version: "1";
351
+ payload: {
352
+ definedConversationHandlers: string;
353
+ };
354
+ }, {
355
+ version: "1";
356
+ payload: {
357
+ definedConversationHandlers: string;
358
+ };
359
+ }>]>>;
360
+ }, "strip", z.ZodTypeAny, {
361
+ "AWS::Amplify::Platform"?: {
362
+ version: "1";
363
+ payload: {
364
+ deploymentType: string;
365
+ region: string;
366
+ };
367
+ } | undefined;
368
+ "AWS::Amplify::Custom"?: {
369
+ version: "1";
370
+ payload: {
371
+ customOutputs: string;
372
+ };
373
+ } | undefined;
374
+ "AWS::Amplify::Auth"?: {
375
+ version: "1";
376
+ payload: {
377
+ authRegion: string;
378
+ userPoolId: string;
379
+ webClientId: string;
380
+ identityPoolId: string;
381
+ allowUnauthenticatedIdentities?: string | undefined;
382
+ usernameAttributes?: string | undefined;
383
+ signupAttributes?: string | undefined;
384
+ passwordPolicyMinLength?: string | undefined;
385
+ passwordPolicyRequirements?: string | undefined;
386
+ mfaConfiguration?: string | undefined;
387
+ mfaTypes?: string | undefined;
388
+ verificationMechanisms?: string | undefined;
389
+ socialProviders?: string | undefined;
390
+ oauthCognitoDomain?: string | undefined;
391
+ oauthScope?: string | undefined;
392
+ oauthRedirectSignIn?: string | undefined;
393
+ oauthRedirectSignOut?: string | undefined;
394
+ oauthClientId?: string | undefined;
395
+ oauthResponseType?: string | undefined;
396
+ };
397
+ } | undefined;
398
+ "AWS::Amplify::GraphQL"?: {
399
+ version: "1";
400
+ payload: {
401
+ awsAppsyncRegion: string;
402
+ awsAppsyncApiEndpoint: string;
403
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
404
+ awsAppsyncApiId: string;
405
+ amplifyApiModelSchemaS3Uri: string;
406
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
407
+ awsAppsyncConflictResolutionMode?: string | undefined;
408
+ awsAppsyncApiKey?: string | undefined;
409
+ };
410
+ } | undefined;
411
+ "AWS::Amplify::Storage"?: {
412
+ version: "1";
413
+ payload: {
414
+ bucketName: string;
415
+ storageRegion: string;
416
+ buckets?: string | undefined;
417
+ };
418
+ } | undefined;
419
+ "AWS::Amplify::Function"?: {
420
+ version: "1";
421
+ payload: {
422
+ definedFunctions: string;
423
+ };
424
+ } | undefined;
425
+ "AWS::Amplify::AI::Conversation"?: {
426
+ version: "1";
427
+ payload: {
428
+ definedConversationHandlers: string;
429
+ };
430
+ } | undefined;
431
+ }, {
432
+ "AWS::Amplify::Platform"?: {
433
+ version: "1";
434
+ payload: {
435
+ deploymentType: string;
436
+ region: string;
437
+ };
438
+ } | undefined;
439
+ "AWS::Amplify::Custom"?: {
440
+ version: "1";
441
+ payload: {
442
+ customOutputs: string;
443
+ };
444
+ } | undefined;
445
+ "AWS::Amplify::Auth"?: {
446
+ version: "1";
447
+ payload: {
448
+ authRegion: string;
449
+ userPoolId: string;
450
+ webClientId: string;
451
+ identityPoolId: string;
452
+ allowUnauthenticatedIdentities?: string | undefined;
453
+ usernameAttributes?: string | undefined;
454
+ signupAttributes?: string | undefined;
455
+ passwordPolicyMinLength?: string | undefined;
456
+ passwordPolicyRequirements?: string | undefined;
457
+ mfaConfiguration?: string | undefined;
458
+ mfaTypes?: string | undefined;
459
+ verificationMechanisms?: string | undefined;
460
+ socialProviders?: string | undefined;
461
+ oauthCognitoDomain?: string | undefined;
462
+ oauthScope?: string | undefined;
463
+ oauthRedirectSignIn?: string | undefined;
464
+ oauthRedirectSignOut?: string | undefined;
465
+ oauthClientId?: string | undefined;
466
+ oauthResponseType?: string | undefined;
467
+ };
468
+ } | undefined;
469
+ "AWS::Amplify::GraphQL"?: {
470
+ version: "1";
471
+ payload: {
472
+ awsAppsyncRegion: string;
473
+ awsAppsyncApiEndpoint: string;
474
+ awsAppsyncAuthenticationType: "API_KEY" | "AWS_LAMBDA" | "AWS_IAM" | "OPENID_CONNECT" | "AMAZON_COGNITO_USER_POOLS";
475
+ awsAppsyncApiId: string;
476
+ amplifyApiModelSchemaS3Uri: string;
477
+ awsAppsyncAdditionalAuthenticationTypes?: string | undefined;
478
+ awsAppsyncConflictResolutionMode?: string | undefined;
479
+ awsAppsyncApiKey?: string | undefined;
480
+ };
481
+ } | undefined;
482
+ "AWS::Amplify::Storage"?: {
483
+ version: "1";
484
+ payload: {
485
+ bucketName: string;
486
+ storageRegion: string;
487
+ buckets?: string | undefined;
488
+ };
489
+ } | undefined;
490
+ "AWS::Amplify::Function"?: {
491
+ version: "1";
492
+ payload: {
493
+ definedFunctions: string;
494
+ };
495
+ } | undefined;
496
+ "AWS::Amplify::AI::Conversation"?: {
497
+ version: "1";
498
+ payload: {
499
+ definedConversationHandlers: string;
500
+ };
501
+ } | undefined;
502
+ }>;
503
+ /**
504
+ * This type is a subset of the BackendOutput type that is exposed by the platform.
505
+ * It represents BackendOutput that has been validated against the schema of known output values
506
+ */
507
+ export type UnifiedBackendOutput = z.infer<typeof unifiedBackendOutputSchema>;
508
+ //# sourceMappingURL=index.d.ts.map