@aws-sdk/client-appsync 3.35.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 +13 -0
- package/dist-cjs/AppSync.js +0 -1
- package/dist-cjs/AppSyncClient.js +0 -1
- package/dist-cjs/commands/CreateApiCacheCommand.js +0 -1
- package/dist-cjs/commands/CreateApiKeyCommand.js +0 -1
- package/dist-cjs/commands/CreateDataSourceCommand.js +0 -1
- package/dist-cjs/commands/CreateFunctionCommand.js +0 -1
- package/dist-cjs/commands/CreateGraphqlApiCommand.js +0 -1
- package/dist-cjs/commands/CreateResolverCommand.js +0 -1
- package/dist-cjs/commands/CreateTypeCommand.js +0 -1
- package/dist-cjs/commands/DeleteApiCacheCommand.js +0 -1
- package/dist-cjs/commands/DeleteApiKeyCommand.js +0 -1
- package/dist-cjs/commands/DeleteDataSourceCommand.js +0 -1
- package/dist-cjs/commands/DeleteFunctionCommand.js +0 -1
- package/dist-cjs/commands/DeleteGraphqlApiCommand.js +0 -1
- package/dist-cjs/commands/DeleteResolverCommand.js +0 -1
- package/dist-cjs/commands/DeleteTypeCommand.js +0 -1
- package/dist-cjs/commands/FlushApiCacheCommand.js +0 -1
- package/dist-cjs/commands/GetApiCacheCommand.js +0 -1
- package/dist-cjs/commands/GetDataSourceCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionCommand.js +0 -1
- package/dist-cjs/commands/GetGraphqlApiCommand.js +0 -1
- package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +0 -1
- package/dist-cjs/commands/GetResolverCommand.js +0 -1
- package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +0 -1
- package/dist-cjs/commands/GetTypeCommand.js +0 -1
- package/dist-cjs/commands/ListApiKeysCommand.js +0 -1
- package/dist-cjs/commands/ListDataSourcesCommand.js +0 -1
- package/dist-cjs/commands/ListFunctionsCommand.js +0 -1
- package/dist-cjs/commands/ListGraphqlApisCommand.js +0 -1
- package/dist-cjs/commands/ListResolversByFunctionCommand.js +0 -1
- package/dist-cjs/commands/ListResolversCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListTypesCommand.js +0 -1
- package/dist-cjs/commands/StartSchemaCreationCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateApiCacheCommand.js +0 -1
- package/dist-cjs/commands/UpdateApiKeyCommand.js +0 -1
- package/dist-cjs/commands/UpdateDataSourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateFunctionCommand.js +0 -1
- package/dist-cjs/commands/UpdateGraphqlApiCommand.js +0 -1
- package/dist-cjs/commands/UpdateResolverCommand.js +0 -1
- package/dist-cjs/commands/UpdateTypeCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- 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/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- 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/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/src/AppSync.ts
DELETED
|
@@ -1,1430 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppSyncClient } from "./AppSyncClient";
|
|
4
|
-
import {
|
|
5
|
-
CreateApiCacheCommand,
|
|
6
|
-
CreateApiCacheCommandInput,
|
|
7
|
-
CreateApiCacheCommandOutput,
|
|
8
|
-
} from "./commands/CreateApiCacheCommand";
|
|
9
|
-
import {
|
|
10
|
-
CreateApiKeyCommand,
|
|
11
|
-
CreateApiKeyCommandInput,
|
|
12
|
-
CreateApiKeyCommandOutput,
|
|
13
|
-
} from "./commands/CreateApiKeyCommand";
|
|
14
|
-
import {
|
|
15
|
-
CreateDataSourceCommand,
|
|
16
|
-
CreateDataSourceCommandInput,
|
|
17
|
-
CreateDataSourceCommandOutput,
|
|
18
|
-
} from "./commands/CreateDataSourceCommand";
|
|
19
|
-
import {
|
|
20
|
-
CreateFunctionCommand,
|
|
21
|
-
CreateFunctionCommandInput,
|
|
22
|
-
CreateFunctionCommandOutput,
|
|
23
|
-
} from "./commands/CreateFunctionCommand";
|
|
24
|
-
import {
|
|
25
|
-
CreateGraphqlApiCommand,
|
|
26
|
-
CreateGraphqlApiCommandInput,
|
|
27
|
-
CreateGraphqlApiCommandOutput,
|
|
28
|
-
} from "./commands/CreateGraphqlApiCommand";
|
|
29
|
-
import {
|
|
30
|
-
CreateResolverCommand,
|
|
31
|
-
CreateResolverCommandInput,
|
|
32
|
-
CreateResolverCommandOutput,
|
|
33
|
-
} from "./commands/CreateResolverCommand";
|
|
34
|
-
import { CreateTypeCommand, CreateTypeCommandInput, CreateTypeCommandOutput } from "./commands/CreateTypeCommand";
|
|
35
|
-
import {
|
|
36
|
-
DeleteApiCacheCommand,
|
|
37
|
-
DeleteApiCacheCommandInput,
|
|
38
|
-
DeleteApiCacheCommandOutput,
|
|
39
|
-
} from "./commands/DeleteApiCacheCommand";
|
|
40
|
-
import {
|
|
41
|
-
DeleteApiKeyCommand,
|
|
42
|
-
DeleteApiKeyCommandInput,
|
|
43
|
-
DeleteApiKeyCommandOutput,
|
|
44
|
-
} from "./commands/DeleteApiKeyCommand";
|
|
45
|
-
import {
|
|
46
|
-
DeleteDataSourceCommand,
|
|
47
|
-
DeleteDataSourceCommandInput,
|
|
48
|
-
DeleteDataSourceCommandOutput,
|
|
49
|
-
} from "./commands/DeleteDataSourceCommand";
|
|
50
|
-
import {
|
|
51
|
-
DeleteFunctionCommand,
|
|
52
|
-
DeleteFunctionCommandInput,
|
|
53
|
-
DeleteFunctionCommandOutput,
|
|
54
|
-
} from "./commands/DeleteFunctionCommand";
|
|
55
|
-
import {
|
|
56
|
-
DeleteGraphqlApiCommand,
|
|
57
|
-
DeleteGraphqlApiCommandInput,
|
|
58
|
-
DeleteGraphqlApiCommandOutput,
|
|
59
|
-
} from "./commands/DeleteGraphqlApiCommand";
|
|
60
|
-
import {
|
|
61
|
-
DeleteResolverCommand,
|
|
62
|
-
DeleteResolverCommandInput,
|
|
63
|
-
DeleteResolverCommandOutput,
|
|
64
|
-
} from "./commands/DeleteResolverCommand";
|
|
65
|
-
import { DeleteTypeCommand, DeleteTypeCommandInput, DeleteTypeCommandOutput } from "./commands/DeleteTypeCommand";
|
|
66
|
-
import {
|
|
67
|
-
FlushApiCacheCommand,
|
|
68
|
-
FlushApiCacheCommandInput,
|
|
69
|
-
FlushApiCacheCommandOutput,
|
|
70
|
-
} from "./commands/FlushApiCacheCommand";
|
|
71
|
-
import { GetApiCacheCommand, GetApiCacheCommandInput, GetApiCacheCommandOutput } from "./commands/GetApiCacheCommand";
|
|
72
|
-
import {
|
|
73
|
-
GetDataSourceCommand,
|
|
74
|
-
GetDataSourceCommandInput,
|
|
75
|
-
GetDataSourceCommandOutput,
|
|
76
|
-
} from "./commands/GetDataSourceCommand";
|
|
77
|
-
import { GetFunctionCommand, GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand";
|
|
78
|
-
import {
|
|
79
|
-
GetGraphqlApiCommand,
|
|
80
|
-
GetGraphqlApiCommandInput,
|
|
81
|
-
GetGraphqlApiCommandOutput,
|
|
82
|
-
} from "./commands/GetGraphqlApiCommand";
|
|
83
|
-
import {
|
|
84
|
-
GetIntrospectionSchemaCommand,
|
|
85
|
-
GetIntrospectionSchemaCommandInput,
|
|
86
|
-
GetIntrospectionSchemaCommandOutput,
|
|
87
|
-
} from "./commands/GetIntrospectionSchemaCommand";
|
|
88
|
-
import { GetResolverCommand, GetResolverCommandInput, GetResolverCommandOutput } from "./commands/GetResolverCommand";
|
|
89
|
-
import {
|
|
90
|
-
GetSchemaCreationStatusCommand,
|
|
91
|
-
GetSchemaCreationStatusCommandInput,
|
|
92
|
-
GetSchemaCreationStatusCommandOutput,
|
|
93
|
-
} from "./commands/GetSchemaCreationStatusCommand";
|
|
94
|
-
import { GetTypeCommand, GetTypeCommandInput, GetTypeCommandOutput } from "./commands/GetTypeCommand";
|
|
95
|
-
import { ListApiKeysCommand, ListApiKeysCommandInput, ListApiKeysCommandOutput } from "./commands/ListApiKeysCommand";
|
|
96
|
-
import {
|
|
97
|
-
ListDataSourcesCommand,
|
|
98
|
-
ListDataSourcesCommandInput,
|
|
99
|
-
ListDataSourcesCommandOutput,
|
|
100
|
-
} from "./commands/ListDataSourcesCommand";
|
|
101
|
-
import {
|
|
102
|
-
ListFunctionsCommand,
|
|
103
|
-
ListFunctionsCommandInput,
|
|
104
|
-
ListFunctionsCommandOutput,
|
|
105
|
-
} from "./commands/ListFunctionsCommand";
|
|
106
|
-
import {
|
|
107
|
-
ListGraphqlApisCommand,
|
|
108
|
-
ListGraphqlApisCommandInput,
|
|
109
|
-
ListGraphqlApisCommandOutput,
|
|
110
|
-
} from "./commands/ListGraphqlApisCommand";
|
|
111
|
-
import {
|
|
112
|
-
ListResolversByFunctionCommand,
|
|
113
|
-
ListResolversByFunctionCommandInput,
|
|
114
|
-
ListResolversByFunctionCommandOutput,
|
|
115
|
-
} from "./commands/ListResolversByFunctionCommand";
|
|
116
|
-
import {
|
|
117
|
-
ListResolversCommand,
|
|
118
|
-
ListResolversCommandInput,
|
|
119
|
-
ListResolversCommandOutput,
|
|
120
|
-
} from "./commands/ListResolversCommand";
|
|
121
|
-
import {
|
|
122
|
-
ListTagsForResourceCommand,
|
|
123
|
-
ListTagsForResourceCommandInput,
|
|
124
|
-
ListTagsForResourceCommandOutput,
|
|
125
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
126
|
-
import { ListTypesCommand, ListTypesCommandInput, ListTypesCommandOutput } from "./commands/ListTypesCommand";
|
|
127
|
-
import {
|
|
128
|
-
StartSchemaCreationCommand,
|
|
129
|
-
StartSchemaCreationCommandInput,
|
|
130
|
-
StartSchemaCreationCommandOutput,
|
|
131
|
-
} from "./commands/StartSchemaCreationCommand";
|
|
132
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
133
|
-
import {
|
|
134
|
-
UntagResourceCommand,
|
|
135
|
-
UntagResourceCommandInput,
|
|
136
|
-
UntagResourceCommandOutput,
|
|
137
|
-
} from "./commands/UntagResourceCommand";
|
|
138
|
-
import {
|
|
139
|
-
UpdateApiCacheCommand,
|
|
140
|
-
UpdateApiCacheCommandInput,
|
|
141
|
-
UpdateApiCacheCommandOutput,
|
|
142
|
-
} from "./commands/UpdateApiCacheCommand";
|
|
143
|
-
import {
|
|
144
|
-
UpdateApiKeyCommand,
|
|
145
|
-
UpdateApiKeyCommandInput,
|
|
146
|
-
UpdateApiKeyCommandOutput,
|
|
147
|
-
} from "./commands/UpdateApiKeyCommand";
|
|
148
|
-
import {
|
|
149
|
-
UpdateDataSourceCommand,
|
|
150
|
-
UpdateDataSourceCommandInput,
|
|
151
|
-
UpdateDataSourceCommandOutput,
|
|
152
|
-
} from "./commands/UpdateDataSourceCommand";
|
|
153
|
-
import {
|
|
154
|
-
UpdateFunctionCommand,
|
|
155
|
-
UpdateFunctionCommandInput,
|
|
156
|
-
UpdateFunctionCommandOutput,
|
|
157
|
-
} from "./commands/UpdateFunctionCommand";
|
|
158
|
-
import {
|
|
159
|
-
UpdateGraphqlApiCommand,
|
|
160
|
-
UpdateGraphqlApiCommandInput,
|
|
161
|
-
UpdateGraphqlApiCommandOutput,
|
|
162
|
-
} from "./commands/UpdateGraphqlApiCommand";
|
|
163
|
-
import {
|
|
164
|
-
UpdateResolverCommand,
|
|
165
|
-
UpdateResolverCommandInput,
|
|
166
|
-
UpdateResolverCommandOutput,
|
|
167
|
-
} from "./commands/UpdateResolverCommand";
|
|
168
|
-
import { UpdateTypeCommand, UpdateTypeCommandInput, UpdateTypeCommandOutput } from "./commands/UpdateTypeCommand";
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* <p>AppSync provides API actions for creating and interacting with data
|
|
172
|
-
* sources using GraphQL from your application.</p>
|
|
173
|
-
*/
|
|
174
|
-
export class AppSync extends AppSyncClient {
|
|
175
|
-
/**
|
|
176
|
-
* <p>Creates a cache for the GraphQL API.</p>
|
|
177
|
-
*/
|
|
178
|
-
public createApiCache(
|
|
179
|
-
args: CreateApiCacheCommandInput,
|
|
180
|
-
options?: __HttpHandlerOptions
|
|
181
|
-
): Promise<CreateApiCacheCommandOutput>;
|
|
182
|
-
public createApiCache(
|
|
183
|
-
args: CreateApiCacheCommandInput,
|
|
184
|
-
cb: (err: any, data?: CreateApiCacheCommandOutput) => void
|
|
185
|
-
): void;
|
|
186
|
-
public createApiCache(
|
|
187
|
-
args: CreateApiCacheCommandInput,
|
|
188
|
-
options: __HttpHandlerOptions,
|
|
189
|
-
cb: (err: any, data?: CreateApiCacheCommandOutput) => void
|
|
190
|
-
): void;
|
|
191
|
-
public createApiCache(
|
|
192
|
-
args: CreateApiCacheCommandInput,
|
|
193
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateApiCacheCommandOutput) => void),
|
|
194
|
-
cb?: (err: any, data?: CreateApiCacheCommandOutput) => void
|
|
195
|
-
): Promise<CreateApiCacheCommandOutput> | void {
|
|
196
|
-
const command = new CreateApiCacheCommand(args);
|
|
197
|
-
if (typeof optionsOrCb === "function") {
|
|
198
|
-
this.send(command, optionsOrCb);
|
|
199
|
-
} else if (typeof cb === "function") {
|
|
200
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
201
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
202
|
-
} else {
|
|
203
|
-
return this.send(command, optionsOrCb);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* <p>Creates a unique key that you can distribute to clients who are executing your
|
|
209
|
-
* API.</p>
|
|
210
|
-
*/
|
|
211
|
-
public createApiKey(
|
|
212
|
-
args: CreateApiKeyCommandInput,
|
|
213
|
-
options?: __HttpHandlerOptions
|
|
214
|
-
): Promise<CreateApiKeyCommandOutput>;
|
|
215
|
-
public createApiKey(args: CreateApiKeyCommandInput, cb: (err: any, data?: CreateApiKeyCommandOutput) => void): void;
|
|
216
|
-
public createApiKey(
|
|
217
|
-
args: CreateApiKeyCommandInput,
|
|
218
|
-
options: __HttpHandlerOptions,
|
|
219
|
-
cb: (err: any, data?: CreateApiKeyCommandOutput) => void
|
|
220
|
-
): void;
|
|
221
|
-
public createApiKey(
|
|
222
|
-
args: CreateApiKeyCommandInput,
|
|
223
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateApiKeyCommandOutput) => void),
|
|
224
|
-
cb?: (err: any, data?: CreateApiKeyCommandOutput) => void
|
|
225
|
-
): Promise<CreateApiKeyCommandOutput> | void {
|
|
226
|
-
const command = new CreateApiKeyCommand(args);
|
|
227
|
-
if (typeof optionsOrCb === "function") {
|
|
228
|
-
this.send(command, optionsOrCb);
|
|
229
|
-
} else if (typeof cb === "function") {
|
|
230
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
231
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
232
|
-
} else {
|
|
233
|
-
return this.send(command, optionsOrCb);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* <p>Creates a <code>DataSource</code> object.</p>
|
|
239
|
-
*/
|
|
240
|
-
public createDataSource(
|
|
241
|
-
args: CreateDataSourceCommandInput,
|
|
242
|
-
options?: __HttpHandlerOptions
|
|
243
|
-
): Promise<CreateDataSourceCommandOutput>;
|
|
244
|
-
public createDataSource(
|
|
245
|
-
args: CreateDataSourceCommandInput,
|
|
246
|
-
cb: (err: any, data?: CreateDataSourceCommandOutput) => void
|
|
247
|
-
): void;
|
|
248
|
-
public createDataSource(
|
|
249
|
-
args: CreateDataSourceCommandInput,
|
|
250
|
-
options: __HttpHandlerOptions,
|
|
251
|
-
cb: (err: any, data?: CreateDataSourceCommandOutput) => void
|
|
252
|
-
): void;
|
|
253
|
-
public createDataSource(
|
|
254
|
-
args: CreateDataSourceCommandInput,
|
|
255
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDataSourceCommandOutput) => void),
|
|
256
|
-
cb?: (err: any, data?: CreateDataSourceCommandOutput) => void
|
|
257
|
-
): Promise<CreateDataSourceCommandOutput> | void {
|
|
258
|
-
const command = new CreateDataSourceCommand(args);
|
|
259
|
-
if (typeof optionsOrCb === "function") {
|
|
260
|
-
this.send(command, optionsOrCb);
|
|
261
|
-
} else if (typeof cb === "function") {
|
|
262
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
263
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
-
} else {
|
|
265
|
-
return this.send(command, optionsOrCb);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* <p>Creates a <code>Function</code> object.</p>
|
|
271
|
-
* <p>A function is a reusable entity. Multiple functions can be used to compose the resolver
|
|
272
|
-
* logic.</p>
|
|
273
|
-
*/
|
|
274
|
-
public createFunction(
|
|
275
|
-
args: CreateFunctionCommandInput,
|
|
276
|
-
options?: __HttpHandlerOptions
|
|
277
|
-
): Promise<CreateFunctionCommandOutput>;
|
|
278
|
-
public createFunction(
|
|
279
|
-
args: CreateFunctionCommandInput,
|
|
280
|
-
cb: (err: any, data?: CreateFunctionCommandOutput) => void
|
|
281
|
-
): void;
|
|
282
|
-
public createFunction(
|
|
283
|
-
args: CreateFunctionCommandInput,
|
|
284
|
-
options: __HttpHandlerOptions,
|
|
285
|
-
cb: (err: any, data?: CreateFunctionCommandOutput) => void
|
|
286
|
-
): void;
|
|
287
|
-
public createFunction(
|
|
288
|
-
args: CreateFunctionCommandInput,
|
|
289
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFunctionCommandOutput) => void),
|
|
290
|
-
cb?: (err: any, data?: CreateFunctionCommandOutput) => void
|
|
291
|
-
): Promise<CreateFunctionCommandOutput> | void {
|
|
292
|
-
const command = new CreateFunctionCommand(args);
|
|
293
|
-
if (typeof optionsOrCb === "function") {
|
|
294
|
-
this.send(command, optionsOrCb);
|
|
295
|
-
} else if (typeof cb === "function") {
|
|
296
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
297
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
298
|
-
} else {
|
|
299
|
-
return this.send(command, optionsOrCb);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* <p>Creates a <code>GraphqlApi</code> object.</p>
|
|
305
|
-
*/
|
|
306
|
-
public createGraphqlApi(
|
|
307
|
-
args: CreateGraphqlApiCommandInput,
|
|
308
|
-
options?: __HttpHandlerOptions
|
|
309
|
-
): Promise<CreateGraphqlApiCommandOutput>;
|
|
310
|
-
public createGraphqlApi(
|
|
311
|
-
args: CreateGraphqlApiCommandInput,
|
|
312
|
-
cb: (err: any, data?: CreateGraphqlApiCommandOutput) => void
|
|
313
|
-
): void;
|
|
314
|
-
public createGraphqlApi(
|
|
315
|
-
args: CreateGraphqlApiCommandInput,
|
|
316
|
-
options: __HttpHandlerOptions,
|
|
317
|
-
cb: (err: any, data?: CreateGraphqlApiCommandOutput) => void
|
|
318
|
-
): void;
|
|
319
|
-
public createGraphqlApi(
|
|
320
|
-
args: CreateGraphqlApiCommandInput,
|
|
321
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGraphqlApiCommandOutput) => void),
|
|
322
|
-
cb?: (err: any, data?: CreateGraphqlApiCommandOutput) => void
|
|
323
|
-
): Promise<CreateGraphqlApiCommandOutput> | void {
|
|
324
|
-
const command = new CreateGraphqlApiCommand(args);
|
|
325
|
-
if (typeof optionsOrCb === "function") {
|
|
326
|
-
this.send(command, optionsOrCb);
|
|
327
|
-
} else if (typeof cb === "function") {
|
|
328
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
329
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
330
|
-
} else {
|
|
331
|
-
return this.send(command, optionsOrCb);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* <p>Creates a <code>Resolver</code> object.</p>
|
|
337
|
-
* <p>A resolver converts incoming requests into a format that a data source can understand
|
|
338
|
-
* and converts the data source's responses into GraphQL.</p>
|
|
339
|
-
*/
|
|
340
|
-
public createResolver(
|
|
341
|
-
args: CreateResolverCommandInput,
|
|
342
|
-
options?: __HttpHandlerOptions
|
|
343
|
-
): Promise<CreateResolverCommandOutput>;
|
|
344
|
-
public createResolver(
|
|
345
|
-
args: CreateResolverCommandInput,
|
|
346
|
-
cb: (err: any, data?: CreateResolverCommandOutput) => void
|
|
347
|
-
): void;
|
|
348
|
-
public createResolver(
|
|
349
|
-
args: CreateResolverCommandInput,
|
|
350
|
-
options: __HttpHandlerOptions,
|
|
351
|
-
cb: (err: any, data?: CreateResolverCommandOutput) => void
|
|
352
|
-
): void;
|
|
353
|
-
public createResolver(
|
|
354
|
-
args: CreateResolverCommandInput,
|
|
355
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateResolverCommandOutput) => void),
|
|
356
|
-
cb?: (err: any, data?: CreateResolverCommandOutput) => void
|
|
357
|
-
): Promise<CreateResolverCommandOutput> | void {
|
|
358
|
-
const command = new CreateResolverCommand(args);
|
|
359
|
-
if (typeof optionsOrCb === "function") {
|
|
360
|
-
this.send(command, optionsOrCb);
|
|
361
|
-
} else if (typeof cb === "function") {
|
|
362
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
363
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
364
|
-
} else {
|
|
365
|
-
return this.send(command, optionsOrCb);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* <p>Creates a <code>Type</code> object.</p>
|
|
371
|
-
*/
|
|
372
|
-
public createType(args: CreateTypeCommandInput, options?: __HttpHandlerOptions): Promise<CreateTypeCommandOutput>;
|
|
373
|
-
public createType(args: CreateTypeCommandInput, cb: (err: any, data?: CreateTypeCommandOutput) => void): void;
|
|
374
|
-
public createType(
|
|
375
|
-
args: CreateTypeCommandInput,
|
|
376
|
-
options: __HttpHandlerOptions,
|
|
377
|
-
cb: (err: any, data?: CreateTypeCommandOutput) => void
|
|
378
|
-
): void;
|
|
379
|
-
public createType(
|
|
380
|
-
args: CreateTypeCommandInput,
|
|
381
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateTypeCommandOutput) => void),
|
|
382
|
-
cb?: (err: any, data?: CreateTypeCommandOutput) => void
|
|
383
|
-
): Promise<CreateTypeCommandOutput> | void {
|
|
384
|
-
const command = new CreateTypeCommand(args);
|
|
385
|
-
if (typeof optionsOrCb === "function") {
|
|
386
|
-
this.send(command, optionsOrCb);
|
|
387
|
-
} else if (typeof cb === "function") {
|
|
388
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
389
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
390
|
-
} else {
|
|
391
|
-
return this.send(command, optionsOrCb);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* <p>Deletes an <code>ApiCache</code> object.</p>
|
|
397
|
-
*/
|
|
398
|
-
public deleteApiCache(
|
|
399
|
-
args: DeleteApiCacheCommandInput,
|
|
400
|
-
options?: __HttpHandlerOptions
|
|
401
|
-
): Promise<DeleteApiCacheCommandOutput>;
|
|
402
|
-
public deleteApiCache(
|
|
403
|
-
args: DeleteApiCacheCommandInput,
|
|
404
|
-
cb: (err: any, data?: DeleteApiCacheCommandOutput) => void
|
|
405
|
-
): void;
|
|
406
|
-
public deleteApiCache(
|
|
407
|
-
args: DeleteApiCacheCommandInput,
|
|
408
|
-
options: __HttpHandlerOptions,
|
|
409
|
-
cb: (err: any, data?: DeleteApiCacheCommandOutput) => void
|
|
410
|
-
): void;
|
|
411
|
-
public deleteApiCache(
|
|
412
|
-
args: DeleteApiCacheCommandInput,
|
|
413
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApiCacheCommandOutput) => void),
|
|
414
|
-
cb?: (err: any, data?: DeleteApiCacheCommandOutput) => void
|
|
415
|
-
): Promise<DeleteApiCacheCommandOutput> | void {
|
|
416
|
-
const command = new DeleteApiCacheCommand(args);
|
|
417
|
-
if (typeof optionsOrCb === "function") {
|
|
418
|
-
this.send(command, optionsOrCb);
|
|
419
|
-
} else if (typeof cb === "function") {
|
|
420
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
421
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
422
|
-
} else {
|
|
423
|
-
return this.send(command, optionsOrCb);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* <p>Deletes an API key.</p>
|
|
429
|
-
*/
|
|
430
|
-
public deleteApiKey(
|
|
431
|
-
args: DeleteApiKeyCommandInput,
|
|
432
|
-
options?: __HttpHandlerOptions
|
|
433
|
-
): Promise<DeleteApiKeyCommandOutput>;
|
|
434
|
-
public deleteApiKey(args: DeleteApiKeyCommandInput, cb: (err: any, data?: DeleteApiKeyCommandOutput) => void): void;
|
|
435
|
-
public deleteApiKey(
|
|
436
|
-
args: DeleteApiKeyCommandInput,
|
|
437
|
-
options: __HttpHandlerOptions,
|
|
438
|
-
cb: (err: any, data?: DeleteApiKeyCommandOutput) => void
|
|
439
|
-
): void;
|
|
440
|
-
public deleteApiKey(
|
|
441
|
-
args: DeleteApiKeyCommandInput,
|
|
442
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApiKeyCommandOutput) => void),
|
|
443
|
-
cb?: (err: any, data?: DeleteApiKeyCommandOutput) => void
|
|
444
|
-
): Promise<DeleteApiKeyCommandOutput> | void {
|
|
445
|
-
const command = new DeleteApiKeyCommand(args);
|
|
446
|
-
if (typeof optionsOrCb === "function") {
|
|
447
|
-
this.send(command, optionsOrCb);
|
|
448
|
-
} else if (typeof cb === "function") {
|
|
449
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
450
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
451
|
-
} else {
|
|
452
|
-
return this.send(command, optionsOrCb);
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* <p>Deletes a <code>DataSource</code> object.</p>
|
|
458
|
-
*/
|
|
459
|
-
public deleteDataSource(
|
|
460
|
-
args: DeleteDataSourceCommandInput,
|
|
461
|
-
options?: __HttpHandlerOptions
|
|
462
|
-
): Promise<DeleteDataSourceCommandOutput>;
|
|
463
|
-
public deleteDataSource(
|
|
464
|
-
args: DeleteDataSourceCommandInput,
|
|
465
|
-
cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
|
|
466
|
-
): void;
|
|
467
|
-
public deleteDataSource(
|
|
468
|
-
args: DeleteDataSourceCommandInput,
|
|
469
|
-
options: __HttpHandlerOptions,
|
|
470
|
-
cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
|
|
471
|
-
): void;
|
|
472
|
-
public deleteDataSource(
|
|
473
|
-
args: DeleteDataSourceCommandInput,
|
|
474
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDataSourceCommandOutput) => void),
|
|
475
|
-
cb?: (err: any, data?: DeleteDataSourceCommandOutput) => void
|
|
476
|
-
): Promise<DeleteDataSourceCommandOutput> | void {
|
|
477
|
-
const command = new DeleteDataSourceCommand(args);
|
|
478
|
-
if (typeof optionsOrCb === "function") {
|
|
479
|
-
this.send(command, optionsOrCb);
|
|
480
|
-
} else if (typeof cb === "function") {
|
|
481
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
482
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
483
|
-
} else {
|
|
484
|
-
return this.send(command, optionsOrCb);
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* <p>Deletes a <code>Function</code>.</p>
|
|
490
|
-
*/
|
|
491
|
-
public deleteFunction(
|
|
492
|
-
args: DeleteFunctionCommandInput,
|
|
493
|
-
options?: __HttpHandlerOptions
|
|
494
|
-
): Promise<DeleteFunctionCommandOutput>;
|
|
495
|
-
public deleteFunction(
|
|
496
|
-
args: DeleteFunctionCommandInput,
|
|
497
|
-
cb: (err: any, data?: DeleteFunctionCommandOutput) => void
|
|
498
|
-
): void;
|
|
499
|
-
public deleteFunction(
|
|
500
|
-
args: DeleteFunctionCommandInput,
|
|
501
|
-
options: __HttpHandlerOptions,
|
|
502
|
-
cb: (err: any, data?: DeleteFunctionCommandOutput) => void
|
|
503
|
-
): void;
|
|
504
|
-
public deleteFunction(
|
|
505
|
-
args: DeleteFunctionCommandInput,
|
|
506
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFunctionCommandOutput) => void),
|
|
507
|
-
cb?: (err: any, data?: DeleteFunctionCommandOutput) => void
|
|
508
|
-
): Promise<DeleteFunctionCommandOutput> | void {
|
|
509
|
-
const command = new DeleteFunctionCommand(args);
|
|
510
|
-
if (typeof optionsOrCb === "function") {
|
|
511
|
-
this.send(command, optionsOrCb);
|
|
512
|
-
} else if (typeof cb === "function") {
|
|
513
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
514
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
515
|
-
} else {
|
|
516
|
-
return this.send(command, optionsOrCb);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* <p>Deletes a <code>GraphqlApi</code> object.</p>
|
|
522
|
-
*/
|
|
523
|
-
public deleteGraphqlApi(
|
|
524
|
-
args: DeleteGraphqlApiCommandInput,
|
|
525
|
-
options?: __HttpHandlerOptions
|
|
526
|
-
): Promise<DeleteGraphqlApiCommandOutput>;
|
|
527
|
-
public deleteGraphqlApi(
|
|
528
|
-
args: DeleteGraphqlApiCommandInput,
|
|
529
|
-
cb: (err: any, data?: DeleteGraphqlApiCommandOutput) => void
|
|
530
|
-
): void;
|
|
531
|
-
public deleteGraphqlApi(
|
|
532
|
-
args: DeleteGraphqlApiCommandInput,
|
|
533
|
-
options: __HttpHandlerOptions,
|
|
534
|
-
cb: (err: any, data?: DeleteGraphqlApiCommandOutput) => void
|
|
535
|
-
): void;
|
|
536
|
-
public deleteGraphqlApi(
|
|
537
|
-
args: DeleteGraphqlApiCommandInput,
|
|
538
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteGraphqlApiCommandOutput) => void),
|
|
539
|
-
cb?: (err: any, data?: DeleteGraphqlApiCommandOutput) => void
|
|
540
|
-
): Promise<DeleteGraphqlApiCommandOutput> | void {
|
|
541
|
-
const command = new DeleteGraphqlApiCommand(args);
|
|
542
|
-
if (typeof optionsOrCb === "function") {
|
|
543
|
-
this.send(command, optionsOrCb);
|
|
544
|
-
} else if (typeof cb === "function") {
|
|
545
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
546
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
547
|
-
} else {
|
|
548
|
-
return this.send(command, optionsOrCb);
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* <p>Deletes a <code>Resolver</code> object.</p>
|
|
554
|
-
*/
|
|
555
|
-
public deleteResolver(
|
|
556
|
-
args: DeleteResolverCommandInput,
|
|
557
|
-
options?: __HttpHandlerOptions
|
|
558
|
-
): Promise<DeleteResolverCommandOutput>;
|
|
559
|
-
public deleteResolver(
|
|
560
|
-
args: DeleteResolverCommandInput,
|
|
561
|
-
cb: (err: any, data?: DeleteResolverCommandOutput) => void
|
|
562
|
-
): void;
|
|
563
|
-
public deleteResolver(
|
|
564
|
-
args: DeleteResolverCommandInput,
|
|
565
|
-
options: __HttpHandlerOptions,
|
|
566
|
-
cb: (err: any, data?: DeleteResolverCommandOutput) => void
|
|
567
|
-
): void;
|
|
568
|
-
public deleteResolver(
|
|
569
|
-
args: DeleteResolverCommandInput,
|
|
570
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResolverCommandOutput) => void),
|
|
571
|
-
cb?: (err: any, data?: DeleteResolverCommandOutput) => void
|
|
572
|
-
): Promise<DeleteResolverCommandOutput> | void {
|
|
573
|
-
const command = new DeleteResolverCommand(args);
|
|
574
|
-
if (typeof optionsOrCb === "function") {
|
|
575
|
-
this.send(command, optionsOrCb);
|
|
576
|
-
} else if (typeof cb === "function") {
|
|
577
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
578
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
579
|
-
} else {
|
|
580
|
-
return this.send(command, optionsOrCb);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
/**
|
|
585
|
-
* <p>Deletes a <code>Type</code> object.</p>
|
|
586
|
-
*/
|
|
587
|
-
public deleteType(args: DeleteTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTypeCommandOutput>;
|
|
588
|
-
public deleteType(args: DeleteTypeCommandInput, cb: (err: any, data?: DeleteTypeCommandOutput) => void): void;
|
|
589
|
-
public deleteType(
|
|
590
|
-
args: DeleteTypeCommandInput,
|
|
591
|
-
options: __HttpHandlerOptions,
|
|
592
|
-
cb: (err: any, data?: DeleteTypeCommandOutput) => void
|
|
593
|
-
): void;
|
|
594
|
-
public deleteType(
|
|
595
|
-
args: DeleteTypeCommandInput,
|
|
596
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTypeCommandOutput) => void),
|
|
597
|
-
cb?: (err: any, data?: DeleteTypeCommandOutput) => void
|
|
598
|
-
): Promise<DeleteTypeCommandOutput> | void {
|
|
599
|
-
const command = new DeleteTypeCommand(args);
|
|
600
|
-
if (typeof optionsOrCb === "function") {
|
|
601
|
-
this.send(command, optionsOrCb);
|
|
602
|
-
} else if (typeof cb === "function") {
|
|
603
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
604
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
605
|
-
} else {
|
|
606
|
-
return this.send(command, optionsOrCb);
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
/**
|
|
611
|
-
* <p>Flushes an <code>ApiCache</code> object.</p>
|
|
612
|
-
*/
|
|
613
|
-
public flushApiCache(
|
|
614
|
-
args: FlushApiCacheCommandInput,
|
|
615
|
-
options?: __HttpHandlerOptions
|
|
616
|
-
): Promise<FlushApiCacheCommandOutput>;
|
|
617
|
-
public flushApiCache(
|
|
618
|
-
args: FlushApiCacheCommandInput,
|
|
619
|
-
cb: (err: any, data?: FlushApiCacheCommandOutput) => void
|
|
620
|
-
): void;
|
|
621
|
-
public flushApiCache(
|
|
622
|
-
args: FlushApiCacheCommandInput,
|
|
623
|
-
options: __HttpHandlerOptions,
|
|
624
|
-
cb: (err: any, data?: FlushApiCacheCommandOutput) => void
|
|
625
|
-
): void;
|
|
626
|
-
public flushApiCache(
|
|
627
|
-
args: FlushApiCacheCommandInput,
|
|
628
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: FlushApiCacheCommandOutput) => void),
|
|
629
|
-
cb?: (err: any, data?: FlushApiCacheCommandOutput) => void
|
|
630
|
-
): Promise<FlushApiCacheCommandOutput> | void {
|
|
631
|
-
const command = new FlushApiCacheCommand(args);
|
|
632
|
-
if (typeof optionsOrCb === "function") {
|
|
633
|
-
this.send(command, optionsOrCb);
|
|
634
|
-
} else if (typeof cb === "function") {
|
|
635
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
636
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
637
|
-
} else {
|
|
638
|
-
return this.send(command, optionsOrCb);
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* <p>Retrieves an <code>ApiCache</code> object.</p>
|
|
644
|
-
*/
|
|
645
|
-
public getApiCache(args: GetApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<GetApiCacheCommandOutput>;
|
|
646
|
-
public getApiCache(args: GetApiCacheCommandInput, cb: (err: any, data?: GetApiCacheCommandOutput) => void): void;
|
|
647
|
-
public getApiCache(
|
|
648
|
-
args: GetApiCacheCommandInput,
|
|
649
|
-
options: __HttpHandlerOptions,
|
|
650
|
-
cb: (err: any, data?: GetApiCacheCommandOutput) => void
|
|
651
|
-
): void;
|
|
652
|
-
public getApiCache(
|
|
653
|
-
args: GetApiCacheCommandInput,
|
|
654
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetApiCacheCommandOutput) => void),
|
|
655
|
-
cb?: (err: any, data?: GetApiCacheCommandOutput) => void
|
|
656
|
-
): Promise<GetApiCacheCommandOutput> | void {
|
|
657
|
-
const command = new GetApiCacheCommand(args);
|
|
658
|
-
if (typeof optionsOrCb === "function") {
|
|
659
|
-
this.send(command, optionsOrCb);
|
|
660
|
-
} else if (typeof cb === "function") {
|
|
661
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
662
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
663
|
-
} else {
|
|
664
|
-
return this.send(command, optionsOrCb);
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* <p>Retrieves a <code>DataSource</code> object.</p>
|
|
670
|
-
*/
|
|
671
|
-
public getDataSource(
|
|
672
|
-
args: GetDataSourceCommandInput,
|
|
673
|
-
options?: __HttpHandlerOptions
|
|
674
|
-
): Promise<GetDataSourceCommandOutput>;
|
|
675
|
-
public getDataSource(
|
|
676
|
-
args: GetDataSourceCommandInput,
|
|
677
|
-
cb: (err: any, data?: GetDataSourceCommandOutput) => void
|
|
678
|
-
): void;
|
|
679
|
-
public getDataSource(
|
|
680
|
-
args: GetDataSourceCommandInput,
|
|
681
|
-
options: __HttpHandlerOptions,
|
|
682
|
-
cb: (err: any, data?: GetDataSourceCommandOutput) => void
|
|
683
|
-
): void;
|
|
684
|
-
public getDataSource(
|
|
685
|
-
args: GetDataSourceCommandInput,
|
|
686
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDataSourceCommandOutput) => void),
|
|
687
|
-
cb?: (err: any, data?: GetDataSourceCommandOutput) => void
|
|
688
|
-
): Promise<GetDataSourceCommandOutput> | void {
|
|
689
|
-
const command = new GetDataSourceCommand(args);
|
|
690
|
-
if (typeof optionsOrCb === "function") {
|
|
691
|
-
this.send(command, optionsOrCb);
|
|
692
|
-
} else if (typeof cb === "function") {
|
|
693
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
694
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
695
|
-
} else {
|
|
696
|
-
return this.send(command, optionsOrCb);
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* <p>Get a <code>Function</code>.</p>
|
|
702
|
-
*/
|
|
703
|
-
public getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCommandOutput>;
|
|
704
|
-
public getFunction(args: GetFunctionCommandInput, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
|
|
705
|
-
public getFunction(
|
|
706
|
-
args: GetFunctionCommandInput,
|
|
707
|
-
options: __HttpHandlerOptions,
|
|
708
|
-
cb: (err: any, data?: GetFunctionCommandOutput) => void
|
|
709
|
-
): void;
|
|
710
|
-
public getFunction(
|
|
711
|
-
args: GetFunctionCommandInput,
|
|
712
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFunctionCommandOutput) => void),
|
|
713
|
-
cb?: (err: any, data?: GetFunctionCommandOutput) => void
|
|
714
|
-
): Promise<GetFunctionCommandOutput> | void {
|
|
715
|
-
const command = new GetFunctionCommand(args);
|
|
716
|
-
if (typeof optionsOrCb === "function") {
|
|
717
|
-
this.send(command, optionsOrCb);
|
|
718
|
-
} else if (typeof cb === "function") {
|
|
719
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
720
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
721
|
-
} else {
|
|
722
|
-
return this.send(command, optionsOrCb);
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* <p>Retrieves a <code>GraphqlApi</code> object.</p>
|
|
728
|
-
*/
|
|
729
|
-
public getGraphqlApi(
|
|
730
|
-
args: GetGraphqlApiCommandInput,
|
|
731
|
-
options?: __HttpHandlerOptions
|
|
732
|
-
): Promise<GetGraphqlApiCommandOutput>;
|
|
733
|
-
public getGraphqlApi(
|
|
734
|
-
args: GetGraphqlApiCommandInput,
|
|
735
|
-
cb: (err: any, data?: GetGraphqlApiCommandOutput) => void
|
|
736
|
-
): void;
|
|
737
|
-
public getGraphqlApi(
|
|
738
|
-
args: GetGraphqlApiCommandInput,
|
|
739
|
-
options: __HttpHandlerOptions,
|
|
740
|
-
cb: (err: any, data?: GetGraphqlApiCommandOutput) => void
|
|
741
|
-
): void;
|
|
742
|
-
public getGraphqlApi(
|
|
743
|
-
args: GetGraphqlApiCommandInput,
|
|
744
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetGraphqlApiCommandOutput) => void),
|
|
745
|
-
cb?: (err: any, data?: GetGraphqlApiCommandOutput) => void
|
|
746
|
-
): Promise<GetGraphqlApiCommandOutput> | void {
|
|
747
|
-
const command = new GetGraphqlApiCommand(args);
|
|
748
|
-
if (typeof optionsOrCb === "function") {
|
|
749
|
-
this.send(command, optionsOrCb);
|
|
750
|
-
} else if (typeof cb === "function") {
|
|
751
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
752
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
753
|
-
} else {
|
|
754
|
-
return this.send(command, optionsOrCb);
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
/**
|
|
759
|
-
* <p>Retrieves the introspection schema for a GraphQL API.</p>
|
|
760
|
-
*/
|
|
761
|
-
public getIntrospectionSchema(
|
|
762
|
-
args: GetIntrospectionSchemaCommandInput,
|
|
763
|
-
options?: __HttpHandlerOptions
|
|
764
|
-
): Promise<GetIntrospectionSchemaCommandOutput>;
|
|
765
|
-
public getIntrospectionSchema(
|
|
766
|
-
args: GetIntrospectionSchemaCommandInput,
|
|
767
|
-
cb: (err: any, data?: GetIntrospectionSchemaCommandOutput) => void
|
|
768
|
-
): void;
|
|
769
|
-
public getIntrospectionSchema(
|
|
770
|
-
args: GetIntrospectionSchemaCommandInput,
|
|
771
|
-
options: __HttpHandlerOptions,
|
|
772
|
-
cb: (err: any, data?: GetIntrospectionSchemaCommandOutput) => void
|
|
773
|
-
): void;
|
|
774
|
-
public getIntrospectionSchema(
|
|
775
|
-
args: GetIntrospectionSchemaCommandInput,
|
|
776
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetIntrospectionSchemaCommandOutput) => void),
|
|
777
|
-
cb?: (err: any, data?: GetIntrospectionSchemaCommandOutput) => void
|
|
778
|
-
): Promise<GetIntrospectionSchemaCommandOutput> | void {
|
|
779
|
-
const command = new GetIntrospectionSchemaCommand(args);
|
|
780
|
-
if (typeof optionsOrCb === "function") {
|
|
781
|
-
this.send(command, optionsOrCb);
|
|
782
|
-
} else if (typeof cb === "function") {
|
|
783
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
784
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
785
|
-
} else {
|
|
786
|
-
return this.send(command, optionsOrCb);
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
/**
|
|
791
|
-
* <p>Retrieves a <code>Resolver</code> object.</p>
|
|
792
|
-
*/
|
|
793
|
-
public getResolver(args: GetResolverCommandInput, options?: __HttpHandlerOptions): Promise<GetResolverCommandOutput>;
|
|
794
|
-
public getResolver(args: GetResolverCommandInput, cb: (err: any, data?: GetResolverCommandOutput) => void): void;
|
|
795
|
-
public getResolver(
|
|
796
|
-
args: GetResolverCommandInput,
|
|
797
|
-
options: __HttpHandlerOptions,
|
|
798
|
-
cb: (err: any, data?: GetResolverCommandOutput) => void
|
|
799
|
-
): void;
|
|
800
|
-
public getResolver(
|
|
801
|
-
args: GetResolverCommandInput,
|
|
802
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetResolverCommandOutput) => void),
|
|
803
|
-
cb?: (err: any, data?: GetResolverCommandOutput) => void
|
|
804
|
-
): Promise<GetResolverCommandOutput> | void {
|
|
805
|
-
const command = new GetResolverCommand(args);
|
|
806
|
-
if (typeof optionsOrCb === "function") {
|
|
807
|
-
this.send(command, optionsOrCb);
|
|
808
|
-
} else if (typeof cb === "function") {
|
|
809
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
810
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
811
|
-
} else {
|
|
812
|
-
return this.send(command, optionsOrCb);
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
/**
|
|
817
|
-
* <p>Retrieves the current status of a schema creation operation.</p>
|
|
818
|
-
*/
|
|
819
|
-
public getSchemaCreationStatus(
|
|
820
|
-
args: GetSchemaCreationStatusCommandInput,
|
|
821
|
-
options?: __HttpHandlerOptions
|
|
822
|
-
): Promise<GetSchemaCreationStatusCommandOutput>;
|
|
823
|
-
public getSchemaCreationStatus(
|
|
824
|
-
args: GetSchemaCreationStatusCommandInput,
|
|
825
|
-
cb: (err: any, data?: GetSchemaCreationStatusCommandOutput) => void
|
|
826
|
-
): void;
|
|
827
|
-
public getSchemaCreationStatus(
|
|
828
|
-
args: GetSchemaCreationStatusCommandInput,
|
|
829
|
-
options: __HttpHandlerOptions,
|
|
830
|
-
cb: (err: any, data?: GetSchemaCreationStatusCommandOutput) => void
|
|
831
|
-
): void;
|
|
832
|
-
public getSchemaCreationStatus(
|
|
833
|
-
args: GetSchemaCreationStatusCommandInput,
|
|
834
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSchemaCreationStatusCommandOutput) => void),
|
|
835
|
-
cb?: (err: any, data?: GetSchemaCreationStatusCommandOutput) => void
|
|
836
|
-
): Promise<GetSchemaCreationStatusCommandOutput> | void {
|
|
837
|
-
const command = new GetSchemaCreationStatusCommand(args);
|
|
838
|
-
if (typeof optionsOrCb === "function") {
|
|
839
|
-
this.send(command, optionsOrCb);
|
|
840
|
-
} else if (typeof cb === "function") {
|
|
841
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
842
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
843
|
-
} else {
|
|
844
|
-
return this.send(command, optionsOrCb);
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* <p>Retrieves a <code>Type</code> object.</p>
|
|
850
|
-
*/
|
|
851
|
-
public getType(args: GetTypeCommandInput, options?: __HttpHandlerOptions): Promise<GetTypeCommandOutput>;
|
|
852
|
-
public getType(args: GetTypeCommandInput, cb: (err: any, data?: GetTypeCommandOutput) => void): void;
|
|
853
|
-
public getType(
|
|
854
|
-
args: GetTypeCommandInput,
|
|
855
|
-
options: __HttpHandlerOptions,
|
|
856
|
-
cb: (err: any, data?: GetTypeCommandOutput) => void
|
|
857
|
-
): void;
|
|
858
|
-
public getType(
|
|
859
|
-
args: GetTypeCommandInput,
|
|
860
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetTypeCommandOutput) => void),
|
|
861
|
-
cb?: (err: any, data?: GetTypeCommandOutput) => void
|
|
862
|
-
): Promise<GetTypeCommandOutput> | void {
|
|
863
|
-
const command = new GetTypeCommand(args);
|
|
864
|
-
if (typeof optionsOrCb === "function") {
|
|
865
|
-
this.send(command, optionsOrCb);
|
|
866
|
-
} else if (typeof cb === "function") {
|
|
867
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
868
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
869
|
-
} else {
|
|
870
|
-
return this.send(command, optionsOrCb);
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
/**
|
|
875
|
-
* <p>Lists the API keys for a given API.</p>
|
|
876
|
-
* <note>
|
|
877
|
-
* <p>API keys are deleted automatically 60 days after they expire. However, they may still
|
|
878
|
-
* be included in the response until they have actually been deleted. You can safely call
|
|
879
|
-
* <code>DeleteApiKey</code> to manually delete a key before it's automatically
|
|
880
|
-
* deleted.</p>
|
|
881
|
-
* </note>
|
|
882
|
-
*/
|
|
883
|
-
public listApiKeys(args: ListApiKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListApiKeysCommandOutput>;
|
|
884
|
-
public listApiKeys(args: ListApiKeysCommandInput, cb: (err: any, data?: ListApiKeysCommandOutput) => void): void;
|
|
885
|
-
public listApiKeys(
|
|
886
|
-
args: ListApiKeysCommandInput,
|
|
887
|
-
options: __HttpHandlerOptions,
|
|
888
|
-
cb: (err: any, data?: ListApiKeysCommandOutput) => void
|
|
889
|
-
): void;
|
|
890
|
-
public listApiKeys(
|
|
891
|
-
args: ListApiKeysCommandInput,
|
|
892
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApiKeysCommandOutput) => void),
|
|
893
|
-
cb?: (err: any, data?: ListApiKeysCommandOutput) => void
|
|
894
|
-
): Promise<ListApiKeysCommandOutput> | void {
|
|
895
|
-
const command = new ListApiKeysCommand(args);
|
|
896
|
-
if (typeof optionsOrCb === "function") {
|
|
897
|
-
this.send(command, optionsOrCb);
|
|
898
|
-
} else if (typeof cb === "function") {
|
|
899
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
900
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
901
|
-
} else {
|
|
902
|
-
return this.send(command, optionsOrCb);
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
/**
|
|
907
|
-
* <p>Lists the data sources for a given API.</p>
|
|
908
|
-
*/
|
|
909
|
-
public listDataSources(
|
|
910
|
-
args: ListDataSourcesCommandInput,
|
|
911
|
-
options?: __HttpHandlerOptions
|
|
912
|
-
): Promise<ListDataSourcesCommandOutput>;
|
|
913
|
-
public listDataSources(
|
|
914
|
-
args: ListDataSourcesCommandInput,
|
|
915
|
-
cb: (err: any, data?: ListDataSourcesCommandOutput) => void
|
|
916
|
-
): void;
|
|
917
|
-
public listDataSources(
|
|
918
|
-
args: ListDataSourcesCommandInput,
|
|
919
|
-
options: __HttpHandlerOptions,
|
|
920
|
-
cb: (err: any, data?: ListDataSourcesCommandOutput) => void
|
|
921
|
-
): void;
|
|
922
|
-
public listDataSources(
|
|
923
|
-
args: ListDataSourcesCommandInput,
|
|
924
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDataSourcesCommandOutput) => void),
|
|
925
|
-
cb?: (err: any, data?: ListDataSourcesCommandOutput) => void
|
|
926
|
-
): Promise<ListDataSourcesCommandOutput> | void {
|
|
927
|
-
const command = new ListDataSourcesCommand(args);
|
|
928
|
-
if (typeof optionsOrCb === "function") {
|
|
929
|
-
this.send(command, optionsOrCb);
|
|
930
|
-
} else if (typeof cb === "function") {
|
|
931
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
932
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
933
|
-
} else {
|
|
934
|
-
return this.send(command, optionsOrCb);
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
/**
|
|
939
|
-
* <p>List multiple functions.</p>
|
|
940
|
-
*/
|
|
941
|
-
public listFunctions(
|
|
942
|
-
args: ListFunctionsCommandInput,
|
|
943
|
-
options?: __HttpHandlerOptions
|
|
944
|
-
): Promise<ListFunctionsCommandOutput>;
|
|
945
|
-
public listFunctions(
|
|
946
|
-
args: ListFunctionsCommandInput,
|
|
947
|
-
cb: (err: any, data?: ListFunctionsCommandOutput) => void
|
|
948
|
-
): void;
|
|
949
|
-
public listFunctions(
|
|
950
|
-
args: ListFunctionsCommandInput,
|
|
951
|
-
options: __HttpHandlerOptions,
|
|
952
|
-
cb: (err: any, data?: ListFunctionsCommandOutput) => void
|
|
953
|
-
): void;
|
|
954
|
-
public listFunctions(
|
|
955
|
-
args: ListFunctionsCommandInput,
|
|
956
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFunctionsCommandOutput) => void),
|
|
957
|
-
cb?: (err: any, data?: ListFunctionsCommandOutput) => void
|
|
958
|
-
): Promise<ListFunctionsCommandOutput> | void {
|
|
959
|
-
const command = new ListFunctionsCommand(args);
|
|
960
|
-
if (typeof optionsOrCb === "function") {
|
|
961
|
-
this.send(command, optionsOrCb);
|
|
962
|
-
} else if (typeof cb === "function") {
|
|
963
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
964
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
965
|
-
} else {
|
|
966
|
-
return this.send(command, optionsOrCb);
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
/**
|
|
971
|
-
* <p>Lists your GraphQL APIs.</p>
|
|
972
|
-
*/
|
|
973
|
-
public listGraphqlApis(
|
|
974
|
-
args: ListGraphqlApisCommandInput,
|
|
975
|
-
options?: __HttpHandlerOptions
|
|
976
|
-
): Promise<ListGraphqlApisCommandOutput>;
|
|
977
|
-
public listGraphqlApis(
|
|
978
|
-
args: ListGraphqlApisCommandInput,
|
|
979
|
-
cb: (err: any, data?: ListGraphqlApisCommandOutput) => void
|
|
980
|
-
): void;
|
|
981
|
-
public listGraphqlApis(
|
|
982
|
-
args: ListGraphqlApisCommandInput,
|
|
983
|
-
options: __HttpHandlerOptions,
|
|
984
|
-
cb: (err: any, data?: ListGraphqlApisCommandOutput) => void
|
|
985
|
-
): void;
|
|
986
|
-
public listGraphqlApis(
|
|
987
|
-
args: ListGraphqlApisCommandInput,
|
|
988
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGraphqlApisCommandOutput) => void),
|
|
989
|
-
cb?: (err: any, data?: ListGraphqlApisCommandOutput) => void
|
|
990
|
-
): Promise<ListGraphqlApisCommandOutput> | void {
|
|
991
|
-
const command = new ListGraphqlApisCommand(args);
|
|
992
|
-
if (typeof optionsOrCb === "function") {
|
|
993
|
-
this.send(command, optionsOrCb);
|
|
994
|
-
} else if (typeof cb === "function") {
|
|
995
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
996
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
997
|
-
} else {
|
|
998
|
-
return this.send(command, optionsOrCb);
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
/**
|
|
1003
|
-
* <p>Lists the resolvers for a given API and type.</p>
|
|
1004
|
-
*/
|
|
1005
|
-
public listResolvers(
|
|
1006
|
-
args: ListResolversCommandInput,
|
|
1007
|
-
options?: __HttpHandlerOptions
|
|
1008
|
-
): Promise<ListResolversCommandOutput>;
|
|
1009
|
-
public listResolvers(
|
|
1010
|
-
args: ListResolversCommandInput,
|
|
1011
|
-
cb: (err: any, data?: ListResolversCommandOutput) => void
|
|
1012
|
-
): void;
|
|
1013
|
-
public listResolvers(
|
|
1014
|
-
args: ListResolversCommandInput,
|
|
1015
|
-
options: __HttpHandlerOptions,
|
|
1016
|
-
cb: (err: any, data?: ListResolversCommandOutput) => void
|
|
1017
|
-
): void;
|
|
1018
|
-
public listResolvers(
|
|
1019
|
-
args: ListResolversCommandInput,
|
|
1020
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResolversCommandOutput) => void),
|
|
1021
|
-
cb?: (err: any, data?: ListResolversCommandOutput) => void
|
|
1022
|
-
): Promise<ListResolversCommandOutput> | void {
|
|
1023
|
-
const command = new ListResolversCommand(args);
|
|
1024
|
-
if (typeof optionsOrCb === "function") {
|
|
1025
|
-
this.send(command, optionsOrCb);
|
|
1026
|
-
} else if (typeof cb === "function") {
|
|
1027
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1028
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1029
|
-
} else {
|
|
1030
|
-
return this.send(command, optionsOrCb);
|
|
1031
|
-
}
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* <p>List the resolvers that are associated with a specific function.</p>
|
|
1036
|
-
*/
|
|
1037
|
-
public listResolversByFunction(
|
|
1038
|
-
args: ListResolversByFunctionCommandInput,
|
|
1039
|
-
options?: __HttpHandlerOptions
|
|
1040
|
-
): Promise<ListResolversByFunctionCommandOutput>;
|
|
1041
|
-
public listResolversByFunction(
|
|
1042
|
-
args: ListResolversByFunctionCommandInput,
|
|
1043
|
-
cb: (err: any, data?: ListResolversByFunctionCommandOutput) => void
|
|
1044
|
-
): void;
|
|
1045
|
-
public listResolversByFunction(
|
|
1046
|
-
args: ListResolversByFunctionCommandInput,
|
|
1047
|
-
options: __HttpHandlerOptions,
|
|
1048
|
-
cb: (err: any, data?: ListResolversByFunctionCommandOutput) => void
|
|
1049
|
-
): void;
|
|
1050
|
-
public listResolversByFunction(
|
|
1051
|
-
args: ListResolversByFunctionCommandInput,
|
|
1052
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResolversByFunctionCommandOutput) => void),
|
|
1053
|
-
cb?: (err: any, data?: ListResolversByFunctionCommandOutput) => void
|
|
1054
|
-
): Promise<ListResolversByFunctionCommandOutput> | void {
|
|
1055
|
-
const command = new ListResolversByFunctionCommand(args);
|
|
1056
|
-
if (typeof optionsOrCb === "function") {
|
|
1057
|
-
this.send(command, optionsOrCb);
|
|
1058
|
-
} else if (typeof cb === "function") {
|
|
1059
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1060
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1061
|
-
} else {
|
|
1062
|
-
return this.send(command, optionsOrCb);
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* <p>Lists the tags for a resource.</p>
|
|
1068
|
-
*/
|
|
1069
|
-
public listTagsForResource(
|
|
1070
|
-
args: ListTagsForResourceCommandInput,
|
|
1071
|
-
options?: __HttpHandlerOptions
|
|
1072
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
1073
|
-
public listTagsForResource(
|
|
1074
|
-
args: ListTagsForResourceCommandInput,
|
|
1075
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1076
|
-
): void;
|
|
1077
|
-
public listTagsForResource(
|
|
1078
|
-
args: ListTagsForResourceCommandInput,
|
|
1079
|
-
options: __HttpHandlerOptions,
|
|
1080
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1081
|
-
): void;
|
|
1082
|
-
public listTagsForResource(
|
|
1083
|
-
args: ListTagsForResourceCommandInput,
|
|
1084
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
1085
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1086
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
1087
|
-
const command = new ListTagsForResourceCommand(args);
|
|
1088
|
-
if (typeof optionsOrCb === "function") {
|
|
1089
|
-
this.send(command, optionsOrCb);
|
|
1090
|
-
} else if (typeof cb === "function") {
|
|
1091
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1092
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1093
|
-
} else {
|
|
1094
|
-
return this.send(command, optionsOrCb);
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* <p>Lists the types for a given API.</p>
|
|
1100
|
-
*/
|
|
1101
|
-
public listTypes(args: ListTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListTypesCommandOutput>;
|
|
1102
|
-
public listTypes(args: ListTypesCommandInput, cb: (err: any, data?: ListTypesCommandOutput) => void): void;
|
|
1103
|
-
public listTypes(
|
|
1104
|
-
args: ListTypesCommandInput,
|
|
1105
|
-
options: __HttpHandlerOptions,
|
|
1106
|
-
cb: (err: any, data?: ListTypesCommandOutput) => void
|
|
1107
|
-
): void;
|
|
1108
|
-
public listTypes(
|
|
1109
|
-
args: ListTypesCommandInput,
|
|
1110
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTypesCommandOutput) => void),
|
|
1111
|
-
cb?: (err: any, data?: ListTypesCommandOutput) => void
|
|
1112
|
-
): Promise<ListTypesCommandOutput> | void {
|
|
1113
|
-
const command = new ListTypesCommand(args);
|
|
1114
|
-
if (typeof optionsOrCb === "function") {
|
|
1115
|
-
this.send(command, optionsOrCb);
|
|
1116
|
-
} else if (typeof cb === "function") {
|
|
1117
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1118
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1119
|
-
} else {
|
|
1120
|
-
return this.send(command, optionsOrCb);
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
/**
|
|
1125
|
-
* <p>Adds a new schema to your GraphQL API.</p>
|
|
1126
|
-
* <p>This operation is asynchronous. Use to
|
|
1127
|
-
* determine when it has completed.</p>
|
|
1128
|
-
*/
|
|
1129
|
-
public startSchemaCreation(
|
|
1130
|
-
args: StartSchemaCreationCommandInput,
|
|
1131
|
-
options?: __HttpHandlerOptions
|
|
1132
|
-
): Promise<StartSchemaCreationCommandOutput>;
|
|
1133
|
-
public startSchemaCreation(
|
|
1134
|
-
args: StartSchemaCreationCommandInput,
|
|
1135
|
-
cb: (err: any, data?: StartSchemaCreationCommandOutput) => void
|
|
1136
|
-
): void;
|
|
1137
|
-
public startSchemaCreation(
|
|
1138
|
-
args: StartSchemaCreationCommandInput,
|
|
1139
|
-
options: __HttpHandlerOptions,
|
|
1140
|
-
cb: (err: any, data?: StartSchemaCreationCommandOutput) => void
|
|
1141
|
-
): void;
|
|
1142
|
-
public startSchemaCreation(
|
|
1143
|
-
args: StartSchemaCreationCommandInput,
|
|
1144
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartSchemaCreationCommandOutput) => void),
|
|
1145
|
-
cb?: (err: any, data?: StartSchemaCreationCommandOutput) => void
|
|
1146
|
-
): Promise<StartSchemaCreationCommandOutput> | void {
|
|
1147
|
-
const command = new StartSchemaCreationCommand(args);
|
|
1148
|
-
if (typeof optionsOrCb === "function") {
|
|
1149
|
-
this.send(command, optionsOrCb);
|
|
1150
|
-
} else if (typeof cb === "function") {
|
|
1151
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1152
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1153
|
-
} else {
|
|
1154
|
-
return this.send(command, optionsOrCb);
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
/**
|
|
1159
|
-
* <p>Tags a resource with user-supplied tags.</p>
|
|
1160
|
-
*/
|
|
1161
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1162
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1163
|
-
public tagResource(
|
|
1164
|
-
args: TagResourceCommandInput,
|
|
1165
|
-
options: __HttpHandlerOptions,
|
|
1166
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1167
|
-
): void;
|
|
1168
|
-
public tagResource(
|
|
1169
|
-
args: TagResourceCommandInput,
|
|
1170
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1171
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1172
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1173
|
-
const command = new TagResourceCommand(args);
|
|
1174
|
-
if (typeof optionsOrCb === "function") {
|
|
1175
|
-
this.send(command, optionsOrCb);
|
|
1176
|
-
} else if (typeof cb === "function") {
|
|
1177
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1178
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1179
|
-
} else {
|
|
1180
|
-
return this.send(command, optionsOrCb);
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
/**
|
|
1185
|
-
* <p>Untags a resource.</p>
|
|
1186
|
-
*/
|
|
1187
|
-
public untagResource(
|
|
1188
|
-
args: UntagResourceCommandInput,
|
|
1189
|
-
options?: __HttpHandlerOptions
|
|
1190
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1191
|
-
public untagResource(
|
|
1192
|
-
args: UntagResourceCommandInput,
|
|
1193
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1194
|
-
): void;
|
|
1195
|
-
public untagResource(
|
|
1196
|
-
args: UntagResourceCommandInput,
|
|
1197
|
-
options: __HttpHandlerOptions,
|
|
1198
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1199
|
-
): void;
|
|
1200
|
-
public untagResource(
|
|
1201
|
-
args: UntagResourceCommandInput,
|
|
1202
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1203
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1204
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1205
|
-
const command = new UntagResourceCommand(args);
|
|
1206
|
-
if (typeof optionsOrCb === "function") {
|
|
1207
|
-
this.send(command, optionsOrCb);
|
|
1208
|
-
} else if (typeof cb === "function") {
|
|
1209
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1210
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1211
|
-
} else {
|
|
1212
|
-
return this.send(command, optionsOrCb);
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
/**
|
|
1217
|
-
* <p>Updates the cache for the GraphQL API.</p>
|
|
1218
|
-
*/
|
|
1219
|
-
public updateApiCache(
|
|
1220
|
-
args: UpdateApiCacheCommandInput,
|
|
1221
|
-
options?: __HttpHandlerOptions
|
|
1222
|
-
): Promise<UpdateApiCacheCommandOutput>;
|
|
1223
|
-
public updateApiCache(
|
|
1224
|
-
args: UpdateApiCacheCommandInput,
|
|
1225
|
-
cb: (err: any, data?: UpdateApiCacheCommandOutput) => void
|
|
1226
|
-
): void;
|
|
1227
|
-
public updateApiCache(
|
|
1228
|
-
args: UpdateApiCacheCommandInput,
|
|
1229
|
-
options: __HttpHandlerOptions,
|
|
1230
|
-
cb: (err: any, data?: UpdateApiCacheCommandOutput) => void
|
|
1231
|
-
): void;
|
|
1232
|
-
public updateApiCache(
|
|
1233
|
-
args: UpdateApiCacheCommandInput,
|
|
1234
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateApiCacheCommandOutput) => void),
|
|
1235
|
-
cb?: (err: any, data?: UpdateApiCacheCommandOutput) => void
|
|
1236
|
-
): Promise<UpdateApiCacheCommandOutput> | void {
|
|
1237
|
-
const command = new UpdateApiCacheCommand(args);
|
|
1238
|
-
if (typeof optionsOrCb === "function") {
|
|
1239
|
-
this.send(command, optionsOrCb);
|
|
1240
|
-
} else if (typeof cb === "function") {
|
|
1241
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1242
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1243
|
-
} else {
|
|
1244
|
-
return this.send(command, optionsOrCb);
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* <p>Updates an API key. The key can be updated while it is not deleted.</p>
|
|
1250
|
-
*/
|
|
1251
|
-
public updateApiKey(
|
|
1252
|
-
args: UpdateApiKeyCommandInput,
|
|
1253
|
-
options?: __HttpHandlerOptions
|
|
1254
|
-
): Promise<UpdateApiKeyCommandOutput>;
|
|
1255
|
-
public updateApiKey(args: UpdateApiKeyCommandInput, cb: (err: any, data?: UpdateApiKeyCommandOutput) => void): void;
|
|
1256
|
-
public updateApiKey(
|
|
1257
|
-
args: UpdateApiKeyCommandInput,
|
|
1258
|
-
options: __HttpHandlerOptions,
|
|
1259
|
-
cb: (err: any, data?: UpdateApiKeyCommandOutput) => void
|
|
1260
|
-
): void;
|
|
1261
|
-
public updateApiKey(
|
|
1262
|
-
args: UpdateApiKeyCommandInput,
|
|
1263
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateApiKeyCommandOutput) => void),
|
|
1264
|
-
cb?: (err: any, data?: UpdateApiKeyCommandOutput) => void
|
|
1265
|
-
): Promise<UpdateApiKeyCommandOutput> | void {
|
|
1266
|
-
const command = new UpdateApiKeyCommand(args);
|
|
1267
|
-
if (typeof optionsOrCb === "function") {
|
|
1268
|
-
this.send(command, optionsOrCb);
|
|
1269
|
-
} else if (typeof cb === "function") {
|
|
1270
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1271
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1272
|
-
} else {
|
|
1273
|
-
return this.send(command, optionsOrCb);
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
/**
|
|
1278
|
-
* <p>Updates a <code>DataSource</code> object.</p>
|
|
1279
|
-
*/
|
|
1280
|
-
public updateDataSource(
|
|
1281
|
-
args: UpdateDataSourceCommandInput,
|
|
1282
|
-
options?: __HttpHandlerOptions
|
|
1283
|
-
): Promise<UpdateDataSourceCommandOutput>;
|
|
1284
|
-
public updateDataSource(
|
|
1285
|
-
args: UpdateDataSourceCommandInput,
|
|
1286
|
-
cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
|
|
1287
|
-
): void;
|
|
1288
|
-
public updateDataSource(
|
|
1289
|
-
args: UpdateDataSourceCommandInput,
|
|
1290
|
-
options: __HttpHandlerOptions,
|
|
1291
|
-
cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
|
|
1292
|
-
): void;
|
|
1293
|
-
public updateDataSource(
|
|
1294
|
-
args: UpdateDataSourceCommandInput,
|
|
1295
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDataSourceCommandOutput) => void),
|
|
1296
|
-
cb?: (err: any, data?: UpdateDataSourceCommandOutput) => void
|
|
1297
|
-
): Promise<UpdateDataSourceCommandOutput> | void {
|
|
1298
|
-
const command = new UpdateDataSourceCommand(args);
|
|
1299
|
-
if (typeof optionsOrCb === "function") {
|
|
1300
|
-
this.send(command, optionsOrCb);
|
|
1301
|
-
} else if (typeof cb === "function") {
|
|
1302
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1303
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1304
|
-
} else {
|
|
1305
|
-
return this.send(command, optionsOrCb);
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
|
-
/**
|
|
1310
|
-
* <p>Updates a <code>Function</code> object.</p>
|
|
1311
|
-
*/
|
|
1312
|
-
public updateFunction(
|
|
1313
|
-
args: UpdateFunctionCommandInput,
|
|
1314
|
-
options?: __HttpHandlerOptions
|
|
1315
|
-
): Promise<UpdateFunctionCommandOutput>;
|
|
1316
|
-
public updateFunction(
|
|
1317
|
-
args: UpdateFunctionCommandInput,
|
|
1318
|
-
cb: (err: any, data?: UpdateFunctionCommandOutput) => void
|
|
1319
|
-
): void;
|
|
1320
|
-
public updateFunction(
|
|
1321
|
-
args: UpdateFunctionCommandInput,
|
|
1322
|
-
options: __HttpHandlerOptions,
|
|
1323
|
-
cb: (err: any, data?: UpdateFunctionCommandOutput) => void
|
|
1324
|
-
): void;
|
|
1325
|
-
public updateFunction(
|
|
1326
|
-
args: UpdateFunctionCommandInput,
|
|
1327
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFunctionCommandOutput) => void),
|
|
1328
|
-
cb?: (err: any, data?: UpdateFunctionCommandOutput) => void
|
|
1329
|
-
): Promise<UpdateFunctionCommandOutput> | void {
|
|
1330
|
-
const command = new UpdateFunctionCommand(args);
|
|
1331
|
-
if (typeof optionsOrCb === "function") {
|
|
1332
|
-
this.send(command, optionsOrCb);
|
|
1333
|
-
} else if (typeof cb === "function") {
|
|
1334
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1335
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1336
|
-
} else {
|
|
1337
|
-
return this.send(command, optionsOrCb);
|
|
1338
|
-
}
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
/**
|
|
1342
|
-
* <p>Updates a <code>GraphqlApi</code> object.</p>
|
|
1343
|
-
*/
|
|
1344
|
-
public updateGraphqlApi(
|
|
1345
|
-
args: UpdateGraphqlApiCommandInput,
|
|
1346
|
-
options?: __HttpHandlerOptions
|
|
1347
|
-
): Promise<UpdateGraphqlApiCommandOutput>;
|
|
1348
|
-
public updateGraphqlApi(
|
|
1349
|
-
args: UpdateGraphqlApiCommandInput,
|
|
1350
|
-
cb: (err: any, data?: UpdateGraphqlApiCommandOutput) => void
|
|
1351
|
-
): void;
|
|
1352
|
-
public updateGraphqlApi(
|
|
1353
|
-
args: UpdateGraphqlApiCommandInput,
|
|
1354
|
-
options: __HttpHandlerOptions,
|
|
1355
|
-
cb: (err: any, data?: UpdateGraphqlApiCommandOutput) => void
|
|
1356
|
-
): void;
|
|
1357
|
-
public updateGraphqlApi(
|
|
1358
|
-
args: UpdateGraphqlApiCommandInput,
|
|
1359
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateGraphqlApiCommandOutput) => void),
|
|
1360
|
-
cb?: (err: any, data?: UpdateGraphqlApiCommandOutput) => void
|
|
1361
|
-
): Promise<UpdateGraphqlApiCommandOutput> | void {
|
|
1362
|
-
const command = new UpdateGraphqlApiCommand(args);
|
|
1363
|
-
if (typeof optionsOrCb === "function") {
|
|
1364
|
-
this.send(command, optionsOrCb);
|
|
1365
|
-
} else if (typeof cb === "function") {
|
|
1366
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1367
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1368
|
-
} else {
|
|
1369
|
-
return this.send(command, optionsOrCb);
|
|
1370
|
-
}
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
/**
|
|
1374
|
-
* <p>Updates a <code>Resolver</code> object.</p>
|
|
1375
|
-
*/
|
|
1376
|
-
public updateResolver(
|
|
1377
|
-
args: UpdateResolverCommandInput,
|
|
1378
|
-
options?: __HttpHandlerOptions
|
|
1379
|
-
): Promise<UpdateResolverCommandOutput>;
|
|
1380
|
-
public updateResolver(
|
|
1381
|
-
args: UpdateResolverCommandInput,
|
|
1382
|
-
cb: (err: any, data?: UpdateResolverCommandOutput) => void
|
|
1383
|
-
): void;
|
|
1384
|
-
public updateResolver(
|
|
1385
|
-
args: UpdateResolverCommandInput,
|
|
1386
|
-
options: __HttpHandlerOptions,
|
|
1387
|
-
cb: (err: any, data?: UpdateResolverCommandOutput) => void
|
|
1388
|
-
): void;
|
|
1389
|
-
public updateResolver(
|
|
1390
|
-
args: UpdateResolverCommandInput,
|
|
1391
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateResolverCommandOutput) => void),
|
|
1392
|
-
cb?: (err: any, data?: UpdateResolverCommandOutput) => void
|
|
1393
|
-
): Promise<UpdateResolverCommandOutput> | void {
|
|
1394
|
-
const command = new UpdateResolverCommand(args);
|
|
1395
|
-
if (typeof optionsOrCb === "function") {
|
|
1396
|
-
this.send(command, optionsOrCb);
|
|
1397
|
-
} else if (typeof cb === "function") {
|
|
1398
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1399
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1400
|
-
} else {
|
|
1401
|
-
return this.send(command, optionsOrCb);
|
|
1402
|
-
}
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
|
-
/**
|
|
1406
|
-
* <p>Updates a <code>Type</code> object.</p>
|
|
1407
|
-
*/
|
|
1408
|
-
public updateType(args: UpdateTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTypeCommandOutput>;
|
|
1409
|
-
public updateType(args: UpdateTypeCommandInput, cb: (err: any, data?: UpdateTypeCommandOutput) => void): void;
|
|
1410
|
-
public updateType(
|
|
1411
|
-
args: UpdateTypeCommandInput,
|
|
1412
|
-
options: __HttpHandlerOptions,
|
|
1413
|
-
cb: (err: any, data?: UpdateTypeCommandOutput) => void
|
|
1414
|
-
): void;
|
|
1415
|
-
public updateType(
|
|
1416
|
-
args: UpdateTypeCommandInput,
|
|
1417
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateTypeCommandOutput) => void),
|
|
1418
|
-
cb?: (err: any, data?: UpdateTypeCommandOutput) => void
|
|
1419
|
-
): Promise<UpdateTypeCommandOutput> | void {
|
|
1420
|
-
const command = new UpdateTypeCommand(args);
|
|
1421
|
-
if (typeof optionsOrCb === "function") {
|
|
1422
|
-
this.send(command, optionsOrCb);
|
|
1423
|
-
} else if (typeof cb === "function") {
|
|
1424
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1425
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1426
|
-
} else {
|
|
1427
|
-
return this.send(command, optionsOrCb);
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
}
|