@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListResolversByFunctionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>List the resolvers that are associated with a specific function.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class ListResolversByFunctionCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.ListResolversByFunctionCommand = ListResolversByFunctionCommand;
|
|
61
|
-
//# sourceMappingURL=ListResolversByFunctionCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListResolversCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Lists the resolvers for a given API and type.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class ListResolversCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.ListResolversCommand = ListResolversCommand;
|
|
61
|
-
//# sourceMappingURL=ListResolversCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListTagsForResourceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Lists the tags for a resource.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
61
|
-
//# sourceMappingURL=ListTagsForResourceCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListTypesCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Lists the types for a given API.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class ListTypesCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.ListTypesCommand = ListTypesCommand;
|
|
61
|
-
//# sourceMappingURL=ListTypesCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StartSchemaCreationCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Adds a new schema to your GraphQL API.</p>
|
|
10
10
|
* <p>This operation is asynchronous. Use to
|
|
@@ -60,4 +60,3 @@ class StartSchemaCreationCommand extends smithy_client_1.Command {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
exports.StartSchemaCreationCommand = StartSchemaCreationCommand;
|
|
63
|
-
//# sourceMappingURL=StartSchemaCreationCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TagResourceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Tags a resource with user-supplied tags.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.TagResourceCommand = TagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=TagResourceCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UntagResourceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Untags a resource.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=UntagResourceCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateApiCacheCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Updates the cache for the GraphQL API.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class UpdateApiCacheCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.UpdateApiCacheCommand = UpdateApiCacheCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateApiCacheCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateApiKeyCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Updates an API key. The key can be updated while it is not deleted.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class UpdateApiKeyCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.UpdateApiKeyCommand = UpdateApiKeyCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateApiKeyCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateDataSourceCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Updates a <code>DataSource</code> object.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class UpdateDataSourceCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.UpdateDataSourceCommand = UpdateDataSourceCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateDataSourceCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateFunctionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Updates a <code>Function</code> object.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class UpdateFunctionCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.UpdateFunctionCommand = UpdateFunctionCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateFunctionCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateGraphqlApiCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Updates a <code>GraphqlApi</code> object.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class UpdateGraphqlApiCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.UpdateGraphqlApiCommand = UpdateGraphqlApiCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateGraphqlApiCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateResolverCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Updates a <code>Resolver</code> object.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class UpdateResolverCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.UpdateResolverCommand = UpdateResolverCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateResolverCommand.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateTypeCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
/**
|
|
9
9
|
* <p>Updates a <code>Type</code> object.</p>
|
|
10
10
|
* @example
|
|
@@ -58,4 +58,3 @@ class UpdateTypeCommand extends smithy_client_1.Command {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.UpdateTypeCommand = UpdateTypeCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateTypeCommand.js.map
|
|
@@ -45,4 +45,3 @@ tslib_1.__exportStar(require("./commands/UpdateGraphqlApiCommand"), exports);
|
|
|
45
45
|
tslib_1.__exportStar(require("./commands/UpdateResolverCommand"), exports);
|
|
46
46
|
tslib_1.__exportStar(require("./commands/UpdateTypeCommand"), exports);
|
|
47
47
|
tslib_1.__exportStar(require("./models/index"), exports);
|
|
48
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateTypeResponse = exports.UpdateTypeRequest = exports.UpdateResolverResponse = exports.UpdateResolverRequest = exports.UpdateGraphqlApiResponse = exports.UpdateGraphqlApiRequest = exports.UpdateFunctionResponse = exports.UpdateFunctionRequest = exports.UpdateDataSourceResponse = exports.UpdateDataSourceRequest = exports.UpdateApiKeyResponse = exports.UpdateApiKeyRequest = exports.UpdateApiCacheResponse = exports.UpdateApiCacheRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartSchemaCreationResponse = exports.StartSchemaCreationRequest = exports.ListTypesResponse = exports.ListTypesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListResolversByFunctionResponse = exports.ListResolversByFunctionRequest = exports.ListResolversResponse = exports.ListResolversRequest = exports.ListGraphqlApisResponse = exports.ListGraphqlApisRequest = exports.ListFunctionsResponse = exports.ListFunctionsRequest = exports.ListDataSourcesResponse = exports.ListDataSourcesRequest = void 0;
|
|
3
|
+
exports.DefaultAction = exports.LogConfig = exports.FieldLogLevel = exports.CreateFunctionResponse = exports.FunctionConfiguration = exports.CreateFunctionRequest = exports.SyncConfig = exports.LambdaConflictHandlerConfig = exports.ConflictHandlerType = exports.ConflictDetectionType = exports.CreateDataSourceResponse = exports.DataSource = exports.CreateDataSourceRequest = exports.DataSourceType = exports.RelationalDatabaseDataSourceConfig = exports.RelationalDatabaseSourceType = exports.RdsHttpEndpointConfig = exports.OpenSearchServiceDataSourceConfig = exports.LambdaDataSourceConfig = exports.HttpDataSourceConfig = exports.ElasticsearchDataSourceConfig = exports.DynamodbDataSourceConfig = exports.DeltaSyncConfig = exports.LimitExceededException = exports.CreateApiKeyResponse = exports.CreateApiKeyRequest = exports.UnauthorizedException = exports.NotFoundException = exports.InternalFailureException = exports.CreateApiCacheResponse = exports.CreateApiCacheRequest = exports.ConcurrentModificationException = exports.BadRequestException = exports.AuthorizationConfig = exports.AwsIamConfig = exports.AuthorizationType = exports.ApiLimitExceededException = exports.ApiKeyValidityOutOfBoundsException = exports.ApiKeyLimitExceededException = exports.ApiKey = exports.ApiCache = exports.ApiCacheType = exports.ApiCacheStatus = exports.ApiCachingBehavior = exports.AdditionalAuthenticationProvider = exports.CognitoUserPoolConfig = exports.OpenIDConnectConfig = exports.LambdaAuthorizerConfig = exports.AuthenticationType = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.ListApiKeysRequest = exports.GetTypeResponse = exports.GetTypeRequest = exports.GetSchemaCreationStatusResponse = exports.SchemaStatus = exports.GetSchemaCreationStatusRequest = exports.GetResolverResponse = exports.GetResolverRequest = exports.GraphQLSchemaException = exports.GetIntrospectionSchemaResponse = exports.GetIntrospectionSchemaRequest = exports.OutputType = exports.GetGraphqlApiResponse = exports.GetGraphqlApiRequest = exports.GetFunctionResponse = exports.GetFunctionRequest = exports.GetDataSourceResponse = exports.GetDataSourceRequest = exports.GetApiCacheResponse = exports.GetApiCacheRequest = exports.FlushApiCacheResponse = exports.FlushApiCacheRequest = exports.DeleteTypeResponse = exports.DeleteTypeRequest = exports.DeleteResolverResponse = exports.DeleteResolverRequest = exports.DeleteGraphqlApiResponse = exports.DeleteGraphqlApiRequest = exports.DeleteFunctionResponse = exports.DeleteFunctionRequest = exports.DeleteDataSourceResponse = exports.DeleteDataSourceRequest = exports.DeleteApiKeyResponse = exports.DeleteApiKeyRequest = exports.DeleteApiCacheResponse = exports.DeleteApiCacheRequest = exports.CreateTypeResponse = exports.Type = exports.CreateTypeRequest = exports.TypeDefinitionFormat = exports.CreateResolverResponse = exports.Resolver = exports.CreateResolverRequest = exports.PipelineConfig = exports.ResolverKind = exports.CachingConfig = exports.CreateGraphqlApiResponse = exports.GraphqlApi = exports.CreateGraphqlApiRequest = exports.UserPoolConfig = void 0;
|
|
5
|
+
exports.UpdateTypeResponse = exports.UpdateTypeRequest = exports.UpdateResolverResponse = exports.UpdateResolverRequest = exports.UpdateGraphqlApiResponse = exports.UpdateGraphqlApiRequest = exports.UpdateFunctionResponse = exports.UpdateFunctionRequest = exports.UpdateDataSourceResponse = exports.UpdateDataSourceRequest = exports.UpdateApiKeyResponse = exports.UpdateApiKeyRequest = exports.UpdateApiCacheResponse = exports.UpdateApiCacheRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartSchemaCreationResponse = exports.StartSchemaCreationRequest = exports.ListTypesResponse = exports.ListTypesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListResolversByFunctionResponse = exports.ListResolversByFunctionRequest = exports.ListResolversResponse = exports.ListResolversRequest = exports.ListGraphqlApisResponse = exports.ListGraphqlApisRequest = exports.ListFunctionsResponse = exports.ListFunctionsRequest = exports.ListDataSourcesResponse = exports.ListDataSourcesRequest = exports.ListApiKeysResponse = void 0;
|
|
6
6
|
var AccessDeniedException;
|
|
7
7
|
(function (AccessDeniedException) {
|
|
8
8
|
/**
|
|
@@ -289,6 +289,15 @@ var LambdaDataSourceConfig;
|
|
|
289
289
|
...obj,
|
|
290
290
|
});
|
|
291
291
|
})(LambdaDataSourceConfig = exports.LambdaDataSourceConfig || (exports.LambdaDataSourceConfig = {}));
|
|
292
|
+
var OpenSearchServiceDataSourceConfig;
|
|
293
|
+
(function (OpenSearchServiceDataSourceConfig) {
|
|
294
|
+
/**
|
|
295
|
+
* @internal
|
|
296
|
+
*/
|
|
297
|
+
OpenSearchServiceDataSourceConfig.filterSensitiveLog = (obj) => ({
|
|
298
|
+
...obj,
|
|
299
|
+
});
|
|
300
|
+
})(OpenSearchServiceDataSourceConfig = exports.OpenSearchServiceDataSourceConfig || (exports.OpenSearchServiceDataSourceConfig = {}));
|
|
292
301
|
var RdsHttpEndpointConfig;
|
|
293
302
|
(function (RdsHttpEndpointConfig) {
|
|
294
303
|
/**
|
|
@@ -315,6 +324,7 @@ var DataSourceType;
|
|
|
315
324
|
(function (DataSourceType) {
|
|
316
325
|
DataSourceType["AMAZON_DYNAMODB"] = "AMAZON_DYNAMODB";
|
|
317
326
|
DataSourceType["AMAZON_ELASTICSEARCH"] = "AMAZON_ELASTICSEARCH";
|
|
327
|
+
DataSourceType["AMAZON_OPENSEARCH_SERVICE"] = "AMAZON_OPENSEARCH_SERVICE";
|
|
318
328
|
DataSourceType["AWS_LAMBDA"] = "AWS_LAMBDA";
|
|
319
329
|
DataSourceType["HTTP"] = "HTTP";
|
|
320
330
|
DataSourceType["NONE"] = "NONE";
|
|
@@ -1177,4 +1187,3 @@ var UpdateTypeResponse;
|
|
|
1177
1187
|
...obj,
|
|
1178
1188
|
});
|
|
1179
1189
|
})(UpdateTypeResponse = exports.UpdateTypeResponse || (exports.UpdateTypeResponse = {}));
|
|
1180
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -110,6 +110,10 @@ const serializeAws_restJson1CreateDataSourceCommand = async (input, context) =>
|
|
|
110
110
|
lambdaConfig: serializeAws_restJson1LambdaDataSourceConfig(input.lambdaConfig, context),
|
|
111
111
|
}),
|
|
112
112
|
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
113
|
+
...(input.openSearchServiceConfig !== undefined &&
|
|
114
|
+
input.openSearchServiceConfig !== null && {
|
|
115
|
+
openSearchServiceConfig: serializeAws_restJson1OpenSearchServiceDataSourceConfig(input.openSearchServiceConfig, context),
|
|
116
|
+
}),
|
|
113
117
|
...(input.relationalDatabaseConfig !== undefined &&
|
|
114
118
|
input.relationalDatabaseConfig !== null && {
|
|
115
119
|
relationalDatabaseConfig: serializeAws_restJson1RelationalDatabaseDataSourceConfig(input.relationalDatabaseConfig, context),
|
|
@@ -176,7 +180,7 @@ const serializeAws_restJson1CreateGraphqlApiCommand = async (input, context) =>
|
|
|
176
180
|
const headers = {
|
|
177
181
|
"content-type": "application/json",
|
|
178
182
|
};
|
|
179
|
-
|
|
183
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis";
|
|
180
184
|
let body;
|
|
181
185
|
body = JSON.stringify({
|
|
182
186
|
...(input.additionalAuthenticationProviders !== undefined &&
|
|
@@ -938,7 +942,7 @@ exports.serializeAws_restJson1ListFunctionsCommand = serializeAws_restJson1ListF
|
|
|
938
942
|
const serializeAws_restJson1ListGraphqlApisCommand = async (input, context) => {
|
|
939
943
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
940
944
|
const headers = {};
|
|
941
|
-
|
|
945
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis";
|
|
942
946
|
const query = {
|
|
943
947
|
...(input.nextToken !== undefined && { nextToken: input.nextToken }),
|
|
944
948
|
...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
|
|
@@ -1312,6 +1316,10 @@ const serializeAws_restJson1UpdateDataSourceCommand = async (input, context) =>
|
|
|
1312
1316
|
input.lambdaConfig !== null && {
|
|
1313
1317
|
lambdaConfig: serializeAws_restJson1LambdaDataSourceConfig(input.lambdaConfig, context),
|
|
1314
1318
|
}),
|
|
1319
|
+
...(input.openSearchServiceConfig !== undefined &&
|
|
1320
|
+
input.openSearchServiceConfig !== null && {
|
|
1321
|
+
openSearchServiceConfig: serializeAws_restJson1OpenSearchServiceDataSourceConfig(input.openSearchServiceConfig, context),
|
|
1322
|
+
}),
|
|
1315
1323
|
...(input.relationalDatabaseConfig !== undefined &&
|
|
1316
1324
|
input.relationalDatabaseConfig !== null && {
|
|
1317
1325
|
relationalDatabaseConfig: serializeAws_restJson1RelationalDatabaseDataSourceConfig(input.relationalDatabaseConfig, context),
|
|
@@ -5027,6 +5035,12 @@ const serializeAws_restJson1OpenIDConnectConfig = (input, context) => {
|
|
|
5027
5035
|
...(input.issuer !== undefined && input.issuer !== null && { issuer: input.issuer }),
|
|
5028
5036
|
};
|
|
5029
5037
|
};
|
|
5038
|
+
const serializeAws_restJson1OpenSearchServiceDataSourceConfig = (input, context) => {
|
|
5039
|
+
return {
|
|
5040
|
+
...(input.awsRegion !== undefined && input.awsRegion !== null && { awsRegion: input.awsRegion }),
|
|
5041
|
+
...(input.endpoint !== undefined && input.endpoint !== null && { endpoint: input.endpoint }),
|
|
5042
|
+
};
|
|
5043
|
+
};
|
|
5030
5044
|
const serializeAws_restJson1PipelineConfig = (input, context) => {
|
|
5031
5045
|
return {
|
|
5032
5046
|
...(input.functions !== undefined &&
|
|
@@ -5196,6 +5210,9 @@ const deserializeAws_restJson1DataSource = (output, context) => {
|
|
|
5196
5210
|
? deserializeAws_restJson1LambdaDataSourceConfig(output.lambdaConfig, context)
|
|
5197
5211
|
: undefined,
|
|
5198
5212
|
name: smithy_client_1.expectString(output.name),
|
|
5213
|
+
openSearchServiceConfig: output.openSearchServiceConfig !== undefined && output.openSearchServiceConfig !== null
|
|
5214
|
+
? deserializeAws_restJson1OpenSearchServiceDataSourceConfig(output.openSearchServiceConfig, context)
|
|
5215
|
+
: undefined,
|
|
5199
5216
|
relationalDatabaseConfig: output.relationalDatabaseConfig !== undefined && output.relationalDatabaseConfig !== null
|
|
5200
5217
|
? deserializeAws_restJson1RelationalDatabaseDataSourceConfig(output.relationalDatabaseConfig, context)
|
|
5201
5218
|
: undefined,
|
|
@@ -5364,6 +5381,12 @@ const deserializeAws_restJson1OpenIDConnectConfig = (output, context) => {
|
|
|
5364
5381
|
issuer: smithy_client_1.expectString(output.issuer),
|
|
5365
5382
|
};
|
|
5366
5383
|
};
|
|
5384
|
+
const deserializeAws_restJson1OpenSearchServiceDataSourceConfig = (output, context) => {
|
|
5385
|
+
return {
|
|
5386
|
+
awsRegion: smithy_client_1.expectString(output.awsRegion),
|
|
5387
|
+
endpoint: smithy_client_1.expectString(output.endpoint),
|
|
5388
|
+
};
|
|
5389
|
+
};
|
|
5367
5390
|
const deserializeAws_restJson1PipelineConfig = (output, context) => {
|
|
5368
5391
|
return {
|
|
5369
5392
|
functions: output.functions !== undefined && output.functions !== null
|
|
@@ -5521,4 +5544,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
5521
5544
|
}
|
|
5522
5545
|
return "";
|
|
5523
5546
|
};
|
|
5524
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
5
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
6
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
6
7
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
|
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
41
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
5
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
6
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
6
7
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
8
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
9
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
|
|
|
43
44
|
};
|
|
44
45
|
};
|
|
45
46
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
46
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const endpoints_1 = require("./endpoints");
|
|
5
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -41,11 +41,7 @@ import { UpdateFunctionCommand, } from "./commands/UpdateFunctionCommand";
|
|
|
41
41
|
import { UpdateGraphqlApiCommand, } from "./commands/UpdateGraphqlApiCommand";
|
|
42
42
|
import { UpdateResolverCommand, } from "./commands/UpdateResolverCommand";
|
|
43
43
|
import { UpdateTypeCommand } from "./commands/UpdateTypeCommand";
|
|
44
|
-
|
|
45
|
-
* <p>AppSync provides API actions for creating and interacting with data sources using
|
|
46
|
-
* GraphQL from your application.</p>
|
|
47
|
-
*/
|
|
48
|
-
var AppSync = /** @class */ (function (_super) {
|
|
44
|
+
var AppSync = (function (_super) {
|
|
49
45
|
__extends(AppSync, _super);
|
|
50
46
|
function AppSync() {
|
|
51
47
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -627,4 +623,3 @@ var AppSync = /** @class */ (function (_super) {
|
|
|
627
623
|
return AppSync;
|
|
628
624
|
}(AppSyncClient));
|
|
629
625
|
export { AppSync };
|
|
630
|
-
//# sourceMappingURL=AppSync.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
3
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
5
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,11 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
8
7
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* GraphQL from your application.</p>
|
|
14
|
-
*/
|
|
15
|
-
var AppSyncClient = /** @class */ (function (_super) {
|
|
10
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
+
var AppSyncClient = (function (_super) {
|
|
16
12
|
__extends(AppSyncClient, _super);
|
|
17
13
|
function AppSyncClient(configuration) {
|
|
18
14
|
var _this = this;
|
|
@@ -33,15 +29,9 @@ var AppSyncClient = /** @class */ (function (_super) {
|
|
|
33
29
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
34
30
|
return _this;
|
|
35
31
|
}
|
|
36
|
-
/**
|
|
37
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
38
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
39
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
40
|
-
*/
|
|
41
32
|
AppSyncClient.prototype.destroy = function () {
|
|
42
33
|
_super.prototype.destroy.call(this);
|
|
43
34
|
};
|
|
44
35
|
return AppSyncClient;
|
|
45
36
|
}(__Client));
|
|
46
37
|
export { AppSyncClient };
|
|
47
|
-
//# sourceMappingURL=AppSyncClient.js.map
|
|
@@ -1,40 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateApiCacheRequest, CreateApiCacheResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1CreateApiCacheCommand, serializeAws_restJson1CreateApiCacheCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { AppSyncClient, CreateApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
12
|
-
* // const { AppSyncClient, CreateApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
13
|
-
* const client = new AppSyncClient(config);
|
|
14
|
-
* const command = new CreateApiCacheCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link CreateApiCacheCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link CreateApiCacheCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var CreateApiCacheCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { CreateApiCacheRequest, CreateApiCacheResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateApiCacheCommand, serializeAws_restJson1CreateApiCacheCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateApiCacheCommand = (function (_super) {
|
|
24
7
|
__extends(CreateApiCacheCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function CreateApiCacheCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
CreateApiCacheCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +37,3 @@ var CreateApiCacheCommand = /** @class */ (function (_super) {
|
|
|
62
37
|
return CreateApiCacheCommand;
|
|
63
38
|
}($Command));
|
|
64
39
|
export { CreateApiCacheCommand };
|
|
65
|
-
//# sourceMappingURL=CreateApiCacheCommand.js.map
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { CreateApiKeyRequest, CreateApiKeyResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1CreateApiKeyCommand, serializeAws_restJson1CreateApiKeyCommand, } from "../protocols/Aws_restJson1";
|
|
4
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { AppSyncClient, CreateApiKeyCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
13
|
-
* // const { AppSyncClient, CreateApiKeyCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
14
|
-
* const client = new AppSyncClient(config);
|
|
15
|
-
* const command = new CreateApiKeyCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link CreateApiKeyCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link CreateApiKeyCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var CreateApiKeyCommand = /** @class */ (function (_super) {
|
|
4
|
+
import { CreateApiKeyRequest, CreateApiKeyResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateApiKeyCommand, serializeAws_restJson1CreateApiKeyCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateApiKeyCommand = (function (_super) {
|
|
25
7
|
__extends(CreateApiKeyCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function CreateApiKeyCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
CreateApiKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +37,3 @@ var CreateApiKeyCommand = /** @class */ (function (_super) {
|
|
|
63
37
|
return CreateApiKeyCommand;
|
|
64
38
|
}($Command));
|
|
65
39
|
export { CreateApiKeyCommand };
|
|
66
|
-
//# sourceMappingURL=CreateApiKeyCommand.js.map
|