@aws-amplify/graphql-api-construct 1.16.1-ai-next.0 → 1.16.1-ai-next.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. package/.jsii +5 -5
  2. package/CHANGELOG.md +4 -0
  3. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  4. package/lib/amplify-graphql-api.js +1 -1
  5. package/lib/amplify-graphql-definition.js +1 -1
  6. package/lib/sql-model-datasource-strategy.js +1 -1
  7. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.d.ts +3 -4
  8. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.js +174 -212
  9. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_message_history_retriever.d.ts +10 -0
  10. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_message_history_retriever.js +65 -2
  11. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.d.ts +4 -2
  12. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.js +29 -7
  13. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.d.ts +11 -8
  14. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.js +33 -25
  15. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/errors.d.ts +10 -0
  16. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/errors.js +17 -0
  17. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/lazy.d.ts +16 -0
  18. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/lazy.js +37 -0
  19. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.d.ts +0 -19
  20. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.js +1 -1
  21. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/README.md +9 -0
  22. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.d.ts +4 -0
  23. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.js +3 -0
  24. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.d.ts +66 -0
  25. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.js +3 -0
  26. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.d.ts +5 -0
  27. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.js +3 -0
  28. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.d.ts +56 -0
  29. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.js +3 -0
  30. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.d.ts +6 -0
  31. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.js +3 -0
  32. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.d.ts +22 -0
  33. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.js +3 -0
  34. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.d.ts +8 -0
  35. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.js +3 -0
  36. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.d.ts +7 -0
  37. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.js +3 -0
  38. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.d.ts +35 -0
  39. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.js +3 -0
  40. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.d.ts +24 -0
  41. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.js +3 -0
  42. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.d.ts +17 -0
  43. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.js +3 -0
  44. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.d.ts +8 -0
  45. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.js +3 -0
  46. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.d.ts +8 -0
  47. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.js +3 -0
  48. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.d.ts +14 -0
  49. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.js +3 -0
  50. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.d.ts +24 -0
  51. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.js +40 -0
  52. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.d.ts +11 -0
  53. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.js +3 -0
  54. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.d.ts +10 -0
  55. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.js +3 -0
  56. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.d.ts +16 -0
  57. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.js +3 -0
  58. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.d.ts +27 -0
  59. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.js +3 -0
  60. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.d.ts +10 -0
  61. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.js +3 -0
  62. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.d.ts +10 -0
  63. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.js +3 -0
  64. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.d.ts +5 -0
  65. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.js +3 -0
  66. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.d.ts +4 -0
  67. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.js +3 -0
  68. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stack_provider.d.ts +5 -0
  69. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stack_provider.js +3 -0
  70. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/package.json +24 -0
  71. package/node_modules/@aws-amplify/ai-constructs/package.json +4 -4
  72. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +1 -2
  73. package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +4 -0
  74. package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +3 -3
  75. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +1 -2
  76. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +1 -2
  77. package/node_modules/@aws-amplify/graphql-generation-transformer/package.json +1 -2
  78. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +1 -2
  79. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +1 -2
  80. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  81. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +1 -2
  82. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  83. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  84. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  85. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +1 -2
  86. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  87. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +1 -2
  88. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +1 -2
  89. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  90. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +1 -2
  91. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +1 -2
  92. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +4 -0
  93. package/node_modules/@aws-amplify/graphql-transformer/package.json +3 -3
  94. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +1 -2
  95. package/node_modules/graphql-transformer-common/package.json +1 -2
  96. package/package.json +5 -5
  97. package/node_modules/@aws-amplify/graphql-auth-transformer/LICENSE +0 -201
  98. package/node_modules/@aws-amplify/graphql-default-value-transformer/LICENSE +0 -201
  99. package/node_modules/@aws-amplify/graphql-function-transformer/LICENSE +0 -201
  100. package/node_modules/@aws-amplify/graphql-generation-transformer/LICENSE +0 -201
  101. package/node_modules/@aws-amplify/graphql-http-transformer/LICENSE +0 -201
  102. package/node_modules/@aws-amplify/graphql-index-transformer/LICENSE +0 -201
  103. package/node_modules/@aws-amplify/graphql-maps-to-transformer/LICENSE +0 -201
  104. package/node_modules/@aws-amplify/graphql-model-transformer/LICENSE +0 -201
  105. package/node_modules/@aws-amplify/graphql-predictions-transformer/LICENSE +0 -201
  106. package/node_modules/@aws-amplify/graphql-relational-transformer/LICENSE +0 -201
  107. package/node_modules/@aws-amplify/graphql-searchable-transformer/LICENSE +0 -201
  108. package/node_modules/@aws-amplify/graphql-sql-transformer/LICENSE +0 -201
  109. package/node_modules/@aws-amplify/graphql-transformer-core/LICENSE +0 -201
  110. package/node_modules/graphql-transformer-common/LICENSE +0 -201
