@aws-sdk/client-appsync 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/AppSync.js +0 -5
- package/dist-cjs/AppSyncClient.js +0 -10
- package/dist-cjs/commands/CreateApiCacheCommand.js +0 -25
- package/dist-cjs/commands/CreateApiKeyCommand.js +0 -26
- package/dist-cjs/commands/CreateDataSourceCommand.js +0 -25
- package/dist-cjs/commands/CreateFunctionCommand.js +0 -27
- package/dist-cjs/commands/CreateGraphqlApiCommand.js +0 -25
- package/dist-cjs/commands/CreateResolverCommand.js +0 -27
- package/dist-cjs/commands/CreateTypeCommand.js +0 -25
- package/dist-cjs/commands/DeleteApiCacheCommand.js +0 -25
- package/dist-cjs/commands/DeleteApiKeyCommand.js +0 -25
- package/dist-cjs/commands/DeleteDataSourceCommand.js +0 -25
- package/dist-cjs/commands/DeleteFunctionCommand.js +0 -25
- package/dist-cjs/commands/DeleteGraphqlApiCommand.js +0 -25
- package/dist-cjs/commands/DeleteResolverCommand.js +0 -25
- package/dist-cjs/commands/DeleteTypeCommand.js +0 -25
- package/dist-cjs/commands/FlushApiCacheCommand.js +0 -25
- package/dist-cjs/commands/GetApiCacheCommand.js +0 -25
- package/dist-cjs/commands/GetDataSourceCommand.js +0 -25
- package/dist-cjs/commands/GetFunctionCommand.js +0 -25
- package/dist-cjs/commands/GetGraphqlApiCommand.js +0 -25
- package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +0 -25
- package/dist-cjs/commands/GetResolverCommand.js +0 -25
- package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +0 -25
- package/dist-cjs/commands/GetTypeCommand.js +0 -25
- package/dist-cjs/commands/ListApiKeysCommand.js +0 -31
- package/dist-cjs/commands/ListDataSourcesCommand.js +0 -25
- package/dist-cjs/commands/ListFunctionsCommand.js +0 -25
- package/dist-cjs/commands/ListGraphqlApisCommand.js +0 -25
- package/dist-cjs/commands/ListResolversByFunctionCommand.js +0 -25
- package/dist-cjs/commands/ListResolversCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ListTypesCommand.js +0 -25
- package/dist-cjs/commands/StartSchemaCreationCommand.js +0 -27
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateApiCacheCommand.js +0 -25
- package/dist-cjs/commands/UpdateApiKeyCommand.js +0 -25
- package/dist-cjs/commands/UpdateDataSourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateFunctionCommand.js +0 -25
- package/dist-cjs/commands/UpdateGraphqlApiCommand.js +0 -25
- package/dist-cjs/commands/UpdateResolverCommand.js +0 -25
- package/dist-cjs/commands/UpdateTypeCommand.js +0 -25
- package/dist-cjs/commands/index.js +44 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +3 -44
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -361
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/AppSync.js +0 -1
- package/dist-es/AppSyncClient.js +0 -1
- package/dist-es/commands/CreateApiCacheCommand.js +0 -1
- package/dist-es/commands/CreateApiKeyCommand.js +0 -1
- package/dist-es/commands/CreateDataSourceCommand.js +0 -1
- package/dist-es/commands/CreateFunctionCommand.js +0 -1
- package/dist-es/commands/CreateGraphqlApiCommand.js +0 -1
- package/dist-es/commands/CreateResolverCommand.js +0 -1
- package/dist-es/commands/CreateTypeCommand.js +0 -1
- package/dist-es/commands/DeleteApiCacheCommand.js +0 -1
- package/dist-es/commands/DeleteApiKeyCommand.js +0 -1
- package/dist-es/commands/DeleteDataSourceCommand.js +0 -1
- package/dist-es/commands/DeleteFunctionCommand.js +0 -1
- package/dist-es/commands/DeleteGraphqlApiCommand.js +0 -1
- package/dist-es/commands/DeleteResolverCommand.js +0 -1
- package/dist-es/commands/DeleteTypeCommand.js +0 -1
- package/dist-es/commands/FlushApiCacheCommand.js +0 -1
- package/dist-es/commands/GetApiCacheCommand.js +0 -1
- package/dist-es/commands/GetDataSourceCommand.js +0 -1
- package/dist-es/commands/GetFunctionCommand.js +0 -1
- package/dist-es/commands/GetGraphqlApiCommand.js +0 -1
- package/dist-es/commands/GetIntrospectionSchemaCommand.js +0 -1
- package/dist-es/commands/GetResolverCommand.js +0 -1
- package/dist-es/commands/GetSchemaCreationStatusCommand.js +0 -1
- package/dist-es/commands/GetTypeCommand.js +0 -1
- package/dist-es/commands/ListApiKeysCommand.js +0 -1
- package/dist-es/commands/ListDataSourcesCommand.js +0 -1
- package/dist-es/commands/ListFunctionsCommand.js +0 -1
- package/dist-es/commands/ListGraphqlApisCommand.js +0 -1
- package/dist-es/commands/ListResolversByFunctionCommand.js +0 -1
- package/dist-es/commands/ListResolversCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListTypesCommand.js +0 -1
- package/dist-es/commands/StartSchemaCreationCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateApiCacheCommand.js +0 -1
- package/dist-es/commands/UpdateApiKeyCommand.js +0 -1
- package/dist-es/commands/UpdateDataSourceCommand.js +0 -1
- package/dist-es/commands/UpdateFunctionCommand.js +0 -1
- package/dist-es/commands/UpdateGraphqlApiCommand.js +0 -1
- package/dist-es/commands/UpdateResolverCommand.js +0 -1
- package/dist-es/commands/UpdateTypeCommand.js +0 -1
- package/dist-es/commands/index.js +41 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +3 -44
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +41 -0
- package/dist-types/index.d.ts +3 -43
- package/dist-types/ts3.4/AppSync.d.ts +42 -140
- package/dist-types/ts3.4/AppSyncClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/CreateApiCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateGraphqlApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateResolverCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApiCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGraphqlApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteResolverCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/FlushApiCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApiCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGraphqlApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetIntrospectionSchemaCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetResolverCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSchemaCreationStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApiKeysCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGraphqlApisCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResolversByFunctionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResolversCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartSchemaCreationCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApiCacheCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGraphqlApiCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateResolverCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTypeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +41 -0
- package/dist-types/ts3.4/index.d.ts +3 -43
- package/dist-types/ts3.4/models/models_0.d.ts +480 -2066
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- 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/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.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- 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/jest.config.js +0 -4
- package/src/AppSync.ts +0 -1430
- package/src/AppSyncClient.ts +0 -375
- package/src/commands/CreateApiCacheCommand.ts +0 -95
- package/src/commands/CreateApiKeyCommand.ts +0 -96
- package/src/commands/CreateDataSourceCommand.ts +0 -95
- package/src/commands/CreateFunctionCommand.ts +0 -97
- package/src/commands/CreateGraphqlApiCommand.ts +0 -95
- package/src/commands/CreateResolverCommand.ts +0 -97
- package/src/commands/CreateTypeCommand.ts +0 -95
- package/src/commands/DeleteApiCacheCommand.ts +0 -95
- package/src/commands/DeleteApiKeyCommand.ts +0 -95
- package/src/commands/DeleteDataSourceCommand.ts +0 -95
- package/src/commands/DeleteFunctionCommand.ts +0 -95
- package/src/commands/DeleteGraphqlApiCommand.ts +0 -95
- package/src/commands/DeleteResolverCommand.ts +0 -95
- package/src/commands/DeleteTypeCommand.ts +0 -95
- package/src/commands/FlushApiCacheCommand.ts +0 -95
- package/src/commands/GetApiCacheCommand.ts +0 -95
- package/src/commands/GetDataSourceCommand.ts +0 -95
- package/src/commands/GetFunctionCommand.ts +0 -95
- package/src/commands/GetGraphqlApiCommand.ts +0 -95
- package/src/commands/GetIntrospectionSchemaCommand.ts +0 -95
- package/src/commands/GetResolverCommand.ts +0 -95
- package/src/commands/GetSchemaCreationStatusCommand.ts +0 -95
- package/src/commands/GetTypeCommand.ts +0 -91
- package/src/commands/ListApiKeysCommand.ts +0 -101
- package/src/commands/ListDataSourcesCommand.ts +0 -95
- package/src/commands/ListFunctionsCommand.ts +0 -95
- package/src/commands/ListGraphqlApisCommand.ts +0 -95
- package/src/commands/ListResolversByFunctionCommand.ts +0 -95
- package/src/commands/ListResolversCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ListTypesCommand.ts +0 -95
- package/src/commands/StartSchemaCreationCommand.ts +0 -97
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateApiCacheCommand.ts +0 -95
- package/src/commands/UpdateApiKeyCommand.ts +0 -95
- package/src/commands/UpdateDataSourceCommand.ts +0 -95
- package/src/commands/UpdateFunctionCommand.ts +0 -95
- package/src/commands/UpdateGraphqlApiCommand.ts +0 -95
- package/src/commands/UpdateResolverCommand.ts +0 -95
- package/src/commands/UpdateTypeCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -44
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -3799
- package/src/protocols/Aws_restJson1.ts +0 -6249
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/dist-types/index.d.ts
CHANGED
|
@@ -1,44 +1,4 @@
|
|
|
1
|
-
export * from "./AppSyncClient";
|
|
2
1
|
export * from "./AppSync";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./commands/CreateFunctionCommand";
|
|
7
|
-
export * from "./commands/CreateGraphqlApiCommand";
|
|
8
|
-
export * from "./commands/CreateResolverCommand";
|
|
9
|
-
export * from "./commands/CreateTypeCommand";
|
|
10
|
-
export * from "./commands/DeleteApiCacheCommand";
|
|
11
|
-
export * from "./commands/DeleteApiKeyCommand";
|
|
12
|
-
export * from "./commands/DeleteDataSourceCommand";
|
|
13
|
-
export * from "./commands/DeleteFunctionCommand";
|
|
14
|
-
export * from "./commands/DeleteGraphqlApiCommand";
|
|
15
|
-
export * from "./commands/DeleteResolverCommand";
|
|
16
|
-
export * from "./commands/DeleteTypeCommand";
|
|
17
|
-
export * from "./commands/FlushApiCacheCommand";
|
|
18
|
-
export * from "./commands/GetApiCacheCommand";
|
|
19
|
-
export * from "./commands/GetDataSourceCommand";
|
|
20
|
-
export * from "./commands/GetFunctionCommand";
|
|
21
|
-
export * from "./commands/GetGraphqlApiCommand";
|
|
22
|
-
export * from "./commands/GetIntrospectionSchemaCommand";
|
|
23
|
-
export * from "./commands/GetResolverCommand";
|
|
24
|
-
export * from "./commands/GetSchemaCreationStatusCommand";
|
|
25
|
-
export * from "./commands/GetTypeCommand";
|
|
26
|
-
export * from "./commands/ListApiKeysCommand";
|
|
27
|
-
export * from "./commands/ListDataSourcesCommand";
|
|
28
|
-
export * from "./commands/ListFunctionsCommand";
|
|
29
|
-
export * from "./commands/ListGraphqlApisCommand";
|
|
30
|
-
export * from "./commands/ListResolversCommand";
|
|
31
|
-
export * from "./commands/ListResolversByFunctionCommand";
|
|
32
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
33
|
-
export * from "./commands/ListTypesCommand";
|
|
34
|
-
export * from "./commands/StartSchemaCreationCommand";
|
|
35
|
-
export * from "./commands/TagResourceCommand";
|
|
36
|
-
export * from "./commands/UntagResourceCommand";
|
|
37
|
-
export * from "./commands/UpdateApiCacheCommand";
|
|
38
|
-
export * from "./commands/UpdateApiKeyCommand";
|
|
39
|
-
export * from "./commands/UpdateDataSourceCommand";
|
|
40
|
-
export * from "./commands/UpdateFunctionCommand";
|
|
41
|
-
export * from "./commands/UpdateGraphqlApiCommand";
|
|
42
|
-
export * from "./commands/UpdateResolverCommand";
|
|
43
|
-
export * from "./commands/UpdateTypeCommand";
|
|
44
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./AppSyncClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
@@ -41,267 +41,169 @@ import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "./comma
|
|
|
41
41
|
import { UpdateGraphqlApiCommandInput, UpdateGraphqlApiCommandOutput } from "./commands/UpdateGraphqlApiCommand";
|
|
42
42
|
import { UpdateResolverCommandInput, UpdateResolverCommandOutput } from "./commands/UpdateResolverCommand";
|
|
43
43
|
import { UpdateTypeCommandInput, UpdateTypeCommandOutput } from "./commands/UpdateTypeCommand";
|
|
44
|
-
|
|
45
|
-
* <p>AppSync provides API actions for creating and interacting with data
|
|
46
|
-
* sources using GraphQL from your application.</p>
|
|
47
|
-
*/
|
|
44
|
+
|
|
48
45
|
export declare class AppSync extends AppSyncClient {
|
|
49
|
-
|
|
50
|
-
* <p>Creates a cache for the GraphQL API.</p>
|
|
51
|
-
*/
|
|
46
|
+
|
|
52
47
|
createApiCache(args: CreateApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<CreateApiCacheCommandOutput>;
|
|
53
48
|
createApiCache(args: CreateApiCacheCommandInput, cb: (err: any, data?: CreateApiCacheCommandOutput) => void): void;
|
|
54
49
|
createApiCache(args: CreateApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiCacheCommandOutput) => void): void;
|
|
55
|
-
|
|
56
|
-
* <p>Creates a unique key that you can distribute to clients who are executing your
|
|
57
|
-
* API.</p>
|
|
58
|
-
*/
|
|
50
|
+
|
|
59
51
|
createApiKey(args: CreateApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateApiKeyCommandOutput>;
|
|
60
52
|
createApiKey(args: CreateApiKeyCommandInput, cb: (err: any, data?: CreateApiKeyCommandOutput) => void): void;
|
|
61
53
|
createApiKey(args: CreateApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiKeyCommandOutput) => void): void;
|
|
62
|
-
|
|
63
|
-
* <p>Creates a <code>DataSource</code> object.</p>
|
|
64
|
-
*/
|
|
54
|
+
|
|
65
55
|
createDataSource(args: CreateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataSourceCommandOutput>;
|
|
66
56
|
createDataSource(args: CreateDataSourceCommandInput, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
|
|
67
57
|
createDataSource(args: CreateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
|
|
68
|
-
|
|
69
|
-
* <p>Creates a <code>Function</code> object.</p>
|
|
70
|
-
* <p>A function is a reusable entity. Multiple functions can be used to compose the resolver
|
|
71
|
-
* logic.</p>
|
|
72
|
-
*/
|
|
58
|
+
|
|
73
59
|
createFunction(args: CreateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<CreateFunctionCommandOutput>;
|
|
74
60
|
createFunction(args: CreateFunctionCommandInput, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
|
|
75
61
|
createFunction(args: CreateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
|
|
76
|
-
|
|
77
|
-
* <p>Creates a <code>GraphqlApi</code> object.</p>
|
|
78
|
-
*/
|
|
62
|
+
|
|
79
63
|
createGraphqlApi(args: CreateGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<CreateGraphqlApiCommandOutput>;
|
|
80
64
|
createGraphqlApi(args: CreateGraphqlApiCommandInput, cb: (err: any, data?: CreateGraphqlApiCommandOutput) => void): void;
|
|
81
65
|
createGraphqlApi(args: CreateGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGraphqlApiCommandOutput) => void): void;
|
|
82
|
-
|
|
83
|
-
* <p>Creates a <code>Resolver</code> object.</p>
|
|
84
|
-
* <p>A resolver converts incoming requests into a format that a data source can understand
|
|
85
|
-
* and converts the data source's responses into GraphQL.</p>
|
|
86
|
-
*/
|
|
66
|
+
|
|
87
67
|
createResolver(args: CreateResolverCommandInput, options?: __HttpHandlerOptions): Promise<CreateResolverCommandOutput>;
|
|
88
68
|
createResolver(args: CreateResolverCommandInput, cb: (err: any, data?: CreateResolverCommandOutput) => void): void;
|
|
89
69
|
createResolver(args: CreateResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResolverCommandOutput) => void): void;
|
|
90
|
-
|
|
91
|
-
* <p>Creates a <code>Type</code> object.</p>
|
|
92
|
-
*/
|
|
70
|
+
|
|
93
71
|
createType(args: CreateTypeCommandInput, options?: __HttpHandlerOptions): Promise<CreateTypeCommandOutput>;
|
|
94
72
|
createType(args: CreateTypeCommandInput, cb: (err: any, data?: CreateTypeCommandOutput) => void): void;
|
|
95
73
|
createType(args: CreateTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTypeCommandOutput) => void): void;
|
|
96
|
-
|
|
97
|
-
* <p>Deletes an <code>ApiCache</code> object.</p>
|
|
98
|
-
*/
|
|
74
|
+
|
|
99
75
|
deleteApiCache(args: DeleteApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApiCacheCommandOutput>;
|
|
100
76
|
deleteApiCache(args: DeleteApiCacheCommandInput, cb: (err: any, data?: DeleteApiCacheCommandOutput) => void): void;
|
|
101
77
|
deleteApiCache(args: DeleteApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApiCacheCommandOutput) => void): void;
|
|
102
|
-
|
|
103
|
-
* <p>Deletes an API key.</p>
|
|
104
|
-
*/
|
|
78
|
+
|
|
105
79
|
deleteApiKey(args: DeleteApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApiKeyCommandOutput>;
|
|
106
80
|
deleteApiKey(args: DeleteApiKeyCommandInput, cb: (err: any, data?: DeleteApiKeyCommandOutput) => void): void;
|
|
107
81
|
deleteApiKey(args: DeleteApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApiKeyCommandOutput) => void): void;
|
|
108
|
-
|
|
109
|
-
* <p>Deletes a <code>DataSource</code> object.</p>
|
|
110
|
-
*/
|
|
82
|
+
|
|
111
83
|
deleteDataSource(args: DeleteDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataSourceCommandOutput>;
|
|
112
84
|
deleteDataSource(args: DeleteDataSourceCommandInput, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
113
85
|
deleteDataSource(args: DeleteDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
114
|
-
|
|
115
|
-
* <p>Deletes a <code>Function</code>.</p>
|
|
116
|
-
*/
|
|
86
|
+
|
|
117
87
|
deleteFunction(args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionCommandOutput>;
|
|
118
88
|
deleteFunction(args: DeleteFunctionCommandInput, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
|
|
119
89
|
deleteFunction(args: DeleteFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
|
|
120
|
-
|
|
121
|
-
* <p>Deletes a <code>GraphqlApi</code> object.</p>
|
|
122
|
-
*/
|
|
90
|
+
|
|
123
91
|
deleteGraphqlApi(args: DeleteGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGraphqlApiCommandOutput>;
|
|
124
92
|
deleteGraphqlApi(args: DeleteGraphqlApiCommandInput, cb: (err: any, data?: DeleteGraphqlApiCommandOutput) => void): void;
|
|
125
93
|
deleteGraphqlApi(args: DeleteGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGraphqlApiCommandOutput) => void): void;
|
|
126
|
-
|
|
127
|
-
* <p>Deletes a <code>Resolver</code> object.</p>
|
|
128
|
-
*/
|
|
94
|
+
|
|
129
95
|
deleteResolver(args: DeleteResolverCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResolverCommandOutput>;
|
|
130
96
|
deleteResolver(args: DeleteResolverCommandInput, cb: (err: any, data?: DeleteResolverCommandOutput) => void): void;
|
|
131
97
|
deleteResolver(args: DeleteResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResolverCommandOutput) => void): void;
|
|
132
|
-
|
|
133
|
-
* <p>Deletes a <code>Type</code> object.</p>
|
|
134
|
-
*/
|
|
98
|
+
|
|
135
99
|
deleteType(args: DeleteTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTypeCommandOutput>;
|
|
136
100
|
deleteType(args: DeleteTypeCommandInput, cb: (err: any, data?: DeleteTypeCommandOutput) => void): void;
|
|
137
101
|
deleteType(args: DeleteTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTypeCommandOutput) => void): void;
|
|
138
|
-
|
|
139
|
-
* <p>Flushes an <code>ApiCache</code> object.</p>
|
|
140
|
-
*/
|
|
102
|
+
|
|
141
103
|
flushApiCache(args: FlushApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<FlushApiCacheCommandOutput>;
|
|
142
104
|
flushApiCache(args: FlushApiCacheCommandInput, cb: (err: any, data?: FlushApiCacheCommandOutput) => void): void;
|
|
143
105
|
flushApiCache(args: FlushApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FlushApiCacheCommandOutput) => void): void;
|
|
144
|
-
|
|
145
|
-
* <p>Retrieves an <code>ApiCache</code> object.</p>
|
|
146
|
-
*/
|
|
106
|
+
|
|
147
107
|
getApiCache(args: GetApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<GetApiCacheCommandOutput>;
|
|
148
108
|
getApiCache(args: GetApiCacheCommandInput, cb: (err: any, data?: GetApiCacheCommandOutput) => void): void;
|
|
149
109
|
getApiCache(args: GetApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApiCacheCommandOutput) => void): void;
|
|
150
|
-
|
|
151
|
-
* <p>Retrieves a <code>DataSource</code> object.</p>
|
|
152
|
-
*/
|
|
110
|
+
|
|
153
111
|
getDataSource(args: GetDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<GetDataSourceCommandOutput>;
|
|
154
112
|
getDataSource(args: GetDataSourceCommandInput, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
155
113
|
getDataSource(args: GetDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
156
|
-
|
|
157
|
-
* <p>Get a <code>Function</code>.</p>
|
|
158
|
-
*/
|
|
114
|
+
|
|
159
115
|
getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCommandOutput>;
|
|
160
116
|
getFunction(args: GetFunctionCommandInput, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
|
|
161
117
|
getFunction(args: GetFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
|
|
162
|
-
|
|
163
|
-
* <p>Retrieves a <code>GraphqlApi</code> object.</p>
|
|
164
|
-
*/
|
|
118
|
+
|
|
165
119
|
getGraphqlApi(args: GetGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<GetGraphqlApiCommandOutput>;
|
|
166
120
|
getGraphqlApi(args: GetGraphqlApiCommandInput, cb: (err: any, data?: GetGraphqlApiCommandOutput) => void): void;
|
|
167
121
|
getGraphqlApi(args: GetGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGraphqlApiCommandOutput) => void): void;
|
|
168
|
-
|
|
169
|
-
* <p>Retrieves the introspection schema for a GraphQL API.</p>
|
|
170
|
-
*/
|
|
122
|
+
|
|
171
123
|
getIntrospectionSchema(args: GetIntrospectionSchemaCommandInput, options?: __HttpHandlerOptions): Promise<GetIntrospectionSchemaCommandOutput>;
|
|
172
124
|
getIntrospectionSchema(args: GetIntrospectionSchemaCommandInput, cb: (err: any, data?: GetIntrospectionSchemaCommandOutput) => void): void;
|
|
173
125
|
getIntrospectionSchema(args: GetIntrospectionSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIntrospectionSchemaCommandOutput) => void): void;
|
|
174
|
-
|
|
175
|
-
* <p>Retrieves a <code>Resolver</code> object.</p>
|
|
176
|
-
*/
|
|
126
|
+
|
|
177
127
|
getResolver(args: GetResolverCommandInput, options?: __HttpHandlerOptions): Promise<GetResolverCommandOutput>;
|
|
178
128
|
getResolver(args: GetResolverCommandInput, cb: (err: any, data?: GetResolverCommandOutput) => void): void;
|
|
179
129
|
getResolver(args: GetResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResolverCommandOutput) => void): void;
|
|
180
|
-
|
|
181
|
-
* <p>Retrieves the current status of a schema creation operation.</p>
|
|
182
|
-
*/
|
|
130
|
+
|
|
183
131
|
getSchemaCreationStatus(args: GetSchemaCreationStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetSchemaCreationStatusCommandOutput>;
|
|
184
132
|
getSchemaCreationStatus(args: GetSchemaCreationStatusCommandInput, cb: (err: any, data?: GetSchemaCreationStatusCommandOutput) => void): void;
|
|
185
133
|
getSchemaCreationStatus(args: GetSchemaCreationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSchemaCreationStatusCommandOutput) => void): void;
|
|
186
|
-
|
|
187
|
-
* <p>Retrieves a <code>Type</code> object.</p>
|
|
188
|
-
*/
|
|
134
|
+
|
|
189
135
|
getType(args: GetTypeCommandInput, options?: __HttpHandlerOptions): Promise<GetTypeCommandOutput>;
|
|
190
136
|
getType(args: GetTypeCommandInput, cb: (err: any, data?: GetTypeCommandOutput) => void): void;
|
|
191
137
|
getType(args: GetTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTypeCommandOutput) => void): void;
|
|
192
|
-
|
|
193
|
-
* <p>Lists the API keys for a given API.</p>
|
|
194
|
-
* <note>
|
|
195
|
-
* <p>API keys are deleted automatically 60 days after they expire. However, they may still
|
|
196
|
-
* be included in the response until they have actually been deleted. You can safely call
|
|
197
|
-
* <code>DeleteApiKey</code> to manually delete a key before it's automatically
|
|
198
|
-
* deleted.</p>
|
|
199
|
-
* </note>
|
|
200
|
-
*/
|
|
138
|
+
|
|
201
139
|
listApiKeys(args: ListApiKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListApiKeysCommandOutput>;
|
|
202
140
|
listApiKeys(args: ListApiKeysCommandInput, cb: (err: any, data?: ListApiKeysCommandOutput) => void): void;
|
|
203
141
|
listApiKeys(args: ListApiKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApiKeysCommandOutput) => void): void;
|
|
204
|
-
|
|
205
|
-
* <p>Lists the data sources for a given API.</p>
|
|
206
|
-
*/
|
|
142
|
+
|
|
207
143
|
listDataSources(args: ListDataSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSourcesCommandOutput>;
|
|
208
144
|
listDataSources(args: ListDataSourcesCommandInput, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
209
145
|
listDataSources(args: ListDataSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
210
|
-
|
|
211
|
-
* <p>List multiple functions.</p>
|
|
212
|
-
*/
|
|
146
|
+
|
|
213
147
|
listFunctions(args: ListFunctionsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionsCommandOutput>;
|
|
214
148
|
listFunctions(args: ListFunctionsCommandInput, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
|
|
215
149
|
listFunctions(args: ListFunctionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
|
|
216
|
-
|
|
217
|
-
* <p>Lists your GraphQL APIs.</p>
|
|
218
|
-
*/
|
|
150
|
+
|
|
219
151
|
listGraphqlApis(args: ListGraphqlApisCommandInput, options?: __HttpHandlerOptions): Promise<ListGraphqlApisCommandOutput>;
|
|
220
152
|
listGraphqlApis(args: ListGraphqlApisCommandInput, cb: (err: any, data?: ListGraphqlApisCommandOutput) => void): void;
|
|
221
153
|
listGraphqlApis(args: ListGraphqlApisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGraphqlApisCommandOutput) => void): void;
|
|
222
|
-
|
|
223
|
-
* <p>Lists the resolvers for a given API and type.</p>
|
|
224
|
-
*/
|
|
154
|
+
|
|
225
155
|
listResolvers(args: ListResolversCommandInput, options?: __HttpHandlerOptions): Promise<ListResolversCommandOutput>;
|
|
226
156
|
listResolvers(args: ListResolversCommandInput, cb: (err: any, data?: ListResolversCommandOutput) => void): void;
|
|
227
157
|
listResolvers(args: ListResolversCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResolversCommandOutput) => void): void;
|
|
228
|
-
|
|
229
|
-
* <p>List the resolvers that are associated with a specific function.</p>
|
|
230
|
-
*/
|
|
158
|
+
|
|
231
159
|
listResolversByFunction(args: ListResolversByFunctionCommandInput, options?: __HttpHandlerOptions): Promise<ListResolversByFunctionCommandOutput>;
|
|
232
160
|
listResolversByFunction(args: ListResolversByFunctionCommandInput, cb: (err: any, data?: ListResolversByFunctionCommandOutput) => void): void;
|
|
233
161
|
listResolversByFunction(args: ListResolversByFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResolversByFunctionCommandOutput) => void): void;
|
|
234
|
-
|
|
235
|
-
* <p>Lists the tags for a resource.</p>
|
|
236
|
-
*/
|
|
162
|
+
|
|
237
163
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
238
164
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
239
165
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
240
|
-
|
|
241
|
-
* <p>Lists the types for a given API.</p>
|
|
242
|
-
*/
|
|
166
|
+
|
|
243
167
|
listTypes(args: ListTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListTypesCommandOutput>;
|
|
244
168
|
listTypes(args: ListTypesCommandInput, cb: (err: any, data?: ListTypesCommandOutput) => void): void;
|
|
245
169
|
listTypes(args: ListTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTypesCommandOutput) => void): void;
|
|
246
|
-
|
|
247
|
-
* <p>Adds a new schema to your GraphQL API.</p>
|
|
248
|
-
* <p>This operation is asynchronous. Use to
|
|
249
|
-
* determine when it has completed.</p>
|
|
250
|
-
*/
|
|
170
|
+
|
|
251
171
|
startSchemaCreation(args: StartSchemaCreationCommandInput, options?: __HttpHandlerOptions): Promise<StartSchemaCreationCommandOutput>;
|
|
252
172
|
startSchemaCreation(args: StartSchemaCreationCommandInput, cb: (err: any, data?: StartSchemaCreationCommandOutput) => void): void;
|
|
253
173
|
startSchemaCreation(args: StartSchemaCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSchemaCreationCommandOutput) => void): void;
|
|
254
|
-
|
|
255
|
-
* <p>Tags a resource with user-supplied tags.</p>
|
|
256
|
-
*/
|
|
174
|
+
|
|
257
175
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
258
176
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
259
177
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
260
|
-
|
|
261
|
-
* <p>Untags a resource.</p>
|
|
262
|
-
*/
|
|
178
|
+
|
|
263
179
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
264
180
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
265
181
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
266
|
-
|
|
267
|
-
* <p>Updates the cache for the GraphQL API.</p>
|
|
268
|
-
*/
|
|
182
|
+
|
|
269
183
|
updateApiCache(args: UpdateApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApiCacheCommandOutput>;
|
|
270
184
|
updateApiCache(args: UpdateApiCacheCommandInput, cb: (err: any, data?: UpdateApiCacheCommandOutput) => void): void;
|
|
271
185
|
updateApiCache(args: UpdateApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiCacheCommandOutput) => void): void;
|
|
272
|
-
|
|
273
|
-
* <p>Updates an API key. The key can be updated while it is not deleted.</p>
|
|
274
|
-
*/
|
|
186
|
+
|
|
275
187
|
updateApiKey(args: UpdateApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApiKeyCommandOutput>;
|
|
276
188
|
updateApiKey(args: UpdateApiKeyCommandInput, cb: (err: any, data?: UpdateApiKeyCommandOutput) => void): void;
|
|
277
189
|
updateApiKey(args: UpdateApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiKeyCommandOutput) => void): void;
|
|
278
|
-
|
|
279
|
-
* <p>Updates a <code>DataSource</code> object.</p>
|
|
280
|
-
*/
|
|
190
|
+
|
|
281
191
|
updateDataSource(args: UpdateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataSourceCommandOutput>;
|
|
282
192
|
updateDataSource(args: UpdateDataSourceCommandInput, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
283
193
|
updateDataSource(args: UpdateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
284
|
-
|
|
285
|
-
* <p>Updates a <code>Function</code> object.</p>
|
|
286
|
-
*/
|
|
194
|
+
|
|
287
195
|
updateFunction(args: UpdateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionCommandOutput>;
|
|
288
196
|
updateFunction(args: UpdateFunctionCommandInput, cb: (err: any, data?: UpdateFunctionCommandOutput) => void): void;
|
|
289
197
|
updateFunction(args: UpdateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionCommandOutput) => void): void;
|
|
290
|
-
|
|
291
|
-
* <p>Updates a <code>GraphqlApi</code> object.</p>
|
|
292
|
-
*/
|
|
198
|
+
|
|
293
199
|
updateGraphqlApi(args: UpdateGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGraphqlApiCommandOutput>;
|
|
294
200
|
updateGraphqlApi(args: UpdateGraphqlApiCommandInput, cb: (err: any, data?: UpdateGraphqlApiCommandOutput) => void): void;
|
|
295
201
|
updateGraphqlApi(args: UpdateGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGraphqlApiCommandOutput) => void): void;
|
|
296
|
-
|
|
297
|
-
* <p>Updates a <code>Resolver</code> object.</p>
|
|
298
|
-
*/
|
|
202
|
+
|
|
299
203
|
updateResolver(args: UpdateResolverCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResolverCommandOutput>;
|
|
300
204
|
updateResolver(args: UpdateResolverCommandInput, cb: (err: any, data?: UpdateResolverCommandOutput) => void): void;
|
|
301
205
|
updateResolver(args: UpdateResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResolverCommandOutput) => void): void;
|
|
302
|
-
|
|
303
|
-
* <p>Updates a <code>Type</code> object.</p>
|
|
304
|
-
*/
|
|
206
|
+
|
|
305
207
|
updateType(args: UpdateTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTypeCommandOutput>;
|
|
306
208
|
updateType(args: UpdateTypeCommandInput, cb: (err: any, data?: UpdateTypeCommandOutput) => void): void;
|
|
307
209
|
updateType(args: UpdateTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTypeCommandOutput) => void): void;
|
|
@@ -50,125 +50,59 @@ import { UpdateTypeCommandInput, UpdateTypeCommandOutput } from "./commands/Upda
|
|
|
50
50
|
export declare type ServiceInputTypes = CreateApiCacheCommandInput | CreateApiKeyCommandInput | CreateDataSourceCommandInput | CreateFunctionCommandInput | CreateGraphqlApiCommandInput | CreateResolverCommandInput | CreateTypeCommandInput | DeleteApiCacheCommandInput | DeleteApiKeyCommandInput | DeleteDataSourceCommandInput | DeleteFunctionCommandInput | DeleteGraphqlApiCommandInput | DeleteResolverCommandInput | DeleteTypeCommandInput | FlushApiCacheCommandInput | GetApiCacheCommandInput | GetDataSourceCommandInput | GetFunctionCommandInput | GetGraphqlApiCommandInput | GetIntrospectionSchemaCommandInput | GetResolverCommandInput | GetSchemaCreationStatusCommandInput | GetTypeCommandInput | ListApiKeysCommandInput | ListDataSourcesCommandInput | ListFunctionsCommandInput | ListGraphqlApisCommandInput | ListResolversByFunctionCommandInput | ListResolversCommandInput | ListTagsForResourceCommandInput | ListTypesCommandInput | StartSchemaCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApiCacheCommandInput | UpdateApiKeyCommandInput | UpdateDataSourceCommandInput | UpdateFunctionCommandInput | UpdateGraphqlApiCommandInput | UpdateResolverCommandInput | UpdateTypeCommandInput;
|
|
51
51
|
export declare type ServiceOutputTypes = CreateApiCacheCommandOutput | CreateApiKeyCommandOutput | CreateDataSourceCommandOutput | CreateFunctionCommandOutput | CreateGraphqlApiCommandOutput | CreateResolverCommandOutput | CreateTypeCommandOutput | DeleteApiCacheCommandOutput | DeleteApiKeyCommandOutput | DeleteDataSourceCommandOutput | DeleteFunctionCommandOutput | DeleteGraphqlApiCommandOutput | DeleteResolverCommandOutput | DeleteTypeCommandOutput | FlushApiCacheCommandOutput | GetApiCacheCommandOutput | GetDataSourceCommandOutput | GetFunctionCommandOutput | GetGraphqlApiCommandOutput | GetIntrospectionSchemaCommandOutput | GetResolverCommandOutput | GetSchemaCreationStatusCommandOutput | GetTypeCommandOutput | ListApiKeysCommandOutput | ListDataSourcesCommandOutput | ListFunctionsCommandOutput | ListGraphqlApisCommandOutput | ListResolversByFunctionCommandOutput | ListResolversCommandOutput | ListTagsForResourceCommandOutput | ListTypesCommandOutput | StartSchemaCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApiCacheCommandOutput | UpdateApiKeyCommandOutput | UpdateDataSourceCommandOutput | UpdateFunctionCommandOutput | UpdateGraphqlApiCommandOutput | UpdateResolverCommandOutput | UpdateTypeCommandOutput;
|
|
52
52
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
53
|
-
|
|
54
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
55
|
-
*/
|
|
53
|
+
|
|
56
54
|
requestHandler?: __HttpHandler;
|
|
57
|
-
|
|
58
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
59
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
55
|
+
|
|
62
56
|
sha256?: __HashConstructor;
|
|
63
|
-
|
|
64
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
57
|
+
|
|
67
58
|
urlParser?: __UrlParser;
|
|
68
|
-
|
|
69
|
-
* A function that can calculate the length of a request body.
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
59
|
+
|
|
72
60
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
73
|
-
|
|
74
|
-
* A function that converts a stream into an array of bytes.
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
61
|
+
|
|
77
62
|
streamCollector?: __StreamCollector;
|
|
78
|
-
|
|
79
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
63
|
+
|
|
82
64
|
base64Decoder?: __Decoder;
|
|
83
|
-
|
|
84
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
65
|
+
|
|
87
66
|
base64Encoder?: __Encoder;
|
|
88
|
-
|
|
89
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
67
|
+
|
|
92
68
|
utf8Decoder?: __Decoder;
|
|
93
|
-
|
|
94
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
69
|
+
|
|
97
70
|
utf8Encoder?: __Encoder;
|
|
98
|
-
|
|
99
|
-
* The runtime environment.
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
71
|
+
|
|
102
72
|
runtime?: string;
|
|
103
|
-
|
|
104
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
105
|
-
* trait of an operation.
|
|
106
|
-
*/
|
|
73
|
+
|
|
107
74
|
disableHostPrefix?: boolean;
|
|
108
|
-
|
|
109
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
110
|
-
*/
|
|
75
|
+
|
|
111
76
|
maxAttempts?: number | __Provider<number>;
|
|
112
|
-
|
|
113
|
-
* Specifies which retry algorithm to use.
|
|
114
|
-
*/
|
|
77
|
+
|
|
115
78
|
retryMode?: string | __Provider<string>;
|
|
116
|
-
|
|
117
|
-
* Optional logger for logging debug/info/warn/error.
|
|
118
|
-
*/
|
|
79
|
+
|
|
119
80
|
logger?: __Logger;
|
|
120
|
-
|
|
121
|
-
* Unique service identifier.
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
81
|
+
|
|
124
82
|
serviceId?: string;
|
|
125
|
-
|
|
126
|
-
* The AWS region to which this client will send requests
|
|
127
|
-
*/
|
|
83
|
+
|
|
128
84
|
region?: string | __Provider<string>;
|
|
129
|
-
|
|
130
|
-
* Default credentials provider; Not available in browser runtime.
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
85
|
+
|
|
133
86
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
134
|
-
|
|
135
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
136
|
-
* @internal
|
|
137
|
-
*/
|
|
87
|
+
|
|
138
88
|
regionInfoProvider?: RegionInfoProvider;
|
|
139
|
-
|
|
140
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
89
|
+
|
|
143
90
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
144
91
|
}
|
|
145
92
|
declare type AppSyncClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
146
|
-
|
|
147
|
-
* The configuration interface of AppSyncClient class constructor that set the region, credentials and other options.
|
|
148
|
-
*/
|
|
93
|
+
|
|
149
94
|
export interface AppSyncClientConfig extends AppSyncClientConfigType {
|
|
150
95
|
}
|
|
151
96
|
declare type AppSyncClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
152
|
-
|
|
153
|
-
* The resolved configuration interface of AppSyncClient class. This is resolved and normalized from the {@link AppSyncClientConfig | constructor configuration interface}.
|
|
154
|
-
*/
|
|
97
|
+
|
|
155
98
|
export interface AppSyncClientResolvedConfig extends AppSyncClientResolvedConfigType {
|
|
156
99
|
}
|
|
157
|
-
|
|
158
|
-
* <p>AppSync provides API actions for creating and interacting with data
|
|
159
|
-
* sources using GraphQL from your application.</p>
|
|
160
|
-
*/
|
|
100
|
+
|
|
161
101
|
export declare class AppSyncClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AppSyncClientResolvedConfig> {
|
|
162
|
-
|
|
163
|
-
* The resolved configuration of AppSyncClient class. This is resolved and normalized from the {@link AppSyncClientConfig | constructor configuration interface}.
|
|
164
|
-
*/
|
|
102
|
+
|
|
165
103
|
readonly config: AppSyncClientResolvedConfig;
|
|
166
104
|
constructor(configuration: AppSyncClientConfig);
|
|
167
|
-
|
|
168
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
169
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
170
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
171
|
-
*/
|
|
105
|
+
|
|
172
106
|
destroy(): void;
|
|
173
107
|
}
|
|
174
108
|
export {};
|
|
@@ -6,29 +6,11 @@ export interface CreateApiCacheCommandInput extends CreateApiCacheRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateApiCacheCommandOutput extends CreateApiCacheResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a cache for the GraphQL API.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { AppSyncClient, CreateApiCacheCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
15
|
-
* // const { AppSyncClient, CreateApiCacheCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
16
|
-
* const client = new AppSyncClient(config);
|
|
17
|
-
* const command = new CreateApiCacheCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateApiCacheCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateApiCacheCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class CreateApiCacheCommand extends $Command<CreateApiCacheCommandInput, CreateApiCacheCommandOutput, AppSyncClientResolvedConfig> {
|
|
27
11
|
readonly input: CreateApiCacheCommandInput;
|
|
28
12
|
constructor(input: CreateApiCacheCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApiCacheCommandInput, CreateApiCacheCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,30 +6,11 @@ export interface CreateApiKeyCommandInput extends CreateApiKeyRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateApiKeyCommandOutput extends CreateApiKeyResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a unique key that you can distribute to clients who are executing your
|
|
11
|
-
* API.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { AppSyncClient, CreateApiKeyCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
16
|
-
* // const { AppSyncClient, CreateApiKeyCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
17
|
-
* const client = new AppSyncClient(config);
|
|
18
|
-
* const command = new CreateApiKeyCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateApiKeyCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateApiKeyCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class CreateApiKeyCommand extends $Command<CreateApiKeyCommandInput, CreateApiKeyCommandOutput, AppSyncClientResolvedConfig> {
|
|
28
11
|
readonly input: CreateApiKeyCommandInput;
|
|
29
12
|
constructor(input: CreateApiKeyCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApiKeyCommandInput, CreateApiKeyCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface CreateDataSourceCommandInput extends CreateDataSourceRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a <code>DataSource</code> object.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { AppSyncClient, CreateDataSourceCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
15
|
-
* // const { AppSyncClient, CreateDataSourceCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
16
|
-
* const client = new AppSyncClient(config);
|
|
17
|
-
* const command = new CreateDataSourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateDataSourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateDataSourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class CreateDataSourceCommand extends $Command<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, AppSyncClientResolvedConfig> {
|
|
27
11
|
readonly input: CreateDataSourceCommandInput;
|
|
28
12
|
constructor(input: CreateDataSourceCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDataSourceCommandInput, CreateDataSourceCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,31 +6,11 @@ export interface CreateFunctionCommandInput extends CreateFunctionRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateFunctionCommandOutput extends CreateFunctionResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a <code>Function</code> object.</p>
|
|
11
|
-
* <p>A function is a reusable entity. Multiple functions can be used to compose the resolver
|
|
12
|
-
* logic.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { AppSyncClient, CreateFunctionCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
17
|
-
* // const { AppSyncClient, CreateFunctionCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
18
|
-
* const client = new AppSyncClient(config);
|
|
19
|
-
* const command = new CreateFunctionCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link CreateFunctionCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link CreateFunctionCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link AppSyncClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
9
|
+
|
|
28
10
|
export declare class CreateFunctionCommand extends $Command<CreateFunctionCommandInput, CreateFunctionCommandOutput, AppSyncClientResolvedConfig> {
|
|
29
11
|
readonly input: CreateFunctionCommandInput;
|
|
30
12
|
constructor(input: CreateFunctionCommandInput);
|
|
31
|
-
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
13
|
+
|
|
34
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFunctionCommandInput, CreateFunctionCommandOutput>;
|
|
35
15
|
private serialize;
|
|
36
16
|
private deserialize;
|