@aws-sdk/client-appsync 3.32.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/README.md +2 -2
- package/{dist/cjs → dist-cjs}/AppSync.js +2 -3
- package/{dist/cjs → dist-cjs}/AppSyncClient.js +10 -11
- package/{dist/cjs → dist-cjs}/commands/CreateApiCacheCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateApiKeyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateDataSourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateFunctionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateGraphqlApiCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateResolverCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteApiCacheCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteApiKeyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteDataSourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteFunctionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteGraphqlApiCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteResolverCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/FlushApiCacheCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetApiCacheCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDataSourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetFunctionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetGraphqlApiCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetIntrospectionSchemaCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetResolverCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetSchemaCreationStatusCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListApiKeysCommand.js +5 -6
- package/{dist/cjs → dist-cjs}/commands/ListDataSourcesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListFunctionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListGraphqlApisCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListResolversByFunctionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListResolversCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTypesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StartSchemaCreationCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateApiCacheCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateApiKeyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateDataSourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateFunctionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateGraphqlApiCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateResolverCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateTypeCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +13 -4
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +25 -3
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/AppSync.js +1 -6
- package/{dist/es → dist-es}/AppSyncClient.js +2 -12
- package/{dist/es → dist-es}/commands/CreateApiCacheCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateApiKeyCommand.js +4 -31
- package/{dist/es → dist-es}/commands/CreateDataSourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateFunctionCommand.js +4 -32
- package/{dist/es → dist-es}/commands/CreateGraphqlApiCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateResolverCommand.js +4 -32
- package/{dist/es → dist-es}/commands/CreateTypeCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteApiCacheCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteApiKeyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteDataSourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteFunctionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteGraphqlApiCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteResolverCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteTypeCommand.js +4 -30
- package/{dist/es → dist-es}/commands/FlushApiCacheCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetApiCacheCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetDataSourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetFunctionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetGraphqlApiCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetIntrospectionSchemaCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetResolverCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetSchemaCreationStatusCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetTypeCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListApiKeysCommand.js +4 -36
- package/{dist/es → dist-es}/commands/ListDataSourcesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListFunctionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListGraphqlApisCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListResolversByFunctionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListResolversCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTypesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/StartSchemaCreationCommand.js +4 -32
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateApiCacheCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateApiKeyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateDataSourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateFunctionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateGraphqlApiCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateResolverCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateTypeCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +5 -358
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1177 -1165
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/AppSync.d.ts +6 -6
- package/{dist/types → dist-types}/AppSyncClient.d.ts +10 -10
- package/{dist/types → dist-types}/commands/CreateApiCacheCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateApiKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateFunctionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateGraphqlApiCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateResolverCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteApiCacheCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteApiKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteFunctionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteGraphqlApiCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteResolverCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/FlushApiCacheCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetApiCacheCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetFunctionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetGraphqlApiCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetIntrospectionSchemaCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetResolverCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSchemaCreationStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListApiKeysCommand.d.ts +5 -5
- package/{dist/types → dist-types}/commands/ListDataSourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListFunctionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListGraphqlApisCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListResolversByFunctionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListResolversCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartSchemaCreationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateApiCacheCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateApiKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateFunctionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateGraphqlApiCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateResolverCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +100 -53
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/AppSync.d.ts +6 -6
- package/{dist/types → dist-types}/ts3.4/AppSyncClient.d.ts +10 -10
- package/{dist/types → dist-types}/ts3.4/commands/CreateApiCacheCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateApiKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateFunctionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateGraphqlApiCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateResolverCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteApiCacheCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteApiKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteGraphqlApiCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteResolverCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/FlushApiCacheCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetApiCacheCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetFunctionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetGraphqlApiCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetIntrospectionSchemaCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetResolverCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetSchemaCreationStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListApiKeysCommand.d.ts +5 -5
- package/{dist/types → dist-types}/ts3.4/commands/ListDataSourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListFunctionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListGraphqlApisCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListResolversByFunctionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListResolversCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StartSchemaCreationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateApiCacheCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateApiKeyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateGraphqlApiCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateResolverCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +100 -53
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/AppSync.ts +0 -1429
- package/AppSyncClient.ts +0 -374
- package/commands/CreateApiCacheCommand.ts +0 -94
- package/commands/CreateApiKeyCommand.ts +0 -95
- package/commands/CreateDataSourceCommand.ts +0 -94
- package/commands/CreateFunctionCommand.ts +0 -96
- package/commands/CreateGraphqlApiCommand.ts +0 -94
- package/commands/CreateResolverCommand.ts +0 -96
- package/commands/CreateTypeCommand.ts +0 -94
- package/commands/DeleteApiCacheCommand.ts +0 -94
- package/commands/DeleteApiKeyCommand.ts +0 -94
- package/commands/DeleteDataSourceCommand.ts +0 -94
- package/commands/DeleteFunctionCommand.ts +0 -94
- package/commands/DeleteGraphqlApiCommand.ts +0 -94
- package/commands/DeleteResolverCommand.ts +0 -94
- package/commands/DeleteTypeCommand.ts +0 -94
- package/commands/FlushApiCacheCommand.ts +0 -94
- package/commands/GetApiCacheCommand.ts +0 -94
- package/commands/GetDataSourceCommand.ts +0 -94
- package/commands/GetFunctionCommand.ts +0 -94
- package/commands/GetGraphqlApiCommand.ts +0 -94
- package/commands/GetIntrospectionSchemaCommand.ts +0 -94
- package/commands/GetResolverCommand.ts +0 -94
- package/commands/GetSchemaCreationStatusCommand.ts +0 -94
- package/commands/GetTypeCommand.ts +0 -90
- package/commands/ListApiKeysCommand.ts +0 -100
- package/commands/ListDataSourcesCommand.ts +0 -94
- package/commands/ListFunctionsCommand.ts +0 -94
- package/commands/ListGraphqlApisCommand.ts +0 -94
- package/commands/ListResolversByFunctionCommand.ts +0 -94
- package/commands/ListResolversCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ListTypesCommand.ts +0 -94
- package/commands/StartSchemaCreationCommand.ts +0 -96
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateApiCacheCommand.ts +0 -94
- package/commands/UpdateApiKeyCommand.ts +0 -94
- package/commands/UpdateDataSourceCommand.ts +0 -94
- package/commands/UpdateFunctionCommand.ts +0 -94
- package/commands/UpdateGraphqlApiCommand.ts +0 -94
- package/commands/UpdateResolverCommand.ts +0 -94
- package/commands/UpdateTypeCommand.ts +0 -94
- package/dist/cjs/AppSync.js.map +0 -1
- package/dist/cjs/AppSyncClient.js.map +0 -1
- package/dist/cjs/commands/CreateApiCacheCommand.js.map +0 -1
- package/dist/cjs/commands/CreateApiKeyCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDataSourceCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateGraphqlApiCommand.js.map +0 -1
- package/dist/cjs/commands/CreateResolverCommand.js.map +0 -1
- package/dist/cjs/commands/CreateTypeCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteApiCacheCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteApiKeyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDataSourceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteGraphqlApiCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteResolverCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteTypeCommand.js.map +0 -1
- package/dist/cjs/commands/FlushApiCacheCommand.js.map +0 -1
- package/dist/cjs/commands/GetApiCacheCommand.js.map +0 -1
- package/dist/cjs/commands/GetDataSourceCommand.js.map +0 -1
- package/dist/cjs/commands/GetFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/GetGraphqlApiCommand.js.map +0 -1
- package/dist/cjs/commands/GetIntrospectionSchemaCommand.js.map +0 -1
- package/dist/cjs/commands/GetResolverCommand.js.map +0 -1
- package/dist/cjs/commands/GetSchemaCreationStatusCommand.js.map +0 -1
- package/dist/cjs/commands/GetTypeCommand.js.map +0 -1
- package/dist/cjs/commands/ListApiKeysCommand.js.map +0 -1
- package/dist/cjs/commands/ListDataSourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListFunctionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListGraphqlApisCommand.js.map +0 -1
- package/dist/cjs/commands/ListResolversByFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/ListResolversCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListTypesCommand.js.map +0 -1
- package/dist/cjs/commands/StartSchemaCreationCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateApiCacheCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateApiKeyCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDataSourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFunctionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateGraphqlApiCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateResolverCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateTypeCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/AppSync.js.map +0 -1
- package/dist/es/AppSyncClient.js.map +0 -1
- package/dist/es/commands/CreateApiCacheCommand.js.map +0 -1
- package/dist/es/commands/CreateApiKeyCommand.js.map +0 -1
- package/dist/es/commands/CreateDataSourceCommand.js.map +0 -1
- package/dist/es/commands/CreateFunctionCommand.js.map +0 -1
- package/dist/es/commands/CreateGraphqlApiCommand.js.map +0 -1
- package/dist/es/commands/CreateResolverCommand.js.map +0 -1
- package/dist/es/commands/CreateTypeCommand.js.map +0 -1
- package/dist/es/commands/DeleteApiCacheCommand.js.map +0 -1
- package/dist/es/commands/DeleteApiKeyCommand.js.map +0 -1
- package/dist/es/commands/DeleteDataSourceCommand.js.map +0 -1
- package/dist/es/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist/es/commands/DeleteGraphqlApiCommand.js.map +0 -1
- package/dist/es/commands/DeleteResolverCommand.js.map +0 -1
- package/dist/es/commands/DeleteTypeCommand.js.map +0 -1
- package/dist/es/commands/FlushApiCacheCommand.js.map +0 -1
- package/dist/es/commands/GetApiCacheCommand.js.map +0 -1
- package/dist/es/commands/GetDataSourceCommand.js.map +0 -1
- package/dist/es/commands/GetFunctionCommand.js.map +0 -1
- package/dist/es/commands/GetGraphqlApiCommand.js.map +0 -1
- package/dist/es/commands/GetIntrospectionSchemaCommand.js.map +0 -1
- package/dist/es/commands/GetResolverCommand.js.map +0 -1
- package/dist/es/commands/GetSchemaCreationStatusCommand.js.map +0 -1
- package/dist/es/commands/GetTypeCommand.js.map +0 -1
- package/dist/es/commands/ListApiKeysCommand.js.map +0 -1
- package/dist/es/commands/ListDataSourcesCommand.js.map +0 -1
- package/dist/es/commands/ListFunctionsCommand.js.map +0 -1
- package/dist/es/commands/ListGraphqlApisCommand.js.map +0 -1
- package/dist/es/commands/ListResolversByFunctionCommand.js.map +0 -1
- package/dist/es/commands/ListResolversCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListTypesCommand.js.map +0 -1
- package/dist/es/commands/StartSchemaCreationCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateApiCacheCommand.js.map +0 -1
- package/dist/es/commands/UpdateApiKeyCommand.js.map +0 -1
- package/dist/es/commands/UpdateDataSourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateFunctionCommand.js.map +0 -1
- package/dist/es/commands/UpdateGraphqlApiCommand.js.map +0 -1
- package/dist/es/commands/UpdateResolverCommand.js.map +0 -1
- package/dist/es/commands/UpdateTypeCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -45
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3744
- package/protocols/Aws_restJson1.ts +0 -6209
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -21,32 +21,34 @@ export declare enum AuthenticationType {
|
|
|
21
21
|
OPENID_CONNECT = "OPENID_CONNECT"
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* <p>A <code>LambdaAuthorizerConfig</code> holds configuration on how to authorize AppSync
|
|
25
|
-
*
|
|
26
|
-
*
|
|
24
|
+
* <p>A <code>LambdaAuthorizerConfig</code> holds configuration on how to authorize AppSync
|
|
25
|
+
* API access when using the <code>AWS_LAMBDA</code> authorizer mode. Be aware that an AppSync
|
|
26
|
+
* API may have only one Lambda authorizer configured at a time.</p>
|
|
27
27
|
*/
|
|
28
28
|
export interface LambdaAuthorizerConfig {
|
|
29
29
|
/**
|
|
30
|
-
* <p>The number of seconds a response should be cached for. The default is 5 minutes (300
|
|
31
|
-
* The Lambda function can override this by returning a
|
|
32
|
-
*
|
|
33
|
-
* responses.</p>
|
|
30
|
+
* <p>The number of seconds a response should be cached for. The default is 5 minutes (300
|
|
31
|
+
* seconds). The Lambda function can override this by returning a <code>ttlOverride</code> key
|
|
32
|
+
* in its response. A value of 0 disables caching of responses.</p>
|
|
34
33
|
*/
|
|
35
34
|
authorizerResultTtlInSeconds?: number;
|
|
36
35
|
/**
|
|
37
|
-
* <p>The ARN of the
|
|
36
|
+
* <p>The ARN of the Lambda function to be called for authorization. This may be a standard
|
|
38
37
|
* Lambda ARN, a version ARN (<code>.../v3</code>) or alias ARN. </p>
|
|
39
38
|
* <p>
|
|
40
39
|
* <i>Note</i>: This Lambda function must have the following resource-based
|
|
41
40
|
* policy assigned to it. When configuring Lambda authorizers in the Console, this is done for
|
|
42
|
-
* you. To do so with the
|
|
41
|
+
* you. To do so with the Amazon Web Services CLI, run the following:</p>
|
|
43
42
|
* <p>
|
|
44
|
-
* <code>aws lambda add-permission --function-name
|
|
43
|
+
* <code>aws lambda add-permission --function-name
|
|
44
|
+
* "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync"
|
|
45
|
+
* --principal appsync.amazonaws.com --action lambda:InvokeFunction</code>
|
|
45
46
|
* </p>
|
|
46
47
|
*/
|
|
47
48
|
authorizerUri: string | undefined;
|
|
48
49
|
/**
|
|
49
|
-
* <p>A regular expression for validation of tokens before the Lambda
|
|
50
|
+
* <p>A regular expression for validation of tokens before the Lambda function is
|
|
51
|
+
* called.</p>
|
|
50
52
|
*/
|
|
51
53
|
identityValidationExpression?: string;
|
|
52
54
|
}
|
|
@@ -68,8 +70,8 @@ export interface OpenIDConnectConfig {
|
|
|
68
70
|
/**
|
|
69
71
|
* <p>The client identifier of the Relying party at the OpenID identity provider. This
|
|
70
72
|
* identifier is typically obtained when the Relying party is registered with the OpenID
|
|
71
|
-
* identity provider. You can specify a regular expression so the AppSync can
|
|
72
|
-
* against multiple client identifiers at a time.</p>
|
|
73
|
+
* identity provider. You can specify a regular expression so the AppSync can
|
|
74
|
+
* validate against multiple client identifiers at a time.</p>
|
|
73
75
|
*/
|
|
74
76
|
clientId?: string;
|
|
75
77
|
/**
|
|
@@ -116,7 +118,8 @@ export declare namespace CognitoUserPoolConfig {
|
|
|
116
118
|
*/
|
|
117
119
|
export interface AdditionalAuthenticationProvider {
|
|
118
120
|
/**
|
|
119
|
-
* <p>The authentication type: API key, Identity and Access Management, OIDC,
|
|
121
|
+
* <p>The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user
|
|
122
|
+
* pools, or Amazon Web Services Lambda.</p>
|
|
120
123
|
*/
|
|
121
124
|
authenticationType?: AuthenticationType | string;
|
|
122
125
|
/**
|
|
@@ -128,7 +131,7 @@ export interface AdditionalAuthenticationProvider {
|
|
|
128
131
|
*/
|
|
129
132
|
userPoolConfig?: CognitoUserPoolConfig;
|
|
130
133
|
/**
|
|
131
|
-
* <p>Configuration for
|
|
134
|
+
* <p>Configuration for Amazon Web Services Lambda function authorization.</p>
|
|
132
135
|
*/
|
|
133
136
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
134
137
|
}
|
|
@@ -317,8 +320,8 @@ export declare namespace ApiCache {
|
|
|
317
320
|
}
|
|
318
321
|
/**
|
|
319
322
|
* <p>Describes an API key.</p>
|
|
320
|
-
* <p>Customers invoke AppSync GraphQL API operations with API keys as an
|
|
321
|
-
* mechanism. There are two key versions:</p>
|
|
323
|
+
* <p>Customers invoke AppSync GraphQL API operations with API keys as an
|
|
324
|
+
* identity mechanism. There are two key versions:</p>
|
|
322
325
|
* <p>
|
|
323
326
|
* <b>da1</b>: This version was introduced at launch in November
|
|
324
327
|
* 2017. These keys always expire after 7 days. Key expiration is managed by Amazon DynamoDB
|
|
@@ -355,33 +358,33 @@ export declare namespace ApiCache {
|
|
|
355
358
|
* <ul>
|
|
356
359
|
* <li>
|
|
357
360
|
* <p>
|
|
358
|
-
* <code>ListApiKeys</code> returns the expiration time and deletion time
|
|
359
|
-
*
|
|
361
|
+
* <code>ListApiKeys</code> returns the expiration time and deletion time in
|
|
362
|
+
* seconds.</p>
|
|
360
363
|
* </li>
|
|
361
364
|
* <li>
|
|
362
365
|
* <p>
|
|
363
|
-
* <code>CreateApiKey</code> returns the expiration time and deletion time
|
|
364
|
-
*
|
|
366
|
+
* <code>CreateApiKey</code> returns the expiration time and deletion time in
|
|
367
|
+
* seconds and accepts a user-provided expiration time in seconds.</p>
|
|
365
368
|
* </li>
|
|
366
369
|
* <li>
|
|
367
370
|
* <p>
|
|
368
|
-
* <code>UpdateApiKey</code> returns the expiration time and and deletion time
|
|
369
|
-
*
|
|
370
|
-
*
|
|
371
|
-
*
|
|
371
|
+
* <code>UpdateApiKey</code> returns the expiration time and and deletion time in
|
|
372
|
+
* seconds and accepts a user-provided expiration time in seconds. Expired API keys are
|
|
373
|
+
* kept for 60 days after the expiration time. Key expiration time can be updated while
|
|
374
|
+
* the key is not deleted. </p>
|
|
372
375
|
* </li>
|
|
373
376
|
* <li>
|
|
374
377
|
* <p>
|
|
375
378
|
* <code>DeleteApiKey</code> deletes the item from the table.</p>
|
|
376
379
|
* </li>
|
|
377
380
|
* <li>
|
|
378
|
-
* <p>Expiration is stored in Amazon DynamoDB as seconds. After the expiration
|
|
379
|
-
*
|
|
381
|
+
* <p>Expiration is stored in Amazon DynamoDB as seconds. After the expiration time,
|
|
382
|
+
* using the key to authenticate will fail. But the key can be reinstated before
|
|
380
383
|
* deletion.</p>
|
|
381
384
|
* </li>
|
|
382
385
|
* <li>
|
|
383
|
-
* <p>Deletion is stored in Amazon DynamoDB as seconds. The key will be deleted
|
|
384
|
-
*
|
|
386
|
+
* <p>Deletion is stored in Amazon DynamoDB as seconds. The key will be deleted after
|
|
387
|
+
* deletion time. </p>
|
|
385
388
|
* </li>
|
|
386
389
|
* </ul>
|
|
387
390
|
*/
|
|
@@ -400,8 +403,8 @@ export interface ApiKey {
|
|
|
400
403
|
*/
|
|
401
404
|
expires?: number;
|
|
402
405
|
/**
|
|
403
|
-
* <p>The time after which the API key is deleted. The date is represented as seconds since
|
|
404
|
-
* epoch, rounded down to the nearest hour.</p>
|
|
406
|
+
* <p>The time after which the API key is deleted. The date is represented as seconds since
|
|
407
|
+
* the epoch, rounded down to the nearest hour.</p>
|
|
405
408
|
*/
|
|
406
409
|
deletes?: number;
|
|
407
410
|
}
|
|
@@ -815,7 +818,10 @@ export declare namespace DynamodbDataSourceConfig {
|
|
|
815
818
|
const filterSensitiveLog: (obj: DynamodbDataSourceConfig) => any;
|
|
816
819
|
}
|
|
817
820
|
/**
|
|
818
|
-
* <p>Describes an
|
|
821
|
+
* <p>Describes an OpenSearch data source configuration.</p>
|
|
822
|
+
* <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This
|
|
823
|
+
* configuration is deprecated. For new data sources, use <a>OpenSearchServiceDataSourceConfig</a> to specify an OpenSearch data
|
|
824
|
+
* source.</p>
|
|
819
825
|
*/
|
|
820
826
|
export interface ElasticsearchDataSourceConfig {
|
|
821
827
|
/**
|
|
@@ -839,8 +845,9 @@ export declare namespace ElasticsearchDataSourceConfig {
|
|
|
839
845
|
export interface HttpDataSourceConfig {
|
|
840
846
|
/**
|
|
841
847
|
* <p>The HTTP URL endpoint. You can either specify the domain name or IP, and port
|
|
842
|
-
* combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified,
|
|
843
|
-
*
|
|
848
|
+
* combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified,
|
|
849
|
+
* AppSync uses the default port 80 for the HTTP endpoint and port 443 for
|
|
850
|
+
* HTTPS endpoints.</p>
|
|
844
851
|
*/
|
|
845
852
|
endpoint?: string;
|
|
846
853
|
/**
|
|
@@ -869,6 +876,25 @@ export declare namespace LambdaDataSourceConfig {
|
|
|
869
876
|
*/
|
|
870
877
|
const filterSensitiveLog: (obj: LambdaDataSourceConfig) => any;
|
|
871
878
|
}
|
|
879
|
+
/**
|
|
880
|
+
* <p>Describes an OpenSearch data source configuration.</p>
|
|
881
|
+
*/
|
|
882
|
+
export interface OpenSearchServiceDataSourceConfig {
|
|
883
|
+
/**
|
|
884
|
+
* <p>The endpoint.</p>
|
|
885
|
+
*/
|
|
886
|
+
endpoint: string | undefined;
|
|
887
|
+
/**
|
|
888
|
+
* <p>The Amazon Web Services Region.</p>
|
|
889
|
+
*/
|
|
890
|
+
awsRegion: string | undefined;
|
|
891
|
+
}
|
|
892
|
+
export declare namespace OpenSearchServiceDataSourceConfig {
|
|
893
|
+
/**
|
|
894
|
+
* @internal
|
|
895
|
+
*/
|
|
896
|
+
const filterSensitiveLog: (obj: OpenSearchServiceDataSourceConfig) => any;
|
|
897
|
+
}
|
|
872
898
|
/**
|
|
873
899
|
* <p>The Amazon RDS HTTP endpoint configuration.</p>
|
|
874
900
|
*/
|
|
@@ -932,6 +958,7 @@ export declare namespace RelationalDatabaseDataSourceConfig {
|
|
|
932
958
|
export declare enum DataSourceType {
|
|
933
959
|
AMAZON_DYNAMODB = "AMAZON_DYNAMODB",
|
|
934
960
|
AMAZON_ELASTICSEARCH = "AMAZON_ELASTICSEARCH",
|
|
961
|
+
AMAZON_OPENSEARCH_SERVICE = "AMAZON_OPENSEARCH_SERVICE",
|
|
935
962
|
AWS_LAMBDA = "AWS_LAMBDA",
|
|
936
963
|
HTTP = "HTTP",
|
|
937
964
|
NONE = "NONE",
|
|
@@ -955,8 +982,8 @@ export interface CreateDataSourceRequest {
|
|
|
955
982
|
*/
|
|
956
983
|
type: DataSourceType | string | undefined;
|
|
957
984
|
/**
|
|
958
|
-
* <p>The Identity and Access Management service role ARN for the data source. The system assumes this
|
|
959
|
-
* accessing the data source.</p>
|
|
985
|
+
* <p>The Identity and Access Management service role ARN for the data source. The system assumes this
|
|
986
|
+
* role when accessing the data source.</p>
|
|
960
987
|
*/
|
|
961
988
|
serviceRoleArn?: string;
|
|
962
989
|
/**
|
|
@@ -968,9 +995,15 @@ export interface CreateDataSourceRequest {
|
|
|
968
995
|
*/
|
|
969
996
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
970
997
|
/**
|
|
971
|
-
* <p>Amazon
|
|
998
|
+
* <p>Amazon OpenSearch Service settings.</p>
|
|
999
|
+
* <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This
|
|
1000
|
+
* configuration is deprecated. For new data sources, use <a>CreateDataSourceRequest$openSearchServiceConfig</a> to create an OpenSearch data source.</p>
|
|
972
1001
|
*/
|
|
973
1002
|
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
1003
|
+
/**
|
|
1004
|
+
* <p>Amazon OpenSearch Service settings.</p>
|
|
1005
|
+
*/
|
|
1006
|
+
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
|
|
974
1007
|
/**
|
|
975
1008
|
* <p>HTTP endpoint settings.</p>
|
|
976
1009
|
*/
|
|
@@ -1007,18 +1040,22 @@ export interface DataSource {
|
|
|
1007
1040
|
* <ul>
|
|
1008
1041
|
* <li>
|
|
1009
1042
|
* <p>
|
|
1043
|
+
* <b>AWS_LAMBDA</b>: The data source is an Amazon Web Services Lambda function.</p>
|
|
1044
|
+
* </li>
|
|
1045
|
+
* <li>
|
|
1046
|
+
* <p>
|
|
1010
1047
|
* <b>AMAZON_DYNAMODB</b>: The data source is an Amazon
|
|
1011
1048
|
* DynamoDB table.</p>
|
|
1012
1049
|
* </li>
|
|
1013
1050
|
* <li>
|
|
1014
1051
|
* <p>
|
|
1015
1052
|
* <b>AMAZON_ELASTICSEARCH</b>: The data source is an
|
|
1016
|
-
*
|
|
1053
|
+
* Amazon OpenSearch Service domain.</p>
|
|
1017
1054
|
* </li>
|
|
1018
1055
|
* <li>
|
|
1019
1056
|
* <p>
|
|
1020
|
-
* <b>
|
|
1021
|
-
*
|
|
1057
|
+
* <b>AMAZON_OPENSEARCH_SERVICE</b>: The data source is
|
|
1058
|
+
* an Amazon OpenSearch Service domain.</p>
|
|
1022
1059
|
* </li>
|
|
1023
1060
|
* <li>
|
|
1024
1061
|
* <p>
|
|
@@ -1041,8 +1078,8 @@ export interface DataSource {
|
|
|
1041
1078
|
*/
|
|
1042
1079
|
type?: DataSourceType | string;
|
|
1043
1080
|
/**
|
|
1044
|
-
* <p>The Identity and Access Management service role ARN for the data source. The system assumes this
|
|
1045
|
-
* accessing the data source.</p>
|
|
1081
|
+
* <p>The Identity and Access Management service role ARN for the data source. The system assumes this
|
|
1082
|
+
* role when accessing the data source.</p>
|
|
1046
1083
|
*/
|
|
1047
1084
|
serviceRoleArn?: string;
|
|
1048
1085
|
/**
|
|
@@ -1054,9 +1091,13 @@ export interface DataSource {
|
|
|
1054
1091
|
*/
|
|
1055
1092
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
1056
1093
|
/**
|
|
1057
|
-
* <p>Amazon
|
|
1094
|
+
* <p>Amazon OpenSearch Service settings.</p>
|
|
1058
1095
|
*/
|
|
1059
1096
|
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
1097
|
+
/**
|
|
1098
|
+
* <p>Amazon OpenSearch Service settings.</p>
|
|
1099
|
+
*/
|
|
1100
|
+
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
|
|
1060
1101
|
/**
|
|
1061
1102
|
* <p>HTTP endpoint settings.</p>
|
|
1062
1103
|
*/
|
|
@@ -1327,8 +1368,8 @@ export interface LogConfig {
|
|
|
1327
1368
|
*/
|
|
1328
1369
|
fieldLogLevel: FieldLogLevel | string | undefined;
|
|
1329
1370
|
/**
|
|
1330
|
-
* <p>The service role that AppSync will assume to publish to Amazon
|
|
1331
|
-
* your account. </p>
|
|
1371
|
+
* <p>The service role that AppSync will assume to publish to Amazon
|
|
1372
|
+
* CloudWatch logs in your account. </p>
|
|
1332
1373
|
*/
|
|
1333
1374
|
cloudWatchLogsRoleArn: string | undefined;
|
|
1334
1375
|
/**
|
|
@@ -1387,7 +1428,8 @@ export interface CreateGraphqlApiRequest {
|
|
|
1387
1428
|
*/
|
|
1388
1429
|
logConfig?: LogConfig;
|
|
1389
1430
|
/**
|
|
1390
|
-
* <p>The authentication type: API key, Identity and Access Management, OIDC,
|
|
1431
|
+
* <p>The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user
|
|
1432
|
+
* pools, or Amazon Web Services Lambda.</p>
|
|
1391
1433
|
*/
|
|
1392
1434
|
authenticationType: AuthenticationType | string | undefined;
|
|
1393
1435
|
/**
|
|
@@ -1415,7 +1457,7 @@ export interface CreateGraphqlApiRequest {
|
|
|
1415
1457
|
*/
|
|
1416
1458
|
xrayEnabled?: boolean;
|
|
1417
1459
|
/**
|
|
1418
|
-
* <p>Configuration for
|
|
1460
|
+
* <p>Configuration for Amazon Web Services Lambda function authorization.</p>
|
|
1419
1461
|
*/
|
|
1420
1462
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1421
1463
|
}
|
|
@@ -1480,13 +1522,12 @@ export interface GraphqlApi {
|
|
|
1480
1522
|
*/
|
|
1481
1523
|
xrayEnabled?: boolean;
|
|
1482
1524
|
/**
|
|
1483
|
-
* <p>The ARN of the WAF ACL associated with this
|
|
1484
|
-
*
|
|
1525
|
+
* <p>The ARN of the WAF ACL associated with this <code>GraphqlApi</code>,
|
|
1526
|
+
* if one exists.</p>
|
|
1485
1527
|
*/
|
|
1486
1528
|
wafWebAclArn?: string;
|
|
1487
1529
|
/**
|
|
1488
|
-
* <p
|
|
1489
|
-
* <p>Configuration for AWS Lambda function authorization.</p>
|
|
1530
|
+
* <p>Configuration for Amazon Web Services Lambda function authorization.</p>
|
|
1490
1531
|
*/
|
|
1491
1532
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1492
1533
|
}
|
|
@@ -2796,9 +2837,15 @@ export interface UpdateDataSourceRequest {
|
|
|
2796
2837
|
*/
|
|
2797
2838
|
lambdaConfig?: LambdaDataSourceConfig;
|
|
2798
2839
|
/**
|
|
2799
|
-
* <p>The new
|
|
2840
|
+
* <p>The new OpenSearch configuration.</p>
|
|
2841
|
+
* <p>As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This
|
|
2842
|
+
* configuration is deprecated. Instead, use <a>UpdateDataSourceRequest$openSearchServiceConfig</a> to update an OpenSearch data source.</p>
|
|
2800
2843
|
*/
|
|
2801
2844
|
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
2845
|
+
/**
|
|
2846
|
+
* <p>The new OpenSearch configuration.</p>
|
|
2847
|
+
*/
|
|
2848
|
+
openSearchServiceConfig?: OpenSearchServiceDataSourceConfig;
|
|
2802
2849
|
/**
|
|
2803
2850
|
* <p>The new HTTP endpoint configuration.</p>
|
|
2804
2851
|
*/
|
|
@@ -2924,7 +2971,7 @@ export interface UpdateGraphqlApiRequest {
|
|
|
2924
2971
|
*/
|
|
2925
2972
|
xrayEnabled?: boolean;
|
|
2926
2973
|
/**
|
|
2927
|
-
* <p>Configuration for
|
|
2974
|
+
* <p>Configuration for Amazon Web Services Lambda function authorization.</p>
|
|
2928
2975
|
*/
|
|
2929
2976
|
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
2930
2977
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
1
3
|
import { CreateApiCacheCommandInput, CreateApiCacheCommandOutput } from "../commands/CreateApiCacheCommand";
|
|
2
4
|
import { CreateApiKeyCommandInput, CreateApiKeyCommandOutput } from "../commands/CreateApiKeyCommand";
|
|
3
5
|
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "../commands/CreateDataSourceCommand";
|
|
@@ -39,8 +41,6 @@ import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "../comm
|
|
|
39
41
|
import { UpdateGraphqlApiCommandInput, UpdateGraphqlApiCommandOutput } from "../commands/UpdateGraphqlApiCommand";
|
|
40
42
|
import { UpdateResolverCommandInput, UpdateResolverCommandOutput } from "../commands/UpdateResolverCommand";
|
|
41
43
|
import { UpdateTypeCommandInput, UpdateTypeCommandOutput } from "../commands/UpdateTypeCommand";
|
|
42
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
43
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
44
44
|
export declare const serializeAws_restJson1CreateApiCacheCommand: (input: CreateApiCacheCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
45
45
|
export declare const serializeAws_restJson1CreateApiKeyCommand: (input: CreateApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
46
|
export declare const serializeAws_restJson1CreateDataSourceCommand: (input: CreateDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
32
32
|
signingEscapePath?: boolean | undefined;
|
|
33
33
|
systemClockOffset?: number | undefined;
|
|
34
34
|
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
35
36
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
36
37
|
};
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
-
import { AppSyncClientConfig } from "./AppSyncClient";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
7
|
-
runtime: string;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
-
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/client-sts/dist
|
|
12
|
-
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
-
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
|
|
16
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
-
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
-
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
-
apiVersion: string;
|
|
22
|
-
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
-
disableHostPrefix: boolean;
|
|
24
|
-
logger: import("@aws-sdk/types").Logger;
|
|
25
|
-
serviceId: string;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
-
tls?: boolean | undefined;
|
|
29
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
-
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
-
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
-
signingEscapePath?: boolean | undefined;
|
|
33
|
-
systemClockOffset?: number | undefined;
|
|
34
|
-
signingRegion?: string | undefined;
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { AppSyncClientConfig } from "./AppSyncClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
+
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
|
|
16
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
+
apiVersion: string;
|
|
22
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
logger: import("@aws-sdk/types").Logger;
|
|
25
|
+
serviceId: string;
|
|
26
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -31,5 +31,6 @@ export declare const getRuntimeConfig: (config: AppSyncClientConfig) => {
|
|
|
31
31
|
signingEscapePath?: boolean | undefined;
|
|
32
32
|
systemClockOffset?: number | undefined;
|
|
33
33
|
signingRegion?: string | undefined;
|
|
34
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
34
35
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
35
36
|
};
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,64 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appsync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.36.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "exit 0",
|
|
6
|
+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
12
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
+
"build:docs": "yarn clean:docs && typedoc ./",
|
|
13
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"browser": {
|
|
21
|
-
"./runtimeConfig": "./runtimeConfig.browser"
|
|
22
|
-
},
|
|
23
|
-
"react-native": {
|
|
24
|
-
"./runtimeConfig": "./runtimeConfig.native"
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
+
"clean:dist": "rimraf ./dist",
|
|
13
|
+
"clean:docs": "rimraf ./docs",
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
+
"test": "exit 0"
|
|
25
16
|
},
|
|
17
|
+
"main": "./dist-cjs/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"module": "./dist-es/index.js",
|
|
26
20
|
"sideEffects": false,
|
|
27
21
|
"dependencies": {
|
|
28
22
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
23
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.36.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.36.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.36.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.36.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.36.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.36.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.36.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.36.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.36.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.36.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.36.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.36.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.36.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.36.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.36.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.36.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.36.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.36.0",
|
|
42
|
+
"@aws-sdk/types": "3.36.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.36.0",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.36.0",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.36.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.36.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.36.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.36.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.36.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.36.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.36.0",
|
|
58
52
|
"tslib": "^2.3.0"
|
|
59
53
|
},
|
|
60
54
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/client-documentation-generator": "3.36.0",
|
|
62
56
|
"@types/node": "^12.7.5",
|
|
63
57
|
"downlevel-dts": "0.7.0",
|
|
64
58
|
"jest": "^26.1.0",
|
|
@@ -72,16 +66,25 @@
|
|
|
72
66
|
},
|
|
73
67
|
"typesVersions": {
|
|
74
68
|
"<4.0": {
|
|
75
|
-
"dist
|
|
76
|
-
"dist
|
|
69
|
+
"dist-types/*": [
|
|
70
|
+
"dist-types/ts3.4/*"
|
|
77
71
|
]
|
|
78
72
|
}
|
|
79
73
|
},
|
|
74
|
+
"files": [
|
|
75
|
+
"dist-*"
|
|
76
|
+
],
|
|
80
77
|
"author": {
|
|
81
78
|
"name": "AWS SDK for JavaScript Team",
|
|
82
79
|
"url": "https://aws.amazon.com/javascript/"
|
|
83
80
|
},
|
|
84
81
|
"license": "Apache-2.0",
|
|
82
|
+
"browser": {
|
|
83
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
84
|
+
},
|
|
85
|
+
"react-native": {
|
|
86
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
87
|
+
},
|
|
85
88
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-appsync",
|
|
86
89
|
"repository": {
|
|
87
90
|
"type": "git",
|