@@ -0,0 +1,16 @@
1
+ /**
2
+ * TODO: use the latest execa.
3
+ * Issue: https://github.com/aws-amplify/amplify-backend/issues/962
4
+ * execa v8 doesn't support commonjs, so we need to use the types from v5
5
+ * https://github.com/sindresorhus/execa/issues/489#issuecomment-1109983390
6
+ */
7
+ import { type ExecaChildProcess, type Options } from 'execa';
8
+ export type PackageManagerController = {
9
+ initializeProject: () => Promise<void>;
10
+ initializeTsConfig: (targetDir: string) => Promise<void>;
11
+ installDependencies: (packageNames: string[], type: 'dev' | 'prod') => Promise<void>;
12
+ runWithPackageManager: (args: string[] | undefined, dir: string, options?: Options<'utf8'>) => ExecaChildProcess;
13
+ getCommand: (args: string[]) => string;
14
+ allowsSignalPropagation: () => boolean;
15
+ };
16
+ //# sourceMappingURL=package_manager_controller.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+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5lZCxcbiAgICBkaXI6IHN0cmluZyxcbiAgICBvcHRpb25zPzogT3B0aW9uczwndXRmOCc+XG4gICkgPT4gRXhlY2FDaGlsZFByb2Nlc3M7XG4gIGdldENvbW1hbmQ6IChhcmdzOiBzdHJpbmdbXSkgPT4gc3RyaW5nO1xuICBhbGxvd3NTaWduYWxQcm9wYWdhdGlvbjogKCkgPT4gYm9vbGVhbjtcbn07XG4iXX0=
@@ -0,0 +1,27 @@
1
+ import { Policy } from 'aws-cdk-lib/aws-iam';
2
+ export type SsmEnvironmentEntry = {
3
+ /**
4
+ * The environment variable name where this SSM value will be placed at runtime
5
+ */
6
+ name: string;
7
+ /**
8
+ * The SSM parameter path that will be fetched at runtime
9
+ */
10
+ path: string;
11
+ };
12
+ export type ResourceAccessAcceptor = {
13
+ /**
14
+ * String used to uniquely identify this acceptor. Each instance should have it's own identifier.
15
+ */
16
+ identifier: string;
17
+ acceptResourceAccess: (policy: Policy, ssmEnvironmentEntries: SsmEnvironmentEntry[]) => void;
18
+ };
19
+ export type ResourceAccessAcceptorFactory<RoleIdentifier extends string | undefined = undefined> = {
20
+ /**
21
+ * This type is a little wonky but basically it's saying that if RoleIdentifier is undefined, then this is a function with no props
22
+ * And if RoleIdentifier is a string then this is a function with a single roleIdentifier prop
23
+ * See https://github.com/Microsoft/TypeScript/pull/24897
24
+ */
25
+ getResourceAccessAcceptor: (...roleIdentifier: RoleIdentifier extends string ? [RoleIdentifier] : []) => ResourceAccessAcceptor;
26
+ };
27
+ //# sourceMappingURL=resource_access_acceptor.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VfYWNjZXNzX2FjY2VwdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3Jlc291cmNlX2FjY2Vzc19hY2NlcHRvci50cyJd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zYXlpbmcgdGhhdCBpZiBSb2xlSWRlbnRpZmllciBpcyB1bmRlZmluZWQsIHRoZW4gdGhpcyBpcyBhIGZ1bmN0aW9uIHdpdGggbm8gcHJvcHNcbiAgICogQW5kIGlmIFJvbGVJZGVudGlmaWVyIGlzIGEgc3RyaW5nIHRoZW4gdGhpcyBpcyBhIGZ1bmN0aW9uIHdpdGggYSBzaW5nbGUgcm9sZUlkZW50aWZpZXIgcHJvcFxuICAgKiBTZWUgaHR0cHM6Ly9naXRodWIuY29tL01pY3Jvc29mdC9UeXBlU2NyaXB0L3B1bGwvMjQ4OTdcbiAgICovXG4gIGdldFJlc291cmNlQWNjZXNzQWNjZXB0b3I6IChcbiAgICAuLi5yb2xlSWRlbnRpZmllcjogUm9sZUlkZW50aWZpZXIgZXh0ZW5kcyBzdHJpbmcgPyBbUm9sZUlkZW50aWZpZXJdIDogW11cbiAgKSA9PiBSZXNvdXJjZUFjY2Vzc0FjY2VwdG9yO1xufTtcbiJdfQ==
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Implementors can validate what should be the correct resource name
3
+ */
4
+ export type ResourceNameValidator = {
5
+ /**
6
+ * executes the validation
7
+ */
8
+ validate: (resourceName: string) => void;
9
+ };
10
+ //# sourceMappingURL=resource_name_validator.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VfbmFtZV92YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvcmVzb3VyY2VfbmFtZV92YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogSW1wbGVtZW50b3JzIGNhbiB2YWxpZGF0ZSB3aGF0IHNob3VsZCBiZSB0aGUgY29ycmVjdCByZXNvdXJjZSBuYW1lXG4gKi9cbmV4cG9ydCB0eXBlIFJlc291cmNlTmFtZVZhbGlkYXRvciA9IHtcbiAgLyoqXG4gICAqIGV4ZWN1dGVzIHRoZSB2YWxpZGF0aW9uXG4gICAqL1xuICB2YWxpZGF0ZTogKHJlc291cmNlTmFtZTogc3RyaW5nKSA9PiB2b2lkO1xufTtcbiJdfQ==
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Provides reference to underlying CDK resources.
3
+ *
4
+ * Note: we have to use object as the generic constraint rather than Record<string, unknown> so that interfaces will also satisfy the constraint
5
+ * See: https://stackoverflow.com/questions/63617344/how-to-satisfy-the-constraint-of-recordstring-unknown-with-interface
6
+ */
7
+ export type ResourceProvider<T extends object = object> = {
8
+ resources: T;
9
+ };
10
+ //# sourceMappingURL=resource_provider.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VfcHJvdmlkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvcmVzb3VyY2VfcHJvdmlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogUHJvdmlkZXMgcmVmZXJlbmNlIHRvIHVuZGVybHlpbmcgQ0RLIHJlc291cmNlcy5cbiAqXG4gKiBOb3RlOiB3ZSBoYXZlIHRvIHVzZSBvYmplY3QgYXMgdGhlIGdlbmVyaWMgY29uc3RyYWludCByYXRoZXIgdGhhbiBSZWNvcmQ8c3RyaW5nLCB1bmtub3duPiBzbyB0aGF0IGludGVyZmFjZXMgd2lsbCBhbHNvIHNhdGlzZnkgdGhlIGNvbnN0cmFpbnRcbiAqIFNlZTogaHR0cHM6Ly9zdGFja292ZXJmbG93LmNvbS9xdWVzdGlvbnMvNjM2MTczNDQvaG93LXRvLXNhdGlzZnktdGhlLWNvbnN0cmFpbnQtb2YtcmVjb3Jkc3RyaW5nLXVua25vd24td2l0aC1pbnRlcmZhY2VcbiAqL1xuZXhwb3J0IHR5cGUgUmVzb3VyY2VQcm92aWRlcjxUIGV4dGVuZHMgb2JqZWN0ID0gb2JqZWN0PiA9IHtcbiAgcmVzb3VyY2VzOiBUO1xufTtcbiJdfQ==
@@ -0,0 +1,5 @@
1
+ import { SsmEnvironmentEntry } from './resource_access_acceptor.js';
2
+ export type SsmEnvironmentEntriesGenerator = {
3
+ generateSsmEnvironmentEntries: (scopeContext: Record<string, string>) => SsmEnvironmentEntry[];
4
+ };
5
+ //# sourceMappingURL=ssm_environment_entries_generator.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3NtX2Vudmlyb25tZW50X2VudHJpZXNfZ2VuZXJhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3NzbV9lbnZpcm9ubWVudF9lbnRyaWVzX2dlbmVyYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU3NtRW52aXJvbm1lbnRFbnRyeSB9IGZyb20gJy4vcmVzb3VyY2VfYWNjZXNzX2FjY2VwdG9yLmpzJztcblxuZXhwb3J0IHR5cGUgU3NtRW52aXJvbm1lbnRFbnRyaWVzR2VuZXJhdG9yID0ge1xuICBnZW5lcmF0ZVNzbUVudmlyb25tZW50RW50cmllczogKFxuICAgIHNjb3BlQ29udGV4dDogUmVjb3JkPHN0cmluZywgc3RyaW5nPlxuICApID0+IFNzbUVudmlyb25tZW50RW50cnlbXTtcbn07XG4iXX0=
@@ -0,0 +1,4 @@
1
+ export type StableBackendIdentifiers = {
2
+ getStableBackendHash: () => string;
3
+ };
4
+ //# sourceMappingURL=stable_backend_identifiers.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhYmxlX2JhY2tlbmRfaWRlbnRpZmllcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvc3RhYmxlX2JhY2tlbmRfaWRlbnRpZmllcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIFN0YWJsZUJhY2tlbmRJZGVudGlmaWVycyA9IHtcbiAgZ2V0U3RhYmxlQmFja2VuZEhhc2g6ICgpID0+IHN0cmluZztcbn07XG4iXX0=
@@ -0,0 +1,5 @@
1
+ import { Stack } from 'aws-cdk-lib';
2
+ export type StackProvider = {
3
+ stack: Stack;
4
+ };
5
+ //# sourceMappingURL=stack_provider.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhY2tfcHJvdmlkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvc3RhY2tfcHJvdmlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFN0YWNrIH0gZnJvbSAnYXdzLWNkay1saWInO1xuXG5leHBvcnQgdHlwZSBTdGFja1Byb3ZpZGVyID0ge1xuICBzdGFjazogU3RhY2s7XG59O1xuIl19
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@aws-amplify/plugin-types",
3
+ "version": "1.3.1",
4
+ "types": "lib/index.d.ts",
5
+ "type": "commonjs",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "scripts": {
10
+ "update:api": "api-extractor run --local"
11
+ },
12
+ "license": "Apache-2.0",
13
+ "peerDependencies": {
14
+ "aws-cdk-lib": "^2.158.0",
15
+ "constructs": "^10.0.0",
16
+ "@aws-sdk/types": "^3.609.0"
17
+ },
18
+ "imports": {
19
+ "#package.json": "./package.json"
20
+ },
21
+ "devDependencies": {
22
+ "execa": "^5.1.1"
23
+ }
24
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ai-constructs",
3
- "version": "0.0.0-test-20241029211113",
3
+ "version": "0.8.0",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -28,17 +28,17 @@
28
28
  "dependencies": {
29
29
  "@aws-amplify/backend-output-schemas": "^1.4.0",
30
30
  "@aws-amplify/platform-core": "^1.1.0",
31
- "@aws-amplify/plugin-types": "^1.0.1",
31
+ "@aws-amplify/plugin-types": "^1.3.1",
32
32
  "@aws-sdk/client-bedrock-runtime": "^3.622.0",
33
33
  "@smithy/types": "^3.3.0",
34
34
  "json-schema-to-ts": "^3.1.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@aws-amplify/backend-output-storage": "^1.1.2",
37
+ "@aws-amplify/backend-output-storage": "^1.1.3",
38
38
  "typescript": "^5.0.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "aws-cdk-lib": "^2.152.0",
41
+ "aws-cdk-lib": "^2.158.0",
42
42
  "constructs": "^10.0.0"
43
43
  }
