@aws-sdk/client-appsync 3.679.0 → 3.683.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/README.md +90 -10
- package/dist-cjs/index.js +572 -0
- package/dist-es/AppSync.js +20 -0
- package/dist-es/commands/CreateApiCommand.js +22 -0
- package/dist-es/commands/CreateChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/DeleteApiCommand.js +22 -0
- package/dist-es/commands/DeleteChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/GetApiCommand.js +22 -0
- package/dist-es/commands/GetChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/ListApisCommand.js +22 -0
- package/dist-es/commands/ListChannelNamespacesCommand.js +22 -0
- package/dist-es/commands/UpdateApiCommand.js +22 -0
- package/dist-es/commands/UpdateChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/pagination/ListApisPaginator.js +4 -0
- package/dist-es/pagination/ListChannelNamespacesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +341 -2
- package/dist-types/AppSync.d.ts +73 -2
- package/dist-types/AppSyncClient.d.ts +14 -4
- package/dist-types/commands/AssociateApiCommand.d.ts +4 -3
- package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +8 -6
- package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +8 -6
- package/dist-types/commands/CreateApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/CreateApiCommand.d.ts +192 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/CreateChannelNamespaceCommand.d.ts +133 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -2
- package/dist-types/commands/CreateFunctionCommand.d.ts +8 -6
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +5 -5
- package/dist-types/commands/CreateResolverCommand.d.ts +8 -7
- package/dist-types/commands/CreateTypeCommand.d.ts +6 -5
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/DeleteApiCommand.d.ts +90 -0
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/DeleteChannelNamespaceCommand.d.ts +91 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +6 -5
- package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -5
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +6 -5
- package/dist-types/commands/DeleteResolverCommand.d.ts +6 -5
- package/dist-types/commands/DeleteTypeCommand.d.ts +6 -5
- package/dist-types/commands/DisassociateApiCommand.d.ts +6 -5
- package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +8 -7
- package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +8 -7
- package/dist-types/commands/EvaluateCodeCommand.d.ts +8 -7
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +8 -7
- package/dist-types/commands/FlushApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/GetApiAssociationCommand.d.ts +4 -3
- package/dist-types/commands/GetApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/GetApiCommand.d.ts +144 -0
- package/dist-types/commands/GetChannelNamespaceCommand.d.ts +109 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/GetDataSourceIntrospectionCommand.d.ts +7 -6
- package/dist-types/commands/GetDomainNameCommand.d.ts +4 -3
- package/dist-types/commands/GetFunctionCommand.d.ts +4 -3
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +4 -3
- package/dist-types/commands/GetGraphqlApiEnvironmentVariablesCommand.d.ts +6 -4
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +2 -1
- package/dist-types/commands/GetResolverCommand.d.ts +4 -3
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +4 -3
- package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +4 -3
- package/dist-types/commands/GetTypeCommand.d.ts +6 -5
- package/dist-types/commands/ListApiKeysCommand.d.ts +8 -6
- package/dist-types/commands/ListApisCommand.d.ts +144 -0
- package/dist-types/commands/ListChannelNamespacesCommand.d.ts +114 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +4 -3
- package/dist-types/commands/ListDomainNamesCommand.d.ts +2 -2
- package/dist-types/commands/ListFunctionsCommand.d.ts +4 -3
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +2 -2
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +4 -3
- package/dist-types/commands/ListResolversCommand.d.ts +4 -3
- package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +4 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
- package/dist-types/commands/ListTypesByAssociationCommand.d.ts +6 -5
- package/dist-types/commands/ListTypesCommand.d.ts +6 -5
- package/dist-types/commands/PutGraphqlApiEnvironmentVariablesCommand.d.ts +21 -17
- package/dist-types/commands/StartDataSourceIntrospectionCommand.d.ts +6 -5
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +8 -7
- package/dist-types/commands/StartSchemaMergeCommand.d.ts +8 -6
- package/dist-types/commands/TagResourceCommand.d.ts +4 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -3
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/UpdateApiCommand.d.ts +192 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/UpdateChannelNamespaceCommand.d.ts +124 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +6 -5
- package/dist-types/commands/UpdateFunctionCommand.d.ts +6 -5
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +7 -6
- package/dist-types/commands/UpdateResolverCommand.d.ts +6 -5
- package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +6 -5
- package/dist-types/commands/UpdateTypeCommand.d.ts +6 -5
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +1305 -629
- package/dist-types/pagination/ListApisPaginator.d.ts +7 -0
- package/dist-types/pagination/ListChannelNamespacesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/AppSync.d.ts +171 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreateApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApiCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListApisCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListChannelNamespacesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +148 -2
- package/dist-types/ts3.4/pagination/ListApisPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListChannelNamespacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +6 -6
package/dist-types/AppSync.d.ts
CHANGED
|
@@ -4,7 +4,9 @@ import { AssociateApiCommandInput, AssociateApiCommandOutput } from "./commands/
|
|
|
4
4
|
import { AssociateMergedGraphqlApiCommandInput, AssociateMergedGraphqlApiCommandOutput } from "./commands/AssociateMergedGraphqlApiCommand";
|
|
5
5
|
import { AssociateSourceGraphqlApiCommandInput, AssociateSourceGraphqlApiCommandOutput } from "./commands/AssociateSourceGraphqlApiCommand";
|
|
6
6
|
import { CreateApiCacheCommandInput, CreateApiCacheCommandOutput } from "./commands/CreateApiCacheCommand";
|
|
7
|
+
import { CreateApiCommandInput, CreateApiCommandOutput } from "./commands/CreateApiCommand";
|
|
7
8
|
import { CreateApiKeyCommandInput, CreateApiKeyCommandOutput } from "./commands/CreateApiKeyCommand";
|
|
9
|
+
import { CreateChannelNamespaceCommandInput, CreateChannelNamespaceCommandOutput } from "./commands/CreateChannelNamespaceCommand";
|
|
8
10
|
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
|
|
9
11
|
import { CreateDomainNameCommandInput, CreateDomainNameCommandOutput } from "./commands/CreateDomainNameCommand";
|
|
10
12
|
import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "./commands/CreateFunctionCommand";
|
|
@@ -12,7 +14,9 @@ import { CreateGraphqlApiCommandInput, CreateGraphqlApiCommandOutput } from "./c
|
|
|
12
14
|
import { CreateResolverCommandInput, CreateResolverCommandOutput } from "./commands/CreateResolverCommand";
|
|
13
15
|
import { CreateTypeCommandInput, CreateTypeCommandOutput } from "./commands/CreateTypeCommand";
|
|
14
16
|
import { DeleteApiCacheCommandInput, DeleteApiCacheCommandOutput } from "./commands/DeleteApiCacheCommand";
|
|
17
|
+
import { DeleteApiCommandInput, DeleteApiCommandOutput } from "./commands/DeleteApiCommand";
|
|
15
18
|
import { DeleteApiKeyCommandInput, DeleteApiKeyCommandOutput } from "./commands/DeleteApiKeyCommand";
|
|
19
|
+
import { DeleteChannelNamespaceCommandInput, DeleteChannelNamespaceCommandOutput } from "./commands/DeleteChannelNamespaceCommand";
|
|
16
20
|
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
17
21
|
import { DeleteDomainNameCommandInput, DeleteDomainNameCommandOutput } from "./commands/DeleteDomainNameCommand";
|
|
18
22
|
import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "./commands/DeleteFunctionCommand";
|
|
@@ -27,6 +31,8 @@ import { EvaluateMappingTemplateCommandInput, EvaluateMappingTemplateCommandOutp
|
|
|
27
31
|
import { FlushApiCacheCommandInput, FlushApiCacheCommandOutput } from "./commands/FlushApiCacheCommand";
|
|
28
32
|
import { GetApiAssociationCommandInput, GetApiAssociationCommandOutput } from "./commands/GetApiAssociationCommand";
|
|
29
33
|
import { GetApiCacheCommandInput, GetApiCacheCommandOutput } from "./commands/GetApiCacheCommand";
|
|
34
|
+
import { GetApiCommandInput, GetApiCommandOutput } from "./commands/GetApiCommand";
|
|
35
|
+
import { GetChannelNamespaceCommandInput, GetChannelNamespaceCommandOutput } from "./commands/GetChannelNamespaceCommand";
|
|
30
36
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
31
37
|
import { GetDataSourceIntrospectionCommandInput, GetDataSourceIntrospectionCommandOutput } from "./commands/GetDataSourceIntrospectionCommand";
|
|
32
38
|
import { GetDomainNameCommandInput, GetDomainNameCommandOutput } from "./commands/GetDomainNameCommand";
|
|
@@ -39,6 +45,8 @@ import { GetSchemaCreationStatusCommandInput, GetSchemaCreationStatusCommandOutp
|
|
|
39
45
|
import { GetSourceApiAssociationCommandInput, GetSourceApiAssociationCommandOutput } from "./commands/GetSourceApiAssociationCommand";
|
|
40
46
|
import { GetTypeCommandInput, GetTypeCommandOutput } from "./commands/GetTypeCommand";
|
|
41
47
|
import { ListApiKeysCommandInput, ListApiKeysCommandOutput } from "./commands/ListApiKeysCommand";
|
|
48
|
+
import { ListApisCommandInput, ListApisCommandOutput } from "./commands/ListApisCommand";
|
|
49
|
+
import { ListChannelNamespacesCommandInput, ListChannelNamespacesCommandOutput } from "./commands/ListChannelNamespacesCommand";
|
|
42
50
|
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
43
51
|
import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "./commands/ListDomainNamesCommand";
|
|
44
52
|
import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "./commands/ListFunctionsCommand";
|
|
@@ -56,7 +64,9 @@ import { StartSchemaMergeCommandInput, StartSchemaMergeCommandOutput } from "./c
|
|
|
56
64
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
57
65
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
58
66
|
import { UpdateApiCacheCommandInput, UpdateApiCacheCommandOutput } from "./commands/UpdateApiCacheCommand";
|
|
67
|
+
import { UpdateApiCommandInput, UpdateApiCommandOutput } from "./commands/UpdateApiCommand";
|
|
59
68
|
import { UpdateApiKeyCommandInput, UpdateApiKeyCommandOutput } from "./commands/UpdateApiKeyCommand";
|
|
69
|
+
import { UpdateChannelNamespaceCommandInput, UpdateChannelNamespaceCommandOutput } from "./commands/UpdateChannelNamespaceCommand";
|
|
60
70
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
61
71
|
import { UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput } from "./commands/UpdateDomainNameCommand";
|
|
62
72
|
import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "./commands/UpdateFunctionCommand";
|
|
@@ -83,6 +93,12 @@ export interface AppSync {
|
|
|
83
93
|
associateSourceGraphqlApi(args: AssociateSourceGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<AssociateSourceGraphqlApiCommandOutput>;
|
|
84
94
|
associateSourceGraphqlApi(args: AssociateSourceGraphqlApiCommandInput, cb: (err: any, data?: AssociateSourceGraphqlApiCommandOutput) => void): void;
|
|
85
95
|
associateSourceGraphqlApi(args: AssociateSourceGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateSourceGraphqlApiCommandOutput) => void): void;
|
|
96
|
+
/**
|
|
97
|
+
* @see {@link CreateApiCommand}
|
|
98
|
+
*/
|
|
99
|
+
createApi(args: CreateApiCommandInput, options?: __HttpHandlerOptions): Promise<CreateApiCommandOutput>;
|
|
100
|
+
createApi(args: CreateApiCommandInput, cb: (err: any, data?: CreateApiCommandOutput) => void): void;
|
|
101
|
+
createApi(args: CreateApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiCommandOutput) => void): void;
|
|
86
102
|
/**
|
|
87
103
|
* @see {@link CreateApiCacheCommand}
|
|
88
104
|
*/
|
|
@@ -95,6 +111,12 @@ export interface AppSync {
|
|
|
95
111
|
createApiKey(args: CreateApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateApiKeyCommandOutput>;
|
|
96
112
|
createApiKey(args: CreateApiKeyCommandInput, cb: (err: any, data?: CreateApiKeyCommandOutput) => void): void;
|
|
97
113
|
createApiKey(args: CreateApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiKeyCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link CreateChannelNamespaceCommand}
|
|
116
|
+
*/
|
|
117
|
+
createChannelNamespace(args: CreateChannelNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateChannelNamespaceCommandOutput>;
|
|
118
|
+
createChannelNamespace(args: CreateChannelNamespaceCommandInput, cb: (err: any, data?: CreateChannelNamespaceCommandOutput) => void): void;
|
|
119
|
+
createChannelNamespace(args: CreateChannelNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelNamespaceCommandOutput) => void): void;
|
|
98
120
|
/**
|
|
99
121
|
* @see {@link CreateDataSourceCommand}
|
|
100
122
|
*/
|
|
@@ -131,6 +153,12 @@ export interface AppSync {
|
|
|
131
153
|
createType(args: CreateTypeCommandInput, options?: __HttpHandlerOptions): Promise<CreateTypeCommandOutput>;
|
|
132
154
|
createType(args: CreateTypeCommandInput, cb: (err: any, data?: CreateTypeCommandOutput) => void): void;
|
|
133
155
|
createType(args: CreateTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTypeCommandOutput) => void): void;
|
|
156
|
+
/**
|
|
157
|
+
* @see {@link DeleteApiCommand}
|
|
158
|
+
*/
|
|
159
|
+
deleteApi(args: DeleteApiCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApiCommandOutput>;
|
|
160
|
+
deleteApi(args: DeleteApiCommandInput, cb: (err: any, data?: DeleteApiCommandOutput) => void): void;
|
|
161
|
+
deleteApi(args: DeleteApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApiCommandOutput) => void): void;
|
|
134
162
|
/**
|
|
135
163
|
* @see {@link DeleteApiCacheCommand}
|
|
136
164
|
*/
|
|
@@ -143,6 +171,12 @@ export interface AppSync {
|
|
|
143
171
|
deleteApiKey(args: DeleteApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApiKeyCommandOutput>;
|
|
144
172
|
deleteApiKey(args: DeleteApiKeyCommandInput, cb: (err: any, data?: DeleteApiKeyCommandOutput) => void): void;
|
|
145
173
|
deleteApiKey(args: DeleteApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApiKeyCommandOutput) => void): void;
|
|
174
|
+
/**
|
|
175
|
+
* @see {@link DeleteChannelNamespaceCommand}
|
|
176
|
+
*/
|
|
177
|
+
deleteChannelNamespace(args: DeleteChannelNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelNamespaceCommandOutput>;
|
|
178
|
+
deleteChannelNamespace(args: DeleteChannelNamespaceCommandInput, cb: (err: any, data?: DeleteChannelNamespaceCommandOutput) => void): void;
|
|
179
|
+
deleteChannelNamespace(args: DeleteChannelNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelNamespaceCommandOutput) => void): void;
|
|
146
180
|
/**
|
|
147
181
|
* @see {@link DeleteDataSourceCommand}
|
|
148
182
|
*/
|
|
@@ -215,6 +249,12 @@ export interface AppSync {
|
|
|
215
249
|
flushApiCache(args: FlushApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<FlushApiCacheCommandOutput>;
|
|
216
250
|
flushApiCache(args: FlushApiCacheCommandInput, cb: (err: any, data?: FlushApiCacheCommandOutput) => void): void;
|
|
217
251
|
flushApiCache(args: FlushApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FlushApiCacheCommandOutput) => void): void;
|
|
252
|
+
/**
|
|
253
|
+
* @see {@link GetApiCommand}
|
|
254
|
+
*/
|
|
255
|
+
getApi(args: GetApiCommandInput, options?: __HttpHandlerOptions): Promise<GetApiCommandOutput>;
|
|
256
|
+
getApi(args: GetApiCommandInput, cb: (err: any, data?: GetApiCommandOutput) => void): void;
|
|
257
|
+
getApi(args: GetApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApiCommandOutput) => void): void;
|
|
218
258
|
/**
|
|
219
259
|
* @see {@link GetApiAssociationCommand}
|
|
220
260
|
*/
|
|
@@ -227,6 +267,12 @@ export interface AppSync {
|
|
|
227
267
|
getApiCache(args: GetApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<GetApiCacheCommandOutput>;
|
|
228
268
|
getApiCache(args: GetApiCacheCommandInput, cb: (err: any, data?: GetApiCacheCommandOutput) => void): void;
|
|
229
269
|
getApiCache(args: GetApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApiCacheCommandOutput) => void): void;
|
|
270
|
+
/**
|
|
271
|
+
* @see {@link GetChannelNamespaceCommand}
|
|
272
|
+
*/
|
|
273
|
+
getChannelNamespace(args: GetChannelNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelNamespaceCommandOutput>;
|
|
274
|
+
getChannelNamespace(args: GetChannelNamespaceCommandInput, cb: (err: any, data?: GetChannelNamespaceCommandOutput) => void): void;
|
|
275
|
+
getChannelNamespace(args: GetChannelNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelNamespaceCommandOutput) => void): void;
|
|
230
276
|
/**
|
|
231
277
|
* @see {@link GetDataSourceCommand}
|
|
232
278
|
*/
|
|
@@ -299,6 +345,19 @@ export interface AppSync {
|
|
|
299
345
|
listApiKeys(args: ListApiKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListApiKeysCommandOutput>;
|
|
300
346
|
listApiKeys(args: ListApiKeysCommandInput, cb: (err: any, data?: ListApiKeysCommandOutput) => void): void;
|
|
301
347
|
listApiKeys(args: ListApiKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApiKeysCommandOutput) => void): void;
|
|
348
|
+
/**
|
|
349
|
+
* @see {@link ListApisCommand}
|
|
350
|
+
*/
|
|
351
|
+
listApis(): Promise<ListApisCommandOutput>;
|
|
352
|
+
listApis(args: ListApisCommandInput, options?: __HttpHandlerOptions): Promise<ListApisCommandOutput>;
|
|
353
|
+
listApis(args: ListApisCommandInput, cb: (err: any, data?: ListApisCommandOutput) => void): void;
|
|
354
|
+
listApis(args: ListApisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApisCommandOutput) => void): void;
|
|
355
|
+
/**
|
|
356
|
+
* @see {@link ListChannelNamespacesCommand}
|
|
357
|
+
*/
|
|
358
|
+
listChannelNamespaces(args: ListChannelNamespacesCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelNamespacesCommandOutput>;
|
|
359
|
+
listChannelNamespaces(args: ListChannelNamespacesCommandInput, cb: (err: any, data?: ListChannelNamespacesCommandOutput) => void): void;
|
|
360
|
+
listChannelNamespaces(args: ListChannelNamespacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelNamespacesCommandOutput) => void): void;
|
|
302
361
|
/**
|
|
303
362
|
* @see {@link ListDataSourcesCommand}
|
|
304
363
|
*/
|
|
@@ -398,6 +457,12 @@ export interface AppSync {
|
|
|
398
457
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
399
458
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
400
459
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
460
|
+
/**
|
|
461
|
+
* @see {@link UpdateApiCommand}
|
|
462
|
+
*/
|
|
463
|
+
updateApi(args: UpdateApiCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApiCommandOutput>;
|
|
464
|
+
updateApi(args: UpdateApiCommandInput, cb: (err: any, data?: UpdateApiCommandOutput) => void): void;
|
|
465
|
+
updateApi(args: UpdateApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiCommandOutput) => void): void;
|
|
401
466
|
/**
|
|
402
467
|
* @see {@link UpdateApiCacheCommand}
|
|
403
468
|
*/
|
|
@@ -410,6 +475,12 @@ export interface AppSync {
|
|
|
410
475
|
updateApiKey(args: UpdateApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApiKeyCommandOutput>;
|
|
411
476
|
updateApiKey(args: UpdateApiKeyCommandInput, cb: (err: any, data?: UpdateApiKeyCommandOutput) => void): void;
|
|
412
477
|
updateApiKey(args: UpdateApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiKeyCommandOutput) => void): void;
|
|
478
|
+
/**
|
|
479
|
+
* @see {@link UpdateChannelNamespaceCommand}
|
|
480
|
+
*/
|
|
481
|
+
updateChannelNamespace(args: UpdateChannelNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateChannelNamespaceCommandOutput>;
|
|
482
|
+
updateChannelNamespace(args: UpdateChannelNamespaceCommandInput, cb: (err: any, data?: UpdateChannelNamespaceCommandOutput) => void): void;
|
|
483
|
+
updateChannelNamespace(args: UpdateChannelNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelNamespaceCommandOutput) => void): void;
|
|
413
484
|
/**
|
|
414
485
|
* @see {@link UpdateDataSourceCommand}
|
|
415
486
|
*/
|
|
@@ -454,8 +525,8 @@ export interface AppSync {
|
|
|
454
525
|
updateType(args: UpdateTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTypeCommandOutput) => void): void;
|
|
455
526
|
}
|
|
456
527
|
/**
|
|
457
|
-
* <p>AppSync provides API actions for creating and interacting with data
|
|
458
|
-
* from your application.</p>
|
|
528
|
+
* <p>AppSync provides API actions for creating and interacting with data
|
|
529
|
+
* sources using GraphQL from your application.</p>
|
|
459
530
|
* @public
|
|
460
531
|
*/
|
|
461
532
|
export declare class AppSync extends AppSyncClient implements AppSync {
|
|
@@ -11,7 +11,9 @@ import { AssociateApiCommandInput, AssociateApiCommandOutput } from "./commands/
|
|
|
11
11
|
import { AssociateMergedGraphqlApiCommandInput, AssociateMergedGraphqlApiCommandOutput } from "./commands/AssociateMergedGraphqlApiCommand";
|
|
12
12
|
import { AssociateSourceGraphqlApiCommandInput, AssociateSourceGraphqlApiCommandOutput } from "./commands/AssociateSourceGraphqlApiCommand";
|
|
13
13
|
import { CreateApiCacheCommandInput, CreateApiCacheCommandOutput } from "./commands/CreateApiCacheCommand";
|
|
14
|
+
import { CreateApiCommandInput, CreateApiCommandOutput } from "./commands/CreateApiCommand";
|
|
14
15
|
import { CreateApiKeyCommandInput, CreateApiKeyCommandOutput } from "./commands/CreateApiKeyCommand";
|
|
16
|
+
import { CreateChannelNamespaceCommandInput, CreateChannelNamespaceCommandOutput } from "./commands/CreateChannelNamespaceCommand";
|
|
15
17
|
import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
|
|
16
18
|
import { CreateDomainNameCommandInput, CreateDomainNameCommandOutput } from "./commands/CreateDomainNameCommand";
|
|
17
19
|
import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "./commands/CreateFunctionCommand";
|
|
@@ -19,7 +21,9 @@ import { CreateGraphqlApiCommandInput, CreateGraphqlApiCommandOutput } from "./c
|
|
|
19
21
|
import { CreateResolverCommandInput, CreateResolverCommandOutput } from "./commands/CreateResolverCommand";
|
|
20
22
|
import { CreateTypeCommandInput, CreateTypeCommandOutput } from "./commands/CreateTypeCommand";
|
|
21
23
|
import { DeleteApiCacheCommandInput, DeleteApiCacheCommandOutput } from "./commands/DeleteApiCacheCommand";
|
|
24
|
+
import { DeleteApiCommandInput, DeleteApiCommandOutput } from "./commands/DeleteApiCommand";
|
|
22
25
|
import { DeleteApiKeyCommandInput, DeleteApiKeyCommandOutput } from "./commands/DeleteApiKeyCommand";
|
|
26
|
+
import { DeleteChannelNamespaceCommandInput, DeleteChannelNamespaceCommandOutput } from "./commands/DeleteChannelNamespaceCommand";
|
|
23
27
|
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
24
28
|
import { DeleteDomainNameCommandInput, DeleteDomainNameCommandOutput } from "./commands/DeleteDomainNameCommand";
|
|
25
29
|
import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "./commands/DeleteFunctionCommand";
|
|
@@ -34,6 +38,8 @@ import { EvaluateMappingTemplateCommandInput, EvaluateMappingTemplateCommandOutp
|
|
|
34
38
|
import { FlushApiCacheCommandInput, FlushApiCacheCommandOutput } from "./commands/FlushApiCacheCommand";
|
|
35
39
|
import { GetApiAssociationCommandInput, GetApiAssociationCommandOutput } from "./commands/GetApiAssociationCommand";
|
|
36
40
|
import { GetApiCacheCommandInput, GetApiCacheCommandOutput } from "./commands/GetApiCacheCommand";
|
|
41
|
+
import { GetApiCommandInput, GetApiCommandOutput } from "./commands/GetApiCommand";
|
|
42
|
+
import { GetChannelNamespaceCommandInput, GetChannelNamespaceCommandOutput } from "./commands/GetChannelNamespaceCommand";
|
|
37
43
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
38
44
|
import { GetDataSourceIntrospectionCommandInput, GetDataSourceIntrospectionCommandOutput } from "./commands/GetDataSourceIntrospectionCommand";
|
|
39
45
|
import { GetDomainNameCommandInput, GetDomainNameCommandOutput } from "./commands/GetDomainNameCommand";
|
|
@@ -46,6 +52,8 @@ import { GetSchemaCreationStatusCommandInput, GetSchemaCreationStatusCommandOutp
|
|
|
46
52
|
import { GetSourceApiAssociationCommandInput, GetSourceApiAssociationCommandOutput } from "./commands/GetSourceApiAssociationCommand";
|
|
47
53
|
import { GetTypeCommandInput, GetTypeCommandOutput } from "./commands/GetTypeCommand";
|
|
48
54
|
import { ListApiKeysCommandInput, ListApiKeysCommandOutput } from "./commands/ListApiKeysCommand";
|
|
55
|
+
import { ListApisCommandInput, ListApisCommandOutput } from "./commands/ListApisCommand";
|
|
56
|
+
import { ListChannelNamespacesCommandInput, ListChannelNamespacesCommandOutput } from "./commands/ListChannelNamespacesCommand";
|
|
49
57
|
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
50
58
|
import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "./commands/ListDomainNamesCommand";
|
|
51
59
|
import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "./commands/ListFunctionsCommand";
|
|
@@ -63,7 +71,9 @@ import { StartSchemaMergeCommandInput, StartSchemaMergeCommandOutput } from "./c
|
|
|
63
71
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
64
72
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
65
73
|
import { UpdateApiCacheCommandInput, UpdateApiCacheCommandOutput } from "./commands/UpdateApiCacheCommand";
|
|
74
|
+
import { UpdateApiCommandInput, UpdateApiCommandOutput } from "./commands/UpdateApiCommand";
|
|
66
75
|
import { UpdateApiKeyCommandInput, UpdateApiKeyCommandOutput } from "./commands/UpdateApiKeyCommand";
|
|
76
|
+
import { UpdateChannelNamespaceCommandInput, UpdateChannelNamespaceCommandOutput } from "./commands/UpdateChannelNamespaceCommand";
|
|
67
77
|
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
68
78
|
import { UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput } from "./commands/UpdateDomainNameCommand";
|
|
69
79
|
import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "./commands/UpdateFunctionCommand";
|
|
@@ -77,11 +87,11 @@ export { __Client };
|
|
|
77
87
|
/**
|
|
78
88
|
* @public
|
|
79
89
|
*/
|
|
80
|
-
export type ServiceInputTypes = AssociateApiCommandInput | AssociateMergedGraphqlApiCommandInput | AssociateSourceGraphqlApiCommandInput | CreateApiCacheCommandInput | CreateApiKeyCommandInput | CreateDataSourceCommandInput | CreateDomainNameCommandInput | CreateFunctionCommandInput | CreateGraphqlApiCommandInput | CreateResolverCommandInput | CreateTypeCommandInput | DeleteApiCacheCommandInput | DeleteApiKeyCommandInput | DeleteDataSourceCommandInput | DeleteDomainNameCommandInput | DeleteFunctionCommandInput | DeleteGraphqlApiCommandInput | DeleteResolverCommandInput | DeleteTypeCommandInput | DisassociateApiCommandInput | DisassociateMergedGraphqlApiCommandInput | DisassociateSourceGraphqlApiCommandInput | EvaluateCodeCommandInput | EvaluateMappingTemplateCommandInput | FlushApiCacheCommandInput | GetApiAssociationCommandInput | GetApiCacheCommandInput | GetDataSourceCommandInput | GetDataSourceIntrospectionCommandInput | GetDomainNameCommandInput | GetFunctionCommandInput | GetGraphqlApiCommandInput | GetGraphqlApiEnvironmentVariablesCommandInput | GetIntrospectionSchemaCommandInput | GetResolverCommandInput | GetSchemaCreationStatusCommandInput | GetSourceApiAssociationCommandInput | GetTypeCommandInput | ListApiKeysCommandInput | ListDataSourcesCommandInput | ListDomainNamesCommandInput | ListFunctionsCommandInput | ListGraphqlApisCommandInput | ListResolversByFunctionCommandInput | ListResolversCommandInput | ListSourceApiAssociationsCommandInput | ListTagsForResourceCommandInput | ListTypesByAssociationCommandInput | ListTypesCommandInput | PutGraphqlApiEnvironmentVariablesCommandInput | StartDataSourceIntrospectionCommandInput | StartSchemaCreationCommandInput | StartSchemaMergeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApiCacheCommandInput | UpdateApiKeyCommandInput | UpdateDataSourceCommandInput | UpdateDomainNameCommandInput | UpdateFunctionCommandInput | UpdateGraphqlApiCommandInput | UpdateResolverCommandInput | UpdateSourceApiAssociationCommandInput | UpdateTypeCommandInput;
|
|
90
|
+
export type ServiceInputTypes = AssociateApiCommandInput | AssociateMergedGraphqlApiCommandInput | AssociateSourceGraphqlApiCommandInput | CreateApiCacheCommandInput | CreateApiCommandInput | CreateApiKeyCommandInput | CreateChannelNamespaceCommandInput | CreateDataSourceCommandInput | CreateDomainNameCommandInput | CreateFunctionCommandInput | CreateGraphqlApiCommandInput | CreateResolverCommandInput | CreateTypeCommandInput | DeleteApiCacheCommandInput | DeleteApiCommandInput | DeleteApiKeyCommandInput | DeleteChannelNamespaceCommandInput | DeleteDataSourceCommandInput | DeleteDomainNameCommandInput | DeleteFunctionCommandInput | DeleteGraphqlApiCommandInput | DeleteResolverCommandInput | DeleteTypeCommandInput | DisassociateApiCommandInput | DisassociateMergedGraphqlApiCommandInput | DisassociateSourceGraphqlApiCommandInput | EvaluateCodeCommandInput | EvaluateMappingTemplateCommandInput | FlushApiCacheCommandInput | GetApiAssociationCommandInput | GetApiCacheCommandInput | GetApiCommandInput | GetChannelNamespaceCommandInput | GetDataSourceCommandInput | GetDataSourceIntrospectionCommandInput | GetDomainNameCommandInput | GetFunctionCommandInput | GetGraphqlApiCommandInput | GetGraphqlApiEnvironmentVariablesCommandInput | GetIntrospectionSchemaCommandInput | GetResolverCommandInput | GetSchemaCreationStatusCommandInput | GetSourceApiAssociationCommandInput | GetTypeCommandInput | ListApiKeysCommandInput | ListApisCommandInput | ListChannelNamespacesCommandInput | ListDataSourcesCommandInput | ListDomainNamesCommandInput | ListFunctionsCommandInput | ListGraphqlApisCommandInput | ListResolversByFunctionCommandInput | ListResolversCommandInput | ListSourceApiAssociationsCommandInput | ListTagsForResourceCommandInput | ListTypesByAssociationCommandInput | ListTypesCommandInput | PutGraphqlApiEnvironmentVariablesCommandInput | StartDataSourceIntrospectionCommandInput | StartSchemaCreationCommandInput | StartSchemaMergeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApiCacheCommandInput | UpdateApiCommandInput | UpdateApiKeyCommandInput | UpdateChannelNamespaceCommandInput | UpdateDataSourceCommandInput | UpdateDomainNameCommandInput | UpdateFunctionCommandInput | UpdateGraphqlApiCommandInput | UpdateResolverCommandInput | UpdateSourceApiAssociationCommandInput | UpdateTypeCommandInput;
|
|
81
91
|
/**
|
|
82
92
|
* @public
|
|
83
93
|
*/
|
|
84
|
-
export type ServiceOutputTypes = AssociateApiCommandOutput | AssociateMergedGraphqlApiCommandOutput | AssociateSourceGraphqlApiCommandOutput | CreateApiCacheCommandOutput | CreateApiKeyCommandOutput | CreateDataSourceCommandOutput | CreateDomainNameCommandOutput | CreateFunctionCommandOutput | CreateGraphqlApiCommandOutput | CreateResolverCommandOutput | CreateTypeCommandOutput | DeleteApiCacheCommandOutput | DeleteApiKeyCommandOutput | DeleteDataSourceCommandOutput | DeleteDomainNameCommandOutput | DeleteFunctionCommandOutput | DeleteGraphqlApiCommandOutput | DeleteResolverCommandOutput | DeleteTypeCommandOutput | DisassociateApiCommandOutput | DisassociateMergedGraphqlApiCommandOutput | DisassociateSourceGraphqlApiCommandOutput | EvaluateCodeCommandOutput | EvaluateMappingTemplateCommandOutput | FlushApiCacheCommandOutput | GetApiAssociationCommandOutput | GetApiCacheCommandOutput | GetDataSourceCommandOutput | GetDataSourceIntrospectionCommandOutput | GetDomainNameCommandOutput | GetFunctionCommandOutput | GetGraphqlApiCommandOutput | GetGraphqlApiEnvironmentVariablesCommandOutput | GetIntrospectionSchemaCommandOutput | GetResolverCommandOutput | GetSchemaCreationStatusCommandOutput | GetSourceApiAssociationCommandOutput | GetTypeCommandOutput | ListApiKeysCommandOutput | ListDataSourcesCommandOutput | ListDomainNamesCommandOutput | ListFunctionsCommandOutput | ListGraphqlApisCommandOutput | ListResolversByFunctionCommandOutput | ListResolversCommandOutput | ListSourceApiAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListTypesByAssociationCommandOutput | ListTypesCommandOutput | PutGraphqlApiEnvironmentVariablesCommandOutput | StartDataSourceIntrospectionCommandOutput | StartSchemaCreationCommandOutput | StartSchemaMergeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApiCacheCommandOutput | UpdateApiKeyCommandOutput | UpdateDataSourceCommandOutput | UpdateDomainNameCommandOutput | UpdateFunctionCommandOutput | UpdateGraphqlApiCommandOutput | UpdateResolverCommandOutput | UpdateSourceApiAssociationCommandOutput | UpdateTypeCommandOutput;
|
|
94
|
+
export type ServiceOutputTypes = AssociateApiCommandOutput | AssociateMergedGraphqlApiCommandOutput | AssociateSourceGraphqlApiCommandOutput | CreateApiCacheCommandOutput | CreateApiCommandOutput | CreateApiKeyCommandOutput | CreateChannelNamespaceCommandOutput | CreateDataSourceCommandOutput | CreateDomainNameCommandOutput | CreateFunctionCommandOutput | CreateGraphqlApiCommandOutput | CreateResolverCommandOutput | CreateTypeCommandOutput | DeleteApiCacheCommandOutput | DeleteApiCommandOutput | DeleteApiKeyCommandOutput | DeleteChannelNamespaceCommandOutput | DeleteDataSourceCommandOutput | DeleteDomainNameCommandOutput | DeleteFunctionCommandOutput | DeleteGraphqlApiCommandOutput | DeleteResolverCommandOutput | DeleteTypeCommandOutput | DisassociateApiCommandOutput | DisassociateMergedGraphqlApiCommandOutput | DisassociateSourceGraphqlApiCommandOutput | EvaluateCodeCommandOutput | EvaluateMappingTemplateCommandOutput | FlushApiCacheCommandOutput | GetApiAssociationCommandOutput | GetApiCacheCommandOutput | GetApiCommandOutput | GetChannelNamespaceCommandOutput | GetDataSourceCommandOutput | GetDataSourceIntrospectionCommandOutput | GetDomainNameCommandOutput | GetFunctionCommandOutput | GetGraphqlApiCommandOutput | GetGraphqlApiEnvironmentVariablesCommandOutput | GetIntrospectionSchemaCommandOutput | GetResolverCommandOutput | GetSchemaCreationStatusCommandOutput | GetSourceApiAssociationCommandOutput | GetTypeCommandOutput | ListApiKeysCommandOutput | ListApisCommandOutput | ListChannelNamespacesCommandOutput | ListDataSourcesCommandOutput | ListDomainNamesCommandOutput | ListFunctionsCommandOutput | ListGraphqlApisCommandOutput | ListResolversByFunctionCommandOutput | ListResolversCommandOutput | ListSourceApiAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListTypesByAssociationCommandOutput | ListTypesCommandOutput | PutGraphqlApiEnvironmentVariablesCommandOutput | StartDataSourceIntrospectionCommandOutput | StartSchemaCreationCommandOutput | StartSchemaMergeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApiCacheCommandOutput | UpdateApiCommandOutput | UpdateApiKeyCommandOutput | UpdateChannelNamespaceCommandOutput | UpdateDataSourceCommandOutput | UpdateDomainNameCommandOutput | UpdateFunctionCommandOutput | UpdateGraphqlApiCommandOutput | UpdateResolverCommandOutput | UpdateSourceApiAssociationCommandOutput | UpdateTypeCommandOutput;
|
|
85
95
|
/**
|
|
86
96
|
* @public
|
|
87
97
|
*/
|
|
@@ -215,8 +225,8 @@ export type AppSyncClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
|
|
|
215
225
|
export interface AppSyncClientResolvedConfig extends AppSyncClientResolvedConfigType {
|
|
216
226
|
}
|
|
217
227
|
/**
|
|
218
|
-
* <p>AppSync provides API actions for creating and interacting with data
|
|
219
|
-
* from your application.</p>
|
|
228
|
+
* <p>AppSync provides API actions for creating and interacting with data
|
|
229
|
+
* sources using GraphQL from your application.</p>
|
|
220
230
|
* @public
|
|
221
231
|
*/
|
|
222
232
|
export declare class AppSyncClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AppSyncClientResolvedConfig> {
|
|
@@ -61,14 +61,15 @@ declare const AssociateApiCommand_base: {
|
|
|
61
61
|
* <p>You don't have access to perform this operation on this resource.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link BadRequestException} (client fault)
|
|
64
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
65
|
-
* field values, and then try again.</p>
|
|
64
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
65
|
+
* missing. Check the field values, and then try again.</p>
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link InternalFailureException} (server fault)
|
|
68
68
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link NotFoundException} (client fault)
|
|
71
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
71
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
72
|
+
* again.</p>
|
|
72
73
|
*
|
|
73
74
|
* @throws {@link AppSyncServiceException}
|
|
74
75
|
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
@@ -27,7 +27,8 @@ declare const AssociateMergedGraphqlApiCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates an association between a Merged API and source API using the source API's
|
|
30
|
+
* <p>Creates an association between a Merged API and source API using the source API's
|
|
31
|
+
* identifier.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -71,12 +72,12 @@ declare const AssociateMergedGraphqlApiCommand_base: {
|
|
|
71
72
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
72
73
|
*
|
|
73
74
|
* @throws {@link BadRequestException} (client fault)
|
|
74
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
75
|
-
* field values, and then try again.</p>
|
|
75
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
76
|
+
* missing. Check the field values, and then try again.</p>
|
|
76
77
|
*
|
|
77
78
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
78
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
79
|
-
* change.</p>
|
|
79
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
80
|
+
* make your change.</p>
|
|
80
81
|
*
|
|
81
82
|
* @throws {@link InternalFailureException} (server fault)
|
|
82
83
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
@@ -85,7 +86,8 @@ declare const AssociateMergedGraphqlApiCommand_base: {
|
|
|
85
86
|
* <p>The request exceeded a limit. Try your request again.</p>
|
|
86
87
|
*
|
|
87
88
|
* @throws {@link NotFoundException} (client fault)
|
|
88
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
89
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
90
|
+
* again.</p>
|
|
89
91
|
*
|
|
90
92
|
* @throws {@link UnauthorizedException} (client fault)
|
|
91
93
|
* <p>You aren't authorized to perform this operation.</p>
|
|
@@ -27,7 +27,8 @@ declare const AssociateSourceGraphqlApiCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates an association between a Merged API and source API using the Merged API's
|
|
30
|
+
* <p>Creates an association between a Merged API and source API using the Merged API's
|
|
31
|
+
* identifier.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -71,12 +72,12 @@ declare const AssociateSourceGraphqlApiCommand_base: {
|
|
|
71
72
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
72
73
|
*
|
|
73
74
|
* @throws {@link BadRequestException} (client fault)
|
|
74
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
75
|
-
* field values, and then try again.</p>
|
|
75
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
76
|
+
* missing. Check the field values, and then try again.</p>
|
|
76
77
|
*
|
|
77
78
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
78
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
79
|
-
* change.</p>
|
|
79
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
80
|
+
* make your change.</p>
|
|
80
81
|
*
|
|
81
82
|
* @throws {@link InternalFailureException} (server fault)
|
|
82
83
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
@@ -85,7 +86,8 @@ declare const AssociateSourceGraphqlApiCommand_base: {
|
|
|
85
86
|
* <p>The request exceeded a limit. Try your request again.</p>
|
|
86
87
|
*
|
|
87
88
|
* @throws {@link NotFoundException} (client fault)
|
|
88
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
89
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
90
|
+
* again.</p>
|
|
89
91
|
*
|
|
90
92
|
* @throws {@link UnauthorizedException} (client fault)
|
|
91
93
|
* <p>You aren't authorized to perform this operation.</p>
|
|
@@ -66,18 +66,19 @@ declare const CreateApiCacheCommand_base: {
|
|
|
66
66
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link BadRequestException} (client fault)
|
|
69
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
70
|
-
* field values, and then try again.</p>
|
|
69
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
70
|
+
* missing. Check the field values, and then try again.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
73
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
74
|
-
* change.</p>
|
|
73
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
74
|
+
* make your change.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link InternalFailureException} (server fault)
|
|
77
77
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link NotFoundException} (client fault)
|
|
80
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
80
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
81
|
+
* again.</p>
|
|
81
82
|
*
|
|
82
83
|
* @throws {@link UnauthorizedException} (client fault)
|
|
83
84
|
* <p>You aren't authorized to perform this operation.</p>
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
4
|
+
import { CreateApiRequest, CreateApiResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateApiCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateApiCommandInput extends CreateApiRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateApiCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateApiCommandOutput extends CreateApiResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateApiCommand_base: {
|
|
25
|
+
new (input: CreateApiCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApiCommandInput, CreateApiCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateApiCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApiCommandInput, CreateApiCommandOutput, AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an <code>Api</code> object. Use this operation to create an AppSync
|
|
31
|
+
* API with your preferred configuration, such as an Event API that provides real-time message
|
|
32
|
+
* publishing and message subscriptions over WebSockets.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { AppSyncClient, CreateApiCommand } from "@aws-sdk/client-appsync"; // ES Modules import
|
|
37
|
+
* // const { AppSyncClient, CreateApiCommand } = require("@aws-sdk/client-appsync"); // CommonJS import
|
|
38
|
+
* const client = new AppSyncClient(config);
|
|
39
|
+
* const input = { // CreateApiRequest
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* ownerContact: "STRING_VALUE",
|
|
42
|
+
* tags: { // TagMap
|
|
43
|
+
* "<keys>": "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* eventConfig: { // EventConfig
|
|
46
|
+
* authProviders: [ // AuthProviders // required
|
|
47
|
+
* { // AuthProvider
|
|
48
|
+
* authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
|
|
49
|
+
* cognitoConfig: { // CognitoConfig
|
|
50
|
+
* userPoolId: "STRING_VALUE", // required
|
|
51
|
+
* awsRegion: "STRING_VALUE", // required
|
|
52
|
+
* appIdClientRegex: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* openIDConnectConfig: { // OpenIDConnectConfig
|
|
55
|
+
* issuer: "STRING_VALUE", // required
|
|
56
|
+
* clientId: "STRING_VALUE",
|
|
57
|
+
* iatTTL: Number("long"),
|
|
58
|
+
* authTTL: Number("long"),
|
|
59
|
+
* },
|
|
60
|
+
* lambdaAuthorizerConfig: { // LambdaAuthorizerConfig
|
|
61
|
+
* authorizerResultTtlInSeconds: Number("int"),
|
|
62
|
+
* authorizerUri: "STRING_VALUE", // required
|
|
63
|
+
* identityValidationExpression: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* connectionAuthModes: [ // AuthModes // required
|
|
68
|
+
* { // AuthMode
|
|
69
|
+
* authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* defaultPublishAuthModes: [ // required
|
|
73
|
+
* {
|
|
74
|
+
* authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* defaultSubscribeAuthModes: [ // required
|
|
78
|
+
* {
|
|
79
|
+
* authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* logConfig: { // EventLogConfig
|
|
83
|
+
* logLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required
|
|
84
|
+
* cloudWatchLogsRoleArn: "STRING_VALUE", // required
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* };
|
|
88
|
+
* const command = new CreateApiCommand(input);
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* // { // CreateApiResponse
|
|
91
|
+
* // api: { // Api
|
|
92
|
+
* // apiId: "STRING_VALUE",
|
|
93
|
+
* // name: "STRING_VALUE",
|
|
94
|
+
* // ownerContact: "STRING_VALUE",
|
|
95
|
+
* // tags: { // TagMap
|
|
96
|
+
* // "<keys>": "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // dns: { // MapOfStringToString
|
|
99
|
+
* // "<keys>": "STRING_VALUE",
|
|
100
|
+
* // },
|
|
101
|
+
* // apiArn: "STRING_VALUE",
|
|
102
|
+
* // created: new Date("TIMESTAMP"),
|
|
103
|
+
* // xrayEnabled: true || false,
|
|
104
|
+
* // wafWebAclArn: "STRING_VALUE",
|
|
105
|
+
* // eventConfig: { // EventConfig
|
|
106
|
+
* // authProviders: [ // AuthProviders // required
|
|
107
|
+
* // { // AuthProvider
|
|
108
|
+
* // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
|
|
109
|
+
* // cognitoConfig: { // CognitoConfig
|
|
110
|
+
* // userPoolId: "STRING_VALUE", // required
|
|
111
|
+
* // awsRegion: "STRING_VALUE", // required
|
|
112
|
+
* // appIdClientRegex: "STRING_VALUE",
|
|
113
|
+
* // },
|
|
114
|
+
* // openIDConnectConfig: { // OpenIDConnectConfig
|
|
115
|
+
* // issuer: "STRING_VALUE", // required
|
|
116
|
+
* // clientId: "STRING_VALUE",
|
|
117
|
+
* // iatTTL: Number("long"),
|
|
118
|
+
* // authTTL: Number("long"),
|
|
119
|
+
* // },
|
|
120
|
+
* // lambdaAuthorizerConfig: { // LambdaAuthorizerConfig
|
|
121
|
+
* // authorizerResultTtlInSeconds: Number("int"),
|
|
122
|
+
* // authorizerUri: "STRING_VALUE", // required
|
|
123
|
+
* // identityValidationExpression: "STRING_VALUE",
|
|
124
|
+
* // },
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
127
|
+
* // connectionAuthModes: [ // AuthModes // required
|
|
128
|
+
* // { // AuthMode
|
|
129
|
+
* // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
|
|
130
|
+
* // },
|
|
131
|
+
* // ],
|
|
132
|
+
* // defaultPublishAuthModes: [ // required
|
|
133
|
+
* // {
|
|
134
|
+
* // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // defaultSubscribeAuthModes: [ // required
|
|
138
|
+
* // {
|
|
139
|
+
* // authType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA", // required
|
|
140
|
+
* // },
|
|
141
|
+
* // ],
|
|
142
|
+
* // logConfig: { // EventLogConfig
|
|
143
|
+
* // logLevel: "NONE" || "ERROR" || "ALL" || "INFO" || "DEBUG", // required
|
|
144
|
+
* // cloudWatchLogsRoleArn: "STRING_VALUE", // required
|
|
145
|
+
* // },
|
|
146
|
+
* // },
|
|
147
|
+
* // },
|
|
148
|
+
* // };
|
|
149
|
+
*
|
|
150
|
+
* ```
|
|
151
|
+
*
|
|
152
|
+
* @param CreateApiCommandInput - {@link CreateApiCommandInput}
|
|
153
|
+
* @returns {@link CreateApiCommandOutput}
|
|
154
|
+
* @see {@link CreateApiCommandInput} for command's `input` shape.
|
|
155
|
+
* @see {@link CreateApiCommandOutput} for command's `response` shape.
|
|
156
|
+
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link BadRequestException} (client fault)
|
|
159
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
160
|
+
* missing. Check the field values, and then try again.</p>
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
163
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
164
|
+
* make your change.</p>
|
|
165
|
+
*
|
|
166
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
167
|
+
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
168
|
+
*
|
|
169
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
170
|
+
* <p>The operation exceeded the service quota for this resource.</p>
|
|
171
|
+
*
|
|
172
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
173
|
+
* <p>You aren't authorized to perform this operation.</p>
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link AppSyncServiceException}
|
|
176
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
177
|
+
*
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
export declare class CreateApiCommand extends CreateApiCommand_base {
|
|
181
|
+
/** @internal type navigation helper, not in runtime. */
|
|
182
|
+
protected static __types: {
|
|
183
|
+
api: {
|
|
184
|
+
input: CreateApiRequest;
|
|
185
|
+
output: CreateApiResponse;
|
|
186
|
+
};
|
|
187
|
+
sdk: {
|
|
188
|
+
input: CreateApiCommandInput;
|
|
189
|
+
output: CreateApiCommandOutput;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
}
|
|
@@ -66,8 +66,8 @@ declare const CreateApiKeyCommand_base: {
|
|
|
66
66
|
* <code>CreateApiKey</code>) or from update (for <code>UpdateApiKey</code>).</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link BadRequestException} (client fault)
|
|
69
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
70
|
-
* field values, and then try again.</p>
|
|
69
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
70
|
+
* missing. Check the field values, and then try again.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link InternalFailureException} (server fault)
|
|
73
73
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
@@ -76,7 +76,8 @@ declare const CreateApiKeyCommand_base: {
|
|
|
76
76
|
* <p>The request exceeded a limit. Try your request again.</p>
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link NotFoundException} (client fault)
|
|
79
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
79
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
80
|
+
* again.</p>
|
|
80
81
|
*
|
|
81
82
|
* @throws {@link UnauthorizedException} (client fault)
|
|
82
83
|
* <p>You aren't authorized to perform this operation.</p>
|