@aws-sdk/client-appsync 3.312.0 → 3.316.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/dist-cjs/AppSync.js +55 -714
- package/dist-cjs/protocols/Aws_restJson1.js +486 -1188
- package/dist-es/AppSync.js +55 -714
- package/dist-es/protocols/Aws_restJson1.js +414 -1116
- package/dist-types/AppSync.d.ts +59 -127
- package/dist-types/ts3.4/AppSync.d.ts +2 -1
- package/package.json +6 -6
package/dist-types/AppSync.d.ts
CHANGED
|
@@ -51,386 +51,318 @@ import { UpdateFunctionCommandInput, UpdateFunctionCommandOutput } from "./comma
|
|
|
51
51
|
import { UpdateGraphqlApiCommandInput, UpdateGraphqlApiCommandOutput } from "./commands/UpdateGraphqlApiCommand";
|
|
52
52
|
import { UpdateResolverCommandInput, UpdateResolverCommandOutput } from "./commands/UpdateResolverCommand";
|
|
53
53
|
import { UpdateTypeCommandInput, UpdateTypeCommandOutput } from "./commands/UpdateTypeCommand";
|
|
54
|
-
|
|
55
|
-
* @public
|
|
56
|
-
* <p>AppSync provides API actions for creating and interacting with data sources using GraphQL
|
|
57
|
-
* from your application.</p>
|
|
58
|
-
*/
|
|
59
|
-
export declare class AppSync extends AppSyncClient {
|
|
54
|
+
export interface AppSync {
|
|
60
55
|
/**
|
|
61
|
-
* @
|
|
62
|
-
* <p>Maps an endpoint to your custom domain.</p>
|
|
56
|
+
* @see {@link AssociateApiCommand}
|
|
63
57
|
*/
|
|
64
58
|
associateApi(args: AssociateApiCommandInput, options?: __HttpHandlerOptions): Promise<AssociateApiCommandOutput>;
|
|
65
59
|
associateApi(args: AssociateApiCommandInput, cb: (err: any, data?: AssociateApiCommandOutput) => void): void;
|
|
66
60
|
associateApi(args: AssociateApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateApiCommandOutput) => void): void;
|
|
67
61
|
/**
|
|
68
|
-
* @
|
|
69
|
-
* <p>Creates a cache for the GraphQL API.</p>
|
|
62
|
+
* @see {@link CreateApiCacheCommand}
|
|
70
63
|
*/
|
|
71
64
|
createApiCache(args: CreateApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<CreateApiCacheCommandOutput>;
|
|
72
65
|
createApiCache(args: CreateApiCacheCommandInput, cb: (err: any, data?: CreateApiCacheCommandOutput) => void): void;
|
|
73
66
|
createApiCache(args: CreateApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiCacheCommandOutput) => void): void;
|
|
74
67
|
/**
|
|
75
|
-
* @
|
|
76
|
-
* <p>Creates a unique key that you can distribute to clients who invoke your API.</p>
|
|
68
|
+
* @see {@link CreateApiKeyCommand}
|
|
77
69
|
*/
|
|
78
70
|
createApiKey(args: CreateApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateApiKeyCommandOutput>;
|
|
79
71
|
createApiKey(args: CreateApiKeyCommandInput, cb: (err: any, data?: CreateApiKeyCommandOutput) => void): void;
|
|
80
72
|
createApiKey(args: CreateApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiKeyCommandOutput) => void): void;
|
|
81
73
|
/**
|
|
82
|
-
* @
|
|
83
|
-
* <p>Creates a <code>DataSource</code> object.</p>
|
|
74
|
+
* @see {@link CreateDataSourceCommand}
|
|
84
75
|
*/
|
|
85
76
|
createDataSource(args: CreateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataSourceCommandOutput>;
|
|
86
77
|
createDataSource(args: CreateDataSourceCommandInput, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
|
|
87
78
|
createDataSource(args: CreateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
|
|
88
79
|
/**
|
|
89
|
-
* @
|
|
90
|
-
* <p>Creates a custom <code>DomainName</code> object.</p>
|
|
80
|
+
* @see {@link CreateDomainNameCommand}
|
|
91
81
|
*/
|
|
92
82
|
createDomainName(args: CreateDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<CreateDomainNameCommandOutput>;
|
|
93
83
|
createDomainName(args: CreateDomainNameCommandInput, cb: (err: any, data?: CreateDomainNameCommandOutput) => void): void;
|
|
94
84
|
createDomainName(args: CreateDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDomainNameCommandOutput) => void): void;
|
|
95
85
|
/**
|
|
96
|
-
* @
|
|
97
|
-
* <p>Creates a <code>Function</code> object.</p>
|
|
98
|
-
* <p>A function is a reusable entity. You can use multiple functions to compose the resolver logic.</p>
|
|
86
|
+
* @see {@link CreateFunctionCommand}
|
|
99
87
|
*/
|
|
100
88
|
createFunction(args: CreateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<CreateFunctionCommandOutput>;
|
|
101
89
|
createFunction(args: CreateFunctionCommandInput, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
|
|
102
90
|
createFunction(args: CreateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
|
|
103
91
|
/**
|
|
104
|
-
* @
|
|
105
|
-
* <p>Creates a <code>GraphqlApi</code> object.</p>
|
|
92
|
+
* @see {@link CreateGraphqlApiCommand}
|
|
106
93
|
*/
|
|
107
94
|
createGraphqlApi(args: CreateGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<CreateGraphqlApiCommandOutput>;
|
|
108
95
|
createGraphqlApi(args: CreateGraphqlApiCommandInput, cb: (err: any, data?: CreateGraphqlApiCommandOutput) => void): void;
|
|
109
96
|
createGraphqlApi(args: CreateGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGraphqlApiCommandOutput) => void): void;
|
|
110
97
|
/**
|
|
111
|
-
* @
|
|
112
|
-
* <p>Creates a <code>Resolver</code> object.</p>
|
|
113
|
-
* <p>A resolver converts incoming requests into a format that a data source can understand, and converts the data
|
|
114
|
-
* source's responses into GraphQL.</p>
|
|
98
|
+
* @see {@link CreateResolverCommand}
|
|
115
99
|
*/
|
|
116
100
|
createResolver(args: CreateResolverCommandInput, options?: __HttpHandlerOptions): Promise<CreateResolverCommandOutput>;
|
|
117
101
|
createResolver(args: CreateResolverCommandInput, cb: (err: any, data?: CreateResolverCommandOutput) => void): void;
|
|
118
102
|
createResolver(args: CreateResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResolverCommandOutput) => void): void;
|
|
119
103
|
/**
|
|
120
|
-
* @
|
|
121
|
-
* <p>Creates a <code>Type</code> object.</p>
|
|
104
|
+
* @see {@link CreateTypeCommand}
|
|
122
105
|
*/
|
|
123
106
|
createType(args: CreateTypeCommandInput, options?: __HttpHandlerOptions): Promise<CreateTypeCommandOutput>;
|
|
124
107
|
createType(args: CreateTypeCommandInput, cb: (err: any, data?: CreateTypeCommandOutput) => void): void;
|
|
125
108
|
createType(args: CreateTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTypeCommandOutput) => void): void;
|
|
126
109
|
/**
|
|
127
|
-
* @
|
|
128
|
-
* <p>Deletes an <code>ApiCache</code> object.</p>
|
|
110
|
+
* @see {@link DeleteApiCacheCommand}
|
|
129
111
|
*/
|
|
130
112
|
deleteApiCache(args: DeleteApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApiCacheCommandOutput>;
|
|
131
113
|
deleteApiCache(args: DeleteApiCacheCommandInput, cb: (err: any, data?: DeleteApiCacheCommandOutput) => void): void;
|
|
132
114
|
deleteApiCache(args: DeleteApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApiCacheCommandOutput) => void): void;
|
|
133
115
|
/**
|
|
134
|
-
* @
|
|
135
|
-
* <p>Deletes an API key.</p>
|
|
116
|
+
* @see {@link DeleteApiKeyCommand}
|
|
136
117
|
*/
|
|
137
118
|
deleteApiKey(args: DeleteApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApiKeyCommandOutput>;
|
|
138
119
|
deleteApiKey(args: DeleteApiKeyCommandInput, cb: (err: any, data?: DeleteApiKeyCommandOutput) => void): void;
|
|
139
120
|
deleteApiKey(args: DeleteApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApiKeyCommandOutput) => void): void;
|
|
140
121
|
/**
|
|
141
|
-
* @
|
|
142
|
-
* <p>Deletes a <code>DataSource</code> object.</p>
|
|
122
|
+
* @see {@link DeleteDataSourceCommand}
|
|
143
123
|
*/
|
|
144
124
|
deleteDataSource(args: DeleteDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataSourceCommandOutput>;
|
|
145
125
|
deleteDataSource(args: DeleteDataSourceCommandInput, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
146
126
|
deleteDataSource(args: DeleteDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
147
127
|
/**
|
|
148
|
-
* @
|
|
149
|
-
* <p>Deletes a custom <code>DomainName</code> object.</p>
|
|
128
|
+
* @see {@link DeleteDomainNameCommand}
|
|
150
129
|
*/
|
|
151
130
|
deleteDomainName(args: DeleteDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDomainNameCommandOutput>;
|
|
152
131
|
deleteDomainName(args: DeleteDomainNameCommandInput, cb: (err: any, data?: DeleteDomainNameCommandOutput) => void): void;
|
|
153
132
|
deleteDomainName(args: DeleteDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDomainNameCommandOutput) => void): void;
|
|
154
133
|
/**
|
|
155
|
-
* @
|
|
156
|
-
* <p>Deletes a <code>Function</code>.</p>
|
|
134
|
+
* @see {@link DeleteFunctionCommand}
|
|
157
135
|
*/
|
|
158
136
|
deleteFunction(args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionCommandOutput>;
|
|
159
137
|
deleteFunction(args: DeleteFunctionCommandInput, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
|
|
160
138
|
deleteFunction(args: DeleteFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
|
|
161
139
|
/**
|
|
162
|
-
* @
|
|
163
|
-
* <p>Deletes a <code>GraphqlApi</code> object.</p>
|
|
140
|
+
* @see {@link DeleteGraphqlApiCommand}
|
|
164
141
|
*/
|
|
165
142
|
deleteGraphqlApi(args: DeleteGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGraphqlApiCommandOutput>;
|
|
166
143
|
deleteGraphqlApi(args: DeleteGraphqlApiCommandInput, cb: (err: any, data?: DeleteGraphqlApiCommandOutput) => void): void;
|
|
167
144
|
deleteGraphqlApi(args: DeleteGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGraphqlApiCommandOutput) => void): void;
|
|
168
145
|
/**
|
|
169
|
-
* @
|
|
170
|
-
* <p>Deletes a <code>Resolver</code> object.</p>
|
|
146
|
+
* @see {@link DeleteResolverCommand}
|
|
171
147
|
*/
|
|
172
148
|
deleteResolver(args: DeleteResolverCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResolverCommandOutput>;
|
|
173
149
|
deleteResolver(args: DeleteResolverCommandInput, cb: (err: any, data?: DeleteResolverCommandOutput) => void): void;
|
|
174
150
|
deleteResolver(args: DeleteResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResolverCommandOutput) => void): void;
|
|
175
151
|
/**
|
|
176
|
-
* @
|
|
177
|
-
* <p>Deletes a <code>Type</code> object.</p>
|
|
152
|
+
* @see {@link DeleteTypeCommand}
|
|
178
153
|
*/
|
|
179
154
|
deleteType(args: DeleteTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTypeCommandOutput>;
|
|
180
155
|
deleteType(args: DeleteTypeCommandInput, cb: (err: any, data?: DeleteTypeCommandOutput) => void): void;
|
|
181
156
|
deleteType(args: DeleteTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTypeCommandOutput) => void): void;
|
|
182
157
|
/**
|
|
183
|
-
* @
|
|
184
|
-
* <p>Removes an <code>ApiAssociation</code> object from a custom domain.</p>
|
|
158
|
+
* @see {@link DisassociateApiCommand}
|
|
185
159
|
*/
|
|
186
160
|
disassociateApi(args: DisassociateApiCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateApiCommandOutput>;
|
|
187
161
|
disassociateApi(args: DisassociateApiCommandInput, cb: (err: any, data?: DisassociateApiCommandOutput) => void): void;
|
|
188
162
|
disassociateApi(args: DisassociateApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateApiCommandOutput) => void): void;
|
|
189
163
|
/**
|
|
190
|
-
* @
|
|
191
|
-
* <p>Evaluates the given code and returns the response. The code definition requirements depend on the specified
|
|
192
|
-
* runtime. For <code>APPSYNC_JS</code> runtimes, the code defines the request and response functions. The request
|
|
193
|
-
* function takes the incoming request after a GraphQL operation is parsed and converts it into a request
|
|
194
|
-
* configuration for the selected data source operation. The response function interprets responses from the data
|
|
195
|
-
* source and maps it to the shape of the GraphQL field output type. </p>
|
|
164
|
+
* @see {@link EvaluateCodeCommand}
|
|
196
165
|
*/
|
|
197
166
|
evaluateCode(args: EvaluateCodeCommandInput, options?: __HttpHandlerOptions): Promise<EvaluateCodeCommandOutput>;
|
|
198
167
|
evaluateCode(args: EvaluateCodeCommandInput, cb: (err: any, data?: EvaluateCodeCommandOutput) => void): void;
|
|
199
168
|
evaluateCode(args: EvaluateCodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EvaluateCodeCommandOutput) => void): void;
|
|
200
169
|
/**
|
|
201
|
-
* @
|
|
202
|
-
* <p>Evaluates a given template and returns the response. The mapping template can be a request or response
|
|
203
|
-
* template.</p>
|
|
204
|
-
* <p>Request templates take the incoming request after a GraphQL operation is parsed and convert it into a
|
|
205
|
-
* request configuration for the selected data source operation. Response templates interpret responses from the
|
|
206
|
-
* data source and map it to the shape of the GraphQL field output type.</p>
|
|
207
|
-
* <p>Mapping templates are written in the Apache Velocity Template Language (VTL).</p>
|
|
170
|
+
* @see {@link EvaluateMappingTemplateCommand}
|
|
208
171
|
*/
|
|
209
172
|
evaluateMappingTemplate(args: EvaluateMappingTemplateCommandInput, options?: __HttpHandlerOptions): Promise<EvaluateMappingTemplateCommandOutput>;
|
|
210
173
|
evaluateMappingTemplate(args: EvaluateMappingTemplateCommandInput, cb: (err: any, data?: EvaluateMappingTemplateCommandOutput) => void): void;
|
|
211
174
|
evaluateMappingTemplate(args: EvaluateMappingTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EvaluateMappingTemplateCommandOutput) => void): void;
|
|
212
175
|
/**
|
|
213
|
-
* @
|
|
214
|
-
* <p>Flushes an <code>ApiCache</code> object.</p>
|
|
176
|
+
* @see {@link FlushApiCacheCommand}
|
|
215
177
|
*/
|
|
216
178
|
flushApiCache(args: FlushApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<FlushApiCacheCommandOutput>;
|
|
217
179
|
flushApiCache(args: FlushApiCacheCommandInput, cb: (err: any, data?: FlushApiCacheCommandOutput) => void): void;
|
|
218
180
|
flushApiCache(args: FlushApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FlushApiCacheCommandOutput) => void): void;
|
|
219
181
|
/**
|
|
220
|
-
* @
|
|
221
|
-
* <p>Retrieves an <code>ApiAssociation</code> object.</p>
|
|
182
|
+
* @see {@link GetApiAssociationCommand}
|
|
222
183
|
*/
|
|
223
184
|
getApiAssociation(args: GetApiAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetApiAssociationCommandOutput>;
|
|
224
185
|
getApiAssociation(args: GetApiAssociationCommandInput, cb: (err: any, data?: GetApiAssociationCommandOutput) => void): void;
|
|
225
186
|
getApiAssociation(args: GetApiAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApiAssociationCommandOutput) => void): void;
|
|
226
187
|
/**
|
|
227
|
-
* @
|
|
228
|
-
* <p>Retrieves an <code>ApiCache</code> object.</p>
|
|
188
|
+
* @see {@link GetApiCacheCommand}
|
|
229
189
|
*/
|
|
230
190
|
getApiCache(args: GetApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<GetApiCacheCommandOutput>;
|
|
231
191
|
getApiCache(args: GetApiCacheCommandInput, cb: (err: any, data?: GetApiCacheCommandOutput) => void): void;
|
|
232
192
|
getApiCache(args: GetApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApiCacheCommandOutput) => void): void;
|
|
233
193
|
/**
|
|
234
|
-
* @
|
|
235
|
-
* <p>Retrieves a <code>DataSource</code> object.</p>
|
|
194
|
+
* @see {@link GetDataSourceCommand}
|
|
236
195
|
*/
|
|
237
196
|
getDataSource(args: GetDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<GetDataSourceCommandOutput>;
|
|
238
197
|
getDataSource(args: GetDataSourceCommandInput, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
239
198
|
getDataSource(args: GetDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
240
199
|
/**
|
|
241
|
-
* @
|
|
242
|
-
* <p>Retrieves a custom <code>DomainName</code> object.</p>
|
|
200
|
+
* @see {@link GetDomainNameCommand}
|
|
243
201
|
*/
|
|
244
202
|
getDomainName(args: GetDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<GetDomainNameCommandOutput>;
|
|
245
203
|
getDomainName(args: GetDomainNameCommandInput, cb: (err: any, data?: GetDomainNameCommandOutput) => void): void;
|
|
246
204
|
getDomainName(args: GetDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDomainNameCommandOutput) => void): void;
|
|
247
205
|
/**
|
|
248
|
-
* @
|
|
249
|
-
* <p>Get a <code>Function</code>.</p>
|
|
206
|
+
* @see {@link GetFunctionCommand}
|
|
250
207
|
*/
|
|
251
208
|
getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCommandOutput>;
|
|
252
209
|
getFunction(args: GetFunctionCommandInput, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
|
|
253
210
|
getFunction(args: GetFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
|
|
254
211
|
/**
|
|
255
|
-
* @
|
|
256
|
-
* <p>Retrieves a <code>GraphqlApi</code> object.</p>
|
|
212
|
+
* @see {@link GetGraphqlApiCommand}
|
|
257
213
|
*/
|
|
258
214
|
getGraphqlApi(args: GetGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<GetGraphqlApiCommandOutput>;
|
|
259
215
|
getGraphqlApi(args: GetGraphqlApiCommandInput, cb: (err: any, data?: GetGraphqlApiCommandOutput) => void): void;
|
|
260
216
|
getGraphqlApi(args: GetGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGraphqlApiCommandOutput) => void): void;
|
|
261
217
|
/**
|
|
262
|
-
* @
|
|
263
|
-
* <p>Retrieves the introspection schema for a GraphQL API.</p>
|
|
218
|
+
* @see {@link GetIntrospectionSchemaCommand}
|
|
264
219
|
*/
|
|
265
220
|
getIntrospectionSchema(args: GetIntrospectionSchemaCommandInput, options?: __HttpHandlerOptions): Promise<GetIntrospectionSchemaCommandOutput>;
|
|
266
221
|
getIntrospectionSchema(args: GetIntrospectionSchemaCommandInput, cb: (err: any, data?: GetIntrospectionSchemaCommandOutput) => void): void;
|
|
267
222
|
getIntrospectionSchema(args: GetIntrospectionSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIntrospectionSchemaCommandOutput) => void): void;
|
|
268
223
|
/**
|
|
269
|
-
* @
|
|
270
|
-
* <p>Retrieves a <code>Resolver</code> object.</p>
|
|
224
|
+
* @see {@link GetResolverCommand}
|
|
271
225
|
*/
|
|
272
226
|
getResolver(args: GetResolverCommandInput, options?: __HttpHandlerOptions): Promise<GetResolverCommandOutput>;
|
|
273
227
|
getResolver(args: GetResolverCommandInput, cb: (err: any, data?: GetResolverCommandOutput) => void): void;
|
|
274
228
|
getResolver(args: GetResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResolverCommandOutput) => void): void;
|
|
275
229
|
/**
|
|
276
|
-
* @
|
|
277
|
-
* <p>Retrieves the current status of a schema creation operation.</p>
|
|
230
|
+
* @see {@link GetSchemaCreationStatusCommand}
|
|
278
231
|
*/
|
|
279
232
|
getSchemaCreationStatus(args: GetSchemaCreationStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetSchemaCreationStatusCommandOutput>;
|
|
280
233
|
getSchemaCreationStatus(args: GetSchemaCreationStatusCommandInput, cb: (err: any, data?: GetSchemaCreationStatusCommandOutput) => void): void;
|
|
281
234
|
getSchemaCreationStatus(args: GetSchemaCreationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSchemaCreationStatusCommandOutput) => void): void;
|
|
282
235
|
/**
|
|
283
|
-
* @
|
|
284
|
-
* <p>Retrieves a <code>Type</code> object.</p>
|
|
236
|
+
* @see {@link GetTypeCommand}
|
|
285
237
|
*/
|
|
286
238
|
getType(args: GetTypeCommandInput, options?: __HttpHandlerOptions): Promise<GetTypeCommandOutput>;
|
|
287
239
|
getType(args: GetTypeCommandInput, cb: (err: any, data?: GetTypeCommandOutput) => void): void;
|
|
288
240
|
getType(args: GetTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTypeCommandOutput) => void): void;
|
|
289
241
|
/**
|
|
290
|
-
* @
|
|
291
|
-
* <p>Lists the API keys for a given API.</p>
|
|
292
|
-
* <note>
|
|
293
|
-
* <p>API keys are deleted automatically 60 days after they expire. However, they may still be included in the
|
|
294
|
-
* response until they have actually been deleted. You can safely call <code>DeleteApiKey</code> to manually
|
|
295
|
-
* delete a key before it's automatically deleted.</p>
|
|
296
|
-
* </note>
|
|
242
|
+
* @see {@link ListApiKeysCommand}
|
|
297
243
|
*/
|
|
298
244
|
listApiKeys(args: ListApiKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListApiKeysCommandOutput>;
|
|
299
245
|
listApiKeys(args: ListApiKeysCommandInput, cb: (err: any, data?: ListApiKeysCommandOutput) => void): void;
|
|
300
246
|
listApiKeys(args: ListApiKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApiKeysCommandOutput) => void): void;
|
|
301
247
|
/**
|
|
302
|
-
* @
|
|
303
|
-
* <p>Lists the data sources for a given API.</p>
|
|
248
|
+
* @see {@link ListDataSourcesCommand}
|
|
304
249
|
*/
|
|
305
250
|
listDataSources(args: ListDataSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSourcesCommandOutput>;
|
|
306
251
|
listDataSources(args: ListDataSourcesCommandInput, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
307
252
|
listDataSources(args: ListDataSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
308
253
|
/**
|
|
309
|
-
* @
|
|
310
|
-
* <p>Lists multiple custom domain names.</p>
|
|
254
|
+
* @see {@link ListDomainNamesCommand}
|
|
311
255
|
*/
|
|
312
256
|
listDomainNames(args: ListDomainNamesCommandInput, options?: __HttpHandlerOptions): Promise<ListDomainNamesCommandOutput>;
|
|
313
257
|
listDomainNames(args: ListDomainNamesCommandInput, cb: (err: any, data?: ListDomainNamesCommandOutput) => void): void;
|
|
314
258
|
listDomainNames(args: ListDomainNamesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDomainNamesCommandOutput) => void): void;
|
|
315
259
|
/**
|
|
316
|
-
* @
|
|
317
|
-
* <p>List multiple functions.</p>
|
|
260
|
+
* @see {@link ListFunctionsCommand}
|
|
318
261
|
*/
|
|
319
262
|
listFunctions(args: ListFunctionsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionsCommandOutput>;
|
|
320
263
|
listFunctions(args: ListFunctionsCommandInput, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
|
|
321
264
|
listFunctions(args: ListFunctionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
|
|
322
265
|
/**
|
|
323
|
-
* @
|
|
324
|
-
* <p>Lists your GraphQL APIs.</p>
|
|
266
|
+
* @see {@link ListGraphqlApisCommand}
|
|
325
267
|
*/
|
|
326
268
|
listGraphqlApis(args: ListGraphqlApisCommandInput, options?: __HttpHandlerOptions): Promise<ListGraphqlApisCommandOutput>;
|
|
327
269
|
listGraphqlApis(args: ListGraphqlApisCommandInput, cb: (err: any, data?: ListGraphqlApisCommandOutput) => void): void;
|
|
328
270
|
listGraphqlApis(args: ListGraphqlApisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGraphqlApisCommandOutput) => void): void;
|
|
329
271
|
/**
|
|
330
|
-
* @
|
|
331
|
-
* <p>Lists the resolvers for a given API and type.</p>
|
|
272
|
+
* @see {@link ListResolversCommand}
|
|
332
273
|
*/
|
|
333
274
|
listResolvers(args: ListResolversCommandInput, options?: __HttpHandlerOptions): Promise<ListResolversCommandOutput>;
|
|
334
275
|
listResolvers(args: ListResolversCommandInput, cb: (err: any, data?: ListResolversCommandOutput) => void): void;
|
|
335
276
|
listResolvers(args: ListResolversCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResolversCommandOutput) => void): void;
|
|
336
277
|
/**
|
|
337
|
-
* @
|
|
338
|
-
* <p>List the resolvers that are associated with a specific function.</p>
|
|
278
|
+
* @see {@link ListResolversByFunctionCommand}
|
|
339
279
|
*/
|
|
340
280
|
listResolversByFunction(args: ListResolversByFunctionCommandInput, options?: __HttpHandlerOptions): Promise<ListResolversByFunctionCommandOutput>;
|
|
341
281
|
listResolversByFunction(args: ListResolversByFunctionCommandInput, cb: (err: any, data?: ListResolversByFunctionCommandOutput) => void): void;
|
|
342
282
|
listResolversByFunction(args: ListResolversByFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResolversByFunctionCommandOutput) => void): void;
|
|
343
283
|
/**
|
|
344
|
-
* @
|
|
345
|
-
* <p>Lists the tags for a resource.</p>
|
|
284
|
+
* @see {@link ListTagsForResourceCommand}
|
|
346
285
|
*/
|
|
347
286
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
348
287
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
349
288
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
350
289
|
/**
|
|
351
|
-
* @
|
|
352
|
-
* <p>Lists the types for a given API.</p>
|
|
290
|
+
* @see {@link ListTypesCommand}
|
|
353
291
|
*/
|
|
354
292
|
listTypes(args: ListTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListTypesCommandOutput>;
|
|
355
293
|
listTypes(args: ListTypesCommandInput, cb: (err: any, data?: ListTypesCommandOutput) => void): void;
|
|
356
294
|
listTypes(args: ListTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTypesCommandOutput) => void): void;
|
|
357
295
|
/**
|
|
358
|
-
* @
|
|
359
|
-
* <p>Adds a new schema to your GraphQL API.</p>
|
|
360
|
-
* <p>This operation is asynchronous. Use to determine when it has
|
|
361
|
-
* completed.</p>
|
|
296
|
+
* @see {@link StartSchemaCreationCommand}
|
|
362
297
|
*/
|
|
363
298
|
startSchemaCreation(args: StartSchemaCreationCommandInput, options?: __HttpHandlerOptions): Promise<StartSchemaCreationCommandOutput>;
|
|
364
299
|
startSchemaCreation(args: StartSchemaCreationCommandInput, cb: (err: any, data?: StartSchemaCreationCommandOutput) => void): void;
|
|
365
300
|
startSchemaCreation(args: StartSchemaCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSchemaCreationCommandOutput) => void): void;
|
|
366
301
|
/**
|
|
367
|
-
* @
|
|
368
|
-
* <p>Tags a resource with user-supplied tags.</p>
|
|
302
|
+
* @see {@link TagResourceCommand}
|
|
369
303
|
*/
|
|
370
304
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
371
305
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
372
306
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
373
307
|
/**
|
|
374
|
-
* @
|
|
375
|
-
* <p>Untags a resource.</p>
|
|
308
|
+
* @see {@link UntagResourceCommand}
|
|
376
309
|
*/
|
|
377
310
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
378
311
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
379
312
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
380
313
|
/**
|
|
381
|
-
* @
|
|
382
|
-
* <p>Updates the cache for the GraphQL API.</p>
|
|
314
|
+
* @see {@link UpdateApiCacheCommand}
|
|
383
315
|
*/
|
|
384
316
|
updateApiCache(args: UpdateApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApiCacheCommandOutput>;
|
|
385
317
|
updateApiCache(args: UpdateApiCacheCommandInput, cb: (err: any, data?: UpdateApiCacheCommandOutput) => void): void;
|
|
386
318
|
updateApiCache(args: UpdateApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiCacheCommandOutput) => void): void;
|
|
387
319
|
/**
|
|
388
|
-
* @
|
|
389
|
-
* <p>Updates an API key. You can update the key as long as it's not deleted.</p>
|
|
320
|
+
* @see {@link UpdateApiKeyCommand}
|
|
390
321
|
*/
|
|
391
322
|
updateApiKey(args: UpdateApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApiKeyCommandOutput>;
|
|
392
323
|
updateApiKey(args: UpdateApiKeyCommandInput, cb: (err: any, data?: UpdateApiKeyCommandOutput) => void): void;
|
|
393
324
|
updateApiKey(args: UpdateApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiKeyCommandOutput) => void): void;
|
|
394
325
|
/**
|
|
395
|
-
* @
|
|
396
|
-
* <p>Updates a <code>DataSource</code> object.</p>
|
|
326
|
+
* @see {@link UpdateDataSourceCommand}
|
|
397
327
|
*/
|
|
398
328
|
updateDataSource(args: UpdateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataSourceCommandOutput>;
|
|
399
329
|
updateDataSource(args: UpdateDataSourceCommandInput, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
400
330
|
updateDataSource(args: UpdateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
401
331
|
/**
|
|
402
|
-
* @
|
|
403
|
-
* <p>Updates a custom <code>DomainName</code> object.</p>
|
|
332
|
+
* @see {@link UpdateDomainNameCommand}
|
|
404
333
|
*/
|
|
405
334
|
updateDomainName(args: UpdateDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDomainNameCommandOutput>;
|
|
406
335
|
updateDomainName(args: UpdateDomainNameCommandInput, cb: (err: any, data?: UpdateDomainNameCommandOutput) => void): void;
|
|
407
336
|
updateDomainName(args: UpdateDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDomainNameCommandOutput) => void): void;
|
|
408
337
|
/**
|
|
409
|
-
* @
|
|
410
|
-
* <p>Updates a <code>Function</code> object.</p>
|
|
338
|
+
* @see {@link UpdateFunctionCommand}
|
|
411
339
|
*/
|
|
412
340
|
updateFunction(args: UpdateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionCommandOutput>;
|
|
413
341
|
updateFunction(args: UpdateFunctionCommandInput, cb: (err: any, data?: UpdateFunctionCommandOutput) => void): void;
|
|
414
342
|
updateFunction(args: UpdateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionCommandOutput) => void): void;
|
|
415
343
|
/**
|
|
416
|
-
* @
|
|
417
|
-
* <p>Updates a <code>GraphqlApi</code> object.</p>
|
|
344
|
+
* @see {@link UpdateGraphqlApiCommand}
|
|
418
345
|
*/
|
|
419
346
|
updateGraphqlApi(args: UpdateGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGraphqlApiCommandOutput>;
|
|
420
347
|
updateGraphqlApi(args: UpdateGraphqlApiCommandInput, cb: (err: any, data?: UpdateGraphqlApiCommandOutput) => void): void;
|
|
421
348
|
updateGraphqlApi(args: UpdateGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGraphqlApiCommandOutput) => void): void;
|
|
422
349
|
/**
|
|
423
|
-
* @
|
|
424
|
-
* <p>Updates a <code>Resolver</code> object.</p>
|
|
350
|
+
* @see {@link UpdateResolverCommand}
|
|
425
351
|
*/
|
|
426
352
|
updateResolver(args: UpdateResolverCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResolverCommandOutput>;
|
|
427
353
|
updateResolver(args: UpdateResolverCommandInput, cb: (err: any, data?: UpdateResolverCommandOutput) => void): void;
|
|
428
354
|
updateResolver(args: UpdateResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResolverCommandOutput) => void): void;
|
|
429
355
|
/**
|
|
430
|
-
* @
|
|
431
|
-
* <p>Updates a <code>Type</code> object.</p>
|
|
356
|
+
* @see {@link UpdateTypeCommand}
|
|
432
357
|
*/
|
|
433
358
|
updateType(args: UpdateTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTypeCommandOutput>;
|
|
434
359
|
updateType(args: UpdateTypeCommandInput, cb: (err: any, data?: UpdateTypeCommandOutput) => void): void;
|
|
435
360
|
updateType(args: UpdateTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTypeCommandOutput) => void): void;
|
|
436
361
|
}
|
|
362
|
+
/**
|
|
363
|
+
* @public
|
|
364
|
+
* <p>AppSync provides API actions for creating and interacting with data sources using GraphQL
|
|
365
|
+
* from your application.</p>
|
|
366
|
+
*/
|
|
367
|
+
export declare class AppSync extends AppSyncClient implements AppSync {
|
|
368
|
+
}
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
UpdateTypeCommandInput,
|
|
205
205
|
UpdateTypeCommandOutput,
|
|
206
206
|
} from "./commands/UpdateTypeCommand";
|
|
207
|
-
export
|
|
207
|
+
export interface AppSync {
|
|
208
208
|
associateApi(
|
|
209
209
|
args: AssociateApiCommandInput,
|
|
210
210
|
options?: __HttpHandlerOptions
|
|
@@ -869,3 +869,4 @@ export declare class AppSync extends AppSyncClient {
|
|
|
869
869
|
cb: (err: any, data?: UpdateTypeCommandOutput) => void
|
|
870
870
|
): void;
|
|
871
871
|
}
|
|
872
|
+
export declare class AppSync extends AppSyncClient implements AppSync {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appsync",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|