@aws-sdk/client-appsync 3.296.0 → 3.297.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-types/AppSync.d.ts +52 -0
- package/dist-types/AppSyncClient.d.ts +24 -4
- package/dist-types/commands/AssociateApiCommand.d.ts +16 -0
- package/dist-types/commands/CreateApiCacheCommand.d.ts +16 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +16 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +16 -0
- package/dist-types/commands/CreateDomainNameCommand.d.ts +16 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +16 -0
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +16 -0
- package/dist-types/commands/CreateResolverCommand.d.ts +16 -0
- package/dist-types/commands/CreateTypeCommand.d.ts +16 -0
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +16 -0
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +16 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +16 -0
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResolverCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTypeCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateApiCommand.d.ts +16 -0
- package/dist-types/commands/EvaluateCodeCommand.d.ts +16 -0
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +16 -0
- package/dist-types/commands/FlushApiCacheCommand.d.ts +16 -0
- package/dist-types/commands/GetApiAssociationCommand.d.ts +16 -0
- package/dist-types/commands/GetApiCacheCommand.d.ts +16 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +16 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +16 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +16 -0
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +16 -0
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +16 -0
- package/dist-types/commands/GetResolverCommand.d.ts +16 -0
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +16 -0
- package/dist-types/commands/GetTypeCommand.d.ts +16 -0
- package/dist-types/commands/ListApiKeysCommand.d.ts +16 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +16 -0
- package/dist-types/commands/ListDomainNamesCommand.d.ts +16 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +16 -0
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +16 -0
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +16 -0
- package/dist-types/commands/ListResolversCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTypesCommand.d.ts +16 -0
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +16 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +16 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +16 -0
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +16 -0
- package/dist-types/commands/UpdateResolverCommand.d.ts +16 -0
- package/dist-types/commands/UpdateTypeCommand.d.ts +16 -0
- package/dist-types/models/AppSyncServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +387 -0
- package/package.json +3 -3
package/dist-types/AppSync.d.ts
CHANGED
|
@@ -52,41 +52,48 @@ import { UpdateGraphqlApiCommandInput, UpdateGraphqlApiCommandOutput } from "./c
|
|
|
52
52
|
import { UpdateResolverCommandInput, UpdateResolverCommandOutput } from "./commands/UpdateResolverCommand";
|
|
53
53
|
import { UpdateTypeCommandInput, UpdateTypeCommandOutput } from "./commands/UpdateTypeCommand";
|
|
54
54
|
/**
|
|
55
|
+
* @public
|
|
55
56
|
* <p>AppSync provides API actions for creating and interacting with data sources using GraphQL
|
|
56
57
|
* from your application.</p>
|
|
57
58
|
*/
|
|
58
59
|
export declare class AppSync extends AppSyncClient {
|
|
59
60
|
/**
|
|
61
|
+
* @public
|
|
60
62
|
* <p>Maps an endpoint to your custom domain.</p>
|
|
61
63
|
*/
|
|
62
64
|
associateApi(args: AssociateApiCommandInput, options?: __HttpHandlerOptions): Promise<AssociateApiCommandOutput>;
|
|
63
65
|
associateApi(args: AssociateApiCommandInput, cb: (err: any, data?: AssociateApiCommandOutput) => void): void;
|
|
64
66
|
associateApi(args: AssociateApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateApiCommandOutput) => void): void;
|
|
65
67
|
/**
|
|
68
|
+
* @public
|
|
66
69
|
* <p>Creates a cache for the GraphQL API.</p>
|
|
67
70
|
*/
|
|
68
71
|
createApiCache(args: CreateApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<CreateApiCacheCommandOutput>;
|
|
69
72
|
createApiCache(args: CreateApiCacheCommandInput, cb: (err: any, data?: CreateApiCacheCommandOutput) => void): void;
|
|
70
73
|
createApiCache(args: CreateApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiCacheCommandOutput) => void): void;
|
|
71
74
|
/**
|
|
75
|
+
* @public
|
|
72
76
|
* <p>Creates a unique key that you can distribute to clients who invoke your API.</p>
|
|
73
77
|
*/
|
|
74
78
|
createApiKey(args: CreateApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateApiKeyCommandOutput>;
|
|
75
79
|
createApiKey(args: CreateApiKeyCommandInput, cb: (err: any, data?: CreateApiKeyCommandOutput) => void): void;
|
|
76
80
|
createApiKey(args: CreateApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiKeyCommandOutput) => void): void;
|
|
77
81
|
/**
|
|
82
|
+
* @public
|
|
78
83
|
* <p>Creates a <code>DataSource</code> object.</p>
|
|
79
84
|
*/
|
|
80
85
|
createDataSource(args: CreateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataSourceCommandOutput>;
|
|
81
86
|
createDataSource(args: CreateDataSourceCommandInput, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
|
|
82
87
|
createDataSource(args: CreateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
|
|
83
88
|
/**
|
|
89
|
+
* @public
|
|
84
90
|
* <p>Creates a custom <code>DomainName</code> object.</p>
|
|
85
91
|
*/
|
|
86
92
|
createDomainName(args: CreateDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<CreateDomainNameCommandOutput>;
|
|
87
93
|
createDomainName(args: CreateDomainNameCommandInput, cb: (err: any, data?: CreateDomainNameCommandOutput) => void): void;
|
|
88
94
|
createDomainName(args: CreateDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDomainNameCommandOutput) => void): void;
|
|
89
95
|
/**
|
|
96
|
+
* @public
|
|
90
97
|
* <p>Creates a <code>Function</code> object.</p>
|
|
91
98
|
* <p>A function is a reusable entity. You can use multiple functions to compose the resolver logic.</p>
|
|
92
99
|
*/
|
|
@@ -94,12 +101,14 @@ export declare class AppSync extends AppSyncClient {
|
|
|
94
101
|
createFunction(args: CreateFunctionCommandInput, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
|
|
95
102
|
createFunction(args: CreateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
|
|
96
103
|
/**
|
|
104
|
+
* @public
|
|
97
105
|
* <p>Creates a <code>GraphqlApi</code> object.</p>
|
|
98
106
|
*/
|
|
99
107
|
createGraphqlApi(args: CreateGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<CreateGraphqlApiCommandOutput>;
|
|
100
108
|
createGraphqlApi(args: CreateGraphqlApiCommandInput, cb: (err: any, data?: CreateGraphqlApiCommandOutput) => void): void;
|
|
101
109
|
createGraphqlApi(args: CreateGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGraphqlApiCommandOutput) => void): void;
|
|
102
110
|
/**
|
|
111
|
+
* @public
|
|
103
112
|
* <p>Creates a <code>Resolver</code> object.</p>
|
|
104
113
|
* <p>A resolver converts incoming requests into a format that a data source can understand, and converts the data
|
|
105
114
|
* source's responses into GraphQL.</p>
|
|
@@ -108,66 +117,77 @@ export declare class AppSync extends AppSyncClient {
|
|
|
108
117
|
createResolver(args: CreateResolverCommandInput, cb: (err: any, data?: CreateResolverCommandOutput) => void): void;
|
|
109
118
|
createResolver(args: CreateResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResolverCommandOutput) => void): void;
|
|
110
119
|
/**
|
|
120
|
+
* @public
|
|
111
121
|
* <p>Creates a <code>Type</code> object.</p>
|
|
112
122
|
*/
|
|
113
123
|
createType(args: CreateTypeCommandInput, options?: __HttpHandlerOptions): Promise<CreateTypeCommandOutput>;
|
|
114
124
|
createType(args: CreateTypeCommandInput, cb: (err: any, data?: CreateTypeCommandOutput) => void): void;
|
|
115
125
|
createType(args: CreateTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTypeCommandOutput) => void): void;
|
|
116
126
|
/**
|
|
127
|
+
* @public
|
|
117
128
|
* <p>Deletes an <code>ApiCache</code> object.</p>
|
|
118
129
|
*/
|
|
119
130
|
deleteApiCache(args: DeleteApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApiCacheCommandOutput>;
|
|
120
131
|
deleteApiCache(args: DeleteApiCacheCommandInput, cb: (err: any, data?: DeleteApiCacheCommandOutput) => void): void;
|
|
121
132
|
deleteApiCache(args: DeleteApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApiCacheCommandOutput) => void): void;
|
|
122
133
|
/**
|
|
134
|
+
* @public
|
|
123
135
|
* <p>Deletes an API key.</p>
|
|
124
136
|
*/
|
|
125
137
|
deleteApiKey(args: DeleteApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApiKeyCommandOutput>;
|
|
126
138
|
deleteApiKey(args: DeleteApiKeyCommandInput, cb: (err: any, data?: DeleteApiKeyCommandOutput) => void): void;
|
|
127
139
|
deleteApiKey(args: DeleteApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApiKeyCommandOutput) => void): void;
|
|
128
140
|
/**
|
|
141
|
+
* @public
|
|
129
142
|
* <p>Deletes a <code>DataSource</code> object.</p>
|
|
130
143
|
*/
|
|
131
144
|
deleteDataSource(args: DeleteDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataSourceCommandOutput>;
|
|
132
145
|
deleteDataSource(args: DeleteDataSourceCommandInput, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
133
146
|
deleteDataSource(args: DeleteDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
134
147
|
/**
|
|
148
|
+
* @public
|
|
135
149
|
* <p>Deletes a custom <code>DomainName</code> object.</p>
|
|
136
150
|
*/
|
|
137
151
|
deleteDomainName(args: DeleteDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDomainNameCommandOutput>;
|
|
138
152
|
deleteDomainName(args: DeleteDomainNameCommandInput, cb: (err: any, data?: DeleteDomainNameCommandOutput) => void): void;
|
|
139
153
|
deleteDomainName(args: DeleteDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDomainNameCommandOutput) => void): void;
|
|
140
154
|
/**
|
|
155
|
+
* @public
|
|
141
156
|
* <p>Deletes a <code>Function</code>.</p>
|
|
142
157
|
*/
|
|
143
158
|
deleteFunction(args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionCommandOutput>;
|
|
144
159
|
deleteFunction(args: DeleteFunctionCommandInput, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
|
|
145
160
|
deleteFunction(args: DeleteFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
|
|
146
161
|
/**
|
|
162
|
+
* @public
|
|
147
163
|
* <p>Deletes a <code>GraphqlApi</code> object.</p>
|
|
148
164
|
*/
|
|
149
165
|
deleteGraphqlApi(args: DeleteGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGraphqlApiCommandOutput>;
|
|
150
166
|
deleteGraphqlApi(args: DeleteGraphqlApiCommandInput, cb: (err: any, data?: DeleteGraphqlApiCommandOutput) => void): void;
|
|
151
167
|
deleteGraphqlApi(args: DeleteGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGraphqlApiCommandOutput) => void): void;
|
|
152
168
|
/**
|
|
169
|
+
* @public
|
|
153
170
|
* <p>Deletes a <code>Resolver</code> object.</p>
|
|
154
171
|
*/
|
|
155
172
|
deleteResolver(args: DeleteResolverCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResolverCommandOutput>;
|
|
156
173
|
deleteResolver(args: DeleteResolverCommandInput, cb: (err: any, data?: DeleteResolverCommandOutput) => void): void;
|
|
157
174
|
deleteResolver(args: DeleteResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResolverCommandOutput) => void): void;
|
|
158
175
|
/**
|
|
176
|
+
* @public
|
|
159
177
|
* <p>Deletes a <code>Type</code> object.</p>
|
|
160
178
|
*/
|
|
161
179
|
deleteType(args: DeleteTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTypeCommandOutput>;
|
|
162
180
|
deleteType(args: DeleteTypeCommandInput, cb: (err: any, data?: DeleteTypeCommandOutput) => void): void;
|
|
163
181
|
deleteType(args: DeleteTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTypeCommandOutput) => void): void;
|
|
164
182
|
/**
|
|
183
|
+
* @public
|
|
165
184
|
* <p>Removes an <code>ApiAssociation</code> object from a custom domain.</p>
|
|
166
185
|
*/
|
|
167
186
|
disassociateApi(args: DisassociateApiCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateApiCommandOutput>;
|
|
168
187
|
disassociateApi(args: DisassociateApiCommandInput, cb: (err: any, data?: DisassociateApiCommandOutput) => void): void;
|
|
169
188
|
disassociateApi(args: DisassociateApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateApiCommandOutput) => void): void;
|
|
170
189
|
/**
|
|
190
|
+
* @public
|
|
171
191
|
* <p>Evaluates the given code and returns the response. The code definition requirements depend on the specified
|
|
172
192
|
* runtime. For <code>APPSYNC_JS</code> runtimes, the code defines the request and response functions. The request
|
|
173
193
|
* function takes the incoming request after a GraphQL operation is parsed and converts it into a request
|
|
@@ -178,6 +198,7 @@ export declare class AppSync extends AppSyncClient {
|
|
|
178
198
|
evaluateCode(args: EvaluateCodeCommandInput, cb: (err: any, data?: EvaluateCodeCommandOutput) => void): void;
|
|
179
199
|
evaluateCode(args: EvaluateCodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EvaluateCodeCommandOutput) => void): void;
|
|
180
200
|
/**
|
|
201
|
+
* @public
|
|
181
202
|
* <p>Evaluates a given template and returns the response. The mapping template can be a request or response
|
|
182
203
|
* template.</p>
|
|
183
204
|
* <p>Request templates take the incoming request after a GraphQL operation is parsed and convert it into a
|
|
@@ -189,72 +210,84 @@ export declare class AppSync extends AppSyncClient {
|
|
|
189
210
|
evaluateMappingTemplate(args: EvaluateMappingTemplateCommandInput, cb: (err: any, data?: EvaluateMappingTemplateCommandOutput) => void): void;
|
|
190
211
|
evaluateMappingTemplate(args: EvaluateMappingTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EvaluateMappingTemplateCommandOutput) => void): void;
|
|
191
212
|
/**
|
|
213
|
+
* @public
|
|
192
214
|
* <p>Flushes an <code>ApiCache</code> object.</p>
|
|
193
215
|
*/
|
|
194
216
|
flushApiCache(args: FlushApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<FlushApiCacheCommandOutput>;
|
|
195
217
|
flushApiCache(args: FlushApiCacheCommandInput, cb: (err: any, data?: FlushApiCacheCommandOutput) => void): void;
|
|
196
218
|
flushApiCache(args: FlushApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FlushApiCacheCommandOutput) => void): void;
|
|
197
219
|
/**
|
|
220
|
+
* @public
|
|
198
221
|
* <p>Retrieves an <code>ApiAssociation</code> object.</p>
|
|
199
222
|
*/
|
|
200
223
|
getApiAssociation(args: GetApiAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetApiAssociationCommandOutput>;
|
|
201
224
|
getApiAssociation(args: GetApiAssociationCommandInput, cb: (err: any, data?: GetApiAssociationCommandOutput) => void): void;
|
|
202
225
|
getApiAssociation(args: GetApiAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApiAssociationCommandOutput) => void): void;
|
|
203
226
|
/**
|
|
227
|
+
* @public
|
|
204
228
|
* <p>Retrieves an <code>ApiCache</code> object.</p>
|
|
205
229
|
*/
|
|
206
230
|
getApiCache(args: GetApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<GetApiCacheCommandOutput>;
|
|
207
231
|
getApiCache(args: GetApiCacheCommandInput, cb: (err: any, data?: GetApiCacheCommandOutput) => void): void;
|
|
208
232
|
getApiCache(args: GetApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApiCacheCommandOutput) => void): void;
|
|
209
233
|
/**
|
|
234
|
+
* @public
|
|
210
235
|
* <p>Retrieves a <code>DataSource</code> object.</p>
|
|
211
236
|
*/
|
|
212
237
|
getDataSource(args: GetDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<GetDataSourceCommandOutput>;
|
|
213
238
|
getDataSource(args: GetDataSourceCommandInput, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
214
239
|
getDataSource(args: GetDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
215
240
|
/**
|
|
241
|
+
* @public
|
|
216
242
|
* <p>Retrieves a custom <code>DomainName</code> object.</p>
|
|
217
243
|
*/
|
|
218
244
|
getDomainName(args: GetDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<GetDomainNameCommandOutput>;
|
|
219
245
|
getDomainName(args: GetDomainNameCommandInput, cb: (err: any, data?: GetDomainNameCommandOutput) => void): void;
|
|
220
246
|
getDomainName(args: GetDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDomainNameCommandOutput) => void): void;
|
|
221
247
|
/**
|
|
248
|
+
* @public
|
|
222
249
|
* <p>Get a <code>Function</code>.</p>
|
|
223
250
|
*/
|
|
224
251
|
getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCommandOutput>;
|
|
225
252
|
getFunction(args: GetFunctionCommandInput, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
|
|
226
253
|
getFunction(args: GetFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
|
|
227
254
|
/**
|
|
255
|
+
* @public
|
|
228
256
|
* <p>Retrieves a <code>GraphqlApi</code> object.</p>
|
|
229
257
|
*/
|
|
230
258
|
getGraphqlApi(args: GetGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<GetGraphqlApiCommandOutput>;
|
|
231
259
|
getGraphqlApi(args: GetGraphqlApiCommandInput, cb: (err: any, data?: GetGraphqlApiCommandOutput) => void): void;
|
|
232
260
|
getGraphqlApi(args: GetGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGraphqlApiCommandOutput) => void): void;
|
|
233
261
|
/**
|
|
262
|
+
* @public
|
|
234
263
|
* <p>Retrieves the introspection schema for a GraphQL API.</p>
|
|
235
264
|
*/
|
|
236
265
|
getIntrospectionSchema(args: GetIntrospectionSchemaCommandInput, options?: __HttpHandlerOptions): Promise<GetIntrospectionSchemaCommandOutput>;
|
|
237
266
|
getIntrospectionSchema(args: GetIntrospectionSchemaCommandInput, cb: (err: any, data?: GetIntrospectionSchemaCommandOutput) => void): void;
|
|
238
267
|
getIntrospectionSchema(args: GetIntrospectionSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIntrospectionSchemaCommandOutput) => void): void;
|
|
239
268
|
/**
|
|
269
|
+
* @public
|
|
240
270
|
* <p>Retrieves a <code>Resolver</code> object.</p>
|
|
241
271
|
*/
|
|
242
272
|
getResolver(args: GetResolverCommandInput, options?: __HttpHandlerOptions): Promise<GetResolverCommandOutput>;
|
|
243
273
|
getResolver(args: GetResolverCommandInput, cb: (err: any, data?: GetResolverCommandOutput) => void): void;
|
|
244
274
|
getResolver(args: GetResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResolverCommandOutput) => void): void;
|
|
245
275
|
/**
|
|
276
|
+
* @public
|
|
246
277
|
* <p>Retrieves the current status of a schema creation operation.</p>
|
|
247
278
|
*/
|
|
248
279
|
getSchemaCreationStatus(args: GetSchemaCreationStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetSchemaCreationStatusCommandOutput>;
|
|
249
280
|
getSchemaCreationStatus(args: GetSchemaCreationStatusCommandInput, cb: (err: any, data?: GetSchemaCreationStatusCommandOutput) => void): void;
|
|
250
281
|
getSchemaCreationStatus(args: GetSchemaCreationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSchemaCreationStatusCommandOutput) => void): void;
|
|
251
282
|
/**
|
|
283
|
+
* @public
|
|
252
284
|
* <p>Retrieves a <code>Type</code> object.</p>
|
|
253
285
|
*/
|
|
254
286
|
getType(args: GetTypeCommandInput, options?: __HttpHandlerOptions): Promise<GetTypeCommandOutput>;
|
|
255
287
|
getType(args: GetTypeCommandInput, cb: (err: any, data?: GetTypeCommandOutput) => void): void;
|
|
256
288
|
getType(args: GetTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTypeCommandOutput) => void): void;
|
|
257
289
|
/**
|
|
290
|
+
* @public
|
|
258
291
|
* <p>Lists the API keys for a given API.</p>
|
|
259
292
|
* <note>
|
|
260
293
|
* <p>API keys are deleted automatically 60 days after they expire. However, they may still be included in the
|
|
@@ -266,54 +299,63 @@ export declare class AppSync extends AppSyncClient {
|
|
|
266
299
|
listApiKeys(args: ListApiKeysCommandInput, cb: (err: any, data?: ListApiKeysCommandOutput) => void): void;
|
|
267
300
|
listApiKeys(args: ListApiKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApiKeysCommandOutput) => void): void;
|
|
268
301
|
/**
|
|
302
|
+
* @public
|
|
269
303
|
* <p>Lists the data sources for a given API.</p>
|
|
270
304
|
*/
|
|
271
305
|
listDataSources(args: ListDataSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSourcesCommandOutput>;
|
|
272
306
|
listDataSources(args: ListDataSourcesCommandInput, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
273
307
|
listDataSources(args: ListDataSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
274
308
|
/**
|
|
309
|
+
* @public
|
|
275
310
|
* <p>Lists multiple custom domain names.</p>
|
|
276
311
|
*/
|
|
277
312
|
listDomainNames(args: ListDomainNamesCommandInput, options?: __HttpHandlerOptions): Promise<ListDomainNamesCommandOutput>;
|
|
278
313
|
listDomainNames(args: ListDomainNamesCommandInput, cb: (err: any, data?: ListDomainNamesCommandOutput) => void): void;
|
|
279
314
|
listDomainNames(args: ListDomainNamesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDomainNamesCommandOutput) => void): void;
|
|
280
315
|
/**
|
|
316
|
+
* @public
|
|
281
317
|
* <p>List multiple functions.</p>
|
|
282
318
|
*/
|
|
283
319
|
listFunctions(args: ListFunctionsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionsCommandOutput>;
|
|
284
320
|
listFunctions(args: ListFunctionsCommandInput, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
|
|
285
321
|
listFunctions(args: ListFunctionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
|
|
286
322
|
/**
|
|
323
|
+
* @public
|
|
287
324
|
* <p>Lists your GraphQL APIs.</p>
|
|
288
325
|
*/
|
|
289
326
|
listGraphqlApis(args: ListGraphqlApisCommandInput, options?: __HttpHandlerOptions): Promise<ListGraphqlApisCommandOutput>;
|
|
290
327
|
listGraphqlApis(args: ListGraphqlApisCommandInput, cb: (err: any, data?: ListGraphqlApisCommandOutput) => void): void;
|
|
291
328
|
listGraphqlApis(args: ListGraphqlApisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGraphqlApisCommandOutput) => void): void;
|
|
292
329
|
/**
|
|
330
|
+
* @public
|
|
293
331
|
* <p>Lists the resolvers for a given API and type.</p>
|
|
294
332
|
*/
|
|
295
333
|
listResolvers(args: ListResolversCommandInput, options?: __HttpHandlerOptions): Promise<ListResolversCommandOutput>;
|
|
296
334
|
listResolvers(args: ListResolversCommandInput, cb: (err: any, data?: ListResolversCommandOutput) => void): void;
|
|
297
335
|
listResolvers(args: ListResolversCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResolversCommandOutput) => void): void;
|
|
298
336
|
/**
|
|
337
|
+
* @public
|
|
299
338
|
* <p>List the resolvers that are associated with a specific function.</p>
|
|
300
339
|
*/
|
|
301
340
|
listResolversByFunction(args: ListResolversByFunctionCommandInput, options?: __HttpHandlerOptions): Promise<ListResolversByFunctionCommandOutput>;
|
|
302
341
|
listResolversByFunction(args: ListResolversByFunctionCommandInput, cb: (err: any, data?: ListResolversByFunctionCommandOutput) => void): void;
|
|
303
342
|
listResolversByFunction(args: ListResolversByFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResolversByFunctionCommandOutput) => void): void;
|
|
304
343
|
/**
|
|
344
|
+
* @public
|
|
305
345
|
* <p>Lists the tags for a resource.</p>
|
|
306
346
|
*/
|
|
307
347
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
308
348
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
309
349
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
310
350
|
/**
|
|
351
|
+
* @public
|
|
311
352
|
* <p>Lists the types for a given API.</p>
|
|
312
353
|
*/
|
|
313
354
|
listTypes(args: ListTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListTypesCommandOutput>;
|
|
314
355
|
listTypes(args: ListTypesCommandInput, cb: (err: any, data?: ListTypesCommandOutput) => void): void;
|
|
315
356
|
listTypes(args: ListTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTypesCommandOutput) => void): void;
|
|
316
357
|
/**
|
|
358
|
+
* @public
|
|
317
359
|
* <p>Adds a new schema to your GraphQL API.</p>
|
|
318
360
|
* <p>This operation is asynchronous. Use to determine when it has
|
|
319
361
|
* completed.</p>
|
|
@@ -322,60 +364,70 @@ export declare class AppSync extends AppSyncClient {
|
|
|
322
364
|
startSchemaCreation(args: StartSchemaCreationCommandInput, cb: (err: any, data?: StartSchemaCreationCommandOutput) => void): void;
|
|
323
365
|
startSchemaCreation(args: StartSchemaCreationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSchemaCreationCommandOutput) => void): void;
|
|
324
366
|
/**
|
|
367
|
+
* @public
|
|
325
368
|
* <p>Tags a resource with user-supplied tags.</p>
|
|
326
369
|
*/
|
|
327
370
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
328
371
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
329
372
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
330
373
|
/**
|
|
374
|
+
* @public
|
|
331
375
|
* <p>Untags a resource.</p>
|
|
332
376
|
*/
|
|
333
377
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
334
378
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
335
379
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
336
380
|
/**
|
|
381
|
+
* @public
|
|
337
382
|
* <p>Updates the cache for the GraphQL API.</p>
|
|
338
383
|
*/
|
|
339
384
|
updateApiCache(args: UpdateApiCacheCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApiCacheCommandOutput>;
|
|
340
385
|
updateApiCache(args: UpdateApiCacheCommandInput, cb: (err: any, data?: UpdateApiCacheCommandOutput) => void): void;
|
|
341
386
|
updateApiCache(args: UpdateApiCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiCacheCommandOutput) => void): void;
|
|
342
387
|
/**
|
|
388
|
+
* @public
|
|
343
389
|
* <p>Updates an API key. You can update the key as long as it's not deleted.</p>
|
|
344
390
|
*/
|
|
345
391
|
updateApiKey(args: UpdateApiKeyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApiKeyCommandOutput>;
|
|
346
392
|
updateApiKey(args: UpdateApiKeyCommandInput, cb: (err: any, data?: UpdateApiKeyCommandOutput) => void): void;
|
|
347
393
|
updateApiKey(args: UpdateApiKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiKeyCommandOutput) => void): void;
|
|
348
394
|
/**
|
|
395
|
+
* @public
|
|
349
396
|
* <p>Updates a <code>DataSource</code> object.</p>
|
|
350
397
|
*/
|
|
351
398
|
updateDataSource(args: UpdateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataSourceCommandOutput>;
|
|
352
399
|
updateDataSource(args: UpdateDataSourceCommandInput, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
353
400
|
updateDataSource(args: UpdateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
354
401
|
/**
|
|
402
|
+
* @public
|
|
355
403
|
* <p>Updates a custom <code>DomainName</code> object.</p>
|
|
356
404
|
*/
|
|
357
405
|
updateDomainName(args: UpdateDomainNameCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDomainNameCommandOutput>;
|
|
358
406
|
updateDomainName(args: UpdateDomainNameCommandInput, cb: (err: any, data?: UpdateDomainNameCommandOutput) => void): void;
|
|
359
407
|
updateDomainName(args: UpdateDomainNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDomainNameCommandOutput) => void): void;
|
|
360
408
|
/**
|
|
409
|
+
* @public
|
|
361
410
|
* <p>Updates a <code>Function</code> object.</p>
|
|
362
411
|
*/
|
|
363
412
|
updateFunction(args: UpdateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionCommandOutput>;
|
|
364
413
|
updateFunction(args: UpdateFunctionCommandInput, cb: (err: any, data?: UpdateFunctionCommandOutput) => void): void;
|
|
365
414
|
updateFunction(args: UpdateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionCommandOutput) => void): void;
|
|
366
415
|
/**
|
|
416
|
+
* @public
|
|
367
417
|
* <p>Updates a <code>GraphqlApi</code> object.</p>
|
|
368
418
|
*/
|
|
369
419
|
updateGraphqlApi(args: UpdateGraphqlApiCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGraphqlApiCommandOutput>;
|
|
370
420
|
updateGraphqlApi(args: UpdateGraphqlApiCommandInput, cb: (err: any, data?: UpdateGraphqlApiCommandOutput) => void): void;
|
|
371
421
|
updateGraphqlApi(args: UpdateGraphqlApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGraphqlApiCommandOutput) => void): void;
|
|
372
422
|
/**
|
|
423
|
+
* @public
|
|
373
424
|
* <p>Updates a <code>Resolver</code> object.</p>
|
|
374
425
|
*/
|
|
375
426
|
updateResolver(args: UpdateResolverCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResolverCommandOutput>;
|
|
376
427
|
updateResolver(args: UpdateResolverCommandInput, cb: (err: any, data?: UpdateResolverCommandOutput) => void): void;
|
|
377
428
|
updateResolver(args: UpdateResolverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResolverCommandOutput) => void): void;
|
|
378
429
|
/**
|
|
430
|
+
* @public
|
|
379
431
|
* <p>Updates a <code>Type</code> object.</p>
|
|
380
432
|
*/
|
|
381
433
|
updateType(args: UpdateTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTypeCommandOutput>;
|
|
@@ -59,15 +59,24 @@ import { UpdateGraphqlApiCommandInput, UpdateGraphqlApiCommandOutput } from "./c
|
|
|
59
59
|
import { UpdateResolverCommandInput, UpdateResolverCommandOutput } from "./commands/UpdateResolverCommand";
|
|
60
60
|
import { UpdateTypeCommandInput, UpdateTypeCommandOutput } from "./commands/UpdateTypeCommand";
|
|
61
61
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
62
65
|
export type ServiceInputTypes = AssociateApiCommandInput | CreateApiCacheCommandInput | CreateApiKeyCommandInput | CreateDataSourceCommandInput | CreateDomainNameCommandInput | CreateFunctionCommandInput | CreateGraphqlApiCommandInput | CreateResolverCommandInput | CreateTypeCommandInput | DeleteApiCacheCommandInput | DeleteApiKeyCommandInput | DeleteDataSourceCommandInput | DeleteDomainNameCommandInput | DeleteFunctionCommandInput | DeleteGraphqlApiCommandInput | DeleteResolverCommandInput | DeleteTypeCommandInput | DisassociateApiCommandInput | EvaluateCodeCommandInput | EvaluateMappingTemplateCommandInput | FlushApiCacheCommandInput | GetApiAssociationCommandInput | GetApiCacheCommandInput | GetDataSourceCommandInput | GetDomainNameCommandInput | GetFunctionCommandInput | GetGraphqlApiCommandInput | GetIntrospectionSchemaCommandInput | GetResolverCommandInput | GetSchemaCreationStatusCommandInput | GetTypeCommandInput | ListApiKeysCommandInput | ListDataSourcesCommandInput | ListDomainNamesCommandInput | ListFunctionsCommandInput | ListGraphqlApisCommandInput | ListResolversByFunctionCommandInput | ListResolversCommandInput | ListTagsForResourceCommandInput | ListTypesCommandInput | StartSchemaCreationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApiCacheCommandInput | UpdateApiKeyCommandInput | UpdateDataSourceCommandInput | UpdateDomainNameCommandInput | UpdateFunctionCommandInput | UpdateGraphqlApiCommandInput | UpdateResolverCommandInput | UpdateTypeCommandInput;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
63
69
|
export type ServiceOutputTypes = AssociateApiCommandOutput | CreateApiCacheCommandOutput | CreateApiKeyCommandOutput | CreateDataSourceCommandOutput | CreateDomainNameCommandOutput | CreateFunctionCommandOutput | CreateGraphqlApiCommandOutput | CreateResolverCommandOutput | CreateTypeCommandOutput | DeleteApiCacheCommandOutput | DeleteApiKeyCommandOutput | DeleteDataSourceCommandOutput | DeleteDomainNameCommandOutput | DeleteFunctionCommandOutput | DeleteGraphqlApiCommandOutput | DeleteResolverCommandOutput | DeleteTypeCommandOutput | DisassociateApiCommandOutput | EvaluateCodeCommandOutput | EvaluateMappingTemplateCommandOutput | FlushApiCacheCommandOutput | GetApiAssociationCommandOutput | GetApiCacheCommandOutput | GetDataSourceCommandOutput | GetDomainNameCommandOutput | GetFunctionCommandOutput | GetGraphqlApiCommandOutput | GetIntrospectionSchemaCommandOutput | GetResolverCommandOutput | GetSchemaCreationStatusCommandOutput | GetTypeCommandOutput | ListApiKeysCommandOutput | ListDataSourcesCommandOutput | ListDomainNamesCommandOutput | ListFunctionsCommandOutput | ListGraphqlApisCommandOutput | ListResolversByFunctionCommandOutput | ListResolversCommandOutput | ListTagsForResourceCommandOutput | ListTypesCommandOutput | StartSchemaCreationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApiCacheCommandOutput | UpdateApiKeyCommandOutput | UpdateDataSourceCommandOutput | UpdateDomainNameCommandOutput | UpdateFunctionCommandOutput | UpdateGraphqlApiCommandOutput | UpdateResolverCommandOutput | UpdateTypeCommandOutput;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
64
73
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
65
74
|
/**
|
|
66
75
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
67
76
|
*/
|
|
68
77
|
requestHandler?: __HttpHandler;
|
|
69
78
|
/**
|
|
70
|
-
* A constructor for a class implementing the {@link
|
|
79
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
71
80
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
72
81
|
* @internal
|
|
73
82
|
*/
|
|
@@ -157,23 +166,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
157
166
|
*/
|
|
158
167
|
logger?: __Logger;
|
|
159
168
|
/**
|
|
160
|
-
* The {@link
|
|
169
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
161
170
|
*/
|
|
162
171
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
163
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
164
176
|
type AppSyncClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
165
177
|
/**
|
|
166
|
-
*
|
|
178
|
+
* @public
|
|
179
|
+
*
|
|
180
|
+
* The configuration interface of AppSyncClient class constructor that set the region, credentials and other options.
|
|
167
181
|
*/
|
|
168
182
|
export interface AppSyncClientConfig extends AppSyncClientConfigType {
|
|
169
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
170
187
|
type AppSyncClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
171
188
|
/**
|
|
172
|
-
*
|
|
189
|
+
* @public
|
|
190
|
+
*
|
|
191
|
+
* The resolved configuration interface of AppSyncClient class. This is resolved and normalized from the {@link AppSyncClientConfig | constructor configuration interface}.
|
|
173
192
|
*/
|
|
174
193
|
export interface AppSyncClientResolvedConfig extends AppSyncClientResolvedConfigType {
|
|
175
194
|
}
|
|
176
195
|
/**
|
|
196
|
+
* @public
|
|
177
197
|
* <p>AppSync provides API actions for creating and interacting with data sources using GraphQL
|
|
178
198
|
* from your application.</p>
|
|
179
199
|
*/
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
5
5
|
import { AssociateApiRequest, AssociateApiResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AssociateApiCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AssociateApiCommandInput extends AssociateApiRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AssociateApiCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AssociateApiCommandOutput extends AssociateApiResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Maps an endpoint to your custom domain.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface AssociateApiCommandOutput extends AssociateApiResponse, __Metad
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param AssociateApiCommandInput - {@link AssociateApiCommandInput}
|
|
34
|
+
* @returns {@link AssociateApiCommandOutput}
|
|
28
35
|
* @see {@link AssociateApiCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link AssociateApiCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface AssociateApiCommandOutput extends AssociateApiResponse, __Metad
|
|
|
47
54
|
export declare class AssociateApiCommand extends $Command<AssociateApiCommandInput, AssociateApiCommandOutput, AppSyncClientResolvedConfig> {
|
|
48
55
|
readonly input: AssociateApiCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: AssociateApiCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateApiCommandInput, AssociateApiCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
5
5
|
import { CreateApiCacheRequest, CreateApiCacheResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateApiCacheCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateApiCacheCommandInput extends CreateApiCacheRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateApiCacheCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateApiCacheCommandOutput extends CreateApiCacheResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a cache for the GraphQL API.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface CreateApiCacheCommandOutput extends CreateApiCacheResponse, __M
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param CreateApiCacheCommandInput - {@link CreateApiCacheCommandInput}
|
|
34
|
+
* @returns {@link CreateApiCacheCommandOutput}
|
|
28
35
|
* @see {@link CreateApiCacheCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link CreateApiCacheCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
@@ -51,11 +58,20 @@ export interface CreateApiCacheCommandOutput extends CreateApiCacheResponse, __M
|
|
|
51
58
|
export declare class CreateApiCacheCommand extends $Command<CreateApiCacheCommandInput, CreateApiCacheCommandOutput, AppSyncClientResolvedConfig> {
|
|
52
59
|
readonly input: CreateApiCacheCommandInput;
|
|
53
60
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
54
64
|
constructor(input: CreateApiCacheCommandInput);
|
|
55
65
|
/**
|
|
56
66
|
* @internal
|
|
57
67
|
*/
|
|
58
68
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApiCacheCommandInput, CreateApiCacheCommandOutput>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
59
72
|
private serialize;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
60
76
|
private deserialize;
|
|
61
77
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
5
5
|
import { CreateApiKeyRequest, CreateApiKeyResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateApiKeyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateApiKeyCommandInput extends CreateApiKeyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateApiKeyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateApiKeyCommandOutput extends CreateApiKeyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a unique key that you can distribute to clients who invoke your API.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface CreateApiKeyCommandOutput extends CreateApiKeyResponse, __Metad
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param CreateApiKeyCommandInput - {@link CreateApiKeyCommandInput}
|
|
34
|
+
* @returns {@link CreateApiKeyCommandOutput}
|
|
28
35
|
* @see {@link CreateApiKeyCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link CreateApiKeyCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
@@ -57,11 +64,20 @@ export interface CreateApiKeyCommandOutput extends CreateApiKeyResponse, __Metad
|
|
|
57
64
|
export declare class CreateApiKeyCommand extends $Command<CreateApiKeyCommandInput, CreateApiKeyCommandOutput, AppSyncClientResolvedConfig> {
|
|
58
65
|
readonly input: CreateApiKeyCommandInput;
|
|
59
66
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
60
70
|
constructor(input: CreateApiKeyCommandInput);
|
|
61
71
|
/**
|
|
62
72
|
* @internal
|
|
63
73
|
*/
|
|
64
74
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApiKeyCommandInput, CreateApiKeyCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
65
78
|
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
66
82
|
private deserialize;
|
|
67
83
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AppSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppSyncClient";
|
|
5
5
|
import { CreateDataSourceRequest, CreateDataSourceResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateDataSourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateDataSourceCommandInput extends CreateDataSourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateDataSourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a <code>DataSource</code> object.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param CreateDataSourceCommandInput - {@link CreateDataSourceCommandInput}
|
|
34
|
+
* @returns {@link CreateDataSourceCommandOutput}
|
|
28
35
|
* @see {@link CreateDataSourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link CreateDataSourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
@@ -51,11 +58,20 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
|
|
|
51
58
|
export declare class CreateDataSourceCommand extends $Command<CreateDataSourceCommandInput, CreateDataSourceCommandOutput, AppSyncClientResolvedConfig> {
|
|
52
59
|
readonly input: CreateDataSourceCommandInput;
|
|
53
60
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
54
64
|
constructor(input: CreateDataSourceCommandInput);
|
|
55
65
|
/**
|
|
56
66
|
* @internal
|
|
57
67
|
*/
|
|
58
68
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDataSourceCommandInput, CreateDataSourceCommandOutput>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
59
72
|
private serialize;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
60
76
|
private deserialize;
|
|
61
77
|
}
|