44
44
  }
@@ -92,6 +92,5 @@
92
92
  "escapeString": true,
93
93
  "printBasicPrototype": true
94
94
  }
95
- },
96
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
95
+ }
97
96
  }
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.5.1-ai-next.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-conversation-transformer@0.5.1-ai-next.0...@aws-amplify/graphql-conversation-transformer@0.5.1-ai-next.1) (2024-11-01)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/graphql-conversation-transformer
9
+
6
10
  ## [0.5.1-ai-next.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-conversation-transformer@0.5.0...@aws-amplify/graphql-conversation-transformer@0.5.1-ai-next.0) (2024-11-01)
7
11
 
8
12
  **Note:** Version bump only for package @aws-amplify/graphql-conversation-transformer
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-conversation-transformer",
3
- "version": "0.5.1-ai-next.0",
3
+ "version": "0.5.1-ai-next.1",
4
4
  "description": "Amplify GraphQL @conversation transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,7 +24,7 @@
24
24
  "extract-api": "ts-node ../../scripts/extract-api.ts"
25
25
  },
26
26
  "dependencies": {
27
- "@aws-amplify/ai-constructs": "0.0.0-test-20241029211113",
27
+ "@aws-amplify/ai-constructs": "0.8.0",
28
28
  "@aws-amplify/graphql-directives": "2.4.0",
29
29
  "@aws-amplify/graphql-index-transformer": "3.0.8-ai-next.0",
30
30
  "@aws-amplify/graphql-model-transformer": "3.0.8-ai-next.0",
@@ -81,5 +81,5 @@
81
81
  "/__tests__/"
82
82
  ]
