@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
package/models/models_0.ts
DELETED
|
@@ -1,3744 +0,0 @@
|
|
|
1
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have access to perform this operation on this resource.</p>
|
|
5
|
-
*/
|
|
6
|
-
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
7
|
-
name: "AccessDeniedException";
|
|
8
|
-
$fault: "client";
|
|
9
|
-
message?: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export namespace AccessDeniedException {
|
|
13
|
-
/**
|
|
14
|
-
* @internal
|
|
15
|
-
*/
|
|
16
|
-
export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
|
|
17
|
-
...obj,
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export enum AuthenticationType {
|
|
22
|
-
AMAZON_COGNITO_USER_POOLS = "AMAZON_COGNITO_USER_POOLS",
|
|
23
|
-
API_KEY = "API_KEY",
|
|
24
|
-
AWS_IAM = "AWS_IAM",
|
|
25
|
-
AWS_LAMBDA = "AWS_LAMBDA",
|
|
26
|
-
OPENID_CONNECT = "OPENID_CONNECT",
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>A <code>LambdaAuthorizerConfig</code> holds configuration on how to authorize AppSync API access when using
|
|
31
|
-
* the <code>AWS_LAMBDA</code> authorizer mode. Be aware that an AppSync API may have only one Lambda authorizer configured
|
|
32
|
-
* at a time.</p>
|
|
33
|
-
*/
|
|
34
|
-
export interface LambdaAuthorizerConfig {
|
|
35
|
-
/**
|
|
36
|
-
* <p>The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).
|
|
37
|
-
* The Lambda function can override this by returning a
|
|
38
|
-
* <code>ttlOverride</code> key in its response. A value of 0 disables caching of
|
|
39
|
-
* responses.</p>
|
|
40
|
-
*/
|
|
41
|
-
authorizerResultTtlInSeconds?: number;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* <p>The ARN of the lambda function to be called for authorization. This may be a standard
|
|
45
|
-
* Lambda ARN, a version ARN (<code>.../v3</code>) or alias ARN. </p>
|
|
46
|
-
* <p>
|
|
47
|
-
* <i>Note</i>: This Lambda function must have the following resource-based
|
|
48
|
-
* policy assigned to it. When configuring Lambda authorizers in the Console, this is done for
|
|
49
|
-
* you. To do so with the AWS CLI, run the following:</p>
|
|
50
|
-
* <p>
|
|
51
|
-
* <code>aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction</code>
|
|
52
|
-
* </p>
|
|
53
|
-
*/
|
|
54
|
-
authorizerUri: string | undefined;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* <p>A regular expression for validation of tokens before the Lambda Function is called.</p>
|
|
58
|
-
*/
|
|
59
|
-
identityValidationExpression?: string;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export namespace LambdaAuthorizerConfig {
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
export const filterSensitiveLog = (obj: LambdaAuthorizerConfig): any => ({
|
|
67
|
-
...obj,
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* <p>Describes an OpenID Connect configuration.</p>
|
|
73
|
-
*/
|
|
74
|
-
export interface OpenIDConnectConfig {
|
|
75
|
-
/**
|
|
76
|
-
* <p>The issuer for the OpenID Connect configuration. The issuer returned by discovery must
|
|
77
|
-
* exactly match the value of <code>iss</code> in the ID token.</p>
|
|
78
|
-
*/
|
|
79
|
-
issuer: string | undefined;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* <p>The client identifier of the Relying party at the OpenID identity provider. This
|
|
83
|
-
* identifier is typically obtained when the Relying party is registered with the OpenID
|
|
84
|
-
* identity provider. You can specify a regular expression so the AppSync can validate
|
|
85
|
-
* against multiple client identifiers at a time.</p>
|
|
86
|
-
*/
|
|
87
|
-
clientId?: string;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* <p>The number of milliseconds a token is valid after being issued to a user.</p>
|
|
91
|
-
*/
|
|
92
|
-
iatTTL?: number;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* <p>The number of milliseconds a token is valid after being authenticated.</p>
|
|
96
|
-
*/
|
|
97
|
-
authTTL?: number;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export namespace OpenIDConnectConfig {
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
export const filterSensitiveLog = (obj: OpenIDConnectConfig): any => ({
|
|
105
|
-
...obj,
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* <p>Describes an Amazon Cognito user pool configuration.</p>
|
|
111
|
-
*/
|
|
112
|
-
export interface CognitoUserPoolConfig {
|
|
113
|
-
/**
|
|
114
|
-
* <p>The user pool ID.</p>
|
|
115
|
-
*/
|
|
116
|
-
userPoolId: string | undefined;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* <p>The Amazon Web Services Region in which the user pool was created.</p>
|
|
120
|
-
*/
|
|
121
|
-
awsRegion: string | undefined;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* <p>A regular expression for validating the incoming Amazon Cognito user pool app client
|
|
125
|
-
* ID.</p>
|
|
126
|
-
*/
|
|
127
|
-
appIdClientRegex?: string;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
export namespace CognitoUserPoolConfig {
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
export const filterSensitiveLog = (obj: CognitoUserPoolConfig): any => ({
|
|
135
|
-
...obj,
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* <p>Describes an additional authentication provider.</p>
|
|
141
|
-
*/
|
|
142
|
-
export interface AdditionalAuthenticationProvider {
|
|
143
|
-
/**
|
|
144
|
-
* <p>The authentication type: API key, Identity and Access Management, OIDC, or Amazon Cognito user pools.</p>
|
|
145
|
-
*/
|
|
146
|
-
authenticationType?: AuthenticationType | string;
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* <p>The OpenID Connect configuration.</p>
|
|
150
|
-
*/
|
|
151
|
-
openIDConnectConfig?: OpenIDConnectConfig;
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* <p>The Amazon Cognito user pool configuration.</p>
|
|
155
|
-
*/
|
|
156
|
-
userPoolConfig?: CognitoUserPoolConfig;
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* <p>Configuration for AWS Lambda function authorization.</p>
|
|
160
|
-
*/
|
|
161
|
-
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
export namespace AdditionalAuthenticationProvider {
|
|
165
|
-
/**
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
|
-
export const filterSensitiveLog = (obj: AdditionalAuthenticationProvider): any => ({
|
|
169
|
-
...obj,
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
export enum ApiCachingBehavior {
|
|
174
|
-
FULL_REQUEST_CACHING = "FULL_REQUEST_CACHING",
|
|
175
|
-
PER_RESOLVER_CACHING = "PER_RESOLVER_CACHING",
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
export enum ApiCacheStatus {
|
|
179
|
-
AVAILABLE = "AVAILABLE",
|
|
180
|
-
CREATING = "CREATING",
|
|
181
|
-
DELETING = "DELETING",
|
|
182
|
-
FAILED = "FAILED",
|
|
183
|
-
MODIFYING = "MODIFYING",
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export enum ApiCacheType {
|
|
187
|
-
LARGE = "LARGE",
|
|
188
|
-
LARGE_12X = "LARGE_12X",
|
|
189
|
-
LARGE_2X = "LARGE_2X",
|
|
190
|
-
LARGE_4X = "LARGE_4X",
|
|
191
|
-
LARGE_8X = "LARGE_8X",
|
|
192
|
-
MEDIUM = "MEDIUM",
|
|
193
|
-
R4_2XLARGE = "R4_2XLARGE",
|
|
194
|
-
R4_4XLARGE = "R4_4XLARGE",
|
|
195
|
-
R4_8XLARGE = "R4_8XLARGE",
|
|
196
|
-
R4_LARGE = "R4_LARGE",
|
|
197
|
-
R4_XLARGE = "R4_XLARGE",
|
|
198
|
-
SMALL = "SMALL",
|
|
199
|
-
T2_MEDIUM = "T2_MEDIUM",
|
|
200
|
-
T2_SMALL = "T2_SMALL",
|
|
201
|
-
XLARGE = "XLARGE",
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* <p>The <code>ApiCache</code> object.</p>
|
|
206
|
-
*/
|
|
207
|
-
export interface ApiCache {
|
|
208
|
-
/**
|
|
209
|
-
* <p>TTL in seconds for cache entries.</p>
|
|
210
|
-
* <p>Valid values are between 1 and 3600 seconds.</p>
|
|
211
|
-
*/
|
|
212
|
-
ttl?: number;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* <p>Caching behavior.</p>
|
|
216
|
-
* <ul>
|
|
217
|
-
* <li>
|
|
218
|
-
* <p>
|
|
219
|
-
* <b>FULL_REQUEST_CACHING</b>: All requests are fully
|
|
220
|
-
* cached.</p>
|
|
221
|
-
* </li>
|
|
222
|
-
* <li>
|
|
223
|
-
* <p>
|
|
224
|
-
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers
|
|
225
|
-
* that you specify are cached.</p>
|
|
226
|
-
* </li>
|
|
227
|
-
* </ul>
|
|
228
|
-
*/
|
|
229
|
-
apiCachingBehavior?: ApiCachingBehavior | string;
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* <p>Transit encryption flag when connecting to cache. This setting cannot be updated after
|
|
233
|
-
* creation.</p>
|
|
234
|
-
*/
|
|
235
|
-
transitEncryptionEnabled?: boolean;
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* <p>At rest encryption flag for cache. This setting cannot be updated after creation.</p>
|
|
239
|
-
*/
|
|
240
|
-
atRestEncryptionEnabled?: boolean;
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* <p>The cache instance type. Valid values are </p>
|
|
244
|
-
* <ul>
|
|
245
|
-
* <li>
|
|
246
|
-
* <p>
|
|
247
|
-
* <code>SMALL</code>
|
|
248
|
-
* </p>
|
|
249
|
-
* </li>
|
|
250
|
-
* <li>
|
|
251
|
-
* <p>
|
|
252
|
-
* <code>MEDIUM</code>
|
|
253
|
-
* </p>
|
|
254
|
-
* </li>
|
|
255
|
-
* <li>
|
|
256
|
-
* <p>
|
|
257
|
-
* <code>LARGE</code>
|
|
258
|
-
* </p>
|
|
259
|
-
* </li>
|
|
260
|
-
* <li>
|
|
261
|
-
* <p>
|
|
262
|
-
* <code>XLARGE</code>
|
|
263
|
-
* </p>
|
|
264
|
-
* </li>
|
|
265
|
-
* <li>
|
|
266
|
-
* <p>
|
|
267
|
-
* <code>LARGE_2X</code>
|
|
268
|
-
* </p>
|
|
269
|
-
* </li>
|
|
270
|
-
* <li>
|
|
271
|
-
* <p>
|
|
272
|
-
* <code>LARGE_4X</code>
|
|
273
|
-
* </p>
|
|
274
|
-
* </li>
|
|
275
|
-
* <li>
|
|
276
|
-
* <p>
|
|
277
|
-
* <code>LARGE_8X</code> (not available in all regions)</p>
|
|
278
|
-
* </li>
|
|
279
|
-
* <li>
|
|
280
|
-
* <p>
|
|
281
|
-
* <code>LARGE_12X</code>
|
|
282
|
-
* </p>
|
|
283
|
-
* </li>
|
|
284
|
-
* </ul>
|
|
285
|
-
* <p>Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.</p>
|
|
286
|
-
* <p>The following legacy instance types are available, but their use is discouraged:</p>
|
|
287
|
-
* <ul>
|
|
288
|
-
* <li>
|
|
289
|
-
* <p>
|
|
290
|
-
* <b>T2_SMALL</b>: A t2.small instance type.</p>
|
|
291
|
-
* </li>
|
|
292
|
-
* <li>
|
|
293
|
-
* <p>
|
|
294
|
-
* <b>T2_MEDIUM</b>: A t2.medium instance type.</p>
|
|
295
|
-
* </li>
|
|
296
|
-
* <li>
|
|
297
|
-
* <p>
|
|
298
|
-
* <b>R4_LARGE</b>: A r4.large instance type.</p>
|
|
299
|
-
* </li>
|
|
300
|
-
* <li>
|
|
301
|
-
* <p>
|
|
302
|
-
* <b>R4_XLARGE</b>: A r4.xlarge instance type.</p>
|
|
303
|
-
* </li>
|
|
304
|
-
* <li>
|
|
305
|
-
* <p>
|
|
306
|
-
* <b>R4_2XLARGE</b>: A r4.2xlarge instance type.</p>
|
|
307
|
-
* </li>
|
|
308
|
-
* <li>
|
|
309
|
-
* <p>
|
|
310
|
-
* <b>R4_4XLARGE</b>: A r4.4xlarge instance type.</p>
|
|
311
|
-
* </li>
|
|
312
|
-
* <li>
|
|
313
|
-
* <p>
|
|
314
|
-
* <b>R4_8XLARGE</b>: A r4.8xlarge instance type.</p>
|
|
315
|
-
* </li>
|
|
316
|
-
* </ul>
|
|
317
|
-
*/
|
|
318
|
-
type?: ApiCacheType | string;
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* <p>The cache instance status.</p>
|
|
322
|
-
* <ul>
|
|
323
|
-
* <li>
|
|
324
|
-
* <p>
|
|
325
|
-
* <b>AVAILABLE</b>: The instance is available for
|
|
326
|
-
* use.</p>
|
|
327
|
-
* </li>
|
|
328
|
-
* <li>
|
|
329
|
-
* <p>
|
|
330
|
-
* <b>CREATING</b>: The instance is currently
|
|
331
|
-
* creating.</p>
|
|
332
|
-
* </li>
|
|
333
|
-
* <li>
|
|
334
|
-
* <p>
|
|
335
|
-
* <b>DELETING</b>: The instance is currently
|
|
336
|
-
* deleting.</p>
|
|
337
|
-
* </li>
|
|
338
|
-
* <li>
|
|
339
|
-
* <p>
|
|
340
|
-
* <b>MODIFYING</b>: The instance is currently
|
|
341
|
-
* modifying.</p>
|
|
342
|
-
* </li>
|
|
343
|
-
* <li>
|
|
344
|
-
* <p>
|
|
345
|
-
* <b>FAILED</b>: The instance has failed
|
|
346
|
-
* creation.</p>
|
|
347
|
-
* </li>
|
|
348
|
-
* </ul>
|
|
349
|
-
*/
|
|
350
|
-
status?: ApiCacheStatus | string;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
export namespace ApiCache {
|
|
354
|
-
/**
|
|
355
|
-
* @internal
|
|
356
|
-
*/
|
|
357
|
-
export const filterSensitiveLog = (obj: ApiCache): any => ({
|
|
358
|
-
...obj,
|
|
359
|
-
});
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* <p>Describes an API key.</p>
|
|
364
|
-
* <p>Customers invoke AppSync GraphQL API operations with API keys as an identity
|
|
365
|
-
* mechanism. There are two key versions:</p>
|
|
366
|
-
* <p>
|
|
367
|
-
* <b>da1</b>: This version was introduced at launch in November
|
|
368
|
-
* 2017. These keys always expire after 7 days. Key expiration is managed by Amazon DynamoDB
|
|
369
|
-
* TTL. The keys ceased to be valid after February 21, 2018 and should not be used after that
|
|
370
|
-
* date.</p>
|
|
371
|
-
* <ul>
|
|
372
|
-
* <li>
|
|
373
|
-
* <p>
|
|
374
|
-
* <code>ListApiKeys</code> returns the expiration time in milliseconds.</p>
|
|
375
|
-
* </li>
|
|
376
|
-
* <li>
|
|
377
|
-
* <p>
|
|
378
|
-
* <code>CreateApiKey</code> returns the expiration time in
|
|
379
|
-
* milliseconds.</p>
|
|
380
|
-
* </li>
|
|
381
|
-
* <li>
|
|
382
|
-
* <p>
|
|
383
|
-
* <code>UpdateApiKey</code> is not available for this key version.</p>
|
|
384
|
-
* </li>
|
|
385
|
-
* <li>
|
|
386
|
-
* <p>
|
|
387
|
-
* <code>DeleteApiKey</code> deletes the item from the table.</p>
|
|
388
|
-
* </li>
|
|
389
|
-
* <li>
|
|
390
|
-
* <p>Expiration is stored in Amazon DynamoDB as milliseconds. This results in a bug
|
|
391
|
-
* where keys are not automatically deleted because DynamoDB expects the TTL to be
|
|
392
|
-
* stored in seconds. As a one-time action, we will delete these keys from the table
|
|
393
|
-
* after February 21, 2018.</p>
|
|
394
|
-
* </li>
|
|
395
|
-
* </ul>
|
|
396
|
-
* <p>
|
|
397
|
-
* <b>da2</b>: This version was introduced in February 2018 when
|
|
398
|
-
* AppSync added support to extend key expiration.</p>
|
|
399
|
-
* <ul>
|
|
400
|
-
* <li>
|
|
401
|
-
* <p>
|
|
402
|
-
* <code>ListApiKeys</code> returns the expiration time and deletion time
|
|
403
|
-
* in seconds.</p>
|
|
404
|
-
* </li>
|
|
405
|
-
* <li>
|
|
406
|
-
* <p>
|
|
407
|
-
* <code>CreateApiKey</code> returns the expiration time and deletion time
|
|
408
|
-
* in seconds and accepts a user-provided expiration time in seconds.</p>
|
|
409
|
-
* </li>
|
|
410
|
-
* <li>
|
|
411
|
-
* <p>
|
|
412
|
-
* <code>UpdateApiKey</code> returns the expiration time and and deletion time
|
|
413
|
-
* in seconds and accepts a user-provided expiration time in seconds. Expired API keys
|
|
414
|
-
* are kept for 60 days after the expiration time. Key expiration time can be updated
|
|
415
|
-
* while the key is not deleted. </p>
|
|
416
|
-
* </li>
|
|
417
|
-
* <li>
|
|
418
|
-
* <p>
|
|
419
|
-
* <code>DeleteApiKey</code> deletes the item from the table.</p>
|
|
420
|
-
* </li>
|
|
421
|
-
* <li>
|
|
422
|
-
* <p>Expiration is stored in Amazon DynamoDB as seconds. After the expiration
|
|
423
|
-
* time, using the key to authenticate will fail. But the key can be reinstated before
|
|
424
|
-
* deletion.</p>
|
|
425
|
-
* </li>
|
|
426
|
-
* <li>
|
|
427
|
-
* <p>Deletion is stored in Amazon DynamoDB as seconds. The key will be deleted
|
|
428
|
-
* after deletion time. </p>
|
|
429
|
-
* </li>
|
|
430
|
-
* </ul>
|
|
431
|
-
*/
|
|
432
|
-
export interface ApiKey {
|
|
433
|
-
/**
|
|
434
|
-
* <p>The API key ID.</p>
|
|
435
|
-
*/
|
|
436
|
-
id?: string;
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* <p>A description of the purpose of the API key.</p>
|
|
440
|
-
*/
|
|
441
|
-
description?: string;
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* <p>The time after which the API key expires. The date is represented as seconds since the
|
|
445
|
-
* epoch, rounded down to the nearest hour.</p>
|
|
446
|
-
*/
|
|
447
|
-
expires?: number;
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* <p>The time after which the API key is deleted. The date is represented as seconds since the
|
|
451
|
-
* epoch, rounded down to the nearest hour.</p>
|
|
452
|
-
*/
|
|
453
|
-
deletes?: number;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
export namespace ApiKey {
|
|
457
|
-
/**
|
|
458
|
-
* @internal
|
|
459
|
-
*/
|
|
460
|
-
export const filterSensitiveLog = (obj: ApiKey): any => ({
|
|
461
|
-
...obj,
|
|
462
|
-
});
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* <p>The API key exceeded a limit. Try your request again.</p>
|
|
467
|
-
*/
|
|
468
|
-
export interface ApiKeyLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
469
|
-
name: "ApiKeyLimitExceededException";
|
|
470
|
-
$fault: "client";
|
|
471
|
-
message?: string;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
export namespace ApiKeyLimitExceededException {
|
|
475
|
-
/**
|
|
476
|
-
* @internal
|
|
477
|
-
*/
|
|
478
|
-
export const filterSensitiveLog = (obj: ApiKeyLimitExceededException): any => ({
|
|
479
|
-
...obj,
|
|
480
|
-
});
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* <p>The API key expiration must be set to a value between 1 and 365 days from creation (for
|
|
485
|
-
* <code>CreateApiKey</code>) or from update (for <code>UpdateApiKey</code>).</p>
|
|
486
|
-
*/
|
|
487
|
-
export interface ApiKeyValidityOutOfBoundsException extends __SmithyException, $MetadataBearer {
|
|
488
|
-
name: "ApiKeyValidityOutOfBoundsException";
|
|
489
|
-
$fault: "client";
|
|
490
|
-
message?: string;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
export namespace ApiKeyValidityOutOfBoundsException {
|
|
494
|
-
/**
|
|
495
|
-
* @internal
|
|
496
|
-
*/
|
|
497
|
-
export const filterSensitiveLog = (obj: ApiKeyValidityOutOfBoundsException): any => ({
|
|
498
|
-
...obj,
|
|
499
|
-
});
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
/**
|
|
503
|
-
* <p>The GraphQL API exceeded a limit. Try your request again.</p>
|
|
504
|
-
*/
|
|
505
|
-
export interface ApiLimitExceededException extends __SmithyException, $MetadataBearer {
|
|
506
|
-
name: "ApiLimitExceededException";
|
|
507
|
-
$fault: "client";
|
|
508
|
-
message?: string;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
export namespace ApiLimitExceededException {
|
|
512
|
-
/**
|
|
513
|
-
* @internal
|
|
514
|
-
*/
|
|
515
|
-
export const filterSensitiveLog = (obj: ApiLimitExceededException): any => ({
|
|
516
|
-
...obj,
|
|
517
|
-
});
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
export enum AuthorizationType {
|
|
521
|
-
AWS_IAM = "AWS_IAM",
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* <p>The Identity and Access Management configuration.</p>
|
|
526
|
-
*/
|
|
527
|
-
export interface AwsIamConfig {
|
|
528
|
-
/**
|
|
529
|
-
* <p>The signing region for Identity and Access Management authorization.</p>
|
|
530
|
-
*/
|
|
531
|
-
signingRegion?: string;
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* <p>The signing service name for Identity and Access Management authorization.</p>
|
|
535
|
-
*/
|
|
536
|
-
signingServiceName?: string;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
export namespace AwsIamConfig {
|
|
540
|
-
/**
|
|
541
|
-
* @internal
|
|
542
|
-
*/
|
|
543
|
-
export const filterSensitiveLog = (obj: AwsIamConfig): any => ({
|
|
544
|
-
...obj,
|
|
545
|
-
});
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* <p>The authorization config in case the HTTP endpoint requires authorization.</p>
|
|
550
|
-
*/
|
|
551
|
-
export interface AuthorizationConfig {
|
|
552
|
-
/**
|
|
553
|
-
* <p>The authorization type required by the HTTP endpoint.</p>
|
|
554
|
-
* <ul>
|
|
555
|
-
* <li>
|
|
556
|
-
* <p>
|
|
557
|
-
* <b>AWS_IAM</b>: The authorization type is
|
|
558
|
-
* Sigv4.</p>
|
|
559
|
-
* </li>
|
|
560
|
-
* </ul>
|
|
561
|
-
*/
|
|
562
|
-
authorizationType: AuthorizationType | string | undefined;
|
|
563
|
-
|
|
564
|
-
/**
|
|
565
|
-
* <p>The Identity and Access Management settings.</p>
|
|
566
|
-
*/
|
|
567
|
-
awsIamConfig?: AwsIamConfig;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
export namespace AuthorizationConfig {
|
|
571
|
-
/**
|
|
572
|
-
* @internal
|
|
573
|
-
*/
|
|
574
|
-
export const filterSensitiveLog = (obj: AuthorizationConfig): any => ({
|
|
575
|
-
...obj,
|
|
576
|
-
});
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
581
|
-
* missing. Check the field values, and then try again. </p>
|
|
582
|
-
*/
|
|
583
|
-
export interface BadRequestException extends __SmithyException, $MetadataBearer {
|
|
584
|
-
name: "BadRequestException";
|
|
585
|
-
$fault: "client";
|
|
586
|
-
message?: string;
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
export namespace BadRequestException {
|
|
590
|
-
/**
|
|
591
|
-
* @internal
|
|
592
|
-
*/
|
|
593
|
-
export const filterSensitiveLog = (obj: BadRequestException): any => ({
|
|
594
|
-
...obj,
|
|
595
|
-
});
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
600
|
-
* make your change. </p>
|
|
601
|
-
*/
|
|
602
|
-
export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
|
|
603
|
-
name: "ConcurrentModificationException";
|
|
604
|
-
$fault: "client";
|
|
605
|
-
message?: string;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
export namespace ConcurrentModificationException {
|
|
609
|
-
/**
|
|
610
|
-
* @internal
|
|
611
|
-
*/
|
|
612
|
-
export const filterSensitiveLog = (obj: ConcurrentModificationException): any => ({
|
|
613
|
-
...obj,
|
|
614
|
-
});
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* <p>Represents the input of a <code>CreateApiCache</code> operation.</p>
|
|
619
|
-
*/
|
|
620
|
-
export interface CreateApiCacheRequest {
|
|
621
|
-
/**
|
|
622
|
-
* <p>The GraphQL API Id.</p>
|
|
623
|
-
*/
|
|
624
|
-
apiId: string | undefined;
|
|
625
|
-
|
|
626
|
-
/**
|
|
627
|
-
* <p>TTL in seconds for cache entries.</p>
|
|
628
|
-
* <p>Valid values are between 1 and 3600 seconds.</p>
|
|
629
|
-
*/
|
|
630
|
-
ttl: number | undefined;
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* <p>Transit encryption flag when connecting to cache. This setting cannot be updated after
|
|
634
|
-
* creation.</p>
|
|
635
|
-
*/
|
|
636
|
-
transitEncryptionEnabled?: boolean;
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
* <p>At rest encryption flag for cache. This setting cannot be updated after creation.</p>
|
|
640
|
-
*/
|
|
641
|
-
atRestEncryptionEnabled?: boolean;
|
|
642
|
-
|
|
643
|
-
/**
|
|
644
|
-
* <p>Caching behavior.</p>
|
|
645
|
-
* <ul>
|
|
646
|
-
* <li>
|
|
647
|
-
* <p>
|
|
648
|
-
* <b>FULL_REQUEST_CACHING</b>: All requests are fully
|
|
649
|
-
* cached.</p>
|
|
650
|
-
* </li>
|
|
651
|
-
* <li>
|
|
652
|
-
* <p>
|
|
653
|
-
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers
|
|
654
|
-
* that you specify are cached.</p>
|
|
655
|
-
* </li>
|
|
656
|
-
* </ul>
|
|
657
|
-
*/
|
|
658
|
-
apiCachingBehavior: ApiCachingBehavior | string | undefined;
|
|
659
|
-
|
|
660
|
-
/**
|
|
661
|
-
* <p>The cache instance type. Valid values are </p>
|
|
662
|
-
* <ul>
|
|
663
|
-
* <li>
|
|
664
|
-
* <p>
|
|
665
|
-
* <code>SMALL</code>
|
|
666
|
-
* </p>
|
|
667
|
-
* </li>
|
|
668
|
-
* <li>
|
|
669
|
-
* <p>
|
|
670
|
-
* <code>MEDIUM</code>
|
|
671
|
-
* </p>
|
|
672
|
-
* </li>
|
|
673
|
-
* <li>
|
|
674
|
-
* <p>
|
|
675
|
-
* <code>LARGE</code>
|
|
676
|
-
* </p>
|
|
677
|
-
* </li>
|
|
678
|
-
* <li>
|
|
679
|
-
* <p>
|
|
680
|
-
* <code>XLARGE</code>
|
|
681
|
-
* </p>
|
|
682
|
-
* </li>
|
|
683
|
-
* <li>
|
|
684
|
-
* <p>
|
|
685
|
-
* <code>LARGE_2X</code>
|
|
686
|
-
* </p>
|
|
687
|
-
* </li>
|
|
688
|
-
* <li>
|
|
689
|
-
* <p>
|
|
690
|
-
* <code>LARGE_4X</code>
|
|
691
|
-
* </p>
|
|
692
|
-
* </li>
|
|
693
|
-
* <li>
|
|
694
|
-
* <p>
|
|
695
|
-
* <code>LARGE_8X</code> (not available in all regions)</p>
|
|
696
|
-
* </li>
|
|
697
|
-
* <li>
|
|
698
|
-
* <p>
|
|
699
|
-
* <code>LARGE_12X</code>
|
|
700
|
-
* </p>
|
|
701
|
-
* </li>
|
|
702
|
-
* </ul>
|
|
703
|
-
* <p>Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.</p>
|
|
704
|
-
* <p>The following legacy instance types are available, but their use is discouraged:</p>
|
|
705
|
-
* <ul>
|
|
706
|
-
* <li>
|
|
707
|
-
* <p>
|
|
708
|
-
* <b>T2_SMALL</b>: A t2.small instance type.</p>
|
|
709
|
-
* </li>
|
|
710
|
-
* <li>
|
|
711
|
-
* <p>
|
|
712
|
-
* <b>T2_MEDIUM</b>: A t2.medium instance type.</p>
|
|
713
|
-
* </li>
|
|
714
|
-
* <li>
|
|
715
|
-
* <p>
|
|
716
|
-
* <b>R4_LARGE</b>: A r4.large instance type.</p>
|
|
717
|
-
* </li>
|
|
718
|
-
* <li>
|
|
719
|
-
* <p>
|
|
720
|
-
* <b>R4_XLARGE</b>: A r4.xlarge instance type.</p>
|
|
721
|
-
* </li>
|
|
722
|
-
* <li>
|
|
723
|
-
* <p>
|
|
724
|
-
* <b>R4_2XLARGE</b>: A r4.2xlarge instance type.</p>
|
|
725
|
-
* </li>
|
|
726
|
-
* <li>
|
|
727
|
-
* <p>
|
|
728
|
-
* <b>R4_4XLARGE</b>: A r4.4xlarge instance type.</p>
|
|
729
|
-
* </li>
|
|
730
|
-
* <li>
|
|
731
|
-
* <p>
|
|
732
|
-
* <b>R4_8XLARGE</b>: A r4.8xlarge instance type.</p>
|
|
733
|
-
* </li>
|
|
734
|
-
* </ul>
|
|
735
|
-
*/
|
|
736
|
-
type: ApiCacheType | string | undefined;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
export namespace CreateApiCacheRequest {
|
|
740
|
-
/**
|
|
741
|
-
* @internal
|
|
742
|
-
*/
|
|
743
|
-
export const filterSensitiveLog = (obj: CreateApiCacheRequest): any => ({
|
|
744
|
-
...obj,
|
|
745
|
-
});
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* <p>Represents the output of a <code>CreateApiCache</code> operation.</p>
|
|
750
|
-
*/
|
|
751
|
-
export interface CreateApiCacheResponse {
|
|
752
|
-
/**
|
|
753
|
-
* <p>The <code>ApiCache</code> object.</p>
|
|
754
|
-
*/
|
|
755
|
-
apiCache?: ApiCache;
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
export namespace CreateApiCacheResponse {
|
|
759
|
-
/**
|
|
760
|
-
* @internal
|
|
761
|
-
*/
|
|
762
|
-
export const filterSensitiveLog = (obj: CreateApiCacheResponse): any => ({
|
|
763
|
-
...obj,
|
|
764
|
-
});
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
/**
|
|
768
|
-
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
769
|
-
*/
|
|
770
|
-
export interface InternalFailureException extends __SmithyException, $MetadataBearer {
|
|
771
|
-
name: "InternalFailureException";
|
|
772
|
-
$fault: "server";
|
|
773
|
-
message?: string;
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
export namespace InternalFailureException {
|
|
777
|
-
/**
|
|
778
|
-
* @internal
|
|
779
|
-
*/
|
|
780
|
-
export const filterSensitiveLog = (obj: InternalFailureException): any => ({
|
|
781
|
-
...obj,
|
|
782
|
-
});
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
/**
|
|
786
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
787
|
-
* again.</p>
|
|
788
|
-
*/
|
|
789
|
-
export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
790
|
-
name: "NotFoundException";
|
|
791
|
-
$fault: "client";
|
|
792
|
-
message?: string;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
export namespace NotFoundException {
|
|
796
|
-
/**
|
|
797
|
-
* @internal
|
|
798
|
-
*/
|
|
799
|
-
export const filterSensitiveLog = (obj: NotFoundException): any => ({
|
|
800
|
-
...obj,
|
|
801
|
-
});
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* <p>You are not authorized to perform this operation.</p>
|
|
806
|
-
*/
|
|
807
|
-
export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
|
|
808
|
-
name: "UnauthorizedException";
|
|
809
|
-
$fault: "client";
|
|
810
|
-
message?: string;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
export namespace UnauthorizedException {
|
|
814
|
-
/**
|
|
815
|
-
* @internal
|
|
816
|
-
*/
|
|
817
|
-
export const filterSensitiveLog = (obj: UnauthorizedException): any => ({
|
|
818
|
-
...obj,
|
|
819
|
-
});
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
export interface CreateApiKeyRequest {
|
|
823
|
-
/**
|
|
824
|
-
* <p>The ID for your GraphQL API.</p>
|
|
825
|
-
*/
|
|
826
|
-
apiId: string | undefined;
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* <p>A description of the purpose of the API key.</p>
|
|
830
|
-
*/
|
|
831
|
-
description?: string;
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* <p>The time from creation time after which the API key expires. The date is represented as
|
|
835
|
-
* seconds since the epoch, rounded down to the nearest hour. The default value for this
|
|
836
|
-
* parameter is 7 days from creation time. For more information, see .</p>
|
|
837
|
-
*/
|
|
838
|
-
expires?: number;
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
export namespace CreateApiKeyRequest {
|
|
842
|
-
/**
|
|
843
|
-
* @internal
|
|
844
|
-
*/
|
|
845
|
-
export const filterSensitiveLog = (obj: CreateApiKeyRequest): any => ({
|
|
846
|
-
...obj,
|
|
847
|
-
});
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
export interface CreateApiKeyResponse {
|
|
851
|
-
/**
|
|
852
|
-
* <p>The API key.</p>
|
|
853
|
-
*/
|
|
854
|
-
apiKey?: ApiKey;
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
export namespace CreateApiKeyResponse {
|
|
858
|
-
/**
|
|
859
|
-
* @internal
|
|
860
|
-
*/
|
|
861
|
-
export const filterSensitiveLog = (obj: CreateApiKeyResponse): any => ({
|
|
862
|
-
...obj,
|
|
863
|
-
});
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
/**
|
|
867
|
-
* <p>The request exceeded a limit. Try your request again.</p>
|
|
868
|
-
*/
|
|
869
|
-
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
870
|
-
name: "LimitExceededException";
|
|
871
|
-
$fault: "client";
|
|
872
|
-
message?: string;
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
export namespace LimitExceededException {
|
|
876
|
-
/**
|
|
877
|
-
* @internal
|
|
878
|
-
*/
|
|
879
|
-
export const filterSensitiveLog = (obj: LimitExceededException): any => ({
|
|
880
|
-
...obj,
|
|
881
|
-
});
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* <p>Describes a Delta Sync configuration.</p>
|
|
886
|
-
*/
|
|
887
|
-
export interface DeltaSyncConfig {
|
|
888
|
-
/**
|
|
889
|
-
* <p>The number of minutes an Item is stored in the datasource.</p>
|
|
890
|
-
*/
|
|
891
|
-
baseTableTTL?: number;
|
|
892
|
-
|
|
893
|
-
/**
|
|
894
|
-
* <p>The Delta Sync table name.</p>
|
|
895
|
-
*/
|
|
896
|
-
deltaSyncTableName?: string;
|
|
897
|
-
|
|
898
|
-
/**
|
|
899
|
-
* <p>The number of minutes a Delta Sync log entry is stored in the Delta Sync table.</p>
|
|
900
|
-
*/
|
|
901
|
-
deltaSyncTableTTL?: number;
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
export namespace DeltaSyncConfig {
|
|
905
|
-
/**
|
|
906
|
-
* @internal
|
|
907
|
-
*/
|
|
908
|
-
export const filterSensitiveLog = (obj: DeltaSyncConfig): any => ({
|
|
909
|
-
...obj,
|
|
910
|
-
});
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
/**
|
|
914
|
-
* <p>Describes an Amazon DynamoDB data source configuration.</p>
|
|
915
|
-
*/
|
|
916
|
-
export interface DynamodbDataSourceConfig {
|
|
917
|
-
/**
|
|
918
|
-
* <p>The table name.</p>
|
|
919
|
-
*/
|
|
920
|
-
tableName: string | undefined;
|
|
921
|
-
|
|
922
|
-
/**
|
|
923
|
-
* <p>The Amazon Web Services Region.</p>
|
|
924
|
-
*/
|
|
925
|
-
awsRegion: string | undefined;
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* <p>Set to TRUE to use Amazon Cognito credentials with this data source.</p>
|
|
929
|
-
*/
|
|
930
|
-
useCallerCredentials?: boolean;
|
|
931
|
-
|
|
932
|
-
/**
|
|
933
|
-
* <p>The <code>DeltaSyncConfig</code> for a versioned datasource.</p>
|
|
934
|
-
*/
|
|
935
|
-
deltaSyncConfig?: DeltaSyncConfig;
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
* <p>Set to TRUE to use Conflict Detection and Resolution with this data source.</p>
|
|
939
|
-
*/
|
|
940
|
-
versioned?: boolean;
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
export namespace DynamodbDataSourceConfig {
|
|
944
|
-
/**
|
|
945
|
-
* @internal
|
|
946
|
-
*/
|
|
947
|
-
export const filterSensitiveLog = (obj: DynamodbDataSourceConfig): any => ({
|
|
948
|
-
...obj,
|
|
949
|
-
});
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
/**
|
|
953
|
-
* <p>Describes an Elasticsearch data source configuration.</p>
|
|
954
|
-
*/
|
|
955
|
-
export interface ElasticsearchDataSourceConfig {
|
|
956
|
-
/**
|
|
957
|
-
* <p>The endpoint.</p>
|
|
958
|
-
*/
|
|
959
|
-
endpoint: string | undefined;
|
|
960
|
-
|
|
961
|
-
/**
|
|
962
|
-
* <p>The Amazon Web Services Region.</p>
|
|
963
|
-
*/
|
|
964
|
-
awsRegion: string | undefined;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
export namespace ElasticsearchDataSourceConfig {
|
|
968
|
-
/**
|
|
969
|
-
* @internal
|
|
970
|
-
*/
|
|
971
|
-
export const filterSensitiveLog = (obj: ElasticsearchDataSourceConfig): any => ({
|
|
972
|
-
...obj,
|
|
973
|
-
});
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
/**
|
|
977
|
-
* <p>Describes an HTTP data source configuration.</p>
|
|
978
|
-
*/
|
|
979
|
-
export interface HttpDataSourceConfig {
|
|
980
|
-
/**
|
|
981
|
-
* <p>The HTTP URL endpoint. You can either specify the domain name or IP, and port
|
|
982
|
-
* combination, and the URL scheme must be HTTP or HTTPS. If the port is not specified, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS
|
|
983
|
-
* endpoints.</p>
|
|
984
|
-
*/
|
|
985
|
-
endpoint?: string;
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* <p>The authorization config in case the HTTP endpoint requires authorization.</p>
|
|
989
|
-
*/
|
|
990
|
-
authorizationConfig?: AuthorizationConfig;
|
|
991
|
-
}
|
|
992
|
-
|
|
993
|
-
export namespace HttpDataSourceConfig {
|
|
994
|
-
/**
|
|
995
|
-
* @internal
|
|
996
|
-
*/
|
|
997
|
-
export const filterSensitiveLog = (obj: HttpDataSourceConfig): any => ({
|
|
998
|
-
...obj,
|
|
999
|
-
});
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
/**
|
|
1003
|
-
* <p>Describes an Amazon Web Services Lambda data source configuration.</p>
|
|
1004
|
-
*/
|
|
1005
|
-
export interface LambdaDataSourceConfig {
|
|
1006
|
-
/**
|
|
1007
|
-
* <p>The ARN for the Lambda function.</p>
|
|
1008
|
-
*/
|
|
1009
|
-
lambdaFunctionArn: string | undefined;
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
export namespace LambdaDataSourceConfig {
|
|
1013
|
-
/**
|
|
1014
|
-
* @internal
|
|
1015
|
-
*/
|
|
1016
|
-
export const filterSensitiveLog = (obj: LambdaDataSourceConfig): any => ({
|
|
1017
|
-
...obj,
|
|
1018
|
-
});
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* <p>The Amazon RDS HTTP endpoint configuration.</p>
|
|
1023
|
-
*/
|
|
1024
|
-
export interface RdsHttpEndpointConfig {
|
|
1025
|
-
/**
|
|
1026
|
-
* <p>Amazon Web Services Region for RDS HTTP endpoint.</p>
|
|
1027
|
-
*/
|
|
1028
|
-
awsRegion?: string;
|
|
1029
|
-
|
|
1030
|
-
/**
|
|
1031
|
-
* <p>Amazon RDS cluster ARN.</p>
|
|
1032
|
-
*/
|
|
1033
|
-
dbClusterIdentifier?: string;
|
|
1034
|
-
|
|
1035
|
-
/**
|
|
1036
|
-
* <p>Logical database name.</p>
|
|
1037
|
-
*/
|
|
1038
|
-
databaseName?: string;
|
|
1039
|
-
|
|
1040
|
-
/**
|
|
1041
|
-
* <p>Logical schema name.</p>
|
|
1042
|
-
*/
|
|
1043
|
-
schema?: string;
|
|
1044
|
-
|
|
1045
|
-
/**
|
|
1046
|
-
* <p>Amazon Web Services secret store ARN for database credentials.</p>
|
|
1047
|
-
*/
|
|
1048
|
-
awsSecretStoreArn?: string;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
export namespace RdsHttpEndpointConfig {
|
|
1052
|
-
/**
|
|
1053
|
-
* @internal
|
|
1054
|
-
*/
|
|
1055
|
-
export const filterSensitiveLog = (obj: RdsHttpEndpointConfig): any => ({
|
|
1056
|
-
...obj,
|
|
1057
|
-
});
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
export enum RelationalDatabaseSourceType {
|
|
1061
|
-
RDS_HTTP_ENDPOINT = "RDS_HTTP_ENDPOINT",
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
/**
|
|
1065
|
-
* <p>Describes a relational database data source configuration.</p>
|
|
1066
|
-
*/
|
|
1067
|
-
export interface RelationalDatabaseDataSourceConfig {
|
|
1068
|
-
/**
|
|
1069
|
-
* <p>Source type for the relational database.</p>
|
|
1070
|
-
* <ul>
|
|
1071
|
-
* <li>
|
|
1072
|
-
* <p>
|
|
1073
|
-
* <b>RDS_HTTP_ENDPOINT</b>: The relational database
|
|
1074
|
-
* source type is an Amazon RDS HTTP endpoint.</p>
|
|
1075
|
-
* </li>
|
|
1076
|
-
* </ul>
|
|
1077
|
-
*/
|
|
1078
|
-
relationalDatabaseSourceType?: RelationalDatabaseSourceType | string;
|
|
1079
|
-
|
|
1080
|
-
/**
|
|
1081
|
-
* <p>Amazon RDS HTTP endpoint settings.</p>
|
|
1082
|
-
*/
|
|
1083
|
-
rdsHttpEndpointConfig?: RdsHttpEndpointConfig;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
export namespace RelationalDatabaseDataSourceConfig {
|
|
1087
|
-
/**
|
|
1088
|
-
* @internal
|
|
1089
|
-
*/
|
|
1090
|
-
export const filterSensitiveLog = (obj: RelationalDatabaseDataSourceConfig): any => ({
|
|
1091
|
-
...obj,
|
|
1092
|
-
});
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
export enum DataSourceType {
|
|
1096
|
-
AMAZON_DYNAMODB = "AMAZON_DYNAMODB",
|
|
1097
|
-
AMAZON_ELASTICSEARCH = "AMAZON_ELASTICSEARCH",
|
|
1098
|
-
AWS_LAMBDA = "AWS_LAMBDA",
|
|
1099
|
-
HTTP = "HTTP",
|
|
1100
|
-
NONE = "NONE",
|
|
1101
|
-
RELATIONAL_DATABASE = "RELATIONAL_DATABASE",
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
export interface CreateDataSourceRequest {
|
|
1105
|
-
/**
|
|
1106
|
-
* <p>The API ID for the GraphQL API for the <code>DataSource</code>.</p>
|
|
1107
|
-
*/
|
|
1108
|
-
apiId: string | undefined;
|
|
1109
|
-
|
|
1110
|
-
/**
|
|
1111
|
-
* <p>A user-supplied name for the <code>DataSource</code>.</p>
|
|
1112
|
-
*/
|
|
1113
|
-
name: string | undefined;
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* <p>A description of the <code>DataSource</code>.</p>
|
|
1117
|
-
*/
|
|
1118
|
-
description?: string;
|
|
1119
|
-
|
|
1120
|
-
/**
|
|
1121
|
-
* <p>The type of the <code>DataSource</code>.</p>
|
|
1122
|
-
*/
|
|
1123
|
-
type: DataSourceType | string | undefined;
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* <p>The Identity and Access Management service role ARN for the data source. The system assumes this role when
|
|
1127
|
-
* accessing the data source.</p>
|
|
1128
|
-
*/
|
|
1129
|
-
serviceRoleArn?: string;
|
|
1130
|
-
|
|
1131
|
-
/**
|
|
1132
|
-
* <p>Amazon DynamoDB settings.</p>
|
|
1133
|
-
*/
|
|
1134
|
-
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
1135
|
-
|
|
1136
|
-
/**
|
|
1137
|
-
* <p>Amazon Web Services Lambda settings.</p>
|
|
1138
|
-
*/
|
|
1139
|
-
lambdaConfig?: LambdaDataSourceConfig;
|
|
1140
|
-
|
|
1141
|
-
/**
|
|
1142
|
-
* <p>Amazon Elasticsearch Service settings.</p>
|
|
1143
|
-
*/
|
|
1144
|
-
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
1145
|
-
|
|
1146
|
-
/**
|
|
1147
|
-
* <p>HTTP endpoint settings.</p>
|
|
1148
|
-
*/
|
|
1149
|
-
httpConfig?: HttpDataSourceConfig;
|
|
1150
|
-
|
|
1151
|
-
/**
|
|
1152
|
-
* <p>Relational database settings.</p>
|
|
1153
|
-
*/
|
|
1154
|
-
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
export namespace CreateDataSourceRequest {
|
|
1158
|
-
/**
|
|
1159
|
-
* @internal
|
|
1160
|
-
*/
|
|
1161
|
-
export const filterSensitiveLog = (obj: CreateDataSourceRequest): any => ({
|
|
1162
|
-
...obj,
|
|
1163
|
-
});
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
/**
|
|
1167
|
-
* <p>Describes a data source.</p>
|
|
1168
|
-
*/
|
|
1169
|
-
export interface DataSource {
|
|
1170
|
-
/**
|
|
1171
|
-
* <p>The data source ARN.</p>
|
|
1172
|
-
*/
|
|
1173
|
-
dataSourceArn?: string;
|
|
1174
|
-
|
|
1175
|
-
/**
|
|
1176
|
-
* <p>The name of the data source.</p>
|
|
1177
|
-
*/
|
|
1178
|
-
name?: string;
|
|
1179
|
-
|
|
1180
|
-
/**
|
|
1181
|
-
* <p>The description of the data source.</p>
|
|
1182
|
-
*/
|
|
1183
|
-
description?: string;
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
* <p>The type of the data source.</p>
|
|
1187
|
-
* <ul>
|
|
1188
|
-
* <li>
|
|
1189
|
-
* <p>
|
|
1190
|
-
* <b>AMAZON_DYNAMODB</b>: The data source is an Amazon
|
|
1191
|
-
* DynamoDB table.</p>
|
|
1192
|
-
* </li>
|
|
1193
|
-
* <li>
|
|
1194
|
-
* <p>
|
|
1195
|
-
* <b>AMAZON_ELASTICSEARCH</b>: The data source is an
|
|
1196
|
-
* Amazon Elasticsearch Service domain.</p>
|
|
1197
|
-
* </li>
|
|
1198
|
-
* <li>
|
|
1199
|
-
* <p>
|
|
1200
|
-
* <b>AWS_LAMBDA</b>: The data source is an Amazon Web Services Lambda
|
|
1201
|
-
* function.</p>
|
|
1202
|
-
* </li>
|
|
1203
|
-
* <li>
|
|
1204
|
-
* <p>
|
|
1205
|
-
* <b>NONE</b>: There is no data source. This type is
|
|
1206
|
-
* used when you wish to invoke a GraphQL operation without connecting to a data source,
|
|
1207
|
-
* such as performing data transformation with resolvers or triggering a subscription to
|
|
1208
|
-
* be invoked from a mutation.</p>
|
|
1209
|
-
* </li>
|
|
1210
|
-
* <li>
|
|
1211
|
-
* <p>
|
|
1212
|
-
* <b>HTTP</b>: The data source is an HTTP
|
|
1213
|
-
* endpoint.</p>
|
|
1214
|
-
* </li>
|
|
1215
|
-
* <li>
|
|
1216
|
-
* <p>
|
|
1217
|
-
* <b>RELATIONAL_DATABASE</b>: The data source is a
|
|
1218
|
-
* relational database.</p>
|
|
1219
|
-
* </li>
|
|
1220
|
-
* </ul>
|
|
1221
|
-
*/
|
|
1222
|
-
type?: DataSourceType | string;
|
|
1223
|
-
|
|
1224
|
-
/**
|
|
1225
|
-
* <p>The Identity and Access Management service role ARN for the data source. The system assumes this role when
|
|
1226
|
-
* accessing the data source.</p>
|
|
1227
|
-
*/
|
|
1228
|
-
serviceRoleArn?: string;
|
|
1229
|
-
|
|
1230
|
-
/**
|
|
1231
|
-
* <p>Amazon DynamoDB settings.</p>
|
|
1232
|
-
*/
|
|
1233
|
-
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
1234
|
-
|
|
1235
|
-
/**
|
|
1236
|
-
* <p>Amazon Web Services Lambda settings.</p>
|
|
1237
|
-
*/
|
|
1238
|
-
lambdaConfig?: LambdaDataSourceConfig;
|
|
1239
|
-
|
|
1240
|
-
/**
|
|
1241
|
-
* <p>Amazon Elasticsearch Service settings.</p>
|
|
1242
|
-
*/
|
|
1243
|
-
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
1244
|
-
|
|
1245
|
-
/**
|
|
1246
|
-
* <p>HTTP endpoint settings.</p>
|
|
1247
|
-
*/
|
|
1248
|
-
httpConfig?: HttpDataSourceConfig;
|
|
1249
|
-
|
|
1250
|
-
/**
|
|
1251
|
-
* <p>Relational database settings.</p>
|
|
1252
|
-
*/
|
|
1253
|
-
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
export namespace DataSource {
|
|
1257
|
-
/**
|
|
1258
|
-
* @internal
|
|
1259
|
-
*/
|
|
1260
|
-
export const filterSensitiveLog = (obj: DataSource): any => ({
|
|
1261
|
-
...obj,
|
|
1262
|
-
});
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
export interface CreateDataSourceResponse {
|
|
1266
|
-
/**
|
|
1267
|
-
* <p>The <code>DataSource</code> object.</p>
|
|
1268
|
-
*/
|
|
1269
|
-
dataSource?: DataSource;
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
export namespace CreateDataSourceResponse {
|
|
1273
|
-
/**
|
|
1274
|
-
* @internal
|
|
1275
|
-
*/
|
|
1276
|
-
export const filterSensitiveLog = (obj: CreateDataSourceResponse): any => ({
|
|
1277
|
-
...obj,
|
|
1278
|
-
});
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
export enum ConflictDetectionType {
|
|
1282
|
-
NONE = "NONE",
|
|
1283
|
-
VERSION = "VERSION",
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
export enum ConflictHandlerType {
|
|
1287
|
-
AUTOMERGE = "AUTOMERGE",
|
|
1288
|
-
LAMBDA = "LAMBDA",
|
|
1289
|
-
NONE = "NONE",
|
|
1290
|
-
OPTIMISTIC_CONCURRENCY = "OPTIMISTIC_CONCURRENCY",
|
|
1291
|
-
}
|
|
1292
|
-
|
|
1293
|
-
/**
|
|
1294
|
-
* <p>The <code>LambdaConflictHandlerConfig</code> object when configuring LAMBDA as the
|
|
1295
|
-
* Conflict Handler.</p>
|
|
1296
|
-
*/
|
|
1297
|
-
export interface LambdaConflictHandlerConfig {
|
|
1298
|
-
/**
|
|
1299
|
-
* <p>The Arn for the Lambda function to use as the Conflict Handler.</p>
|
|
1300
|
-
*/
|
|
1301
|
-
lambdaConflictHandlerArn?: string;
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
export namespace LambdaConflictHandlerConfig {
|
|
1305
|
-
/**
|
|
1306
|
-
* @internal
|
|
1307
|
-
*/
|
|
1308
|
-
export const filterSensitiveLog = (obj: LambdaConflictHandlerConfig): any => ({
|
|
1309
|
-
...obj,
|
|
1310
|
-
});
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
/**
|
|
1314
|
-
* <p>Describes a Sync configuration for a resolver.</p>
|
|
1315
|
-
* <p>Contains information on which Conflict Detection as well as Resolution strategy should
|
|
1316
|
-
* be performed when the resolver is invoked.</p>
|
|
1317
|
-
*/
|
|
1318
|
-
export interface SyncConfig {
|
|
1319
|
-
/**
|
|
1320
|
-
* <p>The Conflict Resolution strategy to perform in the event of a conflict.</p>
|
|
1321
|
-
* <ul>
|
|
1322
|
-
* <li>
|
|
1323
|
-
* <p>
|
|
1324
|
-
* <b>OPTIMISTIC_CONCURRENCY</b>: Resolve conflicts by
|
|
1325
|
-
* rejecting mutations when versions do not match the latest version at the
|
|
1326
|
-
* server.</p>
|
|
1327
|
-
* </li>
|
|
1328
|
-
* <li>
|
|
1329
|
-
* <p>
|
|
1330
|
-
* <b>AUTOMERGE</b>: Resolve conflicts with the
|
|
1331
|
-
* Automerge conflict resolution strategy.</p>
|
|
1332
|
-
* </li>
|
|
1333
|
-
* <li>
|
|
1334
|
-
* <p>
|
|
1335
|
-
* <b>LAMBDA</b>: Resolve conflicts with a Lambda
|
|
1336
|
-
* function supplied in the LambdaConflictHandlerConfig.</p>
|
|
1337
|
-
* </li>
|
|
1338
|
-
* </ul>
|
|
1339
|
-
*/
|
|
1340
|
-
conflictHandler?: ConflictHandlerType | string;
|
|
1341
|
-
|
|
1342
|
-
/**
|
|
1343
|
-
* <p>The Conflict Detection strategy to use.</p>
|
|
1344
|
-
* <ul>
|
|
1345
|
-
* <li>
|
|
1346
|
-
* <p>
|
|
1347
|
-
* <b>VERSION</b>: Detect conflicts based on object
|
|
1348
|
-
* versions for this resolver.</p>
|
|
1349
|
-
* </li>
|
|
1350
|
-
* <li>
|
|
1351
|
-
* <p>
|
|
1352
|
-
* <b>NONE</b>: Do not detect conflicts when executing
|
|
1353
|
-
* this resolver.</p>
|
|
1354
|
-
* </li>
|
|
1355
|
-
* </ul>
|
|
1356
|
-
*/
|
|
1357
|
-
conflictDetection?: ConflictDetectionType | string;
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* <p>The <code>LambdaConflictHandlerConfig</code> when configuring LAMBDA as the Conflict
|
|
1361
|
-
* Handler.</p>
|
|
1362
|
-
*/
|
|
1363
|
-
lambdaConflictHandlerConfig?: LambdaConflictHandlerConfig;
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
export namespace SyncConfig {
|
|
1367
|
-
/**
|
|
1368
|
-
* @internal
|
|
1369
|
-
*/
|
|
1370
|
-
export const filterSensitiveLog = (obj: SyncConfig): any => ({
|
|
1371
|
-
...obj,
|
|
1372
|
-
});
|
|
1373
|
-
}
|
|
1374
|
-
|
|
1375
|
-
export interface CreateFunctionRequest {
|
|
1376
|
-
/**
|
|
1377
|
-
* <p>The GraphQL API ID.</p>
|
|
1378
|
-
*/
|
|
1379
|
-
apiId: string | undefined;
|
|
1380
|
-
|
|
1381
|
-
/**
|
|
1382
|
-
* <p>The <code>Function</code> name. The function name does not have to be unique.</p>
|
|
1383
|
-
*/
|
|
1384
|
-
name: string | undefined;
|
|
1385
|
-
|
|
1386
|
-
/**
|
|
1387
|
-
* <p>The <code>Function</code> description.</p>
|
|
1388
|
-
*/
|
|
1389
|
-
description?: string;
|
|
1390
|
-
|
|
1391
|
-
/**
|
|
1392
|
-
* <p>The <code>Function</code>
|
|
1393
|
-
* <code>DataSource</code> name.</p>
|
|
1394
|
-
*/
|
|
1395
|
-
dataSourceName: string | undefined;
|
|
1396
|
-
|
|
1397
|
-
/**
|
|
1398
|
-
* <p>The <code>Function</code> request mapping template. Functions support only the
|
|
1399
|
-
* 2018-05-29 version of the request mapping template.</p>
|
|
1400
|
-
*/
|
|
1401
|
-
requestMappingTemplate?: string;
|
|
1402
|
-
|
|
1403
|
-
/**
|
|
1404
|
-
* <p>The <code>Function</code> response mapping template. </p>
|
|
1405
|
-
*/
|
|
1406
|
-
responseMappingTemplate?: string;
|
|
1407
|
-
|
|
1408
|
-
/**
|
|
1409
|
-
* <p>The <code>version</code> of the request mapping template. Currently the supported value
|
|
1410
|
-
* is 2018-05-29. </p>
|
|
1411
|
-
*/
|
|
1412
|
-
functionVersion: string | undefined;
|
|
1413
|
-
|
|
1414
|
-
/**
|
|
1415
|
-
* <p>Describes a Sync configuration for a resolver.</p>
|
|
1416
|
-
* <p>Contains information on which Conflict Detection as well as Resolution strategy should
|
|
1417
|
-
* be performed when the resolver is invoked.</p>
|
|
1418
|
-
*/
|
|
1419
|
-
syncConfig?: SyncConfig;
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
export namespace CreateFunctionRequest {
|
|
1423
|
-
/**
|
|
1424
|
-
* @internal
|
|
1425
|
-
*/
|
|
1426
|
-
export const filterSensitiveLog = (obj: CreateFunctionRequest): any => ({
|
|
1427
|
-
...obj,
|
|
1428
|
-
});
|
|
1429
|
-
}
|
|
1430
|
-
|
|
1431
|
-
/**
|
|
1432
|
-
* <p>A function is a reusable entity. Multiple functions can be used to compose the resolver
|
|
1433
|
-
* logic.</p>
|
|
1434
|
-
*/
|
|
1435
|
-
export interface FunctionConfiguration {
|
|
1436
|
-
/**
|
|
1437
|
-
* <p>A unique ID representing the <code>Function</code> object.</p>
|
|
1438
|
-
*/
|
|
1439
|
-
functionId?: string;
|
|
1440
|
-
|
|
1441
|
-
/**
|
|
1442
|
-
* <p>The ARN of the <code>Function</code> object.</p>
|
|
1443
|
-
*/
|
|
1444
|
-
functionArn?: string;
|
|
1445
|
-
|
|
1446
|
-
/**
|
|
1447
|
-
* <p>The name of the <code>Function</code> object.</p>
|
|
1448
|
-
*/
|
|
1449
|
-
name?: string;
|
|
1450
|
-
|
|
1451
|
-
/**
|
|
1452
|
-
* <p>The <code>Function</code> description.</p>
|
|
1453
|
-
*/
|
|
1454
|
-
description?: string;
|
|
1455
|
-
|
|
1456
|
-
/**
|
|
1457
|
-
* <p>The name of the <code>DataSource</code>.</p>
|
|
1458
|
-
*/
|
|
1459
|
-
dataSourceName?: string;
|
|
1460
|
-
|
|
1461
|
-
/**
|
|
1462
|
-
* <p>The <code>Function</code> request mapping template. Functions support only the
|
|
1463
|
-
* 2018-05-29 version of the request mapping template.</p>
|
|
1464
|
-
*/
|
|
1465
|
-
requestMappingTemplate?: string;
|
|
1466
|
-
|
|
1467
|
-
/**
|
|
1468
|
-
* <p>The <code>Function</code> response mapping template.</p>
|
|
1469
|
-
*/
|
|
1470
|
-
responseMappingTemplate?: string;
|
|
1471
|
-
|
|
1472
|
-
/**
|
|
1473
|
-
* <p>The version of the request mapping template. Currently only the 2018-05-29 version of
|
|
1474
|
-
* the template is supported.</p>
|
|
1475
|
-
*/
|
|
1476
|
-
functionVersion?: string;
|
|
1477
|
-
|
|
1478
|
-
/**
|
|
1479
|
-
* <p>Describes a Sync configuration for a resolver.</p>
|
|
1480
|
-
* <p>Contains information on which Conflict Detection as well as Resolution strategy should
|
|
1481
|
-
* be performed when the resolver is invoked.</p>
|
|
1482
|
-
*/
|
|
1483
|
-
syncConfig?: SyncConfig;
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
export namespace FunctionConfiguration {
|
|
1487
|
-
/**
|
|
1488
|
-
* @internal
|
|
1489
|
-
*/
|
|
1490
|
-
export const filterSensitiveLog = (obj: FunctionConfiguration): any => ({
|
|
1491
|
-
...obj,
|
|
1492
|
-
});
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
export interface CreateFunctionResponse {
|
|
1496
|
-
/**
|
|
1497
|
-
* <p>The <code>Function</code> object.</p>
|
|
1498
|
-
*/
|
|
1499
|
-
functionConfiguration?: FunctionConfiguration;
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
export namespace CreateFunctionResponse {
|
|
1503
|
-
/**
|
|
1504
|
-
* @internal
|
|
1505
|
-
*/
|
|
1506
|
-
export const filterSensitiveLog = (obj: CreateFunctionResponse): any => ({
|
|
1507
|
-
...obj,
|
|
1508
|
-
});
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
|
-
export enum FieldLogLevel {
|
|
1512
|
-
ALL = "ALL",
|
|
1513
|
-
ERROR = "ERROR",
|
|
1514
|
-
NONE = "NONE",
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* <p>The CloudWatch Logs configuration.</p>
|
|
1519
|
-
*/
|
|
1520
|
-
export interface LogConfig {
|
|
1521
|
-
/**
|
|
1522
|
-
* <p>The field logging level. Values can be NONE, ERROR, or ALL. </p>
|
|
1523
|
-
* <ul>
|
|
1524
|
-
* <li>
|
|
1525
|
-
* <p>
|
|
1526
|
-
* <b>NONE</b>: No field-level logs are
|
|
1527
|
-
* captured.</p>
|
|
1528
|
-
* </li>
|
|
1529
|
-
* <li>
|
|
1530
|
-
* <p>
|
|
1531
|
-
* <b>ERROR</b>: Logs the following information only for
|
|
1532
|
-
* the fields that are in error:</p>
|
|
1533
|
-
* <ul>
|
|
1534
|
-
* <li>
|
|
1535
|
-
* <p>The error section in the server response.</p>
|
|
1536
|
-
* </li>
|
|
1537
|
-
* <li>
|
|
1538
|
-
* <p>Field-level errors.</p>
|
|
1539
|
-
* </li>
|
|
1540
|
-
* <li>
|
|
1541
|
-
* <p>The generated request/response functions that got resolved for error
|
|
1542
|
-
* fields.</p>
|
|
1543
|
-
* </li>
|
|
1544
|
-
* </ul>
|
|
1545
|
-
* </li>
|
|
1546
|
-
* <li>
|
|
1547
|
-
* <p>
|
|
1548
|
-
* <b>ALL</b>: The following information is logged for
|
|
1549
|
-
* all fields in the query:</p>
|
|
1550
|
-
* <ul>
|
|
1551
|
-
* <li>
|
|
1552
|
-
* <p>Field-level tracing information.</p>
|
|
1553
|
-
* </li>
|
|
1554
|
-
* <li>
|
|
1555
|
-
* <p>The generated request/response functions that got resolved for each
|
|
1556
|
-
* field.</p>
|
|
1557
|
-
* </li>
|
|
1558
|
-
* </ul>
|
|
1559
|
-
* </li>
|
|
1560
|
-
* </ul>
|
|
1561
|
-
*/
|
|
1562
|
-
fieldLogLevel: FieldLogLevel | string | undefined;
|
|
1563
|
-
|
|
1564
|
-
/**
|
|
1565
|
-
* <p>The service role that AppSync will assume to publish to Amazon CloudWatch logs in
|
|
1566
|
-
* your account. </p>
|
|
1567
|
-
*/
|
|
1568
|
-
cloudWatchLogsRoleArn: string | undefined;
|
|
1569
|
-
|
|
1570
|
-
/**
|
|
1571
|
-
* <p>Set to TRUE to exclude sections that contain information such as headers, context, and
|
|
1572
|
-
* evaluated mapping templates, regardless of logging level.</p>
|
|
1573
|
-
*/
|
|
1574
|
-
excludeVerboseContent?: boolean;
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
export namespace LogConfig {
|
|
1578
|
-
/**
|
|
1579
|
-
* @internal
|
|
1580
|
-
*/
|
|
1581
|
-
export const filterSensitiveLog = (obj: LogConfig): any => ({
|
|
1582
|
-
...obj,
|
|
1583
|
-
});
|
|
1584
|
-
}
|
|
1585
|
-
|
|
1586
|
-
export enum DefaultAction {
|
|
1587
|
-
ALLOW = "ALLOW",
|
|
1588
|
-
DENY = "DENY",
|
|
1589
|
-
}
|
|
1590
|
-
|
|
1591
|
-
/**
|
|
1592
|
-
* <p>Describes an Amazon Cognito user pool configuration.</p>
|
|
1593
|
-
*/
|
|
1594
|
-
export interface UserPoolConfig {
|
|
1595
|
-
/**
|
|
1596
|
-
* <p>The user pool ID.</p>
|
|
1597
|
-
*/
|
|
1598
|
-
userPoolId: string | undefined;
|
|
1599
|
-
|
|
1600
|
-
/**
|
|
1601
|
-
* <p>The Amazon Web Services Region in which the user pool was created.</p>
|
|
1602
|
-
*/
|
|
1603
|
-
awsRegion: string | undefined;
|
|
1604
|
-
|
|
1605
|
-
/**
|
|
1606
|
-
* <p>The action that you want your GraphQL API to take when a request that uses Amazon
|
|
1607
|
-
* Cognito user pool authentication doesn't match the Amazon Cognito user pool
|
|
1608
|
-
* configuration.</p>
|
|
1609
|
-
*/
|
|
1610
|
-
defaultAction: DefaultAction | string | undefined;
|
|
1611
|
-
|
|
1612
|
-
/**
|
|
1613
|
-
* <p>A regular expression for validating the incoming Amazon Cognito user pool app client
|
|
1614
|
-
* ID.</p>
|
|
1615
|
-
*/
|
|
1616
|
-
appIdClientRegex?: string;
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
|
-
export namespace UserPoolConfig {
|
|
1620
|
-
/**
|
|
1621
|
-
* @internal
|
|
1622
|
-
*/
|
|
1623
|
-
export const filterSensitiveLog = (obj: UserPoolConfig): any => ({
|
|
1624
|
-
...obj,
|
|
1625
|
-
});
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
export interface CreateGraphqlApiRequest {
|
|
1629
|
-
/**
|
|
1630
|
-
* <p>A user-supplied name for the <code>GraphqlApi</code>.</p>
|
|
1631
|
-
*/
|
|
1632
|
-
name: string | undefined;
|
|
1633
|
-
|
|
1634
|
-
/**
|
|
1635
|
-
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|
1636
|
-
*/
|
|
1637
|
-
logConfig?: LogConfig;
|
|
1638
|
-
|
|
1639
|
-
/**
|
|
1640
|
-
* <p>The authentication type: API key, Identity and Access Management, OIDC, or Amazon Cognito user pools.</p>
|
|
1641
|
-
*/
|
|
1642
|
-
authenticationType: AuthenticationType | string | undefined;
|
|
1643
|
-
|
|
1644
|
-
/**
|
|
1645
|
-
* <p>The Amazon Cognito user pool configuration.</p>
|
|
1646
|
-
*/
|
|
1647
|
-
userPoolConfig?: UserPoolConfig;
|
|
1648
|
-
|
|
1649
|
-
/**
|
|
1650
|
-
* <p>The OpenID Connect configuration.</p>
|
|
1651
|
-
*/
|
|
1652
|
-
openIDConnectConfig?: OpenIDConnectConfig;
|
|
1653
|
-
|
|
1654
|
-
/**
|
|
1655
|
-
* <p>A <code>TagMap</code> object.</p>
|
|
1656
|
-
*/
|
|
1657
|
-
tags?: { [key: string]: string };
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|
1661
|
-
* API.</p>
|
|
1662
|
-
*/
|
|
1663
|
-
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
|
|
1664
|
-
|
|
1665
|
-
/**
|
|
1666
|
-
* <p>A flag indicating whether to enable X-Ray tracing for the
|
|
1667
|
-
* <code>GraphqlApi</code>.</p>
|
|
1668
|
-
*/
|
|
1669
|
-
xrayEnabled?: boolean;
|
|
1670
|
-
|
|
1671
|
-
/**
|
|
1672
|
-
* <p>Configuration for AWS Lambda function authorization.</p>
|
|
1673
|
-
*/
|
|
1674
|
-
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
|
-
export namespace CreateGraphqlApiRequest {
|
|
1678
|
-
/**
|
|
1679
|
-
* @internal
|
|
1680
|
-
*/
|
|
1681
|
-
export const filterSensitiveLog = (obj: CreateGraphqlApiRequest): any => ({
|
|
1682
|
-
...obj,
|
|
1683
|
-
});
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
/**
|
|
1687
|
-
* <p>Describes a GraphQL API.</p>
|
|
1688
|
-
*/
|
|
1689
|
-
export interface GraphqlApi {
|
|
1690
|
-
/**
|
|
1691
|
-
* <p>The API name.</p>
|
|
1692
|
-
*/
|
|
1693
|
-
name?: string;
|
|
1694
|
-
|
|
1695
|
-
/**
|
|
1696
|
-
* <p>The API ID.</p>
|
|
1697
|
-
*/
|
|
1698
|
-
apiId?: string;
|
|
1699
|
-
|
|
1700
|
-
/**
|
|
1701
|
-
* <p>The authentication type.</p>
|
|
1702
|
-
*/
|
|
1703
|
-
authenticationType?: AuthenticationType | string;
|
|
1704
|
-
|
|
1705
|
-
/**
|
|
1706
|
-
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|
1707
|
-
*/
|
|
1708
|
-
logConfig?: LogConfig;
|
|
1709
|
-
|
|
1710
|
-
/**
|
|
1711
|
-
* <p>The Amazon Cognito user pool configuration.</p>
|
|
1712
|
-
*/
|
|
1713
|
-
userPoolConfig?: UserPoolConfig;
|
|
1714
|
-
|
|
1715
|
-
/**
|
|
1716
|
-
* <p>The OpenID Connect configuration.</p>
|
|
1717
|
-
*/
|
|
1718
|
-
openIDConnectConfig?: OpenIDConnectConfig;
|
|
1719
|
-
|
|
1720
|
-
/**
|
|
1721
|
-
* <p>The ARN.</p>
|
|
1722
|
-
*/
|
|
1723
|
-
arn?: string;
|
|
1724
|
-
|
|
1725
|
-
/**
|
|
1726
|
-
* <p>The URIs.</p>
|
|
1727
|
-
*/
|
|
1728
|
-
uris?: { [key: string]: string };
|
|
1729
|
-
|
|
1730
|
-
/**
|
|
1731
|
-
* <p>The tags.</p>
|
|
1732
|
-
*/
|
|
1733
|
-
tags?: { [key: string]: string };
|
|
1734
|
-
|
|
1735
|
-
/**
|
|
1736
|
-
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|
1737
|
-
* API.</p>
|
|
1738
|
-
*/
|
|
1739
|
-
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
|
|
1740
|
-
|
|
1741
|
-
/**
|
|
1742
|
-
* <p>A flag representing whether X-Ray tracing is enabled for this
|
|
1743
|
-
* <code>GraphqlApi</code>.</p>
|
|
1744
|
-
*/
|
|
1745
|
-
xrayEnabled?: boolean;
|
|
1746
|
-
|
|
1747
|
-
/**
|
|
1748
|
-
* <p>The ARN of the WAF ACL associated with this
|
|
1749
|
-
* <code>GraphqlApi</code>, if one exists.</p>
|
|
1750
|
-
*/
|
|
1751
|
-
wafWebAclArn?: string;
|
|
1752
|
-
|
|
1753
|
-
/**
|
|
1754
|
-
* <p></p>
|
|
1755
|
-
* <p>Configuration for AWS Lambda function authorization.</p>
|
|
1756
|
-
*/
|
|
1757
|
-
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
1758
|
-
}
|
|
1759
|
-
|
|
1760
|
-
export namespace GraphqlApi {
|
|
1761
|
-
/**
|
|
1762
|
-
* @internal
|
|
1763
|
-
*/
|
|
1764
|
-
export const filterSensitiveLog = (obj: GraphqlApi): any => ({
|
|
1765
|
-
...obj,
|
|
1766
|
-
});
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
export interface CreateGraphqlApiResponse {
|
|
1770
|
-
/**
|
|
1771
|
-
* <p>The <code>GraphqlApi</code>.</p>
|
|
1772
|
-
*/
|
|
1773
|
-
graphqlApi?: GraphqlApi;
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1776
|
-
export namespace CreateGraphqlApiResponse {
|
|
1777
|
-
/**
|
|
1778
|
-
* @internal
|
|
1779
|
-
*/
|
|
1780
|
-
export const filterSensitiveLog = (obj: CreateGraphqlApiResponse): any => ({
|
|
1781
|
-
...obj,
|
|
1782
|
-
});
|
|
1783
|
-
}
|
|
1784
|
-
|
|
1785
|
-
/**
|
|
1786
|
-
* <p>The caching configuration for a resolver that has caching enabled.</p>
|
|
1787
|
-
*/
|
|
1788
|
-
export interface CachingConfig {
|
|
1789
|
-
/**
|
|
1790
|
-
* <p>The TTL in seconds for a resolver that has caching enabled.</p>
|
|
1791
|
-
* <p>Valid values are between 1 and 3600 seconds.</p>
|
|
1792
|
-
*/
|
|
1793
|
-
ttl?: number;
|
|
1794
|
-
|
|
1795
|
-
/**
|
|
1796
|
-
* <p>The caching keys for a resolver that has caching enabled.</p>
|
|
1797
|
-
* <p>Valid values are entries from the <code>$context.arguments</code>,
|
|
1798
|
-
* <code>$context.source</code>, and <code>$context.identity</code> maps.</p>
|
|
1799
|
-
*/
|
|
1800
|
-
cachingKeys?: string[];
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
export namespace CachingConfig {
|
|
1804
|
-
/**
|
|
1805
|
-
* @internal
|
|
1806
|
-
*/
|
|
1807
|
-
export const filterSensitiveLog = (obj: CachingConfig): any => ({
|
|
1808
|
-
...obj,
|
|
1809
|
-
});
|
|
1810
|
-
}
|
|
1811
|
-
|
|
1812
|
-
export enum ResolverKind {
|
|
1813
|
-
PIPELINE = "PIPELINE",
|
|
1814
|
-
UNIT = "UNIT",
|
|
1815
|
-
}
|
|
1816
|
-
|
|
1817
|
-
/**
|
|
1818
|
-
* <p>The pipeline configuration for a resolver of kind <code>PIPELINE</code>.</p>
|
|
1819
|
-
*/
|
|
1820
|
-
export interface PipelineConfig {
|
|
1821
|
-
/**
|
|
1822
|
-
* <p>A list of <code>Function</code> objects.</p>
|
|
1823
|
-
*/
|
|
1824
|
-
functions?: string[];
|
|
1825
|
-
}
|
|
1826
|
-
|
|
1827
|
-
export namespace PipelineConfig {
|
|
1828
|
-
/**
|
|
1829
|
-
* @internal
|
|
1830
|
-
*/
|
|
1831
|
-
export const filterSensitiveLog = (obj: PipelineConfig): any => ({
|
|
1832
|
-
...obj,
|
|
1833
|
-
});
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
|
-
export interface CreateResolverRequest {
|
|
1837
|
-
/**
|
|
1838
|
-
* <p>The ID for the GraphQL API for which the resolver is being created.</p>
|
|
1839
|
-
*/
|
|
1840
|
-
apiId: string | undefined;
|
|
1841
|
-
|
|
1842
|
-
/**
|
|
1843
|
-
* <p>The name of the <code>Type</code>.</p>
|
|
1844
|
-
*/
|
|
1845
|
-
typeName: string | undefined;
|
|
1846
|
-
|
|
1847
|
-
/**
|
|
1848
|
-
* <p>The name of the field to attach the resolver to.</p>
|
|
1849
|
-
*/
|
|
1850
|
-
fieldName: string | undefined;
|
|
1851
|
-
|
|
1852
|
-
/**
|
|
1853
|
-
* <p>The name of the data source for which the resolver is being created.</p>
|
|
1854
|
-
*/
|
|
1855
|
-
dataSourceName?: string;
|
|
1856
|
-
|
|
1857
|
-
/**
|
|
1858
|
-
* <p>The mapping template to be used for requests.</p>
|
|
1859
|
-
* <p>A resolver uses a request mapping template to convert a GraphQL expression into a format
|
|
1860
|
-
* that a data source can understand. Mapping templates are written in Apache Velocity
|
|
1861
|
-
* Template Language (VTL).</p>
|
|
1862
|
-
* <p>VTL request mapping templates are optional when using a Lambda data source. For all
|
|
1863
|
-
* other data sources, VTL request and response mapping templates are required.</p>
|
|
1864
|
-
*/
|
|
1865
|
-
requestMappingTemplate?: string;
|
|
1866
|
-
|
|
1867
|
-
/**
|
|
1868
|
-
* <p>The mapping template to be used for responses from the data source.</p>
|
|
1869
|
-
*/
|
|
1870
|
-
responseMappingTemplate?: string;
|
|
1871
|
-
|
|
1872
|
-
/**
|
|
1873
|
-
* <p>The resolver type.</p>
|
|
1874
|
-
* <ul>
|
|
1875
|
-
* <li>
|
|
1876
|
-
* <p>
|
|
1877
|
-
* <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
|
|
1878
|
-
* the default resolver type. A UNIT resolver enables you to execute a GraphQL query
|
|
1879
|
-
* against a single data source.</p>
|
|
1880
|
-
* </li>
|
|
1881
|
-
* <li>
|
|
1882
|
-
* <p>
|
|
1883
|
-
* <b>PIPELINE</b>: A PIPELINE resolver type. A PIPELINE
|
|
1884
|
-
* resolver enables you to execute a series of <code>Function</code> in a serial manner.
|
|
1885
|
-
* You can use a pipeline resolver to execute a GraphQL query against multiple data
|
|
1886
|
-
* sources.</p>
|
|
1887
|
-
* </li>
|
|
1888
|
-
* </ul>
|
|
1889
|
-
*/
|
|
1890
|
-
kind?: ResolverKind | string;
|
|
1891
|
-
|
|
1892
|
-
/**
|
|
1893
|
-
* <p>The <code>PipelineConfig</code>.</p>
|
|
1894
|
-
*/
|
|
1895
|
-
pipelineConfig?: PipelineConfig;
|
|
1896
|
-
|
|
1897
|
-
/**
|
|
1898
|
-
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned datasource.</p>
|
|
1899
|
-
*/
|
|
1900
|
-
syncConfig?: SyncConfig;
|
|
1901
|
-
|
|
1902
|
-
/**
|
|
1903
|
-
* <p>The caching configuration for the resolver.</p>
|
|
1904
|
-
*/
|
|
1905
|
-
cachingConfig?: CachingConfig;
|
|
1906
|
-
}
|
|
1907
|
-
|
|
1908
|
-
export namespace CreateResolverRequest {
|
|
1909
|
-
/**
|
|
1910
|
-
* @internal
|
|
1911
|
-
*/
|
|
1912
|
-
export const filterSensitiveLog = (obj: CreateResolverRequest): any => ({
|
|
1913
|
-
...obj,
|
|
1914
|
-
});
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
/**
|
|
1918
|
-
* <p>Describes a resolver.</p>
|
|
1919
|
-
*/
|
|
1920
|
-
export interface Resolver {
|
|
1921
|
-
/**
|
|
1922
|
-
* <p>The resolver type name.</p>
|
|
1923
|
-
*/
|
|
1924
|
-
typeName?: string;
|
|
1925
|
-
|
|
1926
|
-
/**
|
|
1927
|
-
* <p>The resolver field name.</p>
|
|
1928
|
-
*/
|
|
1929
|
-
fieldName?: string;
|
|
1930
|
-
|
|
1931
|
-
/**
|
|
1932
|
-
* <p>The resolver data source name.</p>
|
|
1933
|
-
*/
|
|
1934
|
-
dataSourceName?: string;
|
|
1935
|
-
|
|
1936
|
-
/**
|
|
1937
|
-
* <p>The resolver ARN.</p>
|
|
1938
|
-
*/
|
|
1939
|
-
resolverArn?: string;
|
|
1940
|
-
|
|
1941
|
-
/**
|
|
1942
|
-
* <p>The request mapping template.</p>
|
|
1943
|
-
*/
|
|
1944
|
-
requestMappingTemplate?: string;
|
|
1945
|
-
|
|
1946
|
-
/**
|
|
1947
|
-
* <p>The response mapping template.</p>
|
|
1948
|
-
*/
|
|
1949
|
-
responseMappingTemplate?: string;
|
|
1950
|
-
|
|
1951
|
-
/**
|
|
1952
|
-
* <p>The resolver type.</p>
|
|
1953
|
-
* <ul>
|
|
1954
|
-
* <li>
|
|
1955
|
-
* <p>
|
|
1956
|
-
* <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
|
|
1957
|
-
* the default resolver type. A UNIT resolver enables you to execute a GraphQL query
|
|
1958
|
-
* against a single data source.</p>
|
|
1959
|
-
* </li>
|
|
1960
|
-
* <li>
|
|
1961
|
-
* <p>
|
|
1962
|
-
* <b>PIPELINE</b>: A PIPELINE resolver type. A PIPELINE
|
|
1963
|
-
* resolver enables you to execute a series of <code>Function</code> in a serial manner.
|
|
1964
|
-
* You can use a pipeline resolver to execute a GraphQL query against multiple data
|
|
1965
|
-
* sources.</p>
|
|
1966
|
-
* </li>
|
|
1967
|
-
* </ul>
|
|
1968
|
-
*/
|
|
1969
|
-
kind?: ResolverKind | string;
|
|
1970
|
-
|
|
1971
|
-
/**
|
|
1972
|
-
* <p>The <code>PipelineConfig</code>.</p>
|
|
1973
|
-
*/
|
|
1974
|
-
pipelineConfig?: PipelineConfig;
|
|
1975
|
-
|
|
1976
|
-
/**
|
|
1977
|
-
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned datasource.</p>
|
|
1978
|
-
*/
|
|
1979
|
-
syncConfig?: SyncConfig;
|
|
1980
|
-
|
|
1981
|
-
/**
|
|
1982
|
-
* <p>The caching configuration for the resolver.</p>
|
|
1983
|
-
*/
|
|
1984
|
-
cachingConfig?: CachingConfig;
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
export namespace Resolver {
|
|
1988
|
-
/**
|
|
1989
|
-
* @internal
|
|
1990
|
-
*/
|
|
1991
|
-
export const filterSensitiveLog = (obj: Resolver): any => ({
|
|
1992
|
-
...obj,
|
|
1993
|
-
});
|
|
1994
|
-
}
|
|
1995
|
-
|
|
1996
|
-
export interface CreateResolverResponse {
|
|
1997
|
-
/**
|
|
1998
|
-
* <p>The <code>Resolver</code> object.</p>
|
|
1999
|
-
*/
|
|
2000
|
-
resolver?: Resolver;
|
|
2001
|
-
}
|
|
2002
|
-
|
|
2003
|
-
export namespace CreateResolverResponse {
|
|
2004
|
-
/**
|
|
2005
|
-
* @internal
|
|
2006
|
-
*/
|
|
2007
|
-
export const filterSensitiveLog = (obj: CreateResolverResponse): any => ({
|
|
2008
|
-
...obj,
|
|
2009
|
-
});
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
export enum TypeDefinitionFormat {
|
|
2013
|
-
JSON = "JSON",
|
|
2014
|
-
SDL = "SDL",
|
|
2015
|
-
}
|
|
2016
|
-
|
|
2017
|
-
export interface CreateTypeRequest {
|
|
2018
|
-
/**
|
|
2019
|
-
* <p>The API ID.</p>
|
|
2020
|
-
*/
|
|
2021
|
-
apiId: string | undefined;
|
|
2022
|
-
|
|
2023
|
-
/**
|
|
2024
|
-
* <p>The type definition, in GraphQL Schema Definition Language (SDL) format.</p>
|
|
2025
|
-
* <p>For more information, see the <a href="http://graphql.org/learn/schema/">GraphQL SDL
|
|
2026
|
-
* documentation</a>.</p>
|
|
2027
|
-
*/
|
|
2028
|
-
definition: string | undefined;
|
|
2029
|
-
|
|
2030
|
-
/**
|
|
2031
|
-
* <p>The type format: SDL or JSON.</p>
|
|
2032
|
-
*/
|
|
2033
|
-
format: TypeDefinitionFormat | string | undefined;
|
|
2034
|
-
}
|
|
2035
|
-
|
|
2036
|
-
export namespace CreateTypeRequest {
|
|
2037
|
-
/**
|
|
2038
|
-
* @internal
|
|
2039
|
-
*/
|
|
2040
|
-
export const filterSensitiveLog = (obj: CreateTypeRequest): any => ({
|
|
2041
|
-
...obj,
|
|
2042
|
-
});
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2045
|
-
/**
|
|
2046
|
-
* <p>Describes a type.</p>
|
|
2047
|
-
*/
|
|
2048
|
-
export interface Type {
|
|
2049
|
-
/**
|
|
2050
|
-
* <p>The type name.</p>
|
|
2051
|
-
*/
|
|
2052
|
-
name?: string;
|
|
2053
|
-
|
|
2054
|
-
/**
|
|
2055
|
-
* <p>The type description.</p>
|
|
2056
|
-
*/
|
|
2057
|
-
description?: string;
|
|
2058
|
-
|
|
2059
|
-
/**
|
|
2060
|
-
* <p>The type ARN.</p>
|
|
2061
|
-
*/
|
|
2062
|
-
arn?: string;
|
|
2063
|
-
|
|
2064
|
-
/**
|
|
2065
|
-
* <p>The type definition.</p>
|
|
2066
|
-
*/
|
|
2067
|
-
definition?: string;
|
|
2068
|
-
|
|
2069
|
-
/**
|
|
2070
|
-
* <p>The type format: SDL or JSON.</p>
|
|
2071
|
-
*/
|
|
2072
|
-
format?: TypeDefinitionFormat | string;
|
|
2073
|
-
}
|
|
2074
|
-
|
|
2075
|
-
export namespace Type {
|
|
2076
|
-
/**
|
|
2077
|
-
* @internal
|
|
2078
|
-
*/
|
|
2079
|
-
export const filterSensitiveLog = (obj: Type): any => ({
|
|
2080
|
-
...obj,
|
|
2081
|
-
});
|
|
2082
|
-
}
|
|
2083
|
-
|
|
2084
|
-
export interface CreateTypeResponse {
|
|
2085
|
-
/**
|
|
2086
|
-
* <p>The <code>Type</code> object.</p>
|
|
2087
|
-
*/
|
|
2088
|
-
type?: Type;
|
|
2089
|
-
}
|
|
2090
|
-
|
|
2091
|
-
export namespace CreateTypeResponse {
|
|
2092
|
-
/**
|
|
2093
|
-
* @internal
|
|
2094
|
-
*/
|
|
2095
|
-
export const filterSensitiveLog = (obj: CreateTypeResponse): any => ({
|
|
2096
|
-
...obj,
|
|
2097
|
-
});
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
/**
|
|
2101
|
-
* <p>Represents the input of a <code>DeleteApiCache</code> operation.</p>
|
|
2102
|
-
*/
|
|
2103
|
-
export interface DeleteApiCacheRequest {
|
|
2104
|
-
/**
|
|
2105
|
-
* <p>The API ID.</p>
|
|
2106
|
-
*/
|
|
2107
|
-
apiId: string | undefined;
|
|
2108
|
-
}
|
|
2109
|
-
|
|
2110
|
-
export namespace DeleteApiCacheRequest {
|
|
2111
|
-
/**
|
|
2112
|
-
* @internal
|
|
2113
|
-
*/
|
|
2114
|
-
export const filterSensitiveLog = (obj: DeleteApiCacheRequest): any => ({
|
|
2115
|
-
...obj,
|
|
2116
|
-
});
|
|
2117
|
-
}
|
|
2118
|
-
|
|
2119
|
-
/**
|
|
2120
|
-
* <p>Represents the output of a <code>DeleteApiCache</code> operation.</p>
|
|
2121
|
-
*/
|
|
2122
|
-
export interface DeleteApiCacheResponse {}
|
|
2123
|
-
|
|
2124
|
-
export namespace DeleteApiCacheResponse {
|
|
2125
|
-
/**
|
|
2126
|
-
* @internal
|
|
2127
|
-
*/
|
|
2128
|
-
export const filterSensitiveLog = (obj: DeleteApiCacheResponse): any => ({
|
|
2129
|
-
...obj,
|
|
2130
|
-
});
|
|
2131
|
-
}
|
|
2132
|
-
|
|
2133
|
-
export interface DeleteApiKeyRequest {
|
|
2134
|
-
/**
|
|
2135
|
-
* <p>The API ID.</p>
|
|
2136
|
-
*/
|
|
2137
|
-
apiId: string | undefined;
|
|
2138
|
-
|
|
2139
|
-
/**
|
|
2140
|
-
* <p>The ID for the API key.</p>
|
|
2141
|
-
*/
|
|
2142
|
-
id: string | undefined;
|
|
2143
|
-
}
|
|
2144
|
-
|
|
2145
|
-
export namespace DeleteApiKeyRequest {
|
|
2146
|
-
/**
|
|
2147
|
-
* @internal
|
|
2148
|
-
*/
|
|
2149
|
-
export const filterSensitiveLog = (obj: DeleteApiKeyRequest): any => ({
|
|
2150
|
-
...obj,
|
|
2151
|
-
});
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
export interface DeleteApiKeyResponse {}
|
|
2155
|
-
|
|
2156
|
-
export namespace DeleteApiKeyResponse {
|
|
2157
|
-
/**
|
|
2158
|
-
* @internal
|
|
2159
|
-
*/
|
|
2160
|
-
export const filterSensitiveLog = (obj: DeleteApiKeyResponse): any => ({
|
|
2161
|
-
...obj,
|
|
2162
|
-
});
|
|
2163
|
-
}
|
|
2164
|
-
|
|
2165
|
-
export interface DeleteDataSourceRequest {
|
|
2166
|
-
/**
|
|
2167
|
-
* <p>The API ID.</p>
|
|
2168
|
-
*/
|
|
2169
|
-
apiId: string | undefined;
|
|
2170
|
-
|
|
2171
|
-
/**
|
|
2172
|
-
* <p>The name of the data source.</p>
|
|
2173
|
-
*/
|
|
2174
|
-
name: string | undefined;
|
|
2175
|
-
}
|
|
2176
|
-
|
|
2177
|
-
export namespace DeleteDataSourceRequest {
|
|
2178
|
-
/**
|
|
2179
|
-
* @internal
|
|
2180
|
-
*/
|
|
2181
|
-
export const filterSensitiveLog = (obj: DeleteDataSourceRequest): any => ({
|
|
2182
|
-
...obj,
|
|
2183
|
-
});
|
|
2184
|
-
}
|
|
2185
|
-
|
|
2186
|
-
export interface DeleteDataSourceResponse {}
|
|
2187
|
-
|
|
2188
|
-
export namespace DeleteDataSourceResponse {
|
|
2189
|
-
/**
|
|
2190
|
-
* @internal
|
|
2191
|
-
*/
|
|
2192
|
-
export const filterSensitiveLog = (obj: DeleteDataSourceResponse): any => ({
|
|
2193
|
-
...obj,
|
|
2194
|
-
});
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
|
-
export interface DeleteFunctionRequest {
|
|
2198
|
-
/**
|
|
2199
|
-
* <p>The GraphQL API ID.</p>
|
|
2200
|
-
*/
|
|
2201
|
-
apiId: string | undefined;
|
|
2202
|
-
|
|
2203
|
-
/**
|
|
2204
|
-
* <p>The <code>Function</code> ID.</p>
|
|
2205
|
-
*/
|
|
2206
|
-
functionId: string | undefined;
|
|
2207
|
-
}
|
|
2208
|
-
|
|
2209
|
-
export namespace DeleteFunctionRequest {
|
|
2210
|
-
/**
|
|
2211
|
-
* @internal
|
|
2212
|
-
*/
|
|
2213
|
-
export const filterSensitiveLog = (obj: DeleteFunctionRequest): any => ({
|
|
2214
|
-
...obj,
|
|
2215
|
-
});
|
|
2216
|
-
}
|
|
2217
|
-
|
|
2218
|
-
export interface DeleteFunctionResponse {}
|
|
2219
|
-
|
|
2220
|
-
export namespace DeleteFunctionResponse {
|
|
2221
|
-
/**
|
|
2222
|
-
* @internal
|
|
2223
|
-
*/
|
|
2224
|
-
export const filterSensitiveLog = (obj: DeleteFunctionResponse): any => ({
|
|
2225
|
-
...obj,
|
|
2226
|
-
});
|
|
2227
|
-
}
|
|
2228
|
-
|
|
2229
|
-
export interface DeleteGraphqlApiRequest {
|
|
2230
|
-
/**
|
|
2231
|
-
* <p>The API ID.</p>
|
|
2232
|
-
*/
|
|
2233
|
-
apiId: string | undefined;
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
export namespace DeleteGraphqlApiRequest {
|
|
2237
|
-
/**
|
|
2238
|
-
* @internal
|
|
2239
|
-
*/
|
|
2240
|
-
export const filterSensitiveLog = (obj: DeleteGraphqlApiRequest): any => ({
|
|
2241
|
-
...obj,
|
|
2242
|
-
});
|
|
2243
|
-
}
|
|
2244
|
-
|
|
2245
|
-
export interface DeleteGraphqlApiResponse {}
|
|
2246
|
-
|
|
2247
|
-
export namespace DeleteGraphqlApiResponse {
|
|
2248
|
-
/**
|
|
2249
|
-
* @internal
|
|
2250
|
-
*/
|
|
2251
|
-
export const filterSensitiveLog = (obj: DeleteGraphqlApiResponse): any => ({
|
|
2252
|
-
...obj,
|
|
2253
|
-
});
|
|
2254
|
-
}
|
|
2255
|
-
|
|
2256
|
-
export interface DeleteResolverRequest {
|
|
2257
|
-
/**
|
|
2258
|
-
* <p>The API ID.</p>
|
|
2259
|
-
*/
|
|
2260
|
-
apiId: string | undefined;
|
|
2261
|
-
|
|
2262
|
-
/**
|
|
2263
|
-
* <p>The name of the resolver type.</p>
|
|
2264
|
-
*/
|
|
2265
|
-
typeName: string | undefined;
|
|
2266
|
-
|
|
2267
|
-
/**
|
|
2268
|
-
* <p>The resolver field name.</p>
|
|
2269
|
-
*/
|
|
2270
|
-
fieldName: string | undefined;
|
|
2271
|
-
}
|
|
2272
|
-
|
|
2273
|
-
export namespace DeleteResolverRequest {
|
|
2274
|
-
/**
|
|
2275
|
-
* @internal
|
|
2276
|
-
*/
|
|
2277
|
-
export const filterSensitiveLog = (obj: DeleteResolverRequest): any => ({
|
|
2278
|
-
...obj,
|
|
2279
|
-
});
|
|
2280
|
-
}
|
|
2281
|
-
|
|
2282
|
-
export interface DeleteResolverResponse {}
|
|
2283
|
-
|
|
2284
|
-
export namespace DeleteResolverResponse {
|
|
2285
|
-
/**
|
|
2286
|
-
* @internal
|
|
2287
|
-
*/
|
|
2288
|
-
export const filterSensitiveLog = (obj: DeleteResolverResponse): any => ({
|
|
2289
|
-
...obj,
|
|
2290
|
-
});
|
|
2291
|
-
}
|
|
2292
|
-
|
|
2293
|
-
export interface DeleteTypeRequest {
|
|
2294
|
-
/**
|
|
2295
|
-
* <p>The API ID.</p>
|
|
2296
|
-
*/
|
|
2297
|
-
apiId: string | undefined;
|
|
2298
|
-
|
|
2299
|
-
/**
|
|
2300
|
-
* <p>The type name.</p>
|
|
2301
|
-
*/
|
|
2302
|
-
typeName: string | undefined;
|
|
2303
|
-
}
|
|
2304
|
-
|
|
2305
|
-
export namespace DeleteTypeRequest {
|
|
2306
|
-
/**
|
|
2307
|
-
* @internal
|
|
2308
|
-
*/
|
|
2309
|
-
export const filterSensitiveLog = (obj: DeleteTypeRequest): any => ({
|
|
2310
|
-
...obj,
|
|
2311
|
-
});
|
|
2312
|
-
}
|
|
2313
|
-
|
|
2314
|
-
export interface DeleteTypeResponse {}
|
|
2315
|
-
|
|
2316
|
-
export namespace DeleteTypeResponse {
|
|
2317
|
-
/**
|
|
2318
|
-
* @internal
|
|
2319
|
-
*/
|
|
2320
|
-
export const filterSensitiveLog = (obj: DeleteTypeResponse): any => ({
|
|
2321
|
-
...obj,
|
|
2322
|
-
});
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
|
-
/**
|
|
2326
|
-
* <p>Represents the input of a <code>FlushApiCache</code> operation.</p>
|
|
2327
|
-
*/
|
|
2328
|
-
export interface FlushApiCacheRequest {
|
|
2329
|
-
/**
|
|
2330
|
-
* <p>The API ID.</p>
|
|
2331
|
-
*/
|
|
2332
|
-
apiId: string | undefined;
|
|
2333
|
-
}
|
|
2334
|
-
|
|
2335
|
-
export namespace FlushApiCacheRequest {
|
|
2336
|
-
/**
|
|
2337
|
-
* @internal
|
|
2338
|
-
*/
|
|
2339
|
-
export const filterSensitiveLog = (obj: FlushApiCacheRequest): any => ({
|
|
2340
|
-
...obj,
|
|
2341
|
-
});
|
|
2342
|
-
}
|
|
2343
|
-
|
|
2344
|
-
/**
|
|
2345
|
-
* <p>Represents the output of a <code>FlushApiCache</code> operation.</p>
|
|
2346
|
-
*/
|
|
2347
|
-
export interface FlushApiCacheResponse {}
|
|
2348
|
-
|
|
2349
|
-
export namespace FlushApiCacheResponse {
|
|
2350
|
-
/**
|
|
2351
|
-
* @internal
|
|
2352
|
-
*/
|
|
2353
|
-
export const filterSensitiveLog = (obj: FlushApiCacheResponse): any => ({
|
|
2354
|
-
...obj,
|
|
2355
|
-
});
|
|
2356
|
-
}
|
|
2357
|
-
|
|
2358
|
-
/**
|
|
2359
|
-
* <p>Represents the input of a <code>GetApiCache</code> operation.</p>
|
|
2360
|
-
*/
|
|
2361
|
-
export interface GetApiCacheRequest {
|
|
2362
|
-
/**
|
|
2363
|
-
* <p>The API ID.</p>
|
|
2364
|
-
*/
|
|
2365
|
-
apiId: string | undefined;
|
|
2366
|
-
}
|
|
2367
|
-
|
|
2368
|
-
export namespace GetApiCacheRequest {
|
|
2369
|
-
/**
|
|
2370
|
-
* @internal
|
|
2371
|
-
*/
|
|
2372
|
-
export const filterSensitiveLog = (obj: GetApiCacheRequest): any => ({
|
|
2373
|
-
...obj,
|
|
2374
|
-
});
|
|
2375
|
-
}
|
|
2376
|
-
|
|
2377
|
-
/**
|
|
2378
|
-
* <p>Represents the output of a <code>GetApiCache</code> operation.</p>
|
|
2379
|
-
*/
|
|
2380
|
-
export interface GetApiCacheResponse {
|
|
2381
|
-
/**
|
|
2382
|
-
* <p>The <code>ApiCache</code> object.</p>
|
|
2383
|
-
*/
|
|
2384
|
-
apiCache?: ApiCache;
|
|
2385
|
-
}
|
|
2386
|
-
|
|
2387
|
-
export namespace GetApiCacheResponse {
|
|
2388
|
-
/**
|
|
2389
|
-
* @internal
|
|
2390
|
-
*/
|
|
2391
|
-
export const filterSensitiveLog = (obj: GetApiCacheResponse): any => ({
|
|
2392
|
-
...obj,
|
|
2393
|
-
});
|
|
2394
|
-
}
|
|
2395
|
-
|
|
2396
|
-
export interface GetDataSourceRequest {
|
|
2397
|
-
/**
|
|
2398
|
-
* <p>The API ID.</p>
|
|
2399
|
-
*/
|
|
2400
|
-
apiId: string | undefined;
|
|
2401
|
-
|
|
2402
|
-
/**
|
|
2403
|
-
* <p>The name of the data source.</p>
|
|
2404
|
-
*/
|
|
2405
|
-
name: string | undefined;
|
|
2406
|
-
}
|
|
2407
|
-
|
|
2408
|
-
export namespace GetDataSourceRequest {
|
|
2409
|
-
/**
|
|
2410
|
-
* @internal
|
|
2411
|
-
*/
|
|
2412
|
-
export const filterSensitiveLog = (obj: GetDataSourceRequest): any => ({
|
|
2413
|
-
...obj,
|
|
2414
|
-
});
|
|
2415
|
-
}
|
|
2416
|
-
|
|
2417
|
-
export interface GetDataSourceResponse {
|
|
2418
|
-
/**
|
|
2419
|
-
* <p>The <code>DataSource</code> object.</p>
|
|
2420
|
-
*/
|
|
2421
|
-
dataSource?: DataSource;
|
|
2422
|
-
}
|
|
2423
|
-
|
|
2424
|
-
export namespace GetDataSourceResponse {
|
|
2425
|
-
/**
|
|
2426
|
-
* @internal
|
|
2427
|
-
*/
|
|
2428
|
-
export const filterSensitiveLog = (obj: GetDataSourceResponse): any => ({
|
|
2429
|
-
...obj,
|
|
2430
|
-
});
|
|
2431
|
-
}
|
|
2432
|
-
|
|
2433
|
-
export interface GetFunctionRequest {
|
|
2434
|
-
/**
|
|
2435
|
-
* <p>The GraphQL API ID.</p>
|
|
2436
|
-
*/
|
|
2437
|
-
apiId: string | undefined;
|
|
2438
|
-
|
|
2439
|
-
/**
|
|
2440
|
-
* <p>The <code>Function</code> ID.</p>
|
|
2441
|
-
*/
|
|
2442
|
-
functionId: string | undefined;
|
|
2443
|
-
}
|
|
2444
|
-
|
|
2445
|
-
export namespace GetFunctionRequest {
|
|
2446
|
-
/**
|
|
2447
|
-
* @internal
|
|
2448
|
-
*/
|
|
2449
|
-
export const filterSensitiveLog = (obj: GetFunctionRequest): any => ({
|
|
2450
|
-
...obj,
|
|
2451
|
-
});
|
|
2452
|
-
}
|
|
2453
|
-
|
|
2454
|
-
export interface GetFunctionResponse {
|
|
2455
|
-
/**
|
|
2456
|
-
* <p>The <code>Function</code> object.</p>
|
|
2457
|
-
*/
|
|
2458
|
-
functionConfiguration?: FunctionConfiguration;
|
|
2459
|
-
}
|
|
2460
|
-
|
|
2461
|
-
export namespace GetFunctionResponse {
|
|
2462
|
-
/**
|
|
2463
|
-
* @internal
|
|
2464
|
-
*/
|
|
2465
|
-
export const filterSensitiveLog = (obj: GetFunctionResponse): any => ({
|
|
2466
|
-
...obj,
|
|
2467
|
-
});
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
export interface GetGraphqlApiRequest {
|
|
2471
|
-
/**
|
|
2472
|
-
* <p>The API ID for the GraphQL API.</p>
|
|
2473
|
-
*/
|
|
2474
|
-
apiId: string | undefined;
|
|
2475
|
-
}
|
|
2476
|
-
|
|
2477
|
-
export namespace GetGraphqlApiRequest {
|
|
2478
|
-
/**
|
|
2479
|
-
* @internal
|
|
2480
|
-
*/
|
|
2481
|
-
export const filterSensitiveLog = (obj: GetGraphqlApiRequest): any => ({
|
|
2482
|
-
...obj,
|
|
2483
|
-
});
|
|
2484
|
-
}
|
|
2485
|
-
|
|
2486
|
-
export interface GetGraphqlApiResponse {
|
|
2487
|
-
/**
|
|
2488
|
-
* <p>The <code>GraphqlApi</code> object.</p>
|
|
2489
|
-
*/
|
|
2490
|
-
graphqlApi?: GraphqlApi;
|
|
2491
|
-
}
|
|
2492
|
-
|
|
2493
|
-
export namespace GetGraphqlApiResponse {
|
|
2494
|
-
/**
|
|
2495
|
-
* @internal
|
|
2496
|
-
*/
|
|
2497
|
-
export const filterSensitiveLog = (obj: GetGraphqlApiResponse): any => ({
|
|
2498
|
-
...obj,
|
|
2499
|
-
});
|
|
2500
|
-
}
|
|
2501
|
-
|
|
2502
|
-
export enum OutputType {
|
|
2503
|
-
JSON = "JSON",
|
|
2504
|
-
SDL = "SDL",
|
|
2505
|
-
}
|
|
2506
|
-
|
|
2507
|
-
export interface GetIntrospectionSchemaRequest {
|
|
2508
|
-
/**
|
|
2509
|
-
* <p>The API ID.</p>
|
|
2510
|
-
*/
|
|
2511
|
-
apiId: string | undefined;
|
|
2512
|
-
|
|
2513
|
-
/**
|
|
2514
|
-
* <p>The schema format: SDL or JSON.</p>
|
|
2515
|
-
*/
|
|
2516
|
-
format: OutputType | string | undefined;
|
|
2517
|
-
|
|
2518
|
-
/**
|
|
2519
|
-
* <p>A flag that specifies whether the schema introspection should contain directives.</p>
|
|
2520
|
-
*/
|
|
2521
|
-
includeDirectives?: boolean;
|
|
2522
|
-
}
|
|
2523
|
-
|
|
2524
|
-
export namespace GetIntrospectionSchemaRequest {
|
|
2525
|
-
/**
|
|
2526
|
-
* @internal
|
|
2527
|
-
*/
|
|
2528
|
-
export const filterSensitiveLog = (obj: GetIntrospectionSchemaRequest): any => ({
|
|
2529
|
-
...obj,
|
|
2530
|
-
});
|
|
2531
|
-
}
|
|
2532
|
-
|
|
2533
|
-
export interface GetIntrospectionSchemaResponse {
|
|
2534
|
-
/**
|
|
2535
|
-
* <p>The schema, in GraphQL Schema Definition Language (SDL) format.</p>
|
|
2536
|
-
* <p>For more information, see the <a href="http://graphql.org/learn/schema/">GraphQL SDL
|
|
2537
|
-
* documentation</a>.</p>
|
|
2538
|
-
*/
|
|
2539
|
-
schema?: Uint8Array;
|
|
2540
|
-
}
|
|
2541
|
-
|
|
2542
|
-
export namespace GetIntrospectionSchemaResponse {
|
|
2543
|
-
/**
|
|
2544
|
-
* @internal
|
|
2545
|
-
*/
|
|
2546
|
-
export const filterSensitiveLog = (obj: GetIntrospectionSchemaResponse): any => ({
|
|
2547
|
-
...obj,
|
|
2548
|
-
});
|
|
2549
|
-
}
|
|
2550
|
-
|
|
2551
|
-
/**
|
|
2552
|
-
* <p>The GraphQL schema is not valid.</p>
|
|
2553
|
-
*/
|
|
2554
|
-
export interface GraphQLSchemaException extends __SmithyException, $MetadataBearer {
|
|
2555
|
-
name: "GraphQLSchemaException";
|
|
2556
|
-
$fault: "client";
|
|
2557
|
-
message?: string;
|
|
2558
|
-
}
|
|
2559
|
-
|
|
2560
|
-
export namespace GraphQLSchemaException {
|
|
2561
|
-
/**
|
|
2562
|
-
* @internal
|
|
2563
|
-
*/
|
|
2564
|
-
export const filterSensitiveLog = (obj: GraphQLSchemaException): any => ({
|
|
2565
|
-
...obj,
|
|
2566
|
-
});
|
|
2567
|
-
}
|
|
2568
|
-
|
|
2569
|
-
export interface GetResolverRequest {
|
|
2570
|
-
/**
|
|
2571
|
-
* <p>The API ID.</p>
|
|
2572
|
-
*/
|
|
2573
|
-
apiId: string | undefined;
|
|
2574
|
-
|
|
2575
|
-
/**
|
|
2576
|
-
* <p>The resolver type name.</p>
|
|
2577
|
-
*/
|
|
2578
|
-
typeName: string | undefined;
|
|
2579
|
-
|
|
2580
|
-
/**
|
|
2581
|
-
* <p>The resolver field name.</p>
|
|
2582
|
-
*/
|
|
2583
|
-
fieldName: string | undefined;
|
|
2584
|
-
}
|
|
2585
|
-
|
|
2586
|
-
export namespace GetResolverRequest {
|
|
2587
|
-
/**
|
|
2588
|
-
* @internal
|
|
2589
|
-
*/
|
|
2590
|
-
export const filterSensitiveLog = (obj: GetResolverRequest): any => ({
|
|
2591
|
-
...obj,
|
|
2592
|
-
});
|
|
2593
|
-
}
|
|
2594
|
-
|
|
2595
|
-
export interface GetResolverResponse {
|
|
2596
|
-
/**
|
|
2597
|
-
* <p>The <code>Resolver</code> object.</p>
|
|
2598
|
-
*/
|
|
2599
|
-
resolver?: Resolver;
|
|
2600
|
-
}
|
|
2601
|
-
|
|
2602
|
-
export namespace GetResolverResponse {
|
|
2603
|
-
/**
|
|
2604
|
-
* @internal
|
|
2605
|
-
*/
|
|
2606
|
-
export const filterSensitiveLog = (obj: GetResolverResponse): any => ({
|
|
2607
|
-
...obj,
|
|
2608
|
-
});
|
|
2609
|
-
}
|
|
2610
|
-
|
|
2611
|
-
export interface GetSchemaCreationStatusRequest {
|
|
2612
|
-
/**
|
|
2613
|
-
* <p>The API ID.</p>
|
|
2614
|
-
*/
|
|
2615
|
-
apiId: string | undefined;
|
|
2616
|
-
}
|
|
2617
|
-
|
|
2618
|
-
export namespace GetSchemaCreationStatusRequest {
|
|
2619
|
-
/**
|
|
2620
|
-
* @internal
|
|
2621
|
-
*/
|
|
2622
|
-
export const filterSensitiveLog = (obj: GetSchemaCreationStatusRequest): any => ({
|
|
2623
|
-
...obj,
|
|
2624
|
-
});
|
|
2625
|
-
}
|
|
2626
|
-
|
|
2627
|
-
export enum SchemaStatus {
|
|
2628
|
-
Active = "ACTIVE",
|
|
2629
|
-
Deleting = "DELETING",
|
|
2630
|
-
Failed = "FAILED",
|
|
2631
|
-
NotApplicable = "NOT_APPLICABLE",
|
|
2632
|
-
Processing = "PROCESSING",
|
|
2633
|
-
Success = "SUCCESS",
|
|
2634
|
-
}
|
|
2635
|
-
|
|
2636
|
-
export interface GetSchemaCreationStatusResponse {
|
|
2637
|
-
/**
|
|
2638
|
-
* <p>The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When
|
|
2639
|
-
* the schema is in the ACTIVE state, you can add data.</p>
|
|
2640
|
-
*/
|
|
2641
|
-
status?: SchemaStatus | string;
|
|
2642
|
-
|
|
2643
|
-
/**
|
|
2644
|
-
* <p>Detailed information about the status of the schema creation operation.</p>
|
|
2645
|
-
*/
|
|
2646
|
-
details?: string;
|
|
2647
|
-
}
|
|
2648
|
-
|
|
2649
|
-
export namespace GetSchemaCreationStatusResponse {
|
|
2650
|
-
/**
|
|
2651
|
-
* @internal
|
|
2652
|
-
*/
|
|
2653
|
-
export const filterSensitiveLog = (obj: GetSchemaCreationStatusResponse): any => ({
|
|
2654
|
-
...obj,
|
|
2655
|
-
});
|
|
2656
|
-
}
|
|
2657
|
-
|
|
2658
|
-
export interface GetTypeRequest {
|
|
2659
|
-
/**
|
|
2660
|
-
* <p>The API ID.</p>
|
|
2661
|
-
*/
|
|
2662
|
-
apiId: string | undefined;
|
|
2663
|
-
|
|
2664
|
-
/**
|
|
2665
|
-
* <p>The type name.</p>
|
|
2666
|
-
*/
|
|
2667
|
-
typeName: string | undefined;
|
|
2668
|
-
|
|
2669
|
-
/**
|
|
2670
|
-
* <p>The type format: SDL or JSON.</p>
|
|
2671
|
-
*/
|
|
2672
|
-
format: TypeDefinitionFormat | string | undefined;
|
|
2673
|
-
}
|
|
2674
|
-
|
|
2675
|
-
export namespace GetTypeRequest {
|
|
2676
|
-
/**
|
|
2677
|
-
* @internal
|
|
2678
|
-
*/
|
|
2679
|
-
export const filterSensitiveLog = (obj: GetTypeRequest): any => ({
|
|
2680
|
-
...obj,
|
|
2681
|
-
});
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
|
-
export interface GetTypeResponse {
|
|
2685
|
-
/**
|
|
2686
|
-
* <p>The <code>Type</code> object.</p>
|
|
2687
|
-
*/
|
|
2688
|
-
type?: Type;
|
|
2689
|
-
}
|
|
2690
|
-
|
|
2691
|
-
export namespace GetTypeResponse {
|
|
2692
|
-
/**
|
|
2693
|
-
* @internal
|
|
2694
|
-
*/
|
|
2695
|
-
export const filterSensitiveLog = (obj: GetTypeResponse): any => ({
|
|
2696
|
-
...obj,
|
|
2697
|
-
});
|
|
2698
|
-
}
|
|
2699
|
-
|
|
2700
|
-
export interface ListApiKeysRequest {
|
|
2701
|
-
/**
|
|
2702
|
-
* <p>The API ID.</p>
|
|
2703
|
-
*/
|
|
2704
|
-
apiId: string | undefined;
|
|
2705
|
-
|
|
2706
|
-
/**
|
|
2707
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2708
|
-
* used to return the next set of items in the list.</p>
|
|
2709
|
-
*/
|
|
2710
|
-
nextToken?: string;
|
|
2711
|
-
|
|
2712
|
-
/**
|
|
2713
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2714
|
-
*/
|
|
2715
|
-
maxResults?: number;
|
|
2716
|
-
}
|
|
2717
|
-
|
|
2718
|
-
export namespace ListApiKeysRequest {
|
|
2719
|
-
/**
|
|
2720
|
-
* @internal
|
|
2721
|
-
*/
|
|
2722
|
-
export const filterSensitiveLog = (obj: ListApiKeysRequest): any => ({
|
|
2723
|
-
...obj,
|
|
2724
|
-
});
|
|
2725
|
-
}
|
|
2726
|
-
|
|
2727
|
-
export interface ListApiKeysResponse {
|
|
2728
|
-
/**
|
|
2729
|
-
* <p>The <code>ApiKey</code> objects.</p>
|
|
2730
|
-
*/
|
|
2731
|
-
apiKeys?: ApiKey[];
|
|
2732
|
-
|
|
2733
|
-
/**
|
|
2734
|
-
* <p>An identifier to be passed in the next request to this operation to return the next set
|
|
2735
|
-
* of items in the list.</p>
|
|
2736
|
-
*/
|
|
2737
|
-
nextToken?: string;
|
|
2738
|
-
}
|
|
2739
|
-
|
|
2740
|
-
export namespace ListApiKeysResponse {
|
|
2741
|
-
/**
|
|
2742
|
-
* @internal
|
|
2743
|
-
*/
|
|
2744
|
-
export const filterSensitiveLog = (obj: ListApiKeysResponse): any => ({
|
|
2745
|
-
...obj,
|
|
2746
|
-
});
|
|
2747
|
-
}
|
|
2748
|
-
|
|
2749
|
-
export interface ListDataSourcesRequest {
|
|
2750
|
-
/**
|
|
2751
|
-
* <p>The API ID.</p>
|
|
2752
|
-
*/
|
|
2753
|
-
apiId: string | undefined;
|
|
2754
|
-
|
|
2755
|
-
/**
|
|
2756
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2757
|
-
* used to return the next set of items in the list. </p>
|
|
2758
|
-
*/
|
|
2759
|
-
nextToken?: string;
|
|
2760
|
-
|
|
2761
|
-
/**
|
|
2762
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2763
|
-
*/
|
|
2764
|
-
maxResults?: number;
|
|
2765
|
-
}
|
|
2766
|
-
|
|
2767
|
-
export namespace ListDataSourcesRequest {
|
|
2768
|
-
/**
|
|
2769
|
-
* @internal
|
|
2770
|
-
*/
|
|
2771
|
-
export const filterSensitiveLog = (obj: ListDataSourcesRequest): any => ({
|
|
2772
|
-
...obj,
|
|
2773
|
-
});
|
|
2774
|
-
}
|
|
2775
|
-
|
|
2776
|
-
export interface ListDataSourcesResponse {
|
|
2777
|
-
/**
|
|
2778
|
-
* <p>The <code>DataSource</code> objects.</p>
|
|
2779
|
-
*/
|
|
2780
|
-
dataSources?: DataSource[];
|
|
2781
|
-
|
|
2782
|
-
/**
|
|
2783
|
-
* <p>An identifier to be passed in the next request to this operation to return the next set
|
|
2784
|
-
* of items in the list.</p>
|
|
2785
|
-
*/
|
|
2786
|
-
nextToken?: string;
|
|
2787
|
-
}
|
|
2788
|
-
|
|
2789
|
-
export namespace ListDataSourcesResponse {
|
|
2790
|
-
/**
|
|
2791
|
-
* @internal
|
|
2792
|
-
*/
|
|
2793
|
-
export const filterSensitiveLog = (obj: ListDataSourcesResponse): any => ({
|
|
2794
|
-
...obj,
|
|
2795
|
-
});
|
|
2796
|
-
}
|
|
2797
|
-
|
|
2798
|
-
export interface ListFunctionsRequest {
|
|
2799
|
-
/**
|
|
2800
|
-
* <p>The GraphQL API ID.</p>
|
|
2801
|
-
*/
|
|
2802
|
-
apiId: string | undefined;
|
|
2803
|
-
|
|
2804
|
-
/**
|
|
2805
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2806
|
-
* used to return the next set of items in the list.</p>
|
|
2807
|
-
*/
|
|
2808
|
-
nextToken?: string;
|
|
2809
|
-
|
|
2810
|
-
/**
|
|
2811
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2812
|
-
*/
|
|
2813
|
-
maxResults?: number;
|
|
2814
|
-
}
|
|
2815
|
-
|
|
2816
|
-
export namespace ListFunctionsRequest {
|
|
2817
|
-
/**
|
|
2818
|
-
* @internal
|
|
2819
|
-
*/
|
|
2820
|
-
export const filterSensitiveLog = (obj: ListFunctionsRequest): any => ({
|
|
2821
|
-
...obj,
|
|
2822
|
-
});
|
|
2823
|
-
}
|
|
2824
|
-
|
|
2825
|
-
export interface ListFunctionsResponse {
|
|
2826
|
-
/**
|
|
2827
|
-
* <p>A list of <code>Function</code> objects.</p>
|
|
2828
|
-
*/
|
|
2829
|
-
functions?: FunctionConfiguration[];
|
|
2830
|
-
|
|
2831
|
-
/**
|
|
2832
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2833
|
-
* used to return the next set of items in the list.</p>
|
|
2834
|
-
*/
|
|
2835
|
-
nextToken?: string;
|
|
2836
|
-
}
|
|
2837
|
-
|
|
2838
|
-
export namespace ListFunctionsResponse {
|
|
2839
|
-
/**
|
|
2840
|
-
* @internal
|
|
2841
|
-
*/
|
|
2842
|
-
export const filterSensitiveLog = (obj: ListFunctionsResponse): any => ({
|
|
2843
|
-
...obj,
|
|
2844
|
-
});
|
|
2845
|
-
}
|
|
2846
|
-
|
|
2847
|
-
export interface ListGraphqlApisRequest {
|
|
2848
|
-
/**
|
|
2849
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2850
|
-
* used to return the next set of items in the list. </p>
|
|
2851
|
-
*/
|
|
2852
|
-
nextToken?: string;
|
|
2853
|
-
|
|
2854
|
-
/**
|
|
2855
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2856
|
-
*/
|
|
2857
|
-
maxResults?: number;
|
|
2858
|
-
}
|
|
2859
|
-
|
|
2860
|
-
export namespace ListGraphqlApisRequest {
|
|
2861
|
-
/**
|
|
2862
|
-
* @internal
|
|
2863
|
-
*/
|
|
2864
|
-
export const filterSensitiveLog = (obj: ListGraphqlApisRequest): any => ({
|
|
2865
|
-
...obj,
|
|
2866
|
-
});
|
|
2867
|
-
}
|
|
2868
|
-
|
|
2869
|
-
export interface ListGraphqlApisResponse {
|
|
2870
|
-
/**
|
|
2871
|
-
* <p>The <code>GraphqlApi</code> objects.</p>
|
|
2872
|
-
*/
|
|
2873
|
-
graphqlApis?: GraphqlApi[];
|
|
2874
|
-
|
|
2875
|
-
/**
|
|
2876
|
-
* <p>An identifier to be passed in the next request to this operation to return the next set
|
|
2877
|
-
* of items in the list.</p>
|
|
2878
|
-
*/
|
|
2879
|
-
nextToken?: string;
|
|
2880
|
-
}
|
|
2881
|
-
|
|
2882
|
-
export namespace ListGraphqlApisResponse {
|
|
2883
|
-
/**
|
|
2884
|
-
* @internal
|
|
2885
|
-
*/
|
|
2886
|
-
export const filterSensitiveLog = (obj: ListGraphqlApisResponse): any => ({
|
|
2887
|
-
...obj,
|
|
2888
|
-
});
|
|
2889
|
-
}
|
|
2890
|
-
|
|
2891
|
-
export interface ListResolversRequest {
|
|
2892
|
-
/**
|
|
2893
|
-
* <p>The API ID.</p>
|
|
2894
|
-
*/
|
|
2895
|
-
apiId: string | undefined;
|
|
2896
|
-
|
|
2897
|
-
/**
|
|
2898
|
-
* <p>The type name.</p>
|
|
2899
|
-
*/
|
|
2900
|
-
typeName: string | undefined;
|
|
2901
|
-
|
|
2902
|
-
/**
|
|
2903
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
2904
|
-
* used to return the next set of items in the list. </p>
|
|
2905
|
-
*/
|
|
2906
|
-
nextToken?: string;
|
|
2907
|
-
|
|
2908
|
-
/**
|
|
2909
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2910
|
-
*/
|
|
2911
|
-
maxResults?: number;
|
|
2912
|
-
}
|
|
2913
|
-
|
|
2914
|
-
export namespace ListResolversRequest {
|
|
2915
|
-
/**
|
|
2916
|
-
* @internal
|
|
2917
|
-
*/
|
|
2918
|
-
export const filterSensitiveLog = (obj: ListResolversRequest): any => ({
|
|
2919
|
-
...obj,
|
|
2920
|
-
});
|
|
2921
|
-
}
|
|
2922
|
-
|
|
2923
|
-
export interface ListResolversResponse {
|
|
2924
|
-
/**
|
|
2925
|
-
* <p>The <code>Resolver</code> objects.</p>
|
|
2926
|
-
*/
|
|
2927
|
-
resolvers?: Resolver[];
|
|
2928
|
-
|
|
2929
|
-
/**
|
|
2930
|
-
* <p>An identifier to be passed in the next request to this operation to return the next set
|
|
2931
|
-
* of items in the list.</p>
|
|
2932
|
-
*/
|
|
2933
|
-
nextToken?: string;
|
|
2934
|
-
}
|
|
2935
|
-
|
|
2936
|
-
export namespace ListResolversResponse {
|
|
2937
|
-
/**
|
|
2938
|
-
* @internal
|
|
2939
|
-
*/
|
|
2940
|
-
export const filterSensitiveLog = (obj: ListResolversResponse): any => ({
|
|
2941
|
-
...obj,
|
|
2942
|
-
});
|
|
2943
|
-
}
|
|
2944
|
-
|
|
2945
|
-
export interface ListResolversByFunctionRequest {
|
|
2946
|
-
/**
|
|
2947
|
-
* <p>The API ID.</p>
|
|
2948
|
-
*/
|
|
2949
|
-
apiId: string | undefined;
|
|
2950
|
-
|
|
2951
|
-
/**
|
|
2952
|
-
* <p>The Function ID.</p>
|
|
2953
|
-
*/
|
|
2954
|
-
functionId: string | undefined;
|
|
2955
|
-
|
|
2956
|
-
/**
|
|
2957
|
-
* <p>An identifier that was returned from the previous call to this operation, which you can
|
|
2958
|
-
* use to return the next set of items in the list.</p>
|
|
2959
|
-
*/
|
|
2960
|
-
nextToken?: string;
|
|
2961
|
-
|
|
2962
|
-
/**
|
|
2963
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
2964
|
-
*/
|
|
2965
|
-
maxResults?: number;
|
|
2966
|
-
}
|
|
2967
|
-
|
|
2968
|
-
export namespace ListResolversByFunctionRequest {
|
|
2969
|
-
/**
|
|
2970
|
-
* @internal
|
|
2971
|
-
*/
|
|
2972
|
-
export const filterSensitiveLog = (obj: ListResolversByFunctionRequest): any => ({
|
|
2973
|
-
...obj,
|
|
2974
|
-
});
|
|
2975
|
-
}
|
|
2976
|
-
|
|
2977
|
-
export interface ListResolversByFunctionResponse {
|
|
2978
|
-
/**
|
|
2979
|
-
* <p>The list of resolvers.</p>
|
|
2980
|
-
*/
|
|
2981
|
-
resolvers?: Resolver[];
|
|
2982
|
-
|
|
2983
|
-
/**
|
|
2984
|
-
* <p>An identifier that can be used to return the next set of items in the list.</p>
|
|
2985
|
-
*/
|
|
2986
|
-
nextToken?: string;
|
|
2987
|
-
}
|
|
2988
|
-
|
|
2989
|
-
export namespace ListResolversByFunctionResponse {
|
|
2990
|
-
/**
|
|
2991
|
-
* @internal
|
|
2992
|
-
*/
|
|
2993
|
-
export const filterSensitiveLog = (obj: ListResolversByFunctionResponse): any => ({
|
|
2994
|
-
...obj,
|
|
2995
|
-
});
|
|
2996
|
-
}
|
|
2997
|
-
|
|
2998
|
-
export interface ListTagsForResourceRequest {
|
|
2999
|
-
/**
|
|
3000
|
-
* <p>The <code>GraphqlApi</code> ARN.</p>
|
|
3001
|
-
*/
|
|
3002
|
-
resourceArn: string | undefined;
|
|
3003
|
-
}
|
|
3004
|
-
|
|
3005
|
-
export namespace ListTagsForResourceRequest {
|
|
3006
|
-
/**
|
|
3007
|
-
* @internal
|
|
3008
|
-
*/
|
|
3009
|
-
export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
|
|
3010
|
-
...obj,
|
|
3011
|
-
});
|
|
3012
|
-
}
|
|
3013
|
-
|
|
3014
|
-
export interface ListTagsForResourceResponse {
|
|
3015
|
-
/**
|
|
3016
|
-
* <p>A <code>TagMap</code> object.</p>
|
|
3017
|
-
*/
|
|
3018
|
-
tags?: { [key: string]: string };
|
|
3019
|
-
}
|
|
3020
|
-
|
|
3021
|
-
export namespace ListTagsForResourceResponse {
|
|
3022
|
-
/**
|
|
3023
|
-
* @internal
|
|
3024
|
-
*/
|
|
3025
|
-
export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
|
|
3026
|
-
...obj,
|
|
3027
|
-
});
|
|
3028
|
-
}
|
|
3029
|
-
|
|
3030
|
-
export interface ListTypesRequest {
|
|
3031
|
-
/**
|
|
3032
|
-
* <p>The API ID.</p>
|
|
3033
|
-
*/
|
|
3034
|
-
apiId: string | undefined;
|
|
3035
|
-
|
|
3036
|
-
/**
|
|
3037
|
-
* <p>The type format: SDL or JSON.</p>
|
|
3038
|
-
*/
|
|
3039
|
-
format: TypeDefinitionFormat | string | undefined;
|
|
3040
|
-
|
|
3041
|
-
/**
|
|
3042
|
-
* <p>An identifier that was returned from the previous call to this operation, which can be
|
|
3043
|
-
* used to return the next set of items in the list. </p>
|
|
3044
|
-
*/
|
|
3045
|
-
nextToken?: string;
|
|
3046
|
-
|
|
3047
|
-
/**
|
|
3048
|
-
* <p>The maximum number of results you want the request to return.</p>
|
|
3049
|
-
*/
|
|
3050
|
-
maxResults?: number;
|
|
3051
|
-
}
|
|
3052
|
-
|
|
3053
|
-
export namespace ListTypesRequest {
|
|
3054
|
-
/**
|
|
3055
|
-
* @internal
|
|
3056
|
-
*/
|
|
3057
|
-
export const filterSensitiveLog = (obj: ListTypesRequest): any => ({
|
|
3058
|
-
...obj,
|
|
3059
|
-
});
|
|
3060
|
-
}
|
|
3061
|
-
|
|
3062
|
-
export interface ListTypesResponse {
|
|
3063
|
-
/**
|
|
3064
|
-
* <p>The <code>Type</code> objects.</p>
|
|
3065
|
-
*/
|
|
3066
|
-
types?: Type[];
|
|
3067
|
-
|
|
3068
|
-
/**
|
|
3069
|
-
* <p>An identifier to be passed in the next request to this operation to return the next set
|
|
3070
|
-
* of items in the list.</p>
|
|
3071
|
-
*/
|
|
3072
|
-
nextToken?: string;
|
|
3073
|
-
}
|
|
3074
|
-
|
|
3075
|
-
export namespace ListTypesResponse {
|
|
3076
|
-
/**
|
|
3077
|
-
* @internal
|
|
3078
|
-
*/
|
|
3079
|
-
export const filterSensitiveLog = (obj: ListTypesResponse): any => ({
|
|
3080
|
-
...obj,
|
|
3081
|
-
});
|
|
3082
|
-
}
|
|
3083
|
-
|
|
3084
|
-
export interface StartSchemaCreationRequest {
|
|
3085
|
-
/**
|
|
3086
|
-
* <p>The API ID.</p>
|
|
3087
|
-
*/
|
|
3088
|
-
apiId: string | undefined;
|
|
3089
|
-
|
|
3090
|
-
/**
|
|
3091
|
-
* <p>The schema definition, in GraphQL schema language format.</p>
|
|
3092
|
-
*/
|
|
3093
|
-
definition: Uint8Array | undefined;
|
|
3094
|
-
}
|
|
3095
|
-
|
|
3096
|
-
export namespace StartSchemaCreationRequest {
|
|
3097
|
-
/**
|
|
3098
|
-
* @internal
|
|
3099
|
-
*/
|
|
3100
|
-
export const filterSensitiveLog = (obj: StartSchemaCreationRequest): any => ({
|
|
3101
|
-
...obj,
|
|
3102
|
-
});
|
|
3103
|
-
}
|
|
3104
|
-
|
|
3105
|
-
export interface StartSchemaCreationResponse {
|
|
3106
|
-
/**
|
|
3107
|
-
* <p>The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When
|
|
3108
|
-
* the schema is in the ACTIVE state, you can add data.</p>
|
|
3109
|
-
*/
|
|
3110
|
-
status?: SchemaStatus | string;
|
|
3111
|
-
}
|
|
3112
|
-
|
|
3113
|
-
export namespace StartSchemaCreationResponse {
|
|
3114
|
-
/**
|
|
3115
|
-
* @internal
|
|
3116
|
-
*/
|
|
3117
|
-
export const filterSensitiveLog = (obj: StartSchemaCreationResponse): any => ({
|
|
3118
|
-
...obj,
|
|
3119
|
-
});
|
|
3120
|
-
}
|
|
3121
|
-
|
|
3122
|
-
export interface TagResourceRequest {
|
|
3123
|
-
/**
|
|
3124
|
-
* <p>The <code>GraphqlApi</code> ARN.</p>
|
|
3125
|
-
*/
|
|
3126
|
-
resourceArn: string | undefined;
|
|
3127
|
-
|
|
3128
|
-
/**
|
|
3129
|
-
* <p>A <code>TagMap</code> object.</p>
|
|
3130
|
-
*/
|
|
3131
|
-
tags: { [key: string]: string } | undefined;
|
|
3132
|
-
}
|
|
3133
|
-
|
|
3134
|
-
export namespace TagResourceRequest {
|
|
3135
|
-
/**
|
|
3136
|
-
* @internal
|
|
3137
|
-
*/
|
|
3138
|
-
export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
|
|
3139
|
-
...obj,
|
|
3140
|
-
});
|
|
3141
|
-
}
|
|
3142
|
-
|
|
3143
|
-
export interface TagResourceResponse {}
|
|
3144
|
-
|
|
3145
|
-
export namespace TagResourceResponse {
|
|
3146
|
-
/**
|
|
3147
|
-
* @internal
|
|
3148
|
-
*/
|
|
3149
|
-
export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
|
|
3150
|
-
...obj,
|
|
3151
|
-
});
|
|
3152
|
-
}
|
|
3153
|
-
|
|
3154
|
-
export interface UntagResourceRequest {
|
|
3155
|
-
/**
|
|
3156
|
-
* <p>The <code>GraphqlApi</code> ARN.</p>
|
|
3157
|
-
*/
|
|
3158
|
-
resourceArn: string | undefined;
|
|
3159
|
-
|
|
3160
|
-
/**
|
|
3161
|
-
* <p>A list of <code>TagKey</code> objects.</p>
|
|
3162
|
-
*/
|
|
3163
|
-
tagKeys: string[] | undefined;
|
|
3164
|
-
}
|
|
3165
|
-
|
|
3166
|
-
export namespace UntagResourceRequest {
|
|
3167
|
-
/**
|
|
3168
|
-
* @internal
|
|
3169
|
-
*/
|
|
3170
|
-
export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
|
|
3171
|
-
...obj,
|
|
3172
|
-
});
|
|
3173
|
-
}
|
|
3174
|
-
|
|
3175
|
-
export interface UntagResourceResponse {}
|
|
3176
|
-
|
|
3177
|
-
export namespace UntagResourceResponse {
|
|
3178
|
-
/**
|
|
3179
|
-
* @internal
|
|
3180
|
-
*/
|
|
3181
|
-
export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
|
|
3182
|
-
...obj,
|
|
3183
|
-
});
|
|
3184
|
-
}
|
|
3185
|
-
|
|
3186
|
-
/**
|
|
3187
|
-
* <p>Represents the input of a <code>UpdateApiCache</code> operation.</p>
|
|
3188
|
-
*/
|
|
3189
|
-
export interface UpdateApiCacheRequest {
|
|
3190
|
-
/**
|
|
3191
|
-
* <p>The GraphQL API Id.</p>
|
|
3192
|
-
*/
|
|
3193
|
-
apiId: string | undefined;
|
|
3194
|
-
|
|
3195
|
-
/**
|
|
3196
|
-
* <p>TTL in seconds for cache entries.</p>
|
|
3197
|
-
* <p>Valid values are between 1 and 3600 seconds.</p>
|
|
3198
|
-
*/
|
|
3199
|
-
ttl: number | undefined;
|
|
3200
|
-
|
|
3201
|
-
/**
|
|
3202
|
-
* <p>Caching behavior.</p>
|
|
3203
|
-
* <ul>
|
|
3204
|
-
* <li>
|
|
3205
|
-
* <p>
|
|
3206
|
-
* <b>FULL_REQUEST_CACHING</b>: All requests are fully
|
|
3207
|
-
* cached.</p>
|
|
3208
|
-
* </li>
|
|
3209
|
-
* <li>
|
|
3210
|
-
* <p>
|
|
3211
|
-
* <b>PER_RESOLVER_CACHING</b>: Individual resolvers
|
|
3212
|
-
* that you specify are cached.</p>
|
|
3213
|
-
* </li>
|
|
3214
|
-
* </ul>
|
|
3215
|
-
*/
|
|
3216
|
-
apiCachingBehavior: ApiCachingBehavior | string | undefined;
|
|
3217
|
-
|
|
3218
|
-
/**
|
|
3219
|
-
* <p>The cache instance type. Valid values are </p>
|
|
3220
|
-
* <ul>
|
|
3221
|
-
* <li>
|
|
3222
|
-
* <p>
|
|
3223
|
-
* <code>SMALL</code>
|
|
3224
|
-
* </p>
|
|
3225
|
-
* </li>
|
|
3226
|
-
* <li>
|
|
3227
|
-
* <p>
|
|
3228
|
-
* <code>MEDIUM</code>
|
|
3229
|
-
* </p>
|
|
3230
|
-
* </li>
|
|
3231
|
-
* <li>
|
|
3232
|
-
* <p>
|
|
3233
|
-
* <code>LARGE</code>
|
|
3234
|
-
* </p>
|
|
3235
|
-
* </li>
|
|
3236
|
-
* <li>
|
|
3237
|
-
* <p>
|
|
3238
|
-
* <code>XLARGE</code>
|
|
3239
|
-
* </p>
|
|
3240
|
-
* </li>
|
|
3241
|
-
* <li>
|
|
3242
|
-
* <p>
|
|
3243
|
-
* <code>LARGE_2X</code>
|
|
3244
|
-
* </p>
|
|
3245
|
-
* </li>
|
|
3246
|
-
* <li>
|
|
3247
|
-
* <p>
|
|
3248
|
-
* <code>LARGE_4X</code>
|
|
3249
|
-
* </p>
|
|
3250
|
-
* </li>
|
|
3251
|
-
* <li>
|
|
3252
|
-
* <p>
|
|
3253
|
-
* <code>LARGE_8X</code> (not available in all regions)</p>
|
|
3254
|
-
* </li>
|
|
3255
|
-
* <li>
|
|
3256
|
-
* <p>
|
|
3257
|
-
* <code>LARGE_12X</code>
|
|
3258
|
-
* </p>
|
|
3259
|
-
* </li>
|
|
3260
|
-
* </ul>
|
|
3261
|
-
* <p>Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.</p>
|
|
3262
|
-
* <p>The following legacy instance types are available, but their use is discouraged:</p>
|
|
3263
|
-
* <ul>
|
|
3264
|
-
* <li>
|
|
3265
|
-
* <p>
|
|
3266
|
-
* <b>T2_SMALL</b>: A t2.small instance type.</p>
|
|
3267
|
-
* </li>
|
|
3268
|
-
* <li>
|
|
3269
|
-
* <p>
|
|
3270
|
-
* <b>T2_MEDIUM</b>: A t2.medium instance type.</p>
|
|
3271
|
-
* </li>
|
|
3272
|
-
* <li>
|
|
3273
|
-
* <p>
|
|
3274
|
-
* <b>R4_LARGE</b>: A r4.large instance type.</p>
|
|
3275
|
-
* </li>
|
|
3276
|
-
* <li>
|
|
3277
|
-
* <p>
|
|
3278
|
-
* <b>R4_XLARGE</b>: A r4.xlarge instance type.</p>
|
|
3279
|
-
* </li>
|
|
3280
|
-
* <li>
|
|
3281
|
-
* <p>
|
|
3282
|
-
* <b>R4_2XLARGE</b>: A r4.2xlarge instance type.</p>
|
|
3283
|
-
* </li>
|
|
3284
|
-
* <li>
|
|
3285
|
-
* <p>
|
|
3286
|
-
* <b>R4_4XLARGE</b>: A r4.4xlarge instance type.</p>
|
|
3287
|
-
* </li>
|
|
3288
|
-
* <li>
|
|
3289
|
-
* <p>
|
|
3290
|
-
* <b>R4_8XLARGE</b>: A r4.8xlarge instance type.</p>
|
|
3291
|
-
* </li>
|
|
3292
|
-
* </ul>
|
|
3293
|
-
*/
|
|
3294
|
-
type: ApiCacheType | string | undefined;
|
|
3295
|
-
}
|
|
3296
|
-
|
|
3297
|
-
export namespace UpdateApiCacheRequest {
|
|
3298
|
-
/**
|
|
3299
|
-
* @internal
|
|
3300
|
-
*/
|
|
3301
|
-
export const filterSensitiveLog = (obj: UpdateApiCacheRequest): any => ({
|
|
3302
|
-
...obj,
|
|
3303
|
-
});
|
|
3304
|
-
}
|
|
3305
|
-
|
|
3306
|
-
/**
|
|
3307
|
-
* <p>Represents the output of a <code>UpdateApiCache</code> operation.</p>
|
|
3308
|
-
*/
|
|
3309
|
-
export interface UpdateApiCacheResponse {
|
|
3310
|
-
/**
|
|
3311
|
-
* <p>The <code>ApiCache</code> object.</p>
|
|
3312
|
-
*/
|
|
3313
|
-
apiCache?: ApiCache;
|
|
3314
|
-
}
|
|
3315
|
-
|
|
3316
|
-
export namespace UpdateApiCacheResponse {
|
|
3317
|
-
/**
|
|
3318
|
-
* @internal
|
|
3319
|
-
*/
|
|
3320
|
-
export const filterSensitiveLog = (obj: UpdateApiCacheResponse): any => ({
|
|
3321
|
-
...obj,
|
|
3322
|
-
});
|
|
3323
|
-
}
|
|
3324
|
-
|
|
3325
|
-
export interface UpdateApiKeyRequest {
|
|
3326
|
-
/**
|
|
3327
|
-
* <p>The ID for the GraphQL API.</p>
|
|
3328
|
-
*/
|
|
3329
|
-
apiId: string | undefined;
|
|
3330
|
-
|
|
3331
|
-
/**
|
|
3332
|
-
* <p>The API key ID.</p>
|
|
3333
|
-
*/
|
|
3334
|
-
id: string | undefined;
|
|
3335
|
-
|
|
3336
|
-
/**
|
|
3337
|
-
* <p>A description of the purpose of the API key.</p>
|
|
3338
|
-
*/
|
|
3339
|
-
description?: string;
|
|
3340
|
-
|
|
3341
|
-
/**
|
|
3342
|
-
* <p>The time from update time after which the API key expires. The date is represented as
|
|
3343
|
-
* seconds since the epoch. For more information, see .</p>
|
|
3344
|
-
*/
|
|
3345
|
-
expires?: number;
|
|
3346
|
-
}
|
|
3347
|
-
|
|
3348
|
-
export namespace UpdateApiKeyRequest {
|
|
3349
|
-
/**
|
|
3350
|
-
* @internal
|
|
3351
|
-
*/
|
|
3352
|
-
export const filterSensitiveLog = (obj: UpdateApiKeyRequest): any => ({
|
|
3353
|
-
...obj,
|
|
3354
|
-
});
|
|
3355
|
-
}
|
|
3356
|
-
|
|
3357
|
-
export interface UpdateApiKeyResponse {
|
|
3358
|
-
/**
|
|
3359
|
-
* <p>The API key.</p>
|
|
3360
|
-
*/
|
|
3361
|
-
apiKey?: ApiKey;
|
|
3362
|
-
}
|
|
3363
|
-
|
|
3364
|
-
export namespace UpdateApiKeyResponse {
|
|
3365
|
-
/**
|
|
3366
|
-
* @internal
|
|
3367
|
-
*/
|
|
3368
|
-
export const filterSensitiveLog = (obj: UpdateApiKeyResponse): any => ({
|
|
3369
|
-
...obj,
|
|
3370
|
-
});
|
|
3371
|
-
}
|
|
3372
|
-
|
|
3373
|
-
export interface UpdateDataSourceRequest {
|
|
3374
|
-
/**
|
|
3375
|
-
* <p>The API ID.</p>
|
|
3376
|
-
*/
|
|
3377
|
-
apiId: string | undefined;
|
|
3378
|
-
|
|
3379
|
-
/**
|
|
3380
|
-
* <p>The new name for the data source.</p>
|
|
3381
|
-
*/
|
|
3382
|
-
name: string | undefined;
|
|
3383
|
-
|
|
3384
|
-
/**
|
|
3385
|
-
* <p>The new description for the data source.</p>
|
|
3386
|
-
*/
|
|
3387
|
-
description?: string;
|
|
3388
|
-
|
|
3389
|
-
/**
|
|
3390
|
-
* <p>The new data source type.</p>
|
|
3391
|
-
*/
|
|
3392
|
-
type: DataSourceType | string | undefined;
|
|
3393
|
-
|
|
3394
|
-
/**
|
|
3395
|
-
* <p>The new service role ARN for the data source.</p>
|
|
3396
|
-
*/
|
|
3397
|
-
serviceRoleArn?: string;
|
|
3398
|
-
|
|
3399
|
-
/**
|
|
3400
|
-
* <p>The new Amazon DynamoDB configuration.</p>
|
|
3401
|
-
*/
|
|
3402
|
-
dynamodbConfig?: DynamodbDataSourceConfig;
|
|
3403
|
-
|
|
3404
|
-
/**
|
|
3405
|
-
* <p>The new Amazon Web Services Lambda configuration.</p>
|
|
3406
|
-
*/
|
|
3407
|
-
lambdaConfig?: LambdaDataSourceConfig;
|
|
3408
|
-
|
|
3409
|
-
/**
|
|
3410
|
-
* <p>The new Elasticsearch Service configuration.</p>
|
|
3411
|
-
*/
|
|
3412
|
-
elasticsearchConfig?: ElasticsearchDataSourceConfig;
|
|
3413
|
-
|
|
3414
|
-
/**
|
|
3415
|
-
* <p>The new HTTP endpoint configuration.</p>
|
|
3416
|
-
*/
|
|
3417
|
-
httpConfig?: HttpDataSourceConfig;
|
|
3418
|
-
|
|
3419
|
-
/**
|
|
3420
|
-
* <p>The new relational database configuration.</p>
|
|
3421
|
-
*/
|
|
3422
|
-
relationalDatabaseConfig?: RelationalDatabaseDataSourceConfig;
|
|
3423
|
-
}
|
|
3424
|
-
|
|
3425
|
-
export namespace UpdateDataSourceRequest {
|
|
3426
|
-
/**
|
|
3427
|
-
* @internal
|
|
3428
|
-
*/
|
|
3429
|
-
export const filterSensitiveLog = (obj: UpdateDataSourceRequest): any => ({
|
|
3430
|
-
...obj,
|
|
3431
|
-
});
|
|
3432
|
-
}
|
|
3433
|
-
|
|
3434
|
-
export interface UpdateDataSourceResponse {
|
|
3435
|
-
/**
|
|
3436
|
-
* <p>The updated <code>DataSource</code> object.</p>
|
|
3437
|
-
*/
|
|
3438
|
-
dataSource?: DataSource;
|
|
3439
|
-
}
|
|
3440
|
-
|
|
3441
|
-
export namespace UpdateDataSourceResponse {
|
|
3442
|
-
/**
|
|
3443
|
-
* @internal
|
|
3444
|
-
*/
|
|
3445
|
-
export const filterSensitiveLog = (obj: UpdateDataSourceResponse): any => ({
|
|
3446
|
-
...obj,
|
|
3447
|
-
});
|
|
3448
|
-
}
|
|
3449
|
-
|
|
3450
|
-
export interface UpdateFunctionRequest {
|
|
3451
|
-
/**
|
|
3452
|
-
* <p>The GraphQL API ID.</p>
|
|
3453
|
-
*/
|
|
3454
|
-
apiId: string | undefined;
|
|
3455
|
-
|
|
3456
|
-
/**
|
|
3457
|
-
* <p>The <code>Function</code> name.</p>
|
|
3458
|
-
*/
|
|
3459
|
-
name: string | undefined;
|
|
3460
|
-
|
|
3461
|
-
/**
|
|
3462
|
-
* <p>The <code>Function</code> description.</p>
|
|
3463
|
-
*/
|
|
3464
|
-
description?: string;
|
|
3465
|
-
|
|
3466
|
-
/**
|
|
3467
|
-
* <p>The function ID.</p>
|
|
3468
|
-
*/
|
|
3469
|
-
functionId: string | undefined;
|
|
3470
|
-
|
|
3471
|
-
/**
|
|
3472
|
-
* <p>The <code>Function</code>
|
|
3473
|
-
* <code>DataSource</code> name.</p>
|
|
3474
|
-
*/
|
|
3475
|
-
dataSourceName: string | undefined;
|
|
3476
|
-
|
|
3477
|
-
/**
|
|
3478
|
-
* <p>The <code>Function</code> request mapping template. Functions support only the
|
|
3479
|
-
* 2018-05-29 version of the request mapping template.</p>
|
|
3480
|
-
*/
|
|
3481
|
-
requestMappingTemplate?: string;
|
|
3482
|
-
|
|
3483
|
-
/**
|
|
3484
|
-
* <p>The <code>Function</code> request mapping template. </p>
|
|
3485
|
-
*/
|
|
3486
|
-
responseMappingTemplate?: string;
|
|
3487
|
-
|
|
3488
|
-
/**
|
|
3489
|
-
* <p>The <code>version</code> of the request mapping template. Currently the supported value
|
|
3490
|
-
* is 2018-05-29. </p>
|
|
3491
|
-
*/
|
|
3492
|
-
functionVersion: string | undefined;
|
|
3493
|
-
|
|
3494
|
-
/**
|
|
3495
|
-
* <p>Describes a Sync configuration for a resolver.</p>
|
|
3496
|
-
* <p>Contains information on which Conflict Detection as well as Resolution strategy should
|
|
3497
|
-
* be performed when the resolver is invoked.</p>
|
|
3498
|
-
*/
|
|
3499
|
-
syncConfig?: SyncConfig;
|
|
3500
|
-
}
|
|
3501
|
-
|
|
3502
|
-
export namespace UpdateFunctionRequest {
|
|
3503
|
-
/**
|
|
3504
|
-
* @internal
|
|
3505
|
-
*/
|
|
3506
|
-
export const filterSensitiveLog = (obj: UpdateFunctionRequest): any => ({
|
|
3507
|
-
...obj,
|
|
3508
|
-
});
|
|
3509
|
-
}
|
|
3510
|
-
|
|
3511
|
-
export interface UpdateFunctionResponse {
|
|
3512
|
-
/**
|
|
3513
|
-
* <p>The <code>Function</code> object.</p>
|
|
3514
|
-
*/
|
|
3515
|
-
functionConfiguration?: FunctionConfiguration;
|
|
3516
|
-
}
|
|
3517
|
-
|
|
3518
|
-
export namespace UpdateFunctionResponse {
|
|
3519
|
-
/**
|
|
3520
|
-
* @internal
|
|
3521
|
-
*/
|
|
3522
|
-
export const filterSensitiveLog = (obj: UpdateFunctionResponse): any => ({
|
|
3523
|
-
...obj,
|
|
3524
|
-
});
|
|
3525
|
-
}
|
|
3526
|
-
|
|
3527
|
-
export interface UpdateGraphqlApiRequest {
|
|
3528
|
-
/**
|
|
3529
|
-
* <p>The API ID.</p>
|
|
3530
|
-
*/
|
|
3531
|
-
apiId: string | undefined;
|
|
3532
|
-
|
|
3533
|
-
/**
|
|
3534
|
-
* <p>The new name for the <code>GraphqlApi</code> object.</p>
|
|
3535
|
-
*/
|
|
3536
|
-
name: string | undefined;
|
|
3537
|
-
|
|
3538
|
-
/**
|
|
3539
|
-
* <p>The Amazon CloudWatch Logs configuration for the <code>GraphqlApi</code> object.</p>
|
|
3540
|
-
*/
|
|
3541
|
-
logConfig?: LogConfig;
|
|
3542
|
-
|
|
3543
|
-
/**
|
|
3544
|
-
* <p>The new authentication type for the <code>GraphqlApi</code> object.</p>
|
|
3545
|
-
*/
|
|
3546
|
-
authenticationType?: AuthenticationType | string;
|
|
3547
|
-
|
|
3548
|
-
/**
|
|
3549
|
-
* <p>The new Amazon Cognito user pool configuration for the <code>GraphqlApi</code>
|
|
3550
|
-
* object.</p>
|
|
3551
|
-
*/
|
|
3552
|
-
userPoolConfig?: UserPoolConfig;
|
|
3553
|
-
|
|
3554
|
-
/**
|
|
3555
|
-
* <p>The OpenID Connect configuration for the <code>GraphqlApi</code> object.</p>
|
|
3556
|
-
*/
|
|
3557
|
-
openIDConnectConfig?: OpenIDConnectConfig;
|
|
3558
|
-
|
|
3559
|
-
/**
|
|
3560
|
-
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|
3561
|
-
* API.</p>
|
|
3562
|
-
*/
|
|
3563
|
-
additionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
|
|
3564
|
-
|
|
3565
|
-
/**
|
|
3566
|
-
* <p>A flag indicating whether to enable X-Ray tracing for the
|
|
3567
|
-
* <code>GraphqlApi</code>.</p>
|
|
3568
|
-
*/
|
|
3569
|
-
xrayEnabled?: boolean;
|
|
3570
|
-
|
|
3571
|
-
/**
|
|
3572
|
-
* <p>Configuration for AWS Lambda function authorization.</p>
|
|
3573
|
-
*/
|
|
3574
|
-
lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
|
|
3575
|
-
}
|
|
3576
|
-
|
|
3577
|
-
export namespace UpdateGraphqlApiRequest {
|
|
3578
|
-
/**
|
|
3579
|
-
* @internal
|
|
3580
|
-
*/
|
|
3581
|
-
export const filterSensitiveLog = (obj: UpdateGraphqlApiRequest): any => ({
|
|
3582
|
-
...obj,
|
|
3583
|
-
});
|
|
3584
|
-
}
|
|
3585
|
-
|
|
3586
|
-
export interface UpdateGraphqlApiResponse {
|
|
3587
|
-
/**
|
|
3588
|
-
* <p>The updated <code>GraphqlApi</code> object.</p>
|
|
3589
|
-
*/
|
|
3590
|
-
graphqlApi?: GraphqlApi;
|
|
3591
|
-
}
|
|
3592
|
-
|
|
3593
|
-
export namespace UpdateGraphqlApiResponse {
|
|
3594
|
-
/**
|
|
3595
|
-
* @internal
|
|
3596
|
-
*/
|
|
3597
|
-
export const filterSensitiveLog = (obj: UpdateGraphqlApiResponse): any => ({
|
|
3598
|
-
...obj,
|
|
3599
|
-
});
|
|
3600
|
-
}
|
|
3601
|
-
|
|
3602
|
-
export interface UpdateResolverRequest {
|
|
3603
|
-
/**
|
|
3604
|
-
* <p>The API ID.</p>
|
|
3605
|
-
*/
|
|
3606
|
-
apiId: string | undefined;
|
|
3607
|
-
|
|
3608
|
-
/**
|
|
3609
|
-
* <p>The new type name.</p>
|
|
3610
|
-
*/
|
|
3611
|
-
typeName: string | undefined;
|
|
3612
|
-
|
|
3613
|
-
/**
|
|
3614
|
-
* <p>The new field name.</p>
|
|
3615
|
-
*/
|
|
3616
|
-
fieldName: string | undefined;
|
|
3617
|
-
|
|
3618
|
-
/**
|
|
3619
|
-
* <p>The new data source name.</p>
|
|
3620
|
-
*/
|
|
3621
|
-
dataSourceName?: string;
|
|
3622
|
-
|
|
3623
|
-
/**
|
|
3624
|
-
* <p>The new request mapping template.</p>
|
|
3625
|
-
* <p>A resolver uses a request mapping template to convert a GraphQL expression into a format
|
|
3626
|
-
* that a data source can understand. Mapping templates are written in Apache Velocity
|
|
3627
|
-
* Template Language (VTL).</p>
|
|
3628
|
-
* <p>VTL request mapping templates are optional when using a Lambda data source. For all
|
|
3629
|
-
* other data sources, VTL request and response mapping templates are required.</p>
|
|
3630
|
-
*/
|
|
3631
|
-
requestMappingTemplate?: string;
|
|
3632
|
-
|
|
3633
|
-
/**
|
|
3634
|
-
* <p>The new response mapping template.</p>
|
|
3635
|
-
*/
|
|
3636
|
-
responseMappingTemplate?: string;
|
|
3637
|
-
|
|
3638
|
-
/**
|
|
3639
|
-
* <p>The resolver type.</p>
|
|
3640
|
-
* <ul>
|
|
3641
|
-
* <li>
|
|
3642
|
-
* <p>
|
|
3643
|
-
* <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is
|
|
3644
|
-
* the default resolver type. A UNIT resolver enables you to execute a GraphQL query
|
|
3645
|
-
* against a single data source.</p>
|
|
3646
|
-
* </li>
|
|
3647
|
-
* <li>
|
|
3648
|
-
* <p>
|
|
3649
|
-
* <b>PIPELINE</b>: A PIPELINE resolver type. A PIPELINE
|
|
3650
|
-
* resolver enables you to execute a series of <code>Function</code> in a serial manner.
|
|
3651
|
-
* You can use a pipeline resolver to execute a GraphQL query against multiple data
|
|
3652
|
-
* sources.</p>
|
|
3653
|
-
* </li>
|
|
3654
|
-
* </ul>
|
|
3655
|
-
*/
|
|
3656
|
-
kind?: ResolverKind | string;
|
|
3657
|
-
|
|
3658
|
-
/**
|
|
3659
|
-
* <p>The <code>PipelineConfig</code>.</p>
|
|
3660
|
-
*/
|
|
3661
|
-
pipelineConfig?: PipelineConfig;
|
|
3662
|
-
|
|
3663
|
-
/**
|
|
3664
|
-
* <p>The <code>SyncConfig</code> for a resolver attached to a versioned datasource.</p>
|
|
3665
|
-
*/
|
|
3666
|
-
syncConfig?: SyncConfig;
|
|
3667
|
-
|
|
3668
|
-
/**
|
|
3669
|
-
* <p>The caching configuration for the resolver.</p>
|
|
3670
|
-
*/
|
|
3671
|
-
cachingConfig?: CachingConfig;
|
|
3672
|
-
}
|
|
3673
|
-
|
|
3674
|
-
export namespace UpdateResolverRequest {
|
|
3675
|
-
/**
|
|
3676
|
-
* @internal
|
|
3677
|
-
*/
|
|
3678
|
-
export const filterSensitiveLog = (obj: UpdateResolverRequest): any => ({
|
|
3679
|
-
...obj,
|
|
3680
|
-
});
|
|
3681
|
-
}
|
|
3682
|
-
|
|
3683
|
-
export interface UpdateResolverResponse {
|
|
3684
|
-
/**
|
|
3685
|
-
* <p>The updated <code>Resolver</code> object.</p>
|
|
3686
|
-
*/
|
|
3687
|
-
resolver?: Resolver;
|
|
3688
|
-
}
|
|
3689
|
-
|
|
3690
|
-
export namespace UpdateResolverResponse {
|
|
3691
|
-
/**
|
|
3692
|
-
* @internal
|
|
3693
|
-
*/
|
|
3694
|
-
export const filterSensitiveLog = (obj: UpdateResolverResponse): any => ({
|
|
3695
|
-
...obj,
|
|
3696
|
-
});
|
|
3697
|
-
}
|
|
3698
|
-
|
|
3699
|
-
export interface UpdateTypeRequest {
|
|
3700
|
-
/**
|
|
3701
|
-
* <p>The API ID.</p>
|
|
3702
|
-
*/
|
|
3703
|
-
apiId: string | undefined;
|
|
3704
|
-
|
|
3705
|
-
/**
|
|
3706
|
-
* <p>The new type name.</p>
|
|
3707
|
-
*/
|
|
3708
|
-
typeName: string | undefined;
|
|
3709
|
-
|
|
3710
|
-
/**
|
|
3711
|
-
* <p>The new definition.</p>
|
|
3712
|
-
*/
|
|
3713
|
-
definition?: string;
|
|
3714
|
-
|
|
3715
|
-
/**
|
|
3716
|
-
* <p>The new type format: SDL or JSON.</p>
|
|
3717
|
-
*/
|
|
3718
|
-
format: TypeDefinitionFormat | string | undefined;
|
|
3719
|
-
}
|
|
3720
|
-
|
|
3721
|
-
export namespace UpdateTypeRequest {
|
|
3722
|
-
/**
|
|
3723
|
-
* @internal
|
|
3724
|
-
*/
|
|
3725
|
-
export const filterSensitiveLog = (obj: UpdateTypeRequest): any => ({
|
|
3726
|
-
...obj,
|
|
3727
|
-
});
|
|
3728
|
-
}
|
|
3729
|
-
|
|
3730
|
-
export interface UpdateTypeResponse {
|
|
3731
|
-
/**
|
|
3732
|
-
* <p>The updated <code>Type</code> object.</p>
|
|
3733
|
-
*/
|
|
3734
|
-
type?: Type;
|
|
3735
|
-
}
|
|
3736
|
-
|
|
3737
|
-
export namespace UpdateTypeResponse {
|
|
3738
|
-
/**
|
|
3739
|
-
* @internal
|
|
3740
|
-
*/
|
|
3741
|
-
export const filterSensitiveLog = (obj: UpdateTypeResponse): any => ({
|
|
3742
|
-
...obj,
|
|
3743
|
-
});
|
|
3744
|
-
}
|