@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,96 +0,0 @@
|
|
|
1
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
2
|
-
import { StartSchemaCreationRequest, StartSchemaCreationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1StartSchemaCreationCommand,
|
|
5
|
-
serializeAws_restJson1StartSchemaCreationCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface StartSchemaCreationCommandInput extends StartSchemaCreationRequest {}
|
|
21
|
-
export interface StartSchemaCreationCommandOutput extends StartSchemaCreationResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Adds a new schema to your GraphQL API.</p>
|
|
25
|
-
* <p>This operation is asynchronous. Use to
|
|
26
|
-
* determine when it has completed.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { AppSyncClient, StartSchemaCreationCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
31
|
-
* // const { AppSyncClient, StartSchemaCreationCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
32
|
-
* const client = new AppSyncClient(config);
|
|
33
|
-
* const command = new StartSchemaCreationCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link StartSchemaCreationCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link StartSchemaCreationCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class StartSchemaCreationCommand extends $Command<
|
|
43
|
-
StartSchemaCreationCommandInput,
|
|
44
|
-
StartSchemaCreationCommandOutput,
|
|
45
|
-
AppSyncClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: StartSchemaCreationCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: AppSyncClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<StartSchemaCreationCommandInput, StartSchemaCreationCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "AppSyncClient";
|
|
70
|
-
const commandName = "StartSchemaCreationCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: StartSchemaCreationRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: StartSchemaCreationResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: StartSchemaCreationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1StartSchemaCreationCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartSchemaCreationCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1StartSchemaCreationCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
2
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1TagResourceCommand,
|
|
5
|
-
serializeAws_restJson1TagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
21
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Tags a resource with user-supplied tags.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppSyncClient, TagResourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
29
|
-
* // const { AppSyncClient, TagResourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
30
|
-
* const client = new AppSyncClient(config);
|
|
31
|
-
* const command = new TagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class TagResourceCommand extends $Command<
|
|
41
|
-
TagResourceCommandInput,
|
|
42
|
-
TagResourceCommandOutput,
|
|
43
|
-
AppSyncClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppSyncClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppSyncClient";
|
|
68
|
-
const commandName = "TagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
2
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UntagResourceCommand,
|
|
5
|
-
serializeAws_restJson1UntagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
21
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Untags a resource.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppSyncClient, UntagResourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
29
|
-
* // const { AppSyncClient, UntagResourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
30
|
-
* const client = new AppSyncClient(config);
|
|
31
|
-
* const command = new UntagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UntagResourceCommand extends $Command<
|
|
41
|
-
UntagResourceCommandInput,
|
|
42
|
-
UntagResourceCommandOutput,
|
|
43
|
-
AppSyncClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppSyncClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppSyncClient";
|
|
68
|
-
const commandName = "UntagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
2
|
-
import { UpdateApiCacheRequest, UpdateApiCacheResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateApiCacheCommand,
|
|
5
|
-
serializeAws_restJson1UpdateApiCacheCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UpdateApiCacheCommandInput extends UpdateApiCacheRequest {}
|
|
21
|
-
export interface UpdateApiCacheCommandOutput extends UpdateApiCacheResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates the cache for the GraphQL API.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppSyncClient, UpdateApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
29
|
-
* // const { AppSyncClient, UpdateApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
30
|
-
* const client = new AppSyncClient(config);
|
|
31
|
-
* const command = new UpdateApiCacheCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateApiCacheCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateApiCacheCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateApiCacheCommand extends $Command<
|
|
41
|
-
UpdateApiCacheCommandInput,
|
|
42
|
-
UpdateApiCacheCommandOutput,
|
|
43
|
-
AppSyncClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateApiCacheCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppSyncClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<UpdateApiCacheCommandInput, UpdateApiCacheCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppSyncClient";
|
|
68
|
-
const commandName = "UpdateApiCacheCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateApiCacheRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateApiCacheResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: UpdateApiCacheCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UpdateApiCacheCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateApiCacheCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UpdateApiCacheCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
2
|
-
import { UpdateApiKeyRequest, UpdateApiKeyResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateApiKeyCommand,
|
|
5
|
-
serializeAws_restJson1UpdateApiKeyCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UpdateApiKeyCommandInput extends UpdateApiKeyRequest {}
|
|
21
|
-
export interface UpdateApiKeyCommandOutput extends UpdateApiKeyResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates an API key. The key can be updated while it is not deleted.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppSyncClient, UpdateApiKeyCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
29
|
-
* // const { AppSyncClient, UpdateApiKeyCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
30
|
-
* const client = new AppSyncClient(config);
|
|
31
|
-
* const command = new UpdateApiKeyCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateApiKeyCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateApiKeyCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateApiKeyCommand extends $Command<
|
|
41
|
-
UpdateApiKeyCommandInput,
|
|
42
|
-
UpdateApiKeyCommandOutput,
|
|
43
|
-
AppSyncClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateApiKeyCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppSyncClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<UpdateApiKeyCommandInput, UpdateApiKeyCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppSyncClient";
|
|
68
|
-
const commandName = "UpdateApiKeyCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateApiKeyRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateApiKeyResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: UpdateApiKeyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UpdateApiKeyCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateApiKeyCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UpdateApiKeyCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
2
|
-
import { UpdateDataSourceRequest, UpdateDataSourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateDataSourceCommand,
|
|
5
|
-
serializeAws_restJson1UpdateDataSourceCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UpdateDataSourceCommandInput extends UpdateDataSourceRequest {}
|
|
21
|
-
export interface UpdateDataSourceCommandOutput extends UpdateDataSourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates a <code>DataSource</code> object.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppSyncClient, UpdateDataSourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
29
|
-
* // const { AppSyncClient, UpdateDataSourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
30
|
-
* const client = new AppSyncClient(config);
|
|
31
|
-
* const command = new UpdateDataSourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateDataSourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateDataSourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateDataSourceCommand extends $Command<
|
|
41
|
-
UpdateDataSourceCommandInput,
|
|
42
|
-
UpdateDataSourceCommandOutput,
|
|
43
|
-
AppSyncClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateDataSourceCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppSyncClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppSyncClient";
|
|
68
|
-
const commandName = "UpdateDataSourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateDataSourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateDataSourceResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: UpdateDataSourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UpdateDataSourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateDataSourceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UpdateDataSourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
2
|
-
import { UpdateFunctionRequest, UpdateFunctionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateFunctionCommand,
|
|
5
|
-
serializeAws_restJson1UpdateFunctionCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface UpdateFunctionCommandInput extends UpdateFunctionRequest {}
|
|
21
|
-
export interface UpdateFunctionCommandOutput extends UpdateFunctionResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Updates a <code>Function</code> object.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppSyncClient, UpdateFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
29
|
-
* // const { AppSyncClient, UpdateFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
30
|
-
* const client = new AppSyncClient(config);
|
|
31
|
-
* const command = new UpdateFunctionCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateFunctionCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateFunctionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UpdateFunctionCommand extends $Command<
|
|
41
|
-
UpdateFunctionCommandInput,
|
|
42
|
-
UpdateFunctionCommandOutput,
|
|
43
|
-
AppSyncClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UpdateFunctionCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppSyncClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<UpdateFunctionCommandInput, UpdateFunctionCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppSyncClient";
|
|
68
|
-
const commandName = "UpdateFunctionCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UpdateFunctionRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UpdateFunctionResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: UpdateFunctionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UpdateFunctionCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateFunctionCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UpdateFunctionCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|