83
83
  },
84
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
84
+ "gitHead": "e21695f1b29d6e9cc8e76f8efbe7031eb06d80d6"
85
85
  }
@@ -82,6 +82,5 @@
82
82
  "escapeString": true,
83
83
  "printBasicPrototype": true
84
84
  }
85
- },
86
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
85
+ }
87
86
  }
@@ -82,6 +82,5 @@
82
82
  "escapeString": true,
83
83
  "printBasicPrototype": true
84
84
  }
85
- },
86
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
85
+ }
87
86
  }
@@ -74,6 +74,5 @@
74
74
  "coveragePathIgnorePatterns": [
75
75
  "/__tests__/"
76
76
  ]
77
- },
78
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
77
+ }
79
78
  }
@@ -82,6 +82,5 @@
82
82
  "escapeString": true,
83
83
  "printBasicPrototype": true
84
84
  }
85
- },
86
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
85
+ }
87
86
  }
@@ -80,6 +80,5 @@
80
80
  "escapeString": true,
81
81
  "printBasicPrototype": true
82
82
  }
83
- },
84
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
83
+ }
85
84
  }
@@ -85,6 +85,5 @@
85
85
  "escapeString": true,
86
86
  "printBasicPrototype": true
87
87
  }
88
- },
89
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
88
+ }
90
89
  }
@@ -92,6 +92,5 @@
92
92
  "escapeString": true,
93
93
  "printBasicPrototype": true
94
94
  }
95
- },
96
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
95
+ }
97
96
  }
@@ -83,6 +83,5 @@
83
83
  "escapeString": true,
84
84
  "printBasicPrototype": true
85
85
  }
86
- },
87
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
86
+ }
88
87
  }
@@ -82,6 +82,5 @@
82
82
  "escapeString": true,
83
83
  "printBasicPrototype": true
84
84
  }
85
- },
86
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
85
+ }
87
86
  }
@@ -87,6 +87,5 @@
87
87
  "escapeString": true,
88
88
  "printBasicPrototype": true
89
89
  }
90
- },
91
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
90
+ }
92
91
  }
@@ -83,6 +83,5 @@
83
83
  "escapeString": true,
84
84
  "printBasicPrototype": true
85
85
  }
86
- },
87
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
86
+ }
88
87
  }
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.1.6-ai-next.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer@2.1.6-ai-next.0...@aws-amplify/graphql-transformer@2.1.6-ai-next.1) (2024-11-01)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer
9
+
6
10
  ## [2.1.6-ai-next.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer@2.1.5...@aws-amplify/graphql-transformer@2.1.6-ai-next.0) (2024-11-01)
7
11
 
8
12
  **Note:** Version bump only for package @aws-amplify/graphql-transformer
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-transformer",
3
- "version": "2.1.6-ai-next.0",
3
+ "version": "2.1.6-ai-next.1",
4
4
  "description": "Amplify GraphQL Transformer Root Package",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@aws-amplify/graphql-auth-transformer": "4.1.6-ai-next.0",
33
- "@aws-amplify/graphql-conversation-transformer": "0.5.1-ai-next.0",
33
+ "@aws-amplify/graphql-conversation-transformer": "0.5.1-ai-next.1",
34
34
  "@aws-amplify/graphql-default-value-transformer": "3.1.3-ai-next.0",
35
35
  "@aws-amplify/graphql-function-transformer": "3.1.5-ai-next.0",
36
36
  "@aws-amplify/graphql-generation-transformer": "0.2.6-ai-next.0",
@@ -96,5 +96,5 @@
96
96
  "printBasicPrototype": true
97
97
  }
98
98
  },
99
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
99
+ "gitHead": "e21695f1b29d6e9cc8e76f8efbe7031eb06d80d6"
100
100
  }
@@ -92,6 +92,5 @@
92
92
  "escapeString": true,
93
93
  "printBasicPrototype": true
94
94
  }
95
- },
96
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
95
+ }
97
96
  }
@@ -72,6 +72,5 @@
72
72
  "escapeString": true,
73
73
  "printBasicPrototype": true
74
74
  }
75
- },
76
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
75
+ }
77
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-api-construct",
3
- "version": "1.16.1-ai-next.0",
3
+ "version": "1.16.1-ai-next.1",
4
4
  "description": "AppSync GraphQL Api Construct using Amplify GraphQL Transformer.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -158,11 +158,11 @@
158
158
  "semver"
159
159
  ],
160
160
  "dependencies": {
161
- "@aws-amplify/ai-constructs": "0.0.0-test-20241029211113",
161
+ "@aws-amplify/ai-constructs": "0.8.0",
162
162
  "@aws-amplify/backend-output-schemas": "^1.0.0",
163
163
  "@aws-amplify/backend-output-storage": "^1.0.0",
164
164
  "@aws-amplify/graphql-auth-transformer": "4.1.6-ai-next.0",
165
- "@aws-amplify/graphql-conversation-transformer": "0.5.1-ai-next.0",
165
+ "@aws-amplify/graphql-conversation-transformer": "0.5.1-ai-next.1",
166
166
  "@aws-amplify/graphql-default-value-transformer": "3.1.3-ai-next.0",
167
167
  "@aws-amplify/graphql-directives": "2.4.0",
168
168
  "@aws-amplify/graphql-function-transformer": "3.1.5-ai-next.0",
@@ -175,7 +175,7 @@
175
175
  "@aws-amplify/graphql-relational-transformer": "3.0.8-ai-next.0",
176
176
  "@aws-amplify/graphql-searchable-transformer": "3.0.8-ai-next.0",
177
177
  "@aws-amplify/graphql-sql-transformer": "0.4.8-ai-next.0",
178
- "@aws-amplify/graphql-transformer": "2.1.6-ai-next.0",
178
+ "@aws-amplify/graphql-transformer": "2.1.6-ai-next.1",
179
179
  "@aws-amplify/graphql-transformer-core": "3.2.3-ai-next.0",
180
180
  "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
181
181
  "@aws-amplify/platform-core": "^1.0.0",
@@ -353,5 +353,5 @@
353
353
  "printBasicPrototype": true
354
354
  }
355
355
  },
356
- "gitHead": "7e91c8e2fdf06534f35f663db8cfff1c3b7fad9e"
356
+ "gitHead": "e21695f1b29d6e9cc8e76f8efbe7031eb06d80d6"
357
357